/* ============================================================
   Karpatenwolf Expedition Trucks — Shared Stylesheet
   ============================================================ */

/* Self-hosted webfonts (Inter, Cormorant Garamond — SIL OFL 1.1, see /fonts/LICENSE-*.txt).
   Served from our own domain instead of Google's CDN so no visitor IP address
   is transmitted to Google when the site loads — see Datenschutzerklärung. */
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:300; font-display:swap;
  src:url('../fonts/Inter-300.woff2') format('woff2');
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src:url('../fonts/Inter-400.woff2') format('woff2');
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src:url('../fonts/Inter-500.woff2') format('woff2');
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url('../fonts/Inter-600.woff2') format('woff2');
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap;
  src:url('../fonts/Inter-700.woff2') format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond'; font-style:normal; font-weight:500; font-display:swap;
  src:url('../fonts/CormorantGaramond-500.woff2') format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond'; font-style:normal; font-weight:600; font-display:swap;
  src:url('../fonts/CormorantGaramond-600.woff2') format('woff2');
}
@font-face{
  font-family:'Cormorant Garamond'; font-style:normal; font-weight:700; font-display:swap;
  src:url('../fonts/CormorantGaramond-700.woff2') format('woff2');
}

:root{
  --bg:            #1b1d21;
  --bg-alt:        #22252a;
  --bg-card:       #26292f;
  --bg-card-hover: #2c3037;
  --line:          #363b42;
  --line-soft:     #2c3036;

  --gold:          #c6a15b;
  --gold-bright:   #e0c07f;
  --gold-dim:      #8a7343;

  --text:          #eee9df;
  --text-soft:     #b7b2a7;
  --text-mute:     #7c7972;

  --radius:        2px;
  --maxw:          1240px;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-weight:300;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  position:relative;
  isolation:isolate; /* contain the fixed background-photo pseudo-element's stacking below all page content */
}
/* subtle film-grain texture — breaks up flat dark panels without adding any color */
body::before{
  content:"";
  position:fixed; inset:0;
  z-index:1;
  pointer-events:none;
  opacity:.035;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- scroll progress indicator ---------- */
.scroll-progress{
  position:fixed; top:0; left:0;
  height:2px; width:0%;
  background:var(--gold);
  z-index:200;
  pointer-events:none;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family:var(--serif);
  font-weight:600;
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:.01em;
}
p{ margin:0 0 1em; }
.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 32px;
}

/* large / 4K screens — let the layout use a bit more of the available width
   instead of just showing more background on either side */
@media (min-width:1800px){
  :root{ --maxw: 1520px; }
}

/* ---------- eyebrow / kicker ---------- */
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--sans);
  font-size:.72rem;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:18px;
}
.kicker::before{
  content:"";
  width:28px; height:1px;
  background:var(--gold-dim);
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 34px;
  font-family:var(--sans);
  font-size:.82rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  border:1px solid var(--gold);
  border-radius:var(--radius);
  background:transparent;
  color:var(--gold-bright);
  cursor:pointer;
  transition:background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn:hover{ background:var(--gold); color:#0b0c0e; }
.btn.solid{ background:var(--gold); color:#0b0c0e; }
.btn.solid:hover{ background:var(--gold-bright); border-color:var(--gold-bright); }
.btn.ghost{ border-color:var(--line); color:var(--text-soft); }
.btn.ghost:hover{ border-color:var(--gold); color:var(--gold-bright); background:transparent; }

/* ---------- top navigation ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0;
  z-index:100;
  padding:22px 0;
  background:linear-gradient(to bottom, rgba(27,29,33,.92), rgba(27,29,33,0));
  transition:background .3s ease, padding .3s ease, border-color .3s ease;
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(27,29,33,.96);
  backdrop-filter:blur(6px);
  padding:14px 0;
  border-bottom:1px solid var(--line-soft);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
}
.logo{
  display:flex; align-items:center; gap:12px;
  font-family:var(--serif);
  font-size:1.35rem;
  letter-spacing:.03em;
  color:var(--text);
}
.logo svg{ width:38px; height:38px; flex-shrink:0; }
.logo .logo-mark{ width:80px; height:auto; flex-shrink:0; }
.logo .word small{
  display:block;
  font-family:var(--sans);
  font-size:.58rem;
  letter-spacing:.3em;
  color:var(--gold);
  text-transform:uppercase;
  margin-top:2px;
}
.main-nav{ display:flex; align-items:center; gap:40px; }
.main-nav ul{ display:flex; gap:34px; }
.main-nav a{
  font-size:.82rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--text-soft);
  position:relative;
  padding-bottom:4px;
  transition:color .2s ease;
}
.main-nav a:hover, .main-nav a.active{ color:var(--gold-bright); }
.main-nav a.active::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:100%; height:1px;
  background:var(--gold);
}
.nav-toggle{
  display:none;
  width:42px; height:42px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle svg{ width:20px; height:20px; }

.lang-switch{
  display:flex; align-items:center; gap:8px;
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.lang-switch a{ color:var(--text-soft); transition:color .2s ease; }
.lang-switch a:hover, .lang-switch a.active{ color:var(--gold-bright); }
.lang-switch span{ color:var(--line); }

@media (max-width: 900px){
  .main-nav{
    position:fixed; inset:0 0 0 auto;
    width:78%; max-width:340px;
    background:var(--bg-alt);
    border-left:1px solid var(--line);
    flex-direction:column;
    align-items:flex-start;
    padding:100px 36px 40px;
    transform:translateX(100%);
    transition:transform .35s ease;
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav ul{ flex-direction:column; gap:26px; }
  .lang-switch{ margin-top:8px; }
  .nav-toggle{ display:flex; }
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:calc(92vh + 40px);
  display:flex;
  align-items:center;
  padding:160px 0 140px;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 70% 10%, rgba(198,161,91,.10), transparent 50%),
    linear-gradient(180deg, #15171d 0%, #1a1e27 35%, #202530 60%, var(--bg) 85%);
}
.hero .topo{
  position:absolute; inset:0;
  opacity:.12;
  pointer-events:none;
  animation:topoDrift 30s ease-in-out infinite;
}
@keyframes topoDrift{
  0%,100%{ transform:translate(0,0); }
  50%{ transform:translate(-16px,6px); }
}
@media (prefers-reduced-motion:reduce){
  .hero .topo{ animation:none; }
}
@keyframes truckDriveIn{
  from{ right:-120%; }
  to{ right:3%; }
}
.hero .truck-mark-photo{
  position:absolute;
  right:3%; bottom:calc(-3% + 40px);
  width:53%;
  height:auto;
  opacity:.3;
  filter:brightness(.7);
  pointer-events:none;
  -webkit-mask-image:linear-gradient(to top, transparent 0%, #000 30%);
  mask-image:linear-gradient(to top, transparent 0%, #000 30%);
  animation:truckDriveIn 1.7s cubic-bezier(.16,.7,.24,1) .2s both;
}
.hero .truck-mark-photo.truck-settled{
  animation:none;
}
@media (prefers-reduced-motion:reduce){
  .hero .truck-mark-photo{ animation:none; right:3%; }
}
.hero .truck-mark-fade{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(ellipse 60% 55% at 78% 62%, transparent 35%, var(--bg) 82%),
    linear-gradient(to top, var(--bg) 0%, transparent 30%);
}
.hero-inner{ position:relative; z-index:2; max-width:680px; }
.hero .kicker{ margin-bottom:26px; }
.hero h1{
  font-size:clamp(2.6rem, 5.4vw, 4.4rem);
  color:var(--text);
  margin-bottom:.35em;
}
.hero h1 em{
  font-style:normal;
  color:var(--gold-bright);
}
.hero .lead{
  font-size:1.12rem;
  color:var(--text-soft);
  max-width:520px;
  margin-bottom:2.2em;
}
.hero-actions{ display:flex; gap:18px; flex-wrap:wrap; }

.hero-stats{
  position:relative; z-index:2;
  margin-top:80px;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  border-top:1px solid var(--line-soft);
  padding-top:28px;
  gap:20px;
  max-width:var(--maxw);
}
.hero-stats .stat b{
  display:block;
  font-family:var(--serif);
  font-size:1.7rem;
  color:var(--gold-bright);
  font-weight:600;
  font-variant-numeric:tabular-nums;
}
.hero-stats .stat > span{
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--text-mute);
}
.hero-stats .stat:nth-child(1){ transition-delay:0s; }
.hero-stats .stat:nth-child(2){ transition-delay:.1s; }
.hero-stats .stat:nth-child(3){ transition-delay:.2s; }
.hero-stats .stat:nth-child(4){ transition-delay:.3s; }
.hero-stats .stat:nth-child(5){ transition-delay:.4s; }
.hero-stats .stat:nth-child(6){ transition-delay:.5s; }
@media (max-width:900px){
  .hero-stats{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:760px){
  .hero-stats{ grid-template-columns:repeat(2,1fr); }
  .hero .truck-mark-photo{ width:71%; opacity:.22; }
}

/* ---------- generic sections ---------- */
.section{ padding:120px 0; position:relative; }
.section.alt{ background:var(--bg-alt); }

/* ---------- realistic page background photos ----------
   A fixed, dimmed landscape photo sits behind the entire page (not just the
   hero) on pages that opt in via a body.bg-* class. body.has-bg-photo carries
   the shared positioning/sizing; each bg-* class supplies its own image plus
   a matching dark scrim baked into the same background-image so the photo
   never fights the text on top of it. Sections then need to let it show
   through, so .alt panels switch from a solid fill to a translucent one. */
body.has-bg-photo::after{
  content:"";
  position:fixed; inset:0;
  z-index:-1;
  pointer-events:none;
  background-position:center 38%;
  background-size:cover;
  background-repeat:no-repeat;
}
body.bg-desert::after{
  background-image:
    linear-gradient(180deg, rgba(27,29,33,.36) 0%, rgba(27,29,33,.58) 45%, rgba(27,29,33,.86) 100%),
    url('../img/bg-desert.jpg');
}
body.bg-fjord::after{
  background-image:
    linear-gradient(180deg, rgba(27,29,33,.26) 0%, rgba(27,29,33,.46) 45%, rgba(27,29,33,.78) 100%),
    url('../img/bg-fjord.jpg');
}
body.bg-plateau::after{
  background-image:
    linear-gradient(180deg, rgba(27,29,33,.30) 0%, rgba(27,29,33,.50) 45%, rgba(27,29,33,.78) 100%),
    url('../img/bg-plateau.jpg');
  background-position:center 32%;
}
body.bg-pass::after{
  background-image:
    linear-gradient(180deg, rgba(27,29,33,.26) 0%, rgba(27,29,33,.46) 45%, rgba(27,29,33,.78) 100%),
    url('../img/bg-pass.jpg');
  background-position:center 18%;
}
body.has-bg-photo .section.alt{ background:rgba(34,37,42,.56); }
body.has-bg-photo .page-hero{
  background:linear-gradient(180deg, rgba(27,29,33,.16) 0%, rgba(27,29,33,.36) 100%);
  border-bottom-color:transparent;
}
body.has-bg-photo .hero{
  background:linear-gradient(180deg, rgba(22,24,29,.05) 0%, rgba(27,29,33,.18) 55%, rgba(27,29,33,.48) 100%);
}
body.has-bg-photo .hero .truck-mark-fade{
  background:radial-gradient(ellipse 55% 50% at 82% 66%, transparent 30%, rgba(27,29,33,.28) 100%);
}
body.has-bg-photo .site-footer{ background:rgba(15,17,20,.74); }

.section-head{
  max-width:640px;
  margin-bottom:64px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.9rem,3.4vw,2.8rem); color:var(--text); }
.section-head p{ color:var(--text-soft); font-size:1.02rem; }

.divider{
  height:1px;
  background:linear-gradient(to right, transparent, var(--line), transparent);
  margin:0;
}

/* ---------- USP / feature grid ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line-soft); }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:var(--line-soft); }
.grid-6{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line-soft); }
.feature{
  background:var(--bg);
  padding:44px 38px;
  transition:background .35s ease;
}
.feature:hover{ background:var(--bg-card); }
.grid-6 .feature{ background:rgba(27,29,33,.5); }
.grid-6 .feature:hover{ background:rgba(22,24,28,.6); }
.feature .num{
  font-family:var(--serif);
  color:var(--gold-dim);
  font-size:.95rem;
  margin-bottom:18px;
  display:block;
}
.feature svg{ width:34px; height:34px; color:var(--gold); margin-bottom:22px; transition:transform .35s ease, color .35s ease; }
.feature:hover svg{ transform:translateY(-5px); color:var(--gold-bright); }
.feature h3{ font-size:1.28rem; color:var(--text); }
.feature p{ color:var(--text-soft); font-size:.95rem; margin-bottom:0; }

.grid-6 .feature:nth-child(1){ transition-delay:0s; }
.grid-6 .feature:nth-child(2){ transition-delay:.08s; }
.grid-6 .feature:nth-child(3){ transition-delay:.16s; }
.grid-6 .feature:nth-child(4){ transition-delay:.24s; }
.grid-6 .feature:nth-child(5){ transition-delay:.32s; }
.grid-6 .feature:nth-child(6){ transition-delay:.4s; }

@media (max-width:1100px){
  .grid-6{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:900px){
  .grid-3, .grid-4, .grid-6{ grid-template-columns:1fr; }
}

/* ---------- interactive technical hotspot diagram ---------- */
.tech-diagram{ margin-top:20px; }
.tech-diagram-media{ position:relative; background:var(--bg); border:1px solid var(--line-soft); }
.tech-diagram-media img{ width:100%; height:auto; display:block; }
.pin{
  position:absolute;
  width:30px; height:30px;
  transform:translate(-50%,-50%);
  background:transparent; border:0; padding:0; margin:0;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  -webkit-tap-highlight-color:transparent;
}
.pin-dot{
  width:10px; height:10px; border-radius:50%;
  background:var(--gold-bright);
  position:relative;
  transition:background .25s ease, transform .25s ease;
}
.pin-dot::before{
  content:"";
  position:absolute; inset:-9px;
  border:1px solid var(--gold-dim);
  border-radius:50%;
  animation:pinPulse 2.6s ease-out infinite;
}
.pin:hover .pin-dot,
.pin:focus-visible .pin-dot,
.pin.active .pin-dot{
  background:#fff;
  transform:scale(1.25);
}
.pin.active .pin-dot::before{ border-color:var(--gold-bright); animation-play-state:paused; opacity:1; transform:scale(1.4); }
@keyframes pinPulse{
  0%{ transform:scale(.55); opacity:.9; }
  100%{ transform:scale(2.4); opacity:0; }
}
@media (prefers-reduced-motion:reduce){
  .pin-dot::before{ animation:none; }
}
.tech-info{
  margin-top:36px;
  border-top:1px solid var(--line);
  padding-top:26px;
  min-height:80px;
}
.tech-info-hint{ color:var(--text-mute); font-size:.9rem; }
.tech-info-content h4{ color:var(--gold-bright); font-family:var(--serif); font-size:1.4rem; margin-bottom:.28em; }
.tech-info-content p{ color:var(--text-soft); font-size:.97rem; margin-bottom:0; max-width:640px; }
@media (max-width:640px){
  .pin{ width:26px; height:26px; }
  .pin-dot{ width:9px; height:9px; }
}

/* ---------- model cards ---------- */
.model-grid{ display:grid; grid-template-columns:1fr 1fr; gap:2px; background:var(--line-soft); }
.model-card{
  background:var(--bg-card);
  padding:56px 48px;
  display:flex; flex-direction:column;
  transition:background .3s ease;
  overflow:hidden;
}
.model-card:hover{ background:var(--bg-card-hover); }
.model-grid .model-card:nth-child(1){ transition-delay:0s; }
.model-grid .model-card:nth-child(2){ transition-delay:.12s; }
.model-card .tag{
  font-size:.7rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold); margin-bottom:14px;
}
.model-card h3{ font-size:2.1rem; color:var(--text); margin-bottom:.2em; }
.model-card .price{
  font-family:var(--sans); color:var(--text-mute); font-size:.88rem; margin-bottom:22px;
}
.model-card .price b{ color:var(--gold-bright); font-weight:500; }
.model-card p{ color:var(--text-soft); font-size:.96rem; }
.truck-photo{
  display:block;
  width:100%;
  height:auto;
  margin:14px 0 26px;
  transition:transform .6s ease;
}
.model-card:hover .truck-photo{ transform:scale(1.035); }
.model-card .truck-photo{ margin:6px 0 26px; }
.model-card ul.specs{
  margin:20px 0 28px;
  border-top:1px solid var(--line);
}
.model-card ul.specs li{
  display:flex; justify-content:space-between;
  padding:11px 0;
  border-bottom:1px solid var(--line);
  font-size:.86rem;
}
.model-card ul.specs li span:first-child{ color:var(--text-mute); }
.model-card ul.specs li span:last-child{ color:var(--text); font-weight:500; }
.model-card .btn{ align-self:flex-start; margin-top:auto; }

@media (max-width:900px){ .model-grid{ grid-template-columns:1fr; } }

/* ---------- spec table (Modelle-Detailseite) ---------- */
.spec-panel{ padding:56px 48px; }
.spec-block{ margin-bottom:60px; }
.spec-table{ width:100%; border-collapse:collapse; }
.spec-table tr{ border-bottom:1px solid var(--line-soft); }
.spec-table td{ padding:16px 0; font-size:.92rem; color:var(--text-soft); }
.spec-table td:first-child{ color:var(--text-mute); width:45%; }
.spec-table td:last-child{ color:var(--text); font-weight:500; text-align:right; }

/* ---------- timeline ---------- */
.timeline{ position:relative; padding-left:32px; }
.timeline::before{
  content:""; position:absolute; left:5px; top:6px; bottom:6px; width:1px;
  background:var(--line);
}
.timeline-item{ position:relative; padding-bottom:44px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-32px; top:5px;
  width:11px; height:11px; border-radius:50%;
  background:var(--bg); border:2px solid var(--gold);
}
.timeline-item .when{
  font-size:.74rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold); margin-bottom:6px;
}
.timeline-item h4{ color:var(--text); font-size:1.15rem; margin-bottom:6px; }
.timeline-item p{ color:var(--text-soft); font-size:.92rem; margin-bottom:0; }

/* ---------- company split (home teaser, text only) ---------- */
.company-split{
  display:flex;
  justify-content:center;
}
.company-split .section-head{ margin-bottom:0; }

/* ---------- team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:2px; background:var(--line-soft); }
.team-card{ background:var(--bg-card); padding:48px; }
.team-card .avatar{
  width:64px; height:64px; border-radius:50%;
  border:1px solid var(--gold-dim);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); color:var(--gold-bright); font-size:1.4rem;
  margin-bottom:24px;
}
.team-card h3{ color:var(--text); font-size:1.4rem; margin-bottom:.15em; }
.team-card .role{ color:var(--gold); font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:16px; display:block; }
.team-card p{ color:var(--text-soft); font-size:.93rem; }
@media (max-width:760px){ .team-grid{ grid-template-columns:1fr; } }

/* ---------- partner logos ---------- */
.partner-list{
  display:grid; grid-template-columns:repeat(5,1fr);
  gap:1px; background:var(--line-soft); margin-top:20px;
}
.partner-item{
  background:var(--bg);
  padding:26px 18px;
  text-align:center;
  font-size:.78rem;
  letter-spacing:.03em;
  color:var(--text-mute);
  display:flex; align-items:center; justify-content:center;
  min-height:84px;
}
@media (max-width:900px){ .partner-list{ grid-template-columns:repeat(2,1fr); } }

/* ---------- partner logo wall ---------- */
.partner-logos{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(148px, 1fr));
  gap:14px;
  margin-top:20px;
}
.partner-logo{
  background:transparent;
  height:96px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 20px;
}
.partner-logo img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
}

/* ---------- quote / CTA band ---------- */
.cta-band{
  position:relative;
  padding:150px 0;
  background:
    linear-gradient(rgba(27,29,33,.86), rgba(27,29,33,.93)),
    url('../img/cta-band-bg.jpg') center 35% / cover no-repeat;
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  text-align:center;
}
.cta-band h2{ font-size:clamp(1.8rem,3.6vw,2.6rem); max-width:720px; margin:0 auto .4em; }
.cta-band p{ color:var(--text-soft); max-width:560px; margin:0 auto 2em; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.contact-info .item{ display:flex; gap:18px; margin-bottom:32px; }
.contact-info .item svg{ width:22px; height:22px; color:var(--gold); flex-shrink:0; margin-top:3px; }
.contact-info .item h4{ font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-mute); margin-bottom:6px; font-family:var(--sans); font-weight:600; }
.contact-info .item p{ color:var(--text); margin-bottom:0; }
.social-row{ display:flex; gap:14px; margin-top:36px; }
.social-row a{
  width:42px; height:42px; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  transition:border-color .2s ease, color .2s ease;
  color:var(--text-soft);
}
.social-row a:hover{ border-color:var(--gold); color:var(--gold-bright); }
.social-row svg{ width:17px; height:17px; }

form.contact-form{ display:flex; flex-direction:column; gap:20px; }
.contact-form label{
  font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:var(--text-mute);
  margin-bottom:8px; display:block;
}
.contact-form input, .contact-form select, .contact-form textarea{
  width:100%;
  background:var(--bg-card);
  border:1px solid var(--line);
  color:var(--text);
  padding:14px 16px;
  font-family:var(--sans);
  font-size:.95rem;
  border-radius:var(--radius);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  outline:none; border-color:var(--gold);
}
.contact-form textarea{ resize:vertical; min-height:130px; }
.contact-form .row2{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-note{ font-size:.8rem; color:var(--text-mute); margin-top:4px; }

@media (max-width:900px){
  .contact-grid{ grid-template-columns:1fr; gap:56px; }
  .contact-form .row2{ grid-template-columns:1fr; }
}

/* ---------- map strip ---------- */
.map-strip{
  height:340px;
  border:1px solid var(--line-soft);
  margin-top:60px;
  overflow:hidden;
  position:relative;
  filter:grayscale(.25) contrast(1.05);
}
.map-strip iframe{
  width:100%; height:100%; border:0; display:block;
}
.map-caption{
  display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 14px;
  color:var(--text-mute); font-size:.85rem; margin-top:14px;
}
.map-caption b{ color:var(--gold-bright); font-family:var(--serif); font-size:1.1rem; font-weight:600; }
.map-caption a{ color:var(--gold); border-bottom:1px solid var(--gold-dim); margin-left:auto; }

/* ---------- simple content pages (Impressum/Datenschutz) ---------- */
.legal{ padding:180px 0 120px; }
.legal .container{ max-width:820px; }
.legal h1{ font-size:2.4rem; margin-bottom:.3em; }
.legal .updated{ color:var(--text-mute); font-size:.85rem; margin-bottom:3em; }
.legal h2{ font-size:1.3rem; color:var(--gold-bright); margin-top:2.2em; }
.legal p, .legal li{ color:var(--text-soft); font-size:.96rem; }
.legal ul{ list-style:disc; padding-left:22px; margin-bottom:1em; }
.legal ul li{ margin-bottom:.4em; }
.legal a{ color:var(--gold); border-bottom:1px solid var(--gold-dim); }

/* ---------- footer ---------- */
.site-footer{
  background:var(--bg-alt);
  border-top:1px solid var(--line-soft);
  padding:80px 0 30px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:50px;
  padding-bottom:56px;
}
.footer-grid .logo{ margin-bottom:18px; }
.footer-grid p{ color:var(--text-mute); font-size:.9rem; max-width:280px; }
.footer-col h5{
  font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text-mute); margin-bottom:20px; font-family:var(--sans); font-weight:600;
}
.footer-col ul li{ margin-bottom:12px; }
.footer-col a{ color:var(--text-soft); font-size:.92rem; transition:color .2s ease; }
.footer-col a:hover{ color:var(--gold-bright); }
.footer-bottom{
  border-top:1px solid var(--line-soft);
  padding-top:26px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
}
.footer-bottom p{ color:var(--text-mute); font-size:.8rem; margin:0; }
.footer-bottom .legal-links{ display:flex; gap:24px; }
.footer-bottom .legal-links a{ color:var(--text-mute); font-size:.8rem; }
.footer-bottom .legal-links a:hover{ color:var(--gold-bright); }

@media (max-width:900px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .footer-grid{ grid-template-columns:1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* ---------- page hero (subpages) ---------- */
.page-hero{
  padding:170px 0 90px;
  position:relative;
  background:radial-gradient(ellipse at 80% 0%, rgba(198,161,91,.07), transparent 60%), var(--bg);
  border-bottom:1px solid var(--line-soft);
}
.page-hero .kicker{ margin-bottom:18px; }
.page-hero h1{ font-size:clamp(2.2rem,4.4vw,3.4rem); max-width:760px; }
.page-hero p.lead{ color:var(--text-soft); max-width:600px; font-size:1.05rem; }

/* fade-in on scroll — enhancement only: content stays visible without JS,
   and only gets the hidden/animate-in treatment once main.js confirms
   IntersectionObserver support (see js/main.js, class added to <html>). */
.js-reveal .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.in{ opacity:1; transform:none; }

/* ============================================================
   very large / 4K screens — placed at the end of the file so
   these rules win the cascade over the unconditional component
   rules above, regardless of source order elsewhere. A wider
   container alone still leaves text and spacing at the same
   absolute pixel size, which reads as "too small" on a
   physically large, high-resolution display. Scaling the root
   font-size scales every rem-based font-size in the site
   proportionally, and the paddings/widths below keep whitespace
   and line-wrapping in step with the bigger type.
   ============================================================ */
@media (min-width:2400px){
  html{ font-size:18px; }
  :root{ --maxw: 1680px; }
  .hero{ padding:190px 0 160px; }
  .section{ padding:145px 0; }
  .hero-inner{ max-width:765px; }
  .hero .lead{ max-width:585px; }
  .tech-info-content p{ max-width:720px; }
  .cta-band h2{ max-width:810px; }
  .cta-band p{ max-width:630px; }
  .page-hero h1{ max-width:855px; }
  .page-hero p.lead{ max-width:675px; }
  .footer-grid p{ max-width:315px; }
}
@media (min-width:3200px){
  html{ font-size:21px; }
  :root{ --maxw: 1880px; }
  .hero{ padding:220px 0 180px; }
  .section{ padding:170px 0; }
  .hero-inner{ max-width:893px; }
  .hero .lead{ max-width:682px; }
  .tech-info-content p{ max-width:840px; }
  .cta-band h2{ max-width:945px; }
  .cta-band p{ max-width:735px; }
  .page-hero h1{ max-width:997px; }
  .page-hero p.lead{ max-width:787px; }
  .footer-grid p{ max-width:367px; }
}
