/* ============ SCHRIFTEN (eingebettet, selbst gehostet) ============ */
@font-face{font-family:'Zilla Slab';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/zilla-slab-500.woff2') format('woff2');}
@font-face{font-family:'Zilla Slab';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/zilla-slab-600.woff2') format('woff2');}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/nunito-sans-400.woff2') format('woff2');}
@font-face{font-family:'Nunito Sans';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/nunito-sans-400-italic.woff2') format('woff2');}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/nunito-sans-700.woff2') format('woff2');}
@font-face{font-family:'Nunito Sans';font-style:italic;font-weight:700;font-display:swap;src:url('fonts/nunito-sans-700-italic.woff2') format('woff2');}

/* ============ TOKENS ============ */
:root{
  --paper:#fff; --ink:#000;
  --sunburn:#ff854f; --yellow:#f9f81a; --purple:#6043cc;
  --sky:#96dfe6; --green:#96e6a7; --blue:#3c6ec0; --pink:#f3a0cf;
  --clay:#999176; --curb:#d9d9d8; --ccblue:#0000ff; --red:#ff7f7f;
  --soft:#f4f4f4;
  --blob:url("data:image/svg+xml,<svg%20xmlns='http%3A//www.w3.org/2000/svg'%20viewBox='0%200%20709%20613'><path%20d='M0%200%20H709%20V184%20C709%20430%20470%20613%200%20613%20Z'%20fill='%23000'/></svg>");
  --font-display:"Zilla Slab", Georgia, "Times New Roman", serif;
  --font-body:"Nunito Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --pad:clamp(2.4rem, 8.72vw - 0.74rem, 12rem);
  --section:clamp(6.4rem, 4.36vw + 4.83rem, 13.2rem);
  --measure:100rem;
}
*{box-sizing:border-box;}
html{font-size:62.5%; scroll-behavior:smooth; scroll-padding-top:13.5rem;}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--font-body);
  font-size:clamp(1.6rem,.13vw + 1.55rem,1.8rem);
  font-weight:400; line-height:1.5;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{max-width:100%; display:block;}
a{color:inherit;}

.container{max-width:160rem; margin-inline:auto; padding-inline:var(--pad);}
.measure{max-width:var(--measure); margin-inline:auto;}

h1,h2,h3{font-family:var(--font-display); font-weight:600; line-height:1.25; margin:0;}
.h1{font-size:clamp(3.2rem, 2.44vw + 2.32rem, 7rem);}
.h2{font-size:clamp(2.8rem, 1.79vw + 2.15rem, 5.6rem);}
.h3{font-size:clamp(2.4rem, .77vw + 2.12rem, 3.6rem);}
.lede{font-size:clamp(1.8rem, .64vw + 1.57rem, 2.8rem); line-height:1.5;}

:where(a,button):focus-visible{outline:3px solid var(--sunburn); outline-offset:3px; border-radius:2px;}

/* ============ BUTTON ============ */
.button{
  --bg:var(--yellow); --fg:#000;
  display:inline-block; background:var(--bg); color:var(--fg);
  font-family:var(--font-display); font-weight:600;
  font-size:clamp(1.6rem,.26vw + 1.5rem,2rem);
  padding:clamp(1.4rem,.5vw + 1.2rem,1.9rem) clamp(2rem,.7vw + 1.7rem,2.8rem);
  border:2px solid transparent; border-radius:1.6rem; text-decoration:none;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover{transform:translateY(-3px); box-shadow:0 10px 24px rgba(0,0,0,.18);}
.button--sunburn{--bg:var(--sunburn);}
.button--white{--bg:#fff;}
.button--border{--bg:transparent; border-color:currentColor;}

/* ============ HEADER ============ */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  transition:background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled{background:rgba(255,255,255,.92); backdrop-filter:blur(8px); box-shadow:0 1px 0 rgba(0,0,0,.06);}
.site-header .bar{display:flex; align-items:center; justify-content:flex-start; gap:clamp(1.6rem,2vw,3.2rem); height:12.5rem;}
.logo{display:inline-flex; color:var(--ink);}
.logo svg{width:auto; height:7rem;}
.header-mail{font-size:clamp(1.6rem,.3vw + 1.5rem,2rem); padding:1.4rem 2.4rem;}

/* ============ HERO ============ */
.hero{padding-top:clamp(15rem,14vh,19rem); background:var(--soft);}
.hero__logo{display:grid; place-items:center; padding:0 var(--pad);}
.hero__logo img{width:clamp(20rem,26vw,32rem); height:auto;}
.hero__intro{padding:clamp(3.2rem,4vw + 2rem,6.4rem) 0 var(--section);}

/* ============ PERFORMANCE / LEISTUNGEN ============ */
.perf{padding:var(--section) 0; background:var(--paper);}
.perf__head{margin-bottom:clamp(4rem,2.56vw + 3rem,8rem);}
.cards{display:grid; gap:2rem; grid-template-columns:1fr;}
@media (min-width:860px){.cards{grid-template-columns:repeat(3,1fr); gap:2.4rem;}}
.card{
  background:#fff; border:1.6rem solid var(--accent);
  padding:clamp(2.4rem,1.03vw + 2.03rem,3.6rem);
  display:flex; flex-flow:column; align-items:center; text-align:center; border-radius:.6rem;
}
@media (min-width:860px){
  .cards{align-items:stretch;}
}
.card__num{font-family:var(--font-body); font-weight:700; line-height:1;
  font-size:clamp(4.8rem, 6vw + 1.5rem, 12rem); margin-bottom:-1.2rem;}
.card__title{margin-bottom:2.2rem;}
.keywords{list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center;}
.keywords li{font-weight:700; font-size:clamp(1.4rem,.13vw + 1.35rem,1.7rem);
  padding:.7rem 1.2rem; border-radius:1.4rem;}
.k-purple{background:var(--purple); color:#fff;}
.k-green{background:var(--green);}
.k-yellow{background:var(--yellow);}
.k-clay{background:var(--clay);}
.k-blue{background:var(--blue); color:#fff;}
.k-pink{background:var(--pink);}
.k-sunburn{background:var(--sunburn);}
.k-black{background:#000; color:#fff;}
.k-sky{background:var(--sky);}
.k-ccblue{background:var(--ccblue); color:#fff;}
.k-curb{background:var(--curb);}
.k-red{background:var(--red);}

/* ============ CUSTOMER LOGOS ============ */
.clients{background:var(--soft); padding:clamp(3.2rem,3vw + 2rem,6.4rem) 0;}
.clients__head{margin-bottom:clamp(2.4rem,1.5vw + 1.8rem,4rem);}
.logos{display:grid; gap:.8rem; grid-template-columns:repeat(2,1fr);}
@media (min-width:560px){.logos{grid-template-columns:repeat(3,1fr);}}
@media (min-width:900px){.logos{grid-template-columns:repeat(5,1fr);}}
.logo-tile{background:#fff; aspect-ratio:1/1; border-radius:1.6rem; overflow:hidden;
  display:grid; place-items:center; padding:1.8rem;}
.logo-tile img{width:100%; height:100%; max-height:none; object-fit:contain;
  transition:transform .25s ease;}
.logo-tile:hover img{transform:scale(1.12);}

/* ============ OZ / STORY ============ */
.oz{padding:var(--section) 0; background:var(--paper);}
.oz__img{width:100%; aspect-ratio:5/4; object-fit:cover; object-position:left center; display:block;}
@media (min-width:760px){.oz__img{aspect-ratio:16/7; object-position:center;}}
.oz__body{padding-top:clamp(3.2rem,3vw + 2.4rem,7rem);}
.oz__title{display:inline;}
.oz__text{margin-top:clamp(2rem,1.5vw + 1.5rem,3.6rem);}

/* ============ PERSONS ============ */
.persons{padding:var(--section) 0; background:var(--soft);}
.persons__grid{display:grid; gap:3.2rem; grid-template-columns:1fr; justify-items:center;}
@media (min-width:820px){.persons__grid{grid-template-columns:1fr 1fr;}}
.person{background:var(--paper); border-radius:0; overflow:hidden; width:100%; max-width:56rem;}
.person__img{aspect-ratio:709/613; width:100%;
  background-color:#e7e7e2; background-repeat:no-repeat; background-position:center; background-size:cover;
  -webkit-mask-image:var(--blob); mask-image:var(--blob);
  -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat;
  -webkit-mask-position:center; mask-position:center;
  -webkit-mask-size:contain; mask-size:contain;}
.person__body{padding:clamp(2.8rem,1vw + 2.4rem,4.4rem) clamp(2.4rem,.5vw + 2.2rem,3.2rem) clamp(2.4rem,1vw + 2rem,4rem);}
.person__row{display:flex; align-items:center; justify-content:space-between;
  gap:1.6rem; flex-wrap:wrap; margin-bottom:1.6rem;}
.tag{display:inline-block; background:var(--green); border-radius:1.6rem;
  font-size:clamp(1.4rem,.13vw + 1.35rem,1.6rem); padding:.8rem 1.2rem; font-weight:700;}
.round{display:inline-grid; place-items:center; width:4.8rem; height:4.8rem;
  background:var(--yellow); border-radius:50%; color:#000; flex:none;
  transition:transform .18s ease;}
.round:hover{transform:scale(1.08);}
.person__motto{font-style:italic; font-size:clamp(1.8rem,.5vw + 1.6rem,2.2rem); margin:0 0 1.2rem;}
.person__mail{font-weight:700; text-decoration:underline; text-underline-offset:3px;}

/* ============ CONTACT ============ */
.contact{position:relative; background:var(--purple); color:#fff; margin:0; overflow:hidden;}
.contact__inner{padding-block:clamp(4rem,7.7vw + 1.2rem,12rem);}
.contact__title{margin-bottom:clamp(1.8rem,.9vw + 1.5rem,3.2rem);}
.contact__links{display:flex; flex-wrap:wrap; gap:1.6rem; margin-top:clamp(3.2rem,5vw + 1.4rem,6rem);}
.contact__img{display:block; width:100%; aspect-ratio:16/10; object-fit:cover;
  margin-top:clamp(3.2rem,5vw,6rem);}
@media (min-width:900px){
  .contact__inner{padding-right:44%;}
  .contact__img{position:absolute; top:0; right:0; bottom:0; width:40%; height:100%;
    aspect-ratio:auto; margin:0; object-fit:cover;}
}

/* ============ FOOTER ============ */
.footer{background:#000; color:#fff; padding:var(--section) 0 calc(var(--section)/3);}
.footer a{color:#fff; text-decoration:none;}
.footer a:hover{text-decoration:underline; text-underline-offset:3px;}
.footer__top{display:flex; flex-wrap:wrap; gap:2.4rem 4rem; justify-content:flex-start; align-items:center;}
.footer__logo{width:14rem;}
.footer__logo img{width:100%; height:auto; display:block;}
.footer__contact{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.8rem; line-height:1.7;}
.footer__bottom{display:flex; flex-wrap:wrap; gap:1.6rem 3.2rem; align-items:center;
  justify-content:space-between; margin-top:5rem; padding-top:2.4rem;
  border-top:1px solid rgba(255,255,255,.18); font-size:1.5rem;}
.footer__links{display:flex; gap:2.4rem; flex-wrap:wrap; list-style:none; margin:0; padding:0;}
.footer__social{display:inline-grid; place-items:center; width:4.4rem; height:4.4rem;
  border:1px solid rgba(255,255,255,.4); border-radius:1.2rem;}

/* ============ ENTRANCE ANIMATION ============ */
.reveal{opacity:0; transform:translateY(3rem);}
@media (prefers-reduced-motion: no-preference){
  .reveal{transition:opacity .7s ease, transform .7s ease;}
}
.reveal.in{opacity:1; transform:none;}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1; transform:none;}
  .card--1,.card--2,.card--3{transform:none;}
}


/* ============ SUBPAGES (Impressum / Datenschutz) ============ */
.site-header--solid{background:rgba(255,255,255,.94); backdrop-filter:saturate(1.2) blur(8px); box-shadow:0 1px 0 rgba(0,0,0,.06);}
.legal{background:var(--paper); padding:calc(12.5rem + clamp(3rem,5vw,6rem)) 0 var(--section);}
.legal .prose{max-width:82rem;}
.legal h1{font-family:var(--font-display); font-weight:600; line-height:1.15;
  font-size:clamp(3.2rem,2.5vw + 2.4rem,5rem); margin:0 0 .8em;}
.legal h2{font-family:var(--font-display); font-weight:600; line-height:1.25;
  font-size:clamp(2rem,1vw + 1.7rem,2.6rem); margin:1.8em 0 .5em;}
.legal p, .legal li{font-size:clamp(1.6rem,.2vw + 1.5rem,1.8rem); line-height:1.7;}
.legal p{margin:0 0 1em;}
.legal ul{margin:0 0 1.2em; padding-left:2.2rem;}
.legal li{margin-bottom:.4rem;}
.legal strong{font-weight:700;}
.legal a{color:var(--purple); text-decoration:underline; text-underline-offset:2px;}
.legal .muted{color:#666; font-size:clamp(1.4rem,.2vw + 1.3rem,1.6rem);}
.legal .back{display:inline-block; margin-top:3.2rem; font-weight:700; color:var(--ink);}

