/* =========================================================
   PANCAKE PORTRAITS — Design System
   Bold & verspielt. Griddle-black, Maple, Syrup-red, Butter-yellow.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&family=Space+Mono:wght@400;700&display=swap');

:root{
  /* --- Color tokens --- */
  --griddle:        #1A1512;   /* near-black warm, primary dark */
  --griddle-soft:    #2A211C;  /* raised dark surface */
  --batter:          #FFF8EC;  /* main light background */
  --batter-dim:       #F7EEDC; /* secondary light surface */
  --maple:           #C7742A;  /* primary brand accent */
  --maple-dark:      #9E5A1E;
  --syrup:           #E5432B;  /* CTA / hot accent */
  --syrup-dark:      #C3341F;
  --butter:          #FFC83D;  /* pop accent / highlights */
  --cream-line:      rgba(26,21,18,0.10);
  --ink:             #201812;  /* body text on light */
  --ink-soft:        #5C4F44;

  /* --- Type --- */
  --font-display: 'Lilita One', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', 'SFMono-Regular', monospace;

  /* --- Layout --- */
  --maxw: 1220px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-pop: 0 14px 34px rgba(26,21,18,0.16);
  --shadow-soft: 0 6px 18px rgba(26,21,18,0.10);
}

/* =============== Reset =============== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--batter);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:400; line-height:1.05; margin:0; letter-spacing: .01em; }
p{ margin:0 0 1em; line-height:1.65; color: var(--ink-soft); }
address{ font-style:normal; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline: 3px solid var(--syrup);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.sr-only-focusable:focus{
  position:fixed; top:10px; left:10px; width:auto; height:auto;
  padding: 10px 16px; margin:0; background: var(--butter); color:var(--griddle);
  z-index:9999; border-radius: var(--radius-sm); clip:auto; font-weight:700;
}

.wrap{ max-width: var(--maxw); margin:0 auto; padding: 0 24px; }
section{ position:relative; }

/* =============== Utility type =============== */
.eyebrow{
  display:inline-flex; align-items:center; gap:.5em;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--syrup);
  font-weight:700;
}
.eyebrow::before{ content:"●"; font-size:.6em; color: var(--butter); }

.h1{ font-size: clamp(2.6rem, 7vw, 5.6rem); color: var(--griddle); }
.h2{ font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--griddle); }
.h3{ font-size: clamp(1.35rem, 2.4vw, 1.7rem); color: var(--griddle); }
.lede{ font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 62ch; }

.on-dark .lede, .on-dark p{ color: rgba(255,248,236,0.78); }
.on-dark .h1, .on-dark .h2, .on-dark .h3{ color: var(--batter); }

/* Signature squiggle underline — evokes syrup drizzled from the bottle */
.squiggle{ display:block; width: 132px; height: 22px; margin: 14px 0 0; }
.squiggle path{
  fill:none; stroke: var(--butter); stroke-width:7; stroke-linecap:round;
}
.center .squiggle{ margin-left:auto; margin-right:auto; }

/* =============== Buttons =============== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-family: var(--font-display);
  font-size: 1rem; letter-spacing:.02em;
  padding: .95em 1.7em .8em;
  border-radius: 999px;
  border: 3px solid var(--griddle);
  background: var(--butter);
  color: var(--griddle);
  box-shadow: var(--shadow-soft);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-3px) rotate(-1deg); box-shadow: var(--shadow-pop); }
.btn:active{ transform: translateY(0) rotate(0); }
.btn-primary{ background: var(--syrup); border-color: var(--syrup); color:#fff; }
.btn-primary:hover{ background: var(--syrup-dark); }
.btn-outline{ background: transparent; border-color: currentColor; }
.on-dark .btn-outline{ color: var(--batter); }
.btn-outline:hover{ background: rgba(0,0,0,0.06); }
.on-dark .btn-outline:hover{ background: rgba(255,255,255,0.10); }
.btn-sm{ padding: .7em 1.3em .6em; font-size:.9rem; }

/* =============== Header / Nav =============== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,248,236,0.86);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--cream-line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled{ box-shadow: 0 6px 20px rgba(26,21,18,0.08); }
.nav-inner{
  max-width: var(--maxw); margin:0 auto; padding: 12px 24px;
  display:flex; align-items:center; justify-content:space-between; gap: 20px;
}
.brand{ display:flex; align-items:center; gap:.6em; flex-shrink:0; }
.brand img{ height: 40px; width:auto; }

.primary-nav{ display:none; }
@media (min-width: 1020px){
  .primary-nav{ display:flex; align-items:center; gap: 6px; }
}
.primary-nav > li{ position:relative; }
.nav-link{
  display:flex; align-items:center; gap:.3em;
  font-family: var(--font-mono); font-weight:700; font-size:.86rem;
  letter-spacing:.04em; text-transform:uppercase;
  padding: 10px 14px; border-radius: 999px; color: var(--griddle);
  transition: background .16s ease, color .16s ease;
}
.nav-link:hover, .nav-link[aria-expanded="true"]{ background: var(--griddle); color: var(--batter); }
.nav-link .chev{ width:9px; height:9px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform: rotate(45deg); margin-top:-3px; transition: transform .16s ease; }
.has-dropdown:hover .chev, .nav-link[aria-expanded="true"] .chev{ transform: rotate(-135deg); margin-top:3px; }

.dropdown{
  position:absolute; top: calc(100% + 8px); left:0; min-width: 240px;
  background: var(--griddle); border-radius: var(--radius-sm);
  padding: 8px; box-shadow: var(--shadow-pop);
  opacity:0; visibility:hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{
  display:block; padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-mono); font-size:.82rem; letter-spacing:.03em;
  color: rgba(255,248,236,0.85); text-transform:uppercase;
}
.dropdown a:hover{ background: rgba(255,255,255,0.08); color: var(--butter); }

.nav-cta{ display:none; }
@media (min-width: 1020px){ .nav-cta{ display:inline-flex; } }

.hamburger{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--griddle);
  background: transparent; align-items:center;
}
@media (min-width:1020px){ .hamburger{ display:none; } }
.hamburger span, .hamburger::before, .hamburger::after{
  content:""; display:block; width:20px; height:3px; background: var(--griddle); border-radius:2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.is-open::before{ transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span{ opacity:0; }
.hamburger.is-open::after{ transform: translateY(-8px) rotate(-45deg); }

.mobile-panel{
  display:none; position: fixed; inset: 0; top: 65px; z-index: 90;
  background: var(--batter); padding: 20px 24px 40px; overflow-y:auto;
}
.mobile-panel.is-open{ display:block; }
.mobile-panel .m-link{
  display:flex; align-items:center; justify-content:space-between;
  font-family: var(--font-display); font-size:1.5rem; padding: 16px 4px;
  border-bottom: 1px solid var(--cream-line); color: var(--griddle);
}
.mobile-sub{ padding-left: 14px; display:none; }
.mobile-sub.is-open{ display:block; }
.mobile-sub a{
  display:block; padding: 12px 4px; font-family: var(--font-mono); text-transform:uppercase; font-size:.85rem; color: var(--ink-soft);
}
.m-toggle{ background:none; border:none; padding:6px; }
.m-toggle svg{ width:16px; height:16px; transition: transform .2s ease; }
.m-toggle[aria-expanded="true"] svg{ transform: rotate(180deg); }

/* =============== Hero =============== */
.hero{
  position:relative; min-height: min(92vh, 820px);
  display:flex; align-items:flex-end;
  background: var(--griddle); color: var(--batter); overflow:hidden;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media video, .hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-media::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,15,12,.35) 0%, rgba(20,15,12,.55) 55%, rgba(20,15,12,.92) 100%);
}
.hero-content{ position:relative; z-index:1; padding: 120px 0 64px; width:100%; }
.hero .eyebrow{ color: var(--butter); }
.hero h1{ color:#fff; margin-top:10px; }
.hero .lede{ color: rgba(255,248,236,.85); margin-top:18px; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top: 30px; }

.page-hero{
  position:relative; padding: 150px 0 70px; text-align:center;
  background: var(--griddle); color:#fff; overflow:hidden;
}
.page-hero img.bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.32; }
.page-hero::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,15,12,.55), rgba(20,15,12,.88)); }
.page-hero .inner{ position:relative; z-index:1; }
.page-hero h1{ color:#fff; }
.page-hero .lede{ color: rgba(255,248,236,.82); margin: 14px auto 0; }

/* =============== Sections =============== */
.section{ padding: 88px 0; }
.section-tight{ padding: 56px 0; }
.section-dark{ background: var(--griddle); color: var(--batter); }
.section-cream{ background: var(--batter-dim); }
.section-head{ max-width: 720px; margin-bottom: 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* =============== Cards / grid teasers (Home) =============== */
.teaser-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 22px; }
.teaser-card{
  position:relative; padding: 28px; border-radius: var(--radius-lg);
  background: #fff; border: 3px solid var(--griddle);
  box-shadow: var(--shadow-soft);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
}
.teaser-card:nth-child(2n){ background: var(--butter); }
.teaser-card:nth-child(3n){ background: #FFD9C9; }
.teaser-card:hover{ transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-pop); }
.teaser-card .tag{ font-family: var(--font-mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.1em; color: var(--syrup); font-weight:700; }
.teaser-card h3{ margin-top:10px; }
.teaser-card p{ margin-top:10px; margin-bottom: 16px; }
.teaser-card .go{ display:inline-flex; align-items:center; gap:.4em; font-family: var(--font-mono); font-weight:700; font-size:.85rem; text-transform:uppercase; }
.teaser-card .go svg{ width:14px; height:14px; transition: transform .16s ease; }
.teaser-card:hover .go svg{ transform: translateX(4px); }

/* =============== Plate-framed images (signature motif) =============== */
.plate{
  position:relative; border-radius: 50% / 46%; overflow:hidden;
  border: 10px solid #fff; box-shadow: var(--shadow-pop), 0 0 0 3px var(--griddle);
  aspect-ratio: 1/1;
}
.plate img{ width:100%; height:100%; object-fit:cover; }

/* =============== Gallery / tiles =============== */
.gallery{
  display:grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
}
.gallery figure{ margin:0; border-radius: var(--radius-md); overflow:hidden; box-shadow: var(--shadow-soft); }
.gallery img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.gallery figure:hover img{ transform: scale(1.06) rotate(.4deg); }
.gallery .w2{ grid-column: span 3; aspect-ratio: 4/3; }
.gallery .w3{ grid-column: span 4; aspect-ratio: 4/3; }
.gallery .w6{ grid-column: span 6; aspect-ratio: 16/7; }
@media (max-width: 860px){
  .gallery{ grid-template-columns: repeat(2,1fr); }
  .gallery .w2, .gallery .w3{ grid-column: span 1; aspect-ratio: 4/3; }
  .gallery .w6{ grid-column: span 2; aspect-ratio: 16/10; }
}

/* =============== Video block =============== */
.video-wrap{
  position:relative; border-radius: var(--radius-lg); overflow:hidden;
  border: 4px solid var(--griddle); box-shadow: var(--shadow-pop); background:#000;
}
.video-wrap video{ display:block; width:100%; height:auto; }
.video-play-overlay{
  position:absolute; inset:0; z-index:5; display:flex; align-items:center; justify-content:center;
  border:0; padding:0; cursor:pointer;
  background: linear-gradient(180deg, rgba(20,15,12,.15), rgba(20,15,12,.5));
}
.video-play-overlay svg{
  width: 78px; height:78px; border-radius:999px; background: var(--butter);
  padding: 22px; box-shadow: var(--shadow-pop); fill: var(--griddle);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
}
.video-play-overlay:hover svg{ transform: scale(1.08); }

/* =============== Marquee (referenzen logos) =============== */
.marquee{ overflow:hidden; position:relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track{ display:flex; align-items:center; gap: 64px; width: max-content; animation: scroll-left 34s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state: paused; }
.marquee-track img{ height: 34px; width:auto; object-fit:contain; opacity:.72; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.marquee-track img:hover{ opacity:1; filter:grayscale(0); }
@keyframes scroll-left{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

.logo-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 34px 24px; align-items:center; }
@media (max-width: 720px){ .logo-grid{ grid-template-columns: repeat(2,1fr); } }
.logo-grid img{ max-height: 52px; width:auto; margin:0 auto; filter: grayscale(1) opacity(.8); transition: filter .2s ease, transform .2s ease; }
.logo-grid a:hover img, .logo-grid img:hover{ filter:none; transform: scale(1.05); }

/* =============== Stats strip =============== */
.stats{ display:grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 26px; }
.stat b{ display:block; font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3rem); color: var(--butter); }
.stat span{ font-family: var(--font-mono); font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color: rgba(255,248,236,.72); }

/* =============== Accordion (FAQ) =============== */
.accordion{ display:flex; flex-direction:column; gap: 14px; }
.acc-item{
  border: 3px solid var(--griddle); border-radius: var(--radius-md); overflow:hidden; background:#fff;
}
.acc-trigger{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap: 16px;
  padding: 20px 24px; background:transparent; border:0; text-align:left;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--griddle);
}
.acc-trigger .plus{
  flex-shrink:0; width: 30px; height:30px; border-radius:999px; border:3px solid var(--griddle);
  position:relative;
}
.acc-trigger .plus::before, .acc-trigger .plus::after{
  content:""; position:absolute; background: var(--griddle); top:50%; left:50%;
}
.acc-trigger .plus::before{ width:12px; height:3px; transform:translate(-50%,-50%); }
.acc-trigger .plus::after{ width:3px; height:12px; transform:translate(-50%,-50%); transition: transform .2s ease; }
.acc-trigger[aria-expanded="true"] .plus::after{ transform:translate(-50%,-50%) rotate(90deg) scale(0); }
.acc-trigger[aria-expanded="true"]{ background: var(--butter); }
.acc-panel{ max-height:0; overflow:hidden; transition: max-height .28s ease; }
.acc-panel-inner{ padding: 0 24px 22px; }
.acc-panel-inner p{ margin:0; }

/* =============== Steps (Voraussetzungen etc.) =============== */
.steps{ display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 22px; }
.step{ padding: 26px; border-radius: var(--radius-md); background:#fff; border: 3px solid var(--griddle); }
.step .num{ font-family: var(--font-mono); color: var(--syrup); font-weight:700; }
.step h3{ margin-top:8px; font-size:1.25rem; }

/* =============== Contact cards =============== */
.contact-grid{ display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px; }
.contact-card{ padding: 30px; border-radius: var(--radius-lg); background:#fff; border:3px solid var(--griddle); text-align:center; }
.contact-card .icon{ width:52px; height:52px; margin:0 auto 14px; color: var(--syrup); }
.contact-card a{ font-weight:700; }
.contact-card a:hover{ color: var(--syrup); }

/* =============== Legal content =============== */
.legal h2{ font-size: 1.5rem; margin-bottom:.5em; }
.legal section + section{ margin-top: 44px; }
.legal p, .legal li{ color: var(--ink-soft); }
.legal ul{ list-style:disc; padding-left:1.3em; margin-bottom:1em; }
.legal a{ text-decoration: underline; text-underline-offset:3px; }
.legal a:hover{ color: var(--syrup); }

/* =============== Downloads =============== */
.download-list{ display:grid; gap:16px; }
.download-item{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  padding: 22px 26px; border-radius: var(--radius-md); background:#fff; border: 3px solid var(--griddle);
}
.download-item .meta{ font-family: var(--font-mono); font-size:.78rem; color: var(--ink-soft); text-transform:uppercase; }
.download-item h3{ font-size: 1.15rem; }

/* =============== Footer =============== */
.site-footer{ background: var(--griddle); color: var(--batter); padding: 70px 0 0; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,248,236,0.12); }
@media (max-width: 780px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand img{ height: 42px; filter: brightness(0) invert(1); }
.footer-brand p{ margin-top: 14px; color: rgba(255,248,236,.7); }
.footer-col h5{ font-family: var(--font-mono); text-transform:uppercase; letter-spacing:.08em; font-size:.8rem; color: var(--butter); margin-bottom: 16px; }
.footer-col a, .footer-col address{ display:block; color: rgba(255,248,236,.82); margin-bottom:10px; }
.footer-col a:hover{ color: var(--butter); }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; padding: 22px 0; font-size:.85rem; color: rgba(255,248,236,.55); }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:38px; height:38px; border-radius:999px; border:1px solid rgba(255,248,236,.25); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background: var(--butter); border-color: var(--butter); color: var(--griddle); }
.footer-social svg{ width:16px; height:16px; }

/* =============== Misc =============== */
.divider-squiggle{ display:block; width:100%; height: 26px; margin: 6px 0; }
.divider-squiggle path{ stroke: var(--maple); stroke-width:5; fill:none; stroke-linecap:round; }

.reveal{ opacity:0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

.to-top{
  position:fixed; right:20px; bottom:20px; z-index:80;
  width:48px; height:48px; border-radius:999px; background: var(--griddle); color:#fff;
  display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-pop);
  opacity:0; visibility:hidden; transform: translateY(10px); transition: all .2s ease;
}
.to-top.is-visible{ opacity:1; visibility:visible; transform:none; }
.to-top svg{ width:18px; height:18px; }

::selection{ background: var(--butter); color: var(--griddle); }
