/* BEMS Ventures — site clone
   Reference: https://bemsventures.de/  |  built with plain HTML/CSS/JS
   Fonts are the exact files the source site self-hosts (not a Google Fonts substitute) */

@font-face{font-family:'Geist';src:url('../fonts/Geist-Light.ttf') format('truetype');font-weight:300;font-style:normal;font-display:swap;}
@font-face{font-family:'Geist';src:url('../fonts/Geist-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Geist';src:url('../fonts/Geist-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'Geist';src:url('../fonts/Geist-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'Geist';src:url('../fonts/Geist-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Geist Mono';src:url('../fonts/GeistMono-Light.ttf') format('truetype');font-weight:300;font-style:normal;font-display:swap;}
@font-face{font-family:'Geist Mono';src:url('../fonts/GeistMono-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Geist Mono';src:url('../fonts/GeistMono-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:'Geist Mono';src:url('../fonts/GeistMono-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:'Geist Mono';src:url('../fonts/GeistMono-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Instrument Serif';src:url('../fonts/InstrumentSerif-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Instrument Serif';src:url('../fonts/InstrumentSerif-Italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap;}

:root{
  --ink: #131e2a;        /* deep navy blue (from logo) — hero / footer bg, headings on cream */
  --ink-2: #17273a;      /* dark section bg — lifted from #10171e so it reads navy, not black */
  --cream: #e7eef4;      /* cream text / light bg */
  --cream-2: #d5e1e9;    /* secondary light section bg */
  --sage: #517e9e;       /* steel blue (from logo) — button ghost border */
  --accent: #65bbe6;     /* solid-button bg / hero italic accent — logo's bright cyan-blue */
  --sage-light: #65bbe6; /* italic accent on hero (photo bg) */
  --sage-dark: #65bbe6;  /* italic accent everywhere else — bright cyan-blue per client feedback */
  --body: #333333;
  --muted-on-light: rgba(19,30,42,.65);
  --muted-on-dark: rgba(231,238,244,.72);
  --line-on-light: rgba(19,30,42,.14);
  --line-on-dark: rgba(231,238,244,.16);
  --wrap: 1280px;
  --font-sans: "Geist", Sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-mono: "Geist", Sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
/* overflow-x:hidden lives on html, not body — putting it on body turns body into
   its own scroll container, which silently breaks window.scrollY, scrollIntoView()
   and anchor-jumps (the exact "mobile gets stuck" symptom). */
html{scroll-behavior:smooth;overflow-x:hidden;}
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--body);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
h1,h2,h3,h4{margin:0;font-weight:500;}
p{margin:0;}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 40px;}
em{font-style:italic;font-family:var(--font-serif);font-weight:400;color:var(--sage-dark);letter-spacing:-.02em;}
/* on #10171e dark sections, #3a576c italic text becomes #65bbe6 instead — everywhere
   else (light sections, hero, footer) keeps whatever color it already had */
.on-dark em{color:var(--accent);}

/* ---------- header ---------- */
/* white navbar (blue variant only) — the logo carries the brand color here, so the
   bar itself stays a clean white/glass surface instead of the dark-ink bg used
   everywhere else; nav text/links flip to dark-on-light accordingly */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding:22px 0;
  background:rgba(255,255,255,.85);
  box-shadow:0 1px 0 rgba(19,30,42,.08);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  max-width:1300px;margin:0 auto;padding:0 40px;
}
.logo{
  display:flex;align-items:center;gap:9px;
  color:var(--ink);font-size:17px;font-weight:600;
}
.logo .dot{width:7px;height:7px;border-radius:50%;background:var(--sage-light);flex:none;}
.logo-img{height:30px;width:auto;display:block;}
.main-nav{display:flex;align-items:center;gap:34px;}
.main-nav a{
  color:rgba(19,30,42,.75);font-size:13px;font-weight:400;
  transition:color .2s;
}
.main-nav a:hover{color:var(--ink);}
.site-header .lang-current{color:rgba(19,30,42,.8);}
.lang-switch{display:flex;align-items:center;gap:2px;border:1px solid rgba(19,30,42,.25);padding:4px;margin-left:10px;}
.lang-switch a{
  font-family:var(--font-mono);font-size:12px;letter-spacing:.5px;
  color:rgba(19,30,42,.6);padding:5px 10px;
}
.lang-switch a.active{background:rgba(19,30,42,.08);color:var(--ink);}
.nav-toggle{
  display:none;width:44px;height:44px;flex:none;align-items:center;justify-content:center;
  background:var(--sage);border:0;cursor:pointer;
}
.nav-toggle span,.nav-toggle span::before,.nav-toggle span::after{
  content:'';display:block;width:18px;height:2px;background:var(--cream);position:relative;
}
.nav-toggle span::before{position:absolute;top:-6px;}
.nav-toggle span::after{position:absolute;top:6px;}

.mobile-nav{
  position:fixed;inset:0;z-index:101;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  gap:6px;padding:0 40px;
  background:rgba(16,23,30,.92);
  backdrop-filter:blur(6px);
  opacity:0;pointer-events:none;transform:translateY(-8px);
  transition:opacity .25s ease,transform .25s ease;
}
.mobile-nav.is-open{opacity:1;pointer-events:auto;transform:translateY(0);}
.mobile-nav a{font-family:var(--font-serif);font-style:italic;font-size:34px;color:var(--cream);padding:8px 0;}
.mobile-nav-close{
  position:absolute;top:22px;right:20px;width:44px;height:44px;
  background:none;border:0;color:var(--cream);font-size:26px;cursor:pointer;
}
/* language switcher, pinned to the top of the mobile menu, above the nav links */
.mobile-nav .lang-switch{
  position:absolute;top:26px;left:40px;
  margin:0;gap:16px;
}
.mobile-nav .lang-switch a{padding:6px 0;}
.mobile-nav .lang-switch a span{display:inline;}
@media (max-width: 767px){
  .mobile-nav .lang-switch{left:20px;}
}

/* ---------- generic section chrome ---------- */
section{position:relative;padding:120px 0;}
.on-light{background:var(--cream);color:var(--ink);}
.on-light-2{background:var(--cream-2);color:var(--ink);}
.on-dark{background:var(--ink-2);color:var(--cream);}
.on-dark::before{
  content:'';position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:3px 3px;
}

.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--font-sans);font-size:11px;font-weight:500;letter-spacing:.6px;text-transform:uppercase;line-height:1.6em;
  margin-bottom:28px;
}
.eyebrow .num{font-family:var(--font-mono);font-weight:400;border:1px solid currentColor;padding:3px 7px;opacity:.9;}
.eyebrow .label{opacity:.75;}

h2.h-lg{font-size:68px;line-height:1.2em;letter-spacing:-1px;margin-bottom:18px;}
h2.h-lg em{font-size:1em;}

.lede{max-width:520px;font-size:17px;line-height:1.55em;}
.lede.muted{opacity:.75;}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:16px 30px;font-size:15px;font-weight:500;letter-spacing:.3px;
  border:1px solid transparent;cursor:pointer;transition:opacity .2s,background .2s;
}
.btn-solid{background:var(--accent);color:var(--ink);}
.btn-solid:hover{opacity:.88;}
.btn-ghost{border-color:var(--sage);color:var(--cream);}
.btn-ghost:hover{background:rgba(231,238,244,.08);}
.on-light .btn-ghost,.on-light-2 .btn-ghost{color:var(--ink);}

/* ---------- hero ---------- */
.hero{
  padding:0;min-height:100vh;display:flex;align-items:flex-end;
  background:var(--ink) url('../images/Untitled.avif') center/cover no-repeat;
  color:var(--cream);
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(19,30,42,.55) 0%, rgba(19,30,42,.25) 35%, rgba(19,30,42,.75) 100%);
}
/* desktop only: a touch darker so the hero text/buttons stand out against the
   pale parts of the photo instead of washing out */
@media (min-width: 1025px){
  .hero::before{
    background:linear-gradient(180deg, rgba(16,23,30,.68) 0%, rgba(16,23,30,.42) 35%, rgba(16,23,30,.84) 100%);
  }
}
.hero-in{position:relative;width:100%;padding:160px 40px 60px;max-width:var(--wrap);margin:0 auto;}
.hero .eyebrow{background:rgba(19,30,42,.5);border:1px solid rgba(231,238,244,.25);padding:6px 12px;}
.hero h1{
  font-size:130px;font-weight:600;line-height:.9em;letter-spacing:normal;
  margin:18px 0 26px;max-width:none;
}
.hero h1 em{color:var(--sage-light);}
.hero .lede{max-width:620px;font-size:18px;margin-bottom:34px;color:rgba(231,238,244,.92);}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:60px;}
.hero-foot{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;}
.home-card{
  font-family:var(--font-mono);font-size:11px;text-align:right;
}
.home-card .tag{opacity:.6;letter-spacing:.6px;display:block;margin-bottom:6px;}
.home-card .place{display:flex;align-items:center;gap:8px;justify-content:flex-end;font-size:13px;}
.home-card .place::before{content:'◆';color:var(--sage-light);font-size:9px;}

/* ---------- 01 what we do ---------- */
.split{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:start;}
.stat-row{
  margin-top:70px;padding-top:36px;border-top:1px solid var(--line-on-light);
  display:grid;grid-template-columns:repeat(4,1fr);
}
.stat{padding:0 24px;border-left:1px solid var(--line-on-light);}
.stat:first-child{padding-left:0;border-left:0;}
.stat .n{font-family:var(--font-serif);font-style:italic;font-weight:500;font-size:90px;line-height:1.2em;letter-spacing:-1px;color:var(--sage-dark);display:block;text-align:center;}
.stat .n.plain{font-family:var(--font-serif);font-style:normal;font-weight:400;color:var(--ink);}
.stat .lab{font-family:var(--font-mono);font-size:15px;letter-spacing:.5px;text-transform:uppercase;opacity:.6;margin-top:10px;display:block;text-align:center;}

/* ---------- 02 standort ---------- */
.standort{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
.standort img{width:100%;height:560px;object-fit:cover;}
.addr-box{margin-top:28px;padding:20px 22px;background:var(--cream);font-family:var(--font-mono);font-size:13px;letter-spacing:.3px;}

/* ---------- 03 marken ---------- */
.brand-head{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:end;margin-bottom:60px;}
/* flex instead of grid so a partial last row (e.g. 7 cards = 4 + 3) centers itself
   instead of hugging the left edge, while every card keeps the exact same width.
   Each card is its own bordered/background box (not a shared table-line grid). */
.brand-grid{display:flex;flex-wrap:wrap;justify-content:center;}
.brand-card{
  width:calc(25% - 12px);padding:30px;text-align:center;
  display:flex;flex-direction:column;align-items:center;
  border:1px solid rgba(231,238,244,.12);background:rgba(231,238,244,.05);
  transition:background-color .3s;
}
.brand-card:hover{background-color:rgba(16,23,30,.65);}
.brand-tag{
  display:inline-block;font-family:var(--font-sans);font-size:11px;font-weight:400;letter-spacing:.5px;
  background:rgba(81,126,158,.08);border:1px solid rgba(81,126,158,.25);color:var(--accent);
  padding:4px 8px 2px;margin-bottom:20px;
}
/* fixed-size slots so every card lines up regardless of each logo's own aspect
   ratio or whether the title wraps to one line or two */
.brand-logo{width:100%;height:100px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;}
.brand-logo img{max-width:70%;max-height:100%;width:auto;height:auto;object-fit:contain;}
.brand-card h4{
  font-size:22px;font-weight:500;line-height:1.2em;color:var(--cream);
  min-height:2.4em;display:flex;align-items:center;justify-content:center;margin-bottom:10px;
}
.brand-card p{font-size:14px;font-weight:400;color:var(--cream-2);opacity:.85;}

/* ---------- 04 werte ---------- */
.value-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line-on-dark);border-left:1px solid var(--line-on-dark);margin-top:56px;}
.value-card{padding:38px 40px;border-right:1px solid var(--line-on-dark);border-bottom:1px solid var(--line-on-dark);}
.value-card .idx{font-family:var(--font-mono);font-size:11px;letter-spacing:.5px;color:var(--sage-light);text-transform:uppercase;margin-bottom:14px;display:block;}
.value-card h4{font-size:19px;font-weight:500;margin-bottom:10px;color:var(--cream);}
.value-card p{font-size:17px;line-height:1.55em;opacity:.72;}

/* ---------- 05 team ---------- */
.team-top{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:start;}
.team-top h2{font-size:52px;}
.team-stats{margin-top:56px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-on-dark);}
.team-stats .stat{border-left:1px solid var(--line-on-dark);border-bottom:1px solid var(--line-on-dark);padding:30px;position:relative;min-height:160px;}
.team-stats .stat:first-child{border-left:0;}
.team-stats .stat .idx{position:absolute;top:24px;right:26px;font-family:var(--font-mono);font-size:11px;opacity:.5;}
.team-stats .n{font-family:var(--font-serif);font-style:italic;font-weight:500;font-size:64px;line-height:1.2em;letter-spacing:-1px;color:var(--accent);text-align:center;}
.team-stats .n.plain{font-family:var(--font-serif);font-style:normal;font-weight:400;color:var(--cream);}
.team-stats .lab{display:block;margin-top:34px;font-family:var(--font-mono);font-size:15px;letter-spacing:.5px;text-transform:uppercase;opacity:.6;text-align:center;}

/* ---------- 06 einblicke ---------- */
.gal-head{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-bottom:56px;align-items:end;}
/* true "justified" gallery — rows of varying image count/width but equal height,
   packed by assets/js/main.js (layoutGallery) to match the source site exactly
   (ideal row height 300px desktop / 150px tablet+mobile, 10px gap) */
.gallery{display:flex;flex-wrap:wrap;gap:10px;}
.gallery img{object-fit:cover;flex:none;}

/* ---------- 07 gründer ---------- */
.founder-head{max-width:620px;margin-bottom:56px;}
.founder-head .lede{font-family:var(--font-serif);font-style:italic;font-weight:500;font-size:40px;line-height:1.2em;letter-spacing:-1px;color:var(--sage-dark);margin-top:14px;max-width:none;}
.founder-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;}
.founder-card{background:var(--cream-2);}
.founder-photo{position:relative;height:580px;overflow:hidden;background:var(--cream-2);}
.founder-photo img{width:100%;height:100%;object-fit:contain;object-position:center top;}
.founder-photo .badge{
  position:absolute;top:18px;left:18px;background:var(--ink);color:var(--cream);
  font-family:var(--font-mono);font-size:10px;letter-spacing:.5px;padding:6px 10px;
}
.founder-body{padding:28px 30px 34px; display: flex; flex-direction: column;}
.founder-body h3{font-size:30px;font-weight:600;}
.founder-body .role{font-family:var(--font-mono);font-size:15px;letter-spacing:.4px;text-transform:uppercase;opacity:.6;margin:10px 0;}
.founder-body p{font-size:14.5px;line-height:1.65;opacity:.78;}

/* ---------- cta strip ---------- */
.cta-strip{text-align:center;padding:90px 0;}
.cta-strip p{font-family:var(--font-sans);font-weight:500;font-size:30px;line-height:1.2em;letter-spacing:-.5px;max-width:800px;margin:0 auto 30px;}

/* ---------- 08 karriere ---------- */
.job-head{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:start;}
.job-head h2{font-size:48px;}
.hiring-label{font-family:var(--font-mono);font-size:11px;letter-spacing:.5px;text-transform:uppercase;opacity:.65;margin:50px 0 18px;padding-top:36px;border-top:1px solid var(--line-on-dark);}
.job-card{border:1px solid var(--line-on-dark);padding:30px 34px;}
.job-card .tag{font-family:var(--font-mono);font-size:10px;letter-spacing:.5px;text-transform:uppercase;opacity:.55;display:block;margin-bottom:10px;}
.job-card h4{font-size:20px;margin-bottom:6px;}
.job-card .loc{font-size:13px;opacity:.65;margin-bottom:18px;display:block;}
.job-card .btn-ghost{padding:11px 20px;font-size:13px;}

/* ---------- footer ---------- */
.site-footer{background:var(--ink);color:var(--cream);padding:90px 0 26px;}
.footer-tagline{font-family:var(--font-serif);font-style:italic;font-size:clamp(30px,4.5vw,52px);line-height:1.1;margin-bottom:50px;}
.footer-tagline .accent{color:var(--sage-light);}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.3fr;gap:30px;padding-top:36px;border-top:1px solid var(--line-on-dark);}
.footer-grid h5{font-family:var(--font-mono);font-size:11px;letter-spacing:.5px;text-transform:uppercase;opacity:.55;margin-bottom:18px;font-weight:500;}
.footer-brand .logo{margin-bottom:14px;}
.footer-brand p{font-family:var(--font-mono);font-size:11.5px;line-height:1.7;opacity:.6;}
.footer-grid ul li{margin-bottom:11px;font-size:14px;opacity:.85;}
.footer-bottom{
  display:flex;justify-content:space-between;margin-top:60px;padding-top:22px;border-top:1px solid var(--line-on-dark);
  font-family:var(--font-mono);font-size:11px;opacity:.55;flex-wrap:wrap;gap:10px;
}

/* ---------- scroll-reveal (matches the source site's Elementor fadeIn: opacity 0→1, 300ms delay).
   Verified against the source: almost every revealed block carries "animated-slow" (2s duration);
   only a couple of small elements use the 1.25s default. ---------- */
@keyframes fadeIn{0%{opacity:0;}100%{opacity:1;}}
.reveal{opacity:0;}
.reveal.is-visible{animation-name:fadeIn;animation-duration:2s;animation-delay:.3s;animation-fill-mode:forwards;animation-timing-function:ease;}
.reveal.fast.is-visible{animation-duration:1.25s;}
.reveal.no-delay.is-visible{animation-delay:0s;}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;animation:none;}
}

/* ================= responsive ================= */
@media (max-width: 1024px){
  .wrap{padding:0 28px;}
  .doc-wrap{padding:0 28px;}
  .main-nav{display:none;}
  .nav-toggle{display:flex;}
  .hero h1{font-size:10vw;}
  h2.h-lg{font-size:46px;}
  .stat .n{font-size:56px;}
  .founder-head .lede{font-size:28px;}
  .cta-strip p{font-size:24px;}
  .split,.standort,.brand-head,.team-top,.gal-head,.job-head{grid-template-columns:1fr;gap:30px;}
  .standort img{height:360px;}
  .stat-row{grid-template-columns:repeat(2,1fr);row-gap:30px;}
  .stat:nth-child(3){border-left:0;padding-left:0;}
  .brand-card{width:calc(50% - 8px);}
  .value-grid{grid-template-columns:1fr;}
  .team-stats{grid-template-columns:1fr;}
  .team-stats .stat{border-left:0;}
  .founder-grid{grid-template-columns:1fr;}
  .founder-photo{height:350px;}
  .footer-grid{grid-template-columns:1fr 1fr;row-gap:36px;}
}

@media (max-width: 767px){
  .wrap{padding:0 20px;}
  .site-header{padding:18px 0;}
  .header-inner{padding:0 20px;}
  .hero-in{padding:150px 20px 40px;}
  .hero h1{font-size:46px;}
  section{padding:40px 0;}
  h2.h-lg{font-size:36px;}
  .team-top h2,
  .job-head h2{font-size:36px;}
  .stat .n{font-size:44px;}
  .team-stats .n{font-size:44px;}
  .founder-head .lede{font-size:22px;}
  .cta-strip p{font-size:20px;}
  .stat-row{grid-template-columns:repeat(2,1fr);}
  .brand-card{width:100%;}
  .footer-grid{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column;}
  .hero-foot{align-items:flex-start;}
  .home-card{text-align:left;}
  .home-card .place{justify-content:flex-start;}
}

/* ================= secondary pages (contact, legal) =================
   these pages use a flag-based language switcher instead of the DE/EN
   box toggle, matching bemsventures.de/en/contact/ */
.lang-switch--flags{border:0;padding:0;gap:18px;margin-left:24px;}
.lang-switch--flags a{
  display:flex;align-items:center;gap:8px;
  font-family:var(--font-sans);font-size:14px;color:rgba(19,30,42,.7);padding:0;
}
.lang-switch--flags a img{width:20px;height:auto;display:block;}
.lang-switch--flags a.active{color:var(--ink);font-weight:500;padding:5px;}
.lang-switch--flags a:hover{color:var(--ink);}
/* ...but inside the fullscreen mobile menu the flags sit on the dark overlay again,
   so they need the light (cream) treatment back, not the header's dark-on-white one */
.mobile-nav .lang-switch--flags a{color:rgba(231,238,244,.7);}
.mobile-nav .lang-switch--flags a.active,
.mobile-nav .lang-switch--flags a:hover{color:var(--cream);}

/* simple dark intro header used by contact/legal pages instead of the full hero */
.page-head{background:var(--ink-2);color:var(--cream);padding:200px 0 80px;position:relative;}
.page-head::before{
  content:'';position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:3px 3px;
}
.page-head .wrap{position:relative;}
.page-head h1{font-size:90px;font-weight:600;line-height:1em;margin-bottom:24px;}
.page-head h2{font-size:32px;font-weight:500;color:var(--accent);margin-bottom:18px;}
.page-head .lede{max-width:640px;}

/* legal / article-style pages */
.doc{background:var(--cream);color:var(--ink);padding:90px 0 120px;}
.doc-wrap{max-width:var(--wrap);margin:0 auto;padding:0 40px;}
.doc h1{font-size:52px;margin-bottom:40px;}
.doc h2{font-size:26px;margin:44px 0 14px;}
.doc h2:first-of-type{margin-top:0;}
.doc h3{font-size:19px;margin:28px 0 10px;}
.doc p{font-size:16px;line-height:1.7;margin-bottom:16px;color:var(--body);}
.doc p:last-child{margin-bottom:0;}
.doc a{text-decoration:underline;text-underline-offset:2px;}
.doc .doc-note{
  font-size:14px;font-style:italic;color:var(--muted-on-light);
  border-left:2px solid var(--sage);padding-left:16px;margin-bottom:40px;
}
.doc ul{list-style:disc;margin:0 0 16px 20px;}
.doc ul li{font-size:16px;line-height:1.7;margin-bottom:6px;}

/* contact page channel cards + form */
.channels{margin-top:56px;}
.channel-card{background:var(--cream-2);padding:34px;margin-bottom:14px;}
.channel-card .idx{font-family:var(--font-mono);font-size:11px;letter-spacing:.5px;text-transform:uppercase;opacity:.55;margin-bottom:14px;display:block;}
.channel-card h4{font-size:22px;margin-bottom:10px;}
.channel-card p{font-size:15px;line-height:1.6;opacity:.8;margin-bottom:4px;}

.contact-form{background:var(--ink-2);color:var(--cream);padding:60px 0;position:relative;}
.contact-form h2{color:var(--cream);}
.contact-form::before{
  content:'';position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:3px 3px;
}
.contact-form .wrap{position:relative;}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:800px;margin-top:30px;}
.form-field{display:flex;flex-direction:column;gap:8px;}
.form-field.full{grid-column:1 / -1;}
.form-field label{font-size:14px;color:var(--cream);opacity:.85;}
.form-field label .req{color:var(--accent);}
.form-field input[type="text"],
.form-field input[type="email"]{
  background:rgba(231,238,244,.06);border:1px solid rgba(231,238,244,.2);
  color:var(--cream);padding:12px 14px;font-family:var(--font-sans);font-size:14px;
}
.form-field input::placeholder{color:rgba(231,238,244,.4);}
.radio-group{display:flex;flex-direction:column;gap:10px;}
.radio-group label{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--cream);opacity:.9;font-weight:400;}
.form-field input[type="file"]{color:var(--cream);font-size:13px;}
.consent-row{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--cream);opacity:.9;}
.form-submit{margin-top:10px;width:100%;height:auto;padding:10px;max-width:400px;justify-content:center;}
.whatsapp-btn{
  display:inline-flex;align-items:center;gap:10px;background:#6bbf59;color:#fff;
  padding:16px 30px;font-size:15px;font-weight:500;margin-top:10px;
}

@media (max-width: 767px){
  .lang-switch--flags{gap:12px;margin-left:12px;}
  .lang-switch--flags a span{display:none;}
  .page-head{padding:140px 0 60px;}
  .page-head h1{font-size:56px;}
  .doc h1{font-size:36px;}
  .doc-wrap{padding:0 20px;}
  .form-grid{grid-template-columns:1fr;}
}

/* ===== Willkommensgeschenk / QR-Landingpages (geschirr, weihnachtsbaum) =====
   Layout nach der Live-Seite: Vollbild-Hero über Foto + "So einfach geht's".
   Farben kommen aus den Tokens, damit die Blau-Variante automatisch passt. */

/* --- Hero --- */
.gifthero{
  position:relative;min-height:100vh;
  display:flex;align-items:center;justify-content:center;
  padding:150px 24px 90px;
  background:var(--ink) center/cover no-repeat;
  color:var(--cream);text-align:center;
}
.gifthero--wb{background-image:url('../images/hero-weihnachtsbaum.jpg');}
.gifthero--gs{background-image:url('../images/hero-geschirr.jpg');}
.gifthero::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,
    color-mix(in srgb, var(--ink) 60%, transparent) 0%,
    color-mix(in srgb, var(--ink) 66%, transparent) 45%,
    color-mix(in srgb, var(--ink) 78%, transparent) 100%);
}
.gifthero-in{position:relative;width:100%;max-width:1000px;}
.gifthero-eyebrow{
  display:block;font-family:var(--font-mono);font-size:12px;font-weight:500;
  letter-spacing:3px;text-transform:uppercase;color:var(--accent);
  margin-bottom:22px;
}
.gifthero h1{
  font-size:clamp(38px,5vw,94px);font-weight:600;line-height:1;
  letter-spacing:-1px;color:var(--cream);margin-bottom:22px;
  white-space:nowrap;
}
.gifthero-lede{
  max-width:620px;margin:0 auto 30px;
  font-size:18px;line-height:1.6;color:var(--cream);opacity:.92;
}
.gifthero-lede strong{font-weight:600;}
[data-gift="code-inline"]{
  font-family:'Geist Mono',var(--font-mono);letter-spacing:.5px;color:var(--accent);
}

/* --- Rabattcode-Box mit "Kopieren" --- */
.gift-codebox{
  display:flex;align-items:stretch;width:fit-content;max-width:100%;
  margin:4px auto 22px;
  background:var(--ink-2);border:1px solid var(--line-on-dark);
  border-radius:16px;padding:6px 6px 6px 28px;
}
.gifthero .btn-pill{display:flex;width:max-content;max-width:100%;margin:0 auto;}
.gift-code{
  display:flex;align-items:center;
  font-family:'Geist Mono',var(--font-mono);
  font-size:34px;font-weight:600;letter-spacing:6px;color:var(--cream);
  white-space:nowrap;
}
.gift-copy{
  margin-left:22px;border:0;cursor:pointer;
  background:var(--accent);color:var(--ink);
  border-radius:12px;padding:0 26px;
  font-family:var(--font-sans);font-size:14px;font-weight:600;letter-spacing:.2px;
  white-space:nowrap;transition:opacity .2s,background .2s;
}
.gift-copy:hover{opacity:.9;}
.gift-copy.is-copied{background:var(--sage);color:var(--cream);}

/* --- Pill-Button mit Pfeil --- */
.btn-pill{
  display:inline-flex;align-items:center;gap:10px;
  padding:15px 30px;border-radius:999px;
  background:var(--accent);color:var(--ink);
  font-family:var(--font-sans);font-size:15px;font-weight:600;letter-spacing:.2px;
  transition:opacity .2s;
}
.btn-pill:hover{opacity:.9;}
.btn-pill .arr{transition:transform .2s;}
.btn-pill:hover .arr{transform:translateX(3px);}

.gift-fineprint{
  margin-top:18px;font-size:13px;line-height:1.6;color:#fff;
}

/* --- "So einfach geht's" --- */
.giftsteps-sec{padding:120px 0;}
.giftsteps-h{
  font-size:clamp(28px,4vw,44px);font-weight:600;letter-spacing:-.5px;
  text-align:center;color:var(--cream);margin-bottom:48px;
}
.giftsteps{
  display:grid;grid-template-columns:1fr 1fr;gap:22px;
  max-width:900px;margin:0 auto;
}
.giftstep{
  border:1px solid var(--line-on-dark);border-radius:16px;
  padding:32px 34px;background:rgba(255,255,255,.015);
}
.giftstep-n{
  display:block;margin-bottom:22px;
  font-family:var(--font-mono);font-size:13px;letter-spacing:1px;color:var(--accent);
}
.giftstep h4{font-size:22px;font-weight:600;color:var(--cream);margin-bottom:10px;}
.giftstep p{font-size:15px;line-height:1.6;color:var(--cream);opacity:.72;}
.giftstep p strong{font-weight:600;opacity:1;}
.giftsteps-outro{
  text-align:center;color:var(--cream);opacity:.9;
  margin:44px 0 28px;font-size:16px;line-height:1.7;
}
.giftsteps-sec .btn-pill{display:flex;width:max-content;margin:0 auto;}

/* Nur-Deutsch Sprachumschalter (kein aktiver Zustand).
   Textfarbe kommt aus der Kopfzeile der jeweiligen Variante (siehe .site-header). */
.lang-current{
  display:flex;align-items:center;gap:8px;
  font-family:var(--font-sans);font-size:14px;
}
.lang-current img{width:20px;height:auto;display:block;}
.mobile-nav .lang-current{color:var(--cream);}

/* Gutschein-Seiten: kompakterer Fuss — kein Grid-Trennstrich, weniger Luft oben */
.site-footer--even{padding-top:40px;}
.site-footer--even .footer-grid{border-top:0;}

/* Gutschein-Seiten: Footer-Spalten auf dem Desktop alle gleich breit */
@media (min-width: 1025px){
  .site-footer--even .footer-grid{grid-template-columns:repeat(4,1fr);}
}

@media (max-width: 767px){
  .gifthero{min-height:auto;padding:128px 18px 68px;}
  .gifthero-in{max-width:100%;}
  .gifthero h1{
    font-size:32px;line-height:1.08;letter-spacing:-.5px;
    white-space:normal;overflow-wrap:anywhere;
  }
  .gifthero-lede{font-size:16px;}
  .gift-codebox{
    flex-direction:column;
    padding:16px;gap:12px;border-radius:14px;
  }
  .gift-code{
    font-size:22px;letter-spacing:2px;justify-content:center;
    white-space:normal;overflow-wrap:anywhere;text-align:center;
  }
  .gift-copy{margin-left:0;padding:12px 20px;border-radius:10px;}
  .giftsteps-sec{padding:78px 0;}
  .giftsteps{grid-template-columns:1fr;}
  .giftstep{padding:26px 24px;}
  .site-header .lang-current > span{display:none;}
  /* Gutschein-Seiten, Mobil: Unternehmen + Rechtliches nebeneinander */
  .site-footer--even .footer-grid{grid-template-columns:1fr 1fr;column-gap:24px;}
  .site-footer--even .footer-grid > div:nth-child(1),
  .site-footer--even .footer-grid > div:nth-child(2){grid-column:1 / -1;}
}

/* ===== Blau-Variante: Gutschein-Seiten mit reinweissem Text ===== */
.gifthero h1,
.gifthero-lede,
.gift-code,
.giftsteps-h,
.giftstep h4,
.giftstep p,
.giftsteps-outro{color:#fff;}
.btn-pill,
.gift-copy{color:#fff;}

/* ===== Kontaktformular: Sende-Status ===== */
.form-status{margin-top:16px;font-size:14px;min-height:1em;}
.form-status.is-success{color:#1a7a4c;}
.form-status.is-error{color:#c0392b;}
