/* Westwind – Weiß & Gold. Gold nur als Signal: Knöpfe, Linien, Zahlen, Schlüsselwörter. */
:root {
  --paper:   #FFFFFF;
  --mist:    #F6F4EF;
  --cream:   #FBF1D6;
  --ink:     #15140F;
  --ink-2:   #57544B;
  --line:    #E7E2D6;
  --gold:    #B88A1C;
  --gold-ink:#8C6911;
  --gold-lt: #E9C766;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 18px;
  --maxw: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 700px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
h1, h2, h3 { font-family: var(--display); font-stretch: 112%; text-transform: uppercase; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); font-weight: 850; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 750; letter-spacing: 0.01em; }
p { margin: 0; }
.gold { color: var(--gold); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.lead { color: var(--ink-2); font-size: 1.05rem; max-width: 60ch; }
.center { text-align: center; justify-items: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 28px -10px rgba(184,138,28,.7); }
.btn-gold:hover { background: var(--gold-ink); transform: translateY(-2px); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-stack { display: inline-grid; gap: 6px; justify-items: center; }
.btn-stack small { font-size: 12px; color: var(--ink-2); font-weight: 500; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255,255,255,.95); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: flex; align-items: center; height: 56px; flex: none; }
.logo img { height: 56px; width: auto; }
.nav-links { display: flex; gap: 26px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.nav-links a { padding-block: 6px; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-links a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold); }
.nav-cta { display: flex; gap: 10px; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 12px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 1040px) {
  .nav-links, .nav-cta .btn-line { display: none; }
  .burger { display: flex; }
  .nav-cta .btn-gold { min-height: 40px; padding: 0 14px; font-size: 11px; }
  .nav.open .mobile-menu { display: grid; position: fixed; top: calc(72px + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0; background: var(--paper); padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); align-content: start; overflow-y: auto; }
  .mobile-menu a { font-family: var(--display); font-stretch: 112%; text-transform: uppercase; font-weight: 800; font-size: 1.6rem; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu a[aria-current] { color: var(--gold); }
  .mobile-menu .btn { margin-top: 20px; font-size: 14px; }
}
@media (max-width: 400px) { .nav-cta .btn-gold { display: none; } }

/* Sections */
.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec.tight-top { padding-top: 0; }
.sec.mist { background: var(--mist); }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 88px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin: 18px 0 20px; }
.hero .btns { margin-top: 28px; align-items: flex-start; }
.hero-note { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.hero-img { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/3.4; box-shadow: 0 40px 80px -40px rgba(21,20,15,.45); margin: 0; }
.hero-img img { width: 100%; height: 115%; object-fit: cover; }
.halo { position: absolute; width: 60%; aspect-ratio: 1; right: -8%; top: -10%; background: radial-gradient(circle, rgba(233,199,102,.45), rgba(233,199,102,0) 65%); filter: blur(10px); z-index: -1; pointer-events: none; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero-c { text-align: center; }
.hero-c .wrap { display: grid; justify-items: center; gap: 0; }
.hero-c .lead { margin-inline: auto; }
.hero-c .btns { justify-content: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-img { aspect-ratio: 16/11; } }

/* Big hero with photo (Startseite) */
.hero-photo { position: relative; min-height: min(760px, 92vh); display: grid; align-items: end; overflow: hidden; color: #fff; }
.hero-photo > img, .hero-photo > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,20,15,.15) 0%, rgba(21,20,15,.35) 45%, rgba(21,20,15,.88) 100%); }
.hero-photo .wrap { position: relative; z-index: 2; padding-block: 120px 64px; width: 100%; }
.hero-photo h1 { font-size: clamp(2.6rem, 7.4vw, 6rem); max-width: 14ch; }
.hero-photo .lead { color: rgba(255,255,255,.85); margin-top: 18px; }
.hero-photo .eyebrow { color: var(--gold-lt); }
.hero-photo .eyebrow::before { background: var(--gold-lt); }
.hero-photo .btn-line { border-color: #fff; color: #fff; }
.hero-photo .btn-line:hover { background: #fff; color: var(--ink); }
.hero-photo .btn-stack small { color: rgba(255,255,255,.8); }
.hero-photo .btns { margin-top: 28px; align-items: flex-start; }

/* Rollen-Akkordeon */
.roles { display: flex; gap: 12px; height: 520px; }
.role { position: relative; flex: 1; min-width: 0; border-radius: var(--r); overflow: hidden; cursor: pointer; background: var(--mist); border: 1px solid var(--line); transition: flex .6s cubic-bezier(.65,0,.25,1), background .3s; text-align: left; padding: 0; font: inherit; color: inherit; }
.role[aria-expanded="true"] { flex: 4.2; cursor: default; background: var(--ink); border-color: var(--ink); }
.role-num { position: absolute; top: 18px; left: 20px; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--gold-ink); z-index: 2; }
.role-v { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); writing-mode: vertical-rl; rotate: 180deg; font-family: var(--display); font-stretch: 112%; text-transform: uppercase; font-weight: 800; font-size: 17px; letter-spacing: .04em; white-space: nowrap; transition: opacity .25s; }
.role:not([aria-expanded="true"]):hover { background: var(--cream); border-color: var(--gold-lt); }
.role-open { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s .15s, visibility 0s .5s; }
.role[aria-expanded="true"] .role-open { opacity: 1; visibility: visible; transition: opacity .4s .25s, visibility 0s 0s; }
.role[aria-expanded="true"] .role-v { opacity: 0; }
.role[aria-expanded="true"] .role-num { color: var(--gold-lt); }
.role-open img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.role-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,20,15,0) 35%, rgba(21,20,15,.88) 100%); }
.role-txt { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 2; color: #fff; display: grid; gap: 8px; max-width: 520px; }
.role-txt p { color: rgba(255,255,255,.85); font-size: 15px; }
.role-txt h3 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
@media (max-width: 760px) {
  .roles { flex-direction: column; height: auto; }
  .role { flex: none; height: 72px; transition: height .55s cubic-bezier(.65,0,.25,1), background .3s; }
  .role[aria-expanded="true"] { flex: none; height: 420px; }
  .role-v { writing-mode: horizontal-tb; rotate: 0deg; left: 64px; bottom: auto; top: 50%; transform: translateY(-50%); font-size: 15px; }
  .role-num { top: 50%; transform: translateY(-50%); }
  .role[aria-expanded="true"] .role-num { top: 18px; transform: none; }
}

/* Rollen als Karten (Startseite) */
.role-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.rc { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; color: #fff; display: block; }
.rc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.rc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,20,15,0) 40%, rgba(21,20,15,.85)); }
.rc:hover img { transform: scale(1.06); }
.rc span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; font-family: var(--display); font-stretch: 112%; text-transform: uppercase; font-weight: 800; font-size: 1.05rem; line-height: 1.1; }
.rc b { display: block; font-size: 12px; color: var(--gold-lt); font-weight: 700; margin-bottom: 6px; }
@media (max-width: 900px) { .role-cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Laufband */
.marquee { padding-block: clamp(36px, 6vw, 70px); overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); }
.mq-row { display: flex; gap: 40px; white-space: nowrap; font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 8vw, 6.4rem); line-height: 1.05; will-change: transform; }
.mq-row span { display: inline-flex; align-items: center; gap: 40px; }
.mq-row span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: var(--gold); flex: none; }
.mq-outline { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.mq-fill { color: var(--ink); transform: translateX(-30%); }

/* Prozess-Linie */
.track { position: relative; margin-top: 20px; }
.track svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.track .base { stroke: var(--line); }
.track .rail { stroke: var(--gold); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 70px; }
.step { position: relative; width: min(46%, 440px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px 22px 76px; transition: border-color .4s, box-shadow .4s; }
.step:nth-child(odd) { justify-self: start; }
.step:nth-child(even) { justify-self: end; }
.step .dot { position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 15px; background: var(--mist); color: var(--ink-2); border: 2px solid var(--line); transition: background .4s, color .4s, border-color .4s, box-shadow .4s; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15px; }
.step.on { border-color: var(--gold-lt); box-shadow: 0 18px 40px -24px rgba(184,138,28,.55); }
.step.on .dot { background: var(--gold); color: #fff; border-color: var(--gold); box-shadow: 0 0 0 6px rgba(233,199,102,.35); }
@media (max-width: 760px) { .steps { gap: 18px; } .step { width: 100%; justify-self: stretch !important; } .track svg { display: none; } }

/* Karten-Raster */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; display: grid; gap: 10px; align-content: start; background: var(--paper); transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--gold-lt); box-shadow: 0 24px 48px -30px rgba(21,20,15,.35); }
.card p { color: var(--ink-2); font-size: 15px; }
.ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--gold-ink); }
.ic svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .grid4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }

/* Benefit-Kacheln mit großem Wert */
.benefit { border-radius: var(--r); padding: 26px 22px; background: var(--mist); display: grid; gap: 8px; align-content: start; border: 1px solid transparent; transition: border-color .3s, background .3s; }
.benefit:hover { background: var(--paper); border-color: var(--gold-lt); }
.benefit .big { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--gold); line-height: 1; }
.benefit h3 { font-size: 1rem; }
.benefit p { color: var(--ink-2); font-size: 14px; }

/* Konditionen: Überschrift links, Häkchen rechts */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split > * { min-width: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 1px; }
.checks li small { display: block; color: var(--ink-2); font-weight: 400; font-size: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Satz, der sich einfärbt */
.statement { padding-block: clamp(70px, 10vw, 140px); }
.statement p { font-family: var(--display); font-stretch: 108%; font-weight: 750; font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.2; letter-spacing: -0.01em; max-width: 26ch; text-wrap: balance; }
.statement .w { color: #BDB7AA; transition: color .2s; }
.statement .w.lit { color: var(--ink); }
.statement .w.lit.g { color: var(--gold); }

/* Fotos */
.photo { border-radius: 28px; overflow: hidden; position: relative; aspect-ratio: 16/8; margin: 0; }
.photo img { width: 100%; height: 120%; object-fit: cover; object-position: center 30%; }
.photo figcaption { position: absolute; left: 22px; bottom: 20px; right: 22px; color: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 2.6vw, 1.8rem); text-shadow: 0 2px 18px rgba(0,0,0,.45); }
@media (max-width: 700px) { .photo { aspect-ratio: 4/3.2; } }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo img { border-radius: var(--r); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.duo img:nth-child(2) { margin-top: 48px; }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-block: 1px solid var(--line); }
.stats div { padding: 28px 18px; display: grid; gap: 6px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: var(--ink); line-height: 1; }
.stats span { font-size: 13px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Regionen */
.regions { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.region { border-top: 3px solid var(--gold); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.region small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-ink); }
.region ul { margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; display: grid; gap: 4px; }
@media (max-width: 900px) { .regions { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .regions { grid-template-columns: 1fr; } }

/* Jobkarte */
.job { display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 32px); background: var(--paper); transition: border-color .3s, box-shadow .3s; }
.job:hover { border-color: var(--gold-lt); box-shadow: 0 26px 50px -34px rgba(21,20,15,.4); }
.job > * { min-width: 0; }
.job h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.job .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--mist); }
.pill svg { width: 15px; height: 15px; color: var(--gold); }
@media (max-width: 700px) { .job { grid-template-columns: 1fr; } }

/* Liste mit Nummern (3 Schritte) */
.three { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; counter-reset: s; padding: 0; margin: 0; }
.three li { list-style: none; border-radius: var(--r); background: var(--mist); padding: 26px 24px; display: grid; gap: 8px; position: relative; }
.three li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--display); font-weight: 900; font-stretch: 118%; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.three p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; background: var(--paper); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-weight: 800; color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; }

/* Formular */
.ask { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ask > * { min-width: 0; }
form.panel { border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; background: var(--paper); box-shadow: 0 30px 60px -44px rgba(21,20,15,.4); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row2 > * { min-width: 0; }
label.f { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
input, select, textarea { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(233,199,102,.3); }
textarea { min-height: 110px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label { display: inline-flex; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; background: var(--paper); font-size: 14px; }
.chips input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); font-weight: 400; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--gold); }
.form-msg { font-size: 14px; color: var(--gold-ink); font-weight: 600; min-height: 1.2em; }
@media (max-width: 860px) { .ask { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

/* Kontaktkarten */
.cc { display: grid; gap: 6px; padding: 24px; border-radius: var(--r); background: var(--mist); }
.cc small { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--gold-ink); }
.cc b { font-size: 1.05rem; font-weight: 600; user-select: all; overflow-wrap: anywhere; }

/* CTA-Band */
.cta-band { border-radius: 28px; background: var(--ink); color: #fff; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; right: -160px; top: -220px; background: radial-gradient(circle, rgba(233,199,102,.35), rgba(233,199,102,0) 65%); }
.cta-band > * { position: relative; min-width: 0; }
.cta-band p { color: rgba(255,255,255,.75); margin-top: 12px; }
.cta-band .btn-stack small { color: rgba(255,255,255,.7); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.post { display: grid; align-content: start; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper); transition: transform .3s, box-shadow .3s, border-color .3s; }
.post:hover { transform: translateY(-4px); border-color: var(--gold-lt); box-shadow: 0 24px 48px -30px rgba(21,20,15,.35); }
.post .thumb { aspect-ratio: 16/9.5; overflow: hidden; background: var(--mist); }
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post:hover img { transform: scale(1.05); }
.post .pbody { padding: 20px 22px 24px; display: grid; gap: 10px; }
.post time { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.post h3 { font-size: 1.1rem; }
.post p { color: var(--ink-2); font-size: 15px; }
.post .more { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }
.post h3 { overflow-wrap: anywhere; hyphens: auto; }
.post.big { grid-column: span 2; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: stretch; }
.post.big .thumb { aspect-ratio: auto; position: relative; min-height: 300px; }
.post.big .thumb img { position: absolute; inset: 0; }
.post.big .pbody { align-content: center; padding: 28px; }
.post.big h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .post.big { grid-column: auto; grid-template-columns: 1fr; } .post.big .thumb { min-height: 0; aspect-ratio: 16/9.5; } .post.big .thumb img { position: static; } }

/* Social + Footer */
.social { display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px); margin-top: 28px; }
.social a { width: clamp(60px, 9vw, 92px); aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center; background: var(--cream); color: var(--gold-ink); transition: transform .25s, background .25s, color .25s; }
.social a:hover { transform: translateY(-4px); background: var(--gold); color: #fff; }
.social svg { width: 46%; height: 46%; }
footer { border-top: 1px solid var(--line); padding-block: 36px 44px; font-size: 14px; color: var(--ink-2); }
.foot { display: grid; gap: 22px; justify-items: center; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; font-weight: 600; color: var(--ink); }
.foot .legal { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; font-size: 13px; }
.foot img { height: 64px; width: auto; }
.demo-badge { position: fixed; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 70; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ═════ Dunkler Stil ═════ */
:root[data-theme="dark"] {
  --paper:   #23221E;
  --mist:    #2D2B26;
  --cream:   #3A3428;
  --ink:     #F3EFE6;
  --ink-2:   #C4BFB2;
  --line:    #423F37;
  --gold:    #C9A13B;
  --gold-ink:#E2BD5A;
  --gold-lt: #E9C766;
  color-scheme: dark;
}
:root[data-theme="dark"] body::before { background: rgba(35,34,30,.96); }
:root[data-theme="dark"] .nav { background: rgba(35,34,30,.9); border-bottom-color: #3A3730; }
:root[data-theme="dark"] .btn-gold { color: #14120D; box-shadow: 0 10px 30px -12px rgba(201,161,59,.55); }
:root[data-theme="dark"] .btn-gold:hover { background: var(--gold-lt); color: #14120D; }
:root[data-theme="dark"] .btn-line:hover { background: var(--ink); color: #14120D; }
:root[data-theme="dark"] .role[aria-expanded="true"] { background: #1A1916; border-color: rgba(201,161,59,.5); }
:root[data-theme="dark"] .chips input:checked + label { background: var(--gold); color: #14120D; border-color: var(--gold); }
:root[data-theme="dark"] input:focus, :root[data-theme="dark"] select:focus, :root[data-theme="dark"] textarea:focus { background: #34322C; }
:root[data-theme="dark"] .cta-band { background: #2D2B26; border: 1px solid rgba(201,161,59,.35); }
:root[data-theme="dark"] .statement .w { color: #5E5A50; }
:root[data-theme="dark"] .demo-badge { background: var(--gold); color: #14120D; }
:root[data-theme="dark"] .card, :root[data-theme="dark"] .job, :root[data-theme="dark"] form.panel, :root[data-theme="dark"] .faq details, :root[data-theme="dark"] .post, :root[data-theme="dark"] .step { background: #2A2824; }
:root[data-theme="dark"] .card:hover, :root[data-theme="dark"] .job:hover, :root[data-theme="dark"] .post:hover { box-shadow: 0 24px 60px -30px rgba(201,161,59,.25); }
:root[data-theme="dark"] .benefit:hover { background: #2A2824; }
:root[data-theme="dark"] .hero-img, :root[data-theme="dark"] .photo { box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); }
:root[data-theme="dark"] .sec.mist { background: #2A2824; }
:root[data-theme="dark"] .halo { background: radial-gradient(circle, rgba(201,161,59,.28), rgba(201,161,59,0) 65%); }
:root[data-theme="dark"] .burger { background: transparent; }
:root[data-theme="dark"] .burger span { background: var(--ink); }


/* Handy: Hero niedriger */
@media (max-width: 700px) {
  .hero-photo { min-height: 72svh; }
  .hero-photo .wrap { padding-block: 92px 36px; }
  .hero-photo h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
}

/* ===== Startseite v2 ===== */
/* Berufe: Klick vergrößert, Beschreibung rechts */
.jx-row { display: flex; gap: 12px; height: 460px; }
.jx { flex: 1 1 0; min-width: 0; display: flex; border-radius: var(--r); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: flex-grow .6s cubic-bezier(.65,0,.25,1), border-color .3s; }
.jx.open { flex-grow: 3.2; border-color: rgba(201,161,59,.55); }
.jx-pic { flex: 1 1 0; min-width: 0; position: relative; border: 0; padding: 0; margin: 0; background: none; color: #fff; cursor: pointer; font: inherit; text-align: left; overflow: hidden; }
.jx-pic:focus-visible { outline: 3px solid var(--gold-lt); outline-offset: -3px; }
.jx-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.jx-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,20,15,0) 40%, rgba(21,20,15,.88)); }
.jx-pic:hover img { transform: scale(1.05); }
.jx-pic .t { position: absolute; left: 16px; right: 12px; bottom: 16px; z-index: 2; font-family: var(--display); font-stretch: 112%; text-transform: uppercase; font-weight: 800; font-size: .92rem; line-height: 1.12; }
.jx-pic .t b { display: block; font-size: 12px; color: var(--gold-lt); font-weight: 700; margin-bottom: 6px; }
.jx-pic .plus { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(21,20,15,.55); border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .4s, background .3s, color .3s, border-color .3s; }
.jx.open .plus { transform: rotate(45deg); background: var(--gold); color: #14120D; border-color: var(--gold); }
.jx-info { width: 0; overflow: hidden; transition: width .6s cubic-bezier(.65,0,.25,1); }
.jx.open .jx-info { width: clamp(260px, 28vw, 340px); }
.jx-info > div { width: clamp(260px, 28vw, 340px); height: 100%; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; justify-content: center; opacity: 0; transition: opacity .25s; }
.jx.open .jx-info > div { opacity: 1; transition: opacity .4s .3s; }
.jx-info p { color: var(--ink-2); font-size: 15px; }
.jx-info ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.jx-info li { display: flex; gap: 10px; }
.jx-info li::before { content: ""; width: 14px; height: 2px; background: var(--gold); flex: none; margin-top: 10px; }
.jx-info a { color: var(--gold-lt); font-weight: 600; font-size: 14px; margin-top: 6px; }
.jx-info a:hover { text-decoration: underline; }
.jx-hint { margin-top: 16px; color: var(--ink-2); font-size: 13px; text-align: center; }
@media (max-width: 820px) {
  .jx-row { flex-direction: column; height: auto; }
  .jx, .jx.open { flex: none; flex-direction: column; }
  .jx-pic { flex: none; height: 92px; transition: height .5s cubic-bezier(.65,0,.25,1); }
  .jx.open .jx-pic { height: 210px; }
  .jx-info, .jx.open .jx-info { width: auto; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.65,0,.25,1); }
  .jx.open .jx-info { grid-template-rows: 1fr; }
  .jx-info > div { width: auto; height: auto; min-height: 0; overflow: hidden; padding: 0 20px; transition: opacity .25s, padding .5s; }
  .jx.open .jx-info > div { padding: 22px 20px; }
}

/* Code-Entschlüsselung statt Laufband */
.decode { padding-block: clamp(44px, 7vw, 84px); border-block: 1px solid var(--line); overflow: hidden; }
.decode p { display: flex; flex-wrap: wrap; justify-content: center; gap: .15em .7em; font-family: var(--display); font-stretch: 112%; font-weight: 850; text-transform: uppercase; font-size: clamp(1.7rem, 4.4vw, 3.3rem); line-height: 1.05; margin: 0; }
.decode .wd { white-space: nowrap; display: inline-flex; }
.decode .ch { display: inline-block; width: .78em; text-align: center; color: #5E5A50; }
.decode .ch.ok { color: var(--ink); }
.decode .wd.g .ch.ok { color: var(--gold); }

/* EVU-Bereich */
.evu { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.reasons { list-style: none; margin: 0; padding: 0; counter-reset: r; border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 6px 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.reason::before { counter-increment: r; content: "0" counter(r); font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 1.5rem; line-height: 1; color: var(--gold); grid-row: span 2; }
.reason p { color: var(--ink-2); font-size: 15px; }
.portal { border-radius: 24px; background: var(--card); border: 1px solid rgba(201,161,59,.35); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.portal h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.portal > p { color: var(--ink-2); }
.mock { border-radius: 14px; background: var(--deep); border: 1px solid var(--line); overflow: hidden; font-size: 12px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--chip); }
.mock-bar span { margin-left: 8px; font-weight: 600; }
.mock-grid { display: grid; grid-template-columns: 58px repeat(5, minmax(0,1fr)); gap: 6px; padding: 12px; }
.mock-grid .mh { color: var(--ink-2); font-size: 11px; text-align: center; }
.mock-grid .mr { font-weight: 600; align-self: center; }
.sh { border-radius: 7px; padding: 7px 2px; text-align: center; background: var(--card-2); color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.sh.a { background: var(--gold); color: #14120D; font-weight: 600; }
.sh.b { background: rgba(201,161,59,.16); color: var(--gold-lt); box-shadow: inset 0 0 0 1px rgba(201,161,59,.4); }
.mock-foot { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 12px; }
.mock-foot span { border-radius: 99px; padding: 4px 10px; border: 1px solid var(--line); color: var(--ink-2); }
.mock-foot .ok::before { content: "✓ "; color: #8CC08A; }
.mock-foot .warn { border-color: rgba(201,161,59,.5); color: var(--gold-lt); }
.mock-note { font-size: 12px; color: var(--ink-2); margin-top: -8px; }
.both { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.both b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lt); margin-bottom: 8px; }
.both ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
@media (max-width: 900px) { .evu { grid-template-columns: 1fr; } }

/* Benefits als Blasen */
.pops { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pop { border-radius: 999px; padding: 14px 24px; border: 1px solid var(--line); background: var(--paper); display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 500; transform-origin: center; }
.pop b { font-family: var(--display); font-stretch: 112%; font-weight: 850; text-transform: uppercase; font-size: 1.1rem; color: var(--gold-lt); line-height: 1.1; }
.pop.xl { padding: 20px 34px; background: var(--gold); border-color: var(--gold); color: #14120D; }
.pop.xl b { color: #14120D; font-stretch: 118%; font-weight: 900; font-size: clamp(1.5rem, 3vw, 2.2rem); }
@media (max-width: 600px) { .pop { border-radius: 26px; padding: 12px 18px; } .pop.xl { padding: 16px 22px; } }

/* CTA über die volle Breite */
.cta-full { background: var(--card-2); border-block: 1px solid rgba(201,161,59,.35); position: relative; overflow: hidden; padding-block: clamp(52px, 8vw, 110px); color: #fff; }
.cta-full::before { content: ""; position: absolute; width: 720px; aspect-ratio: 1; right: -180px; top: -320px; background: radial-gradient(circle, rgba(233,199,102,.3), rgba(233,199,102,0) 65%); }
.cta-full .wrap { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: center; }
.cta-full h2 { font-size: clamp(2rem, 5.4vw, 4.2rem); }
.cta-full p { color: rgba(255,255,255,.75); margin-top: 14px; font-size: 1.05rem; }
.cta-full .btn-stack small { color: rgba(255,255,255,.7); }
@media (max-width: 760px) { .cta-full .wrap { grid-template-columns: 1fr; } }

/* Social: 2 links, 2 rechts */
.soc { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.soc-col { display: grid; gap: 12px; }
.soc-col a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); transition: border-color .25s, transform .25s; }
.soc-col a:hover { border-color: var(--gold); transform: translateY(-2px); }
.soc-col svg { width: 26px; height: 26px; color: var(--gold-lt); flex: none; }
.soc-col span { display: grid; line-height: 1.3; min-width: 0; font-weight: 600; }
.soc-col small { color: var(--ink-2); font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc-col i { margin-left: auto; font-style: normal; color: var(--gold); }
.soc-mid { text-align: center; display: grid; gap: 12px; justify-items: center; max-width: 340px; }
.soc-mid p { color: var(--ink-2); }
@media (max-width: 900px) { .soc { grid-template-columns: 1fr 1fr; gap: 12px; } .soc-mid { grid-column: 1 / -1; order: -1; max-width: none; margin-bottom: 14px; } }
@media (max-width: 520px) { .soc { grid-template-columns: 1fr; } }
.decode .ch.ok { width: auto; }

/* ===== Startseite v3 ===== */
.evu { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
.mock { font-size: 14px; }
.mock-bar { padding: 13px 16px; }
.mock-grid { grid-template-columns: 72px repeat(5, minmax(0,1fr)); gap: 8px; padding: 16px; }
.mock-grid .mh { font-size: 13px; }
.sh { padding: 11px 2px; border-radius: 9px; font-weight: 600; letter-spacing: .03em; }
.sh:not(.a):not(.b) { font-weight: 400; letter-spacing: 0; }
.mock-foot { padding: 0 16px 16px; gap: 8px; }
.mock-foot span { padding: 6px 12px; }
@media (max-width: 900px) { .evu { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mock { font-size: 12px; } .mock-grid { grid-template-columns: 54px repeat(5, minmax(0,1fr)); gap: 5px; padding: 12px; } }

/* Benefits: alle klein, bei Maus groß */
.pops { gap: 14px; }
.pop { cursor: default; transition: transform .35s cubic-bezier(.2,.9,.3,1.3), background .25s, color .25s, border-color .25s; }
.pop b { transition: color .25s; }
@media (hover: hover) {
  .pop:hover { transform: scale(1.16); background: var(--gold); border-color: var(--gold); color: #14120D; position: relative; z-index: 2; }
  .pop:hover b { color: #14120D; }
}

/* Social: schlichte Leiste */
.socbar { border-bottom: 1px solid var(--line); }
.socbar .wrap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.socbar a { position: relative; display: grid; gap: 6px; padding: clamp(26px, 4vw, 44px) 22px; border-left: 1px solid var(--line); transition: background .25s; }
.socbar a:last-child { border-right: 1px solid var(--line); }
.socbar small { color: var(--ink-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.socbar b { font-family: var(--display); font-stretch: 112%; font-weight: 850; text-transform: uppercase; font-size: clamp(1.05rem, 2vw, 1.6rem); line-height: 1.05; transition: color .25s; }
.socbar i { position: absolute; top: 20px; right: 20px; font-style: normal; color: var(--gold); transition: transform .25s; }
.socbar a:hover { background: var(--card); }
.socbar a:hover b { color: var(--gold-lt); }
.socbar a:hover i { transform: translate(3px,-3px); }
@media (max-width: 760px) { .socbar .wrap { grid-template-columns: 1fr 1fr; padding: 0; } .socbar a:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .socbar a:nth-child(odd) { border-left: 0; } .socbar a:last-child { border-right: 0; } }

/* ===== Benefits: Karten nebeneinander mit Bild ===== */
.bns { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.bn { border-radius: var(--r); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.9,.3,1.3), border-color .25s, box-shadow .25s; }
.bn-v { height: 150px; position: relative; display: grid; place-content: center; justify-items: center; gap: 2px; background: var(--deep); color: var(--gold); overflow: hidden; }
.bn-v img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; transition: transform .6s; }
.bn-v .num { font-family: var(--display); font-stretch: 120%; font-weight: 900; font-size: 4.2rem; line-height: 1; }
.bn-v .num.sm { font-size: 2.5rem; text-transform: uppercase; }
.bn-v .num em { font-style: normal; font-size: .55em; margin-left: .08em; }
.bn-v small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.bn-t { padding: 16px 18px 20px; display: grid; gap: 6px; }
.bn-t h3 { font-size: 1rem; }
.bn-t p { color: var(--ink-2); font-size: 14px; }
.bcard { width: 150px; aspect-ratio: 1.6; border-radius: 10px; padding: 12px 14px; background: linear-gradient(135deg, #3A3832, #121210); border: 1px solid rgba(233,199,102,.45); display: grid; align-content: space-between; text-align: left; position: relative; transform: rotate(-5deg); box-shadow: 0 14px 30px -12px rgba(0,0,0,.8); transition: transform .4s; }
.bcard b { font-family: var(--display); font-weight: 800; font-size: 14px; color: #fff; }
.bcard span { font-size: 11px; color: var(--gold-lt); letter-spacing: .08em; text-transform: uppercase; }
.bcard i { position: absolute; right: 12px; top: 12px; width: 22px; height: 16px; border-radius: 3px; background: var(--gold); opacity: .85; }
.mini { display: grid; grid-template-columns: repeat(4, 30px); gap: 6px; }
.mini i { height: 20px; border-radius: 5px; background: var(--chip); }
.mini i.a { background: var(--gold); }
.mini i.b { background: rgba(201,161,59,.2); box-shadow: inset 0 0 0 1px rgba(201,161,59,.5); }
.car { width: 120px; }
@media (hover: hover) {
  .bn:hover { transform: translateY(-6px) scale(1.04); border-color: var(--gold); box-shadow: 0 24px 50px -28px rgba(201,161,59,.5); position: relative; z-index: 2; }
  .bn:hover .bn-v img { transform: scale(1.07); }
  .bn:hover .bcard { transform: rotate(0deg) scale(1.06); }
}
@media (max-width: 980px) { .bns { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .bns { gap: 10px; } .bn-v { height: 120px; } .bn-v .num { font-size: 3.2rem; } .bn-v .num.sm { font-size: 1.8rem; } .bn-t { padding: 12px 12px 16px; } .bn-t h3 { font-size: .86rem; } .bn-t p { font-size: 13px; } .bcard { width: 120px; } .car { width: 96px; } .mini { grid-template-columns: repeat(4, 24px); } }

/* Jobs: Querbild über der Stelle */
.job.has-img { overflow: hidden; }
.job-img { grid-column: 1 / -1; margin: calc(-1 * clamp(22px, 3vw, 32px)); margin-bottom: 4px; height: clamp(170px, 24vw, 300px); position: relative; overflow: hidden; }
.job-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.job-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,40,36,0) 55%, var(--card)); }
.job.has-img:hover .job-img img { transform: scale(1.04); }

/* Schriftzug aus dem Logo, quer über die Seite, fährt einmal von rechts herein */
.hero.has-wm { padding-top: clamp(20px, 3vw, 40px); overflow: hidden; }
.wordmark { overflow: hidden; text-align: center; margin-bottom: clamp(24px, 4vw, 56px); border-bottom: 1px solid var(--line); padding-bottom: clamp(10px, 1.6vw, 22px); }
.wordmark span { display: inline-block; white-space: nowrap; font-family: 'Cinzel', 'Trajan Pro', Georgia, serif; font-weight: 500; font-size: 6.9vw; letter-spacing: .09em; margin-right: -.09em; line-height: 1.1; color: var(--ink); animation: wm-in 1.6s cubic-bezier(.16,.8,.24,1) both; }
@keyframes wm-in { from { transform: translateX(105vw); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .wordmark span { animation: none; } }

/* Schriftzug untereinander wie im Logo */
.wordmark span { font-size: clamp(3rem, 11.5vw, 10.5rem); letter-spacing: .06em; margin-right: -.06em; line-height: 1; }
.wordmark b { display: block; font-weight: 500; }
.wordmark small { display: block; font-size: .2em; letter-spacing: .62em; margin-right: -.62em; margin-top: .5em; color: var(--ink-2); }

/* Für Unternehmen: Portal bleibt beim Scrollen neben der Liste stehen */
@media (min-width: 901px) { body[data-page="kunden"] .evu .portal { position: sticky; top: 96px; } }

/* ===== Ablauf: Schienen + Güterzug ===== */
.track2 { position: relative; margin-top: 10px; }
.lane { position: absolute; top: 0; bottom: 0; left: 50%; width: 64px; margin-left: -32px; overflow: hidden; pointer-events: none; }
.rails { position: absolute; top: 0; bottom: 0; left: 50%; width: 34px; margin-left: -17px; background: repeating-linear-gradient(180deg, #4A463C 0 6px, transparent 6px 20px); }
.rails::before, .rails::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: #8E897B; }
.rails::before { left: 5px; } .rails::after { right: 5px; }
.rails i { position: absolute; top: 0; left: 5px; right: 5px; height: 0; border-inline: 3px solid var(--gold); z-index: 1; }
.train { position: absolute; top: 0; left: 50%; width: 34px; margin-left: -17px; height: auto; z-index: 2; filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); will-change: transform; }
.stps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.stp { height: 150px; display: grid; grid-template-columns: minmax(0,1fr) 84px minmax(0,1fr); align-items: center; }
.stp-card { grid-column: 1; justify-self: end; width: min(100%, 440px); background: var(--paper); border: 1px solid var(--gold-lt); border-radius: var(--r); padding: 18px 22px 18px 70px; position: relative; box-shadow: 0 22px 46px -26px rgba(201,161,59,.6); transition: transform .5s cubic-bezier(.2,.9,.3,1.35), opacity .35s, border-color .35s, box-shadow .35s; }
.stp:nth-child(even) .stp-card { grid-column: 3; justify-self: start; }
.stp-card .n { position: absolute; left: 20px; top: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 15px; background: var(--gold); color: #14120D; transition: background .35s, color .35s; }
.stp-card h3 { line-height: 36px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stp-card p { color: var(--ink-2); font-size: 15px; max-height: 110px; overflow: hidden; transition: max-height .5s cubic-bezier(.2,.9,.3,1), opacity .35s, margin .5s; margin-top: 6px; }
.track2.live .stp:not(.on) .stp-card { transform: scale(.9); opacity: .5; border-color: var(--line); box-shadow: none; }
.track2.live .stp:not(.on) .stp-card .n { background: var(--chip); color: var(--ink-2); }
.track2.live .stp:not(.on) .stp-card p { max-height: 0; opacity: 0; margin-top: 0; }
.track2.live .stp.on .stp-card { transform: scale(1.05); }
@media (max-width: 760px) {
  .lane { left: 26px; }
  .stp { grid-template-columns: 62px minmax(0,1fr); height: 176px; }
  .stp-card, .stp:nth-child(even) .stp-card { grid-column: 2; justify-self: stretch; width: auto; padding: 16px 16px 16px 60px; transform-origin: left center; }
  .stp-card .n { left: 14px; }
  .stp-card h3 { white-space: normal; line-height: 1.15; min-height: 36px; display: flex; align-items: center; }
  .track2.live .stp.on .stp-card { transform: scale(1); }
}

/* Zug größer */
.lane { width: 90px; margin-left: -45px; }
.rails { width: 52px; margin-left: -26px; background: repeating-linear-gradient(180deg, #4A463C 0 8px, transparent 8px 26px); }
.rails::before, .rails::after { width: 4px; } .rails::before { left: 8px; } .rails::after { right: 8px; }
.rails i { left: 8px; right: 8px; border-inline-width: 4px; }
.train { width: 52px; margin-left: -26px; }
.stp { grid-template-columns: minmax(0,1fr) 120px minmax(0,1fr); height: 170px; }
@media (max-width: 760px) { .lane { left: 30px; } .stp { grid-template-columns: 76px minmax(0,1fr); height: 180px; } }

@media (max-width: 760px) { .stp-card h3 { font-size: .9rem; hyphens: auto; overflow-wrap: anywhere; overflow: visible; } }

/* Güterverkehr / Personenverkehr */
.two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.seg { position: relative; border-radius: 22px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 12px; align-content: start; transition: transform .35s cubic-bezier(.2,.9,.3,1.2), border-color .25s; }
.seg:hover { transform: translateY(-6px); border-color: var(--gold); }
.seg-n { font-family: var(--display); font-stretch: 118%; font-weight: 900; font-size: 1.1rem; color: var(--gold); }
.seg h3 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 850; }
.seg p { color: var(--ink-2); max-width: 46ch; }
.dash { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; font-weight: 500; font-size: 15px; }
.dash li { display: flex; gap: 10px; }
.dash li::before { content: ""; width: 14px; height: 2px; background: var(--gold); flex: none; margin-top: 11px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* Kennzahlen: passen in ihre Felder */
.stats div { min-width: 0; align-content: start; }
.stats b { font-size: clamp(1.05rem, 2.1vw, 1.75rem); overflow-wrap: anywhere; line-height: 1.08; }
.stats b span { font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; }

/* ===== Hell / Dunkel ===== */
:root { --card: #F6F4EF; --card-2: #EDE8DC; --deep: #EFEBE0; --chip: #E2DCCD; }
:root[data-theme="dark"] { --card: #2A2824; --card-2: #2D2B26; --deep: #1C1B18; --chip: #34322C; }
.cta-full { background: #1E1D19; }
:root[data-theme="dark"] .cta-full { background: #2D2B26; }
:root[data-theme="light"] .jx-info a, :root[data-theme="light"] .both b, :root[data-theme="light"] .sh.b, :root[data-theme="light"] .mock-foot .warn, :root[data-theme="light"] .socbar a:hover b { color: var(--gold-ink); }
:root[data-theme="light"] .mock-foot .ok::before { color: #3F8F3D; }
:root[data-theme="light"] .job-img::after { background: linear-gradient(180deg, rgba(255,255,255,0) 55%, var(--paper)); }
:root[data-theme="light"] .stp-card { box-shadow: 0 22px 46px -26px rgba(184,138,28,.45); }
:root[data-theme="light"] .train { filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
html { transition: none; }
body, .nav, .card, .job, .sec.mist, .jx, .portal, .mock, .bn, .seg, .stp-card { transition: background-color .3s, border-color .3s, color .3s; }

/* Schalter oben rechts: Hell/Dunkel + Sprache */
.ui-btn { min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; font: 600 12px/1 var(--body); letter-spacing: .08em; transition: border-color .2s, color .2s; }
.ui-btn:hover { border-color: var(--gold); color: var(--gold); }
.ui-btn svg { width: 19px; height: 19px; }
.ui-btn .sun { display: none; }
:root[data-theme="dark"] .ui-btn .sun { display: block; }
:root[data-theme="dark"] .ui-btn .moon { display: none; }
.lang { position: relative; }
.lang-btn { grid-auto-flow: column; gap: 6px; }
.lang-menu { position: absolute; right: 0; top: 50px; min-width: 170px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 6px; display: grid; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); z-index: 60; }
.lang-menu[hidden] { display: none; }
.lang-menu button { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 10px 12px; border: 0; border-radius: 9px; background: none; color: var(--ink); font: 500 14px/1.2 var(--body); cursor: pointer; text-align: left; }
.lang-menu button small { color: var(--ink-2); font-size: 11px; letter-spacing: .1em; }
.lang-menu button:hover { background: var(--card); }
.lang-menu button[aria-current="true"] { color: var(--gold); }
@media (max-width: 1040px) { .nav-cta { gap: 8px; } }
@media (max-width: 600px) { .nav-cta .btn-gold { display: none; } }

.nav-cta .btn-line { display: none; }
.nav-links a, .nav .btn { white-space: nowrap; }

/* Lange Wörter (auch in anderen Sprachen) brechen statt überzulaufen */
h1, h2, h3, .eyebrow, .lead { overflow-wrap: break-word; hyphens: auto; }
.sec-head > *, .split > *, .evu > *, .hero-grid > *, .ask > * { min-width: 0; }
.eyebrow { max-width: 100%; }
.hero { overflow-x: clip; }
@media (max-width: 600px) { h1, h2 { overflow-wrap: anywhere; } }

.both { grid-template-columns: repeat(2, minmax(0,1fr)); }
.both b, .both li, .mock-foot span, .seg h3, .seg p, .dash li { overflow-wrap: anywhere; min-width: 0; }
.portal, .seg, .two > * { min-width: 0; }
@media (max-width: 760px) { .two { grid-template-columns: minmax(0,1fr); } .seg h3 { font-size: 1.35rem; } }

/* große Überschriften nicht automatisch trennen (kein RÜCKEN-WIND), nur am Handy als Notlösung */
h1, h2 { hyphens: manual; }
@media (max-width: 600px) { h2 { hyphens: auto; } }

/* große Titel am PC nie mitten im Wort brechen */
@media (min-width: 601px) { h1 { overflow-wrap: normal; } }

/* ===== Heller Modus mit Konturen: warmes Papier statt reinem Weiß, weiße Karten mit Rand und Schatten ===== */
:root:not([data-theme="dark"]) { --paper: #FAF7F0; --mist: #F0EADD; --cream: #F7EBC9; --line: #DCD4C2; --card: #FFFFFF; --card-2: #EFE9DC; --deep: #F3EEE2; --chip: #E0D9C8; }
:root:not([data-theme="dark"]) .card, :root:not([data-theme="dark"]) .job, :root:not([data-theme="dark"]) form.panel, :root:not([data-theme="dark"]) .post, :root:not([data-theme="dark"]) .faq details, :root:not([data-theme="dark"]) .bn, :root:not([data-theme="dark"]) .stp-card, :root:not([data-theme="dark"]) .seg, :root:not([data-theme="dark"]) .portal, :root:not([data-theme="dark"]) .jx, :root:not([data-theme="dark"]) .cc, :root:not([data-theme="dark"]) .three li, :root:not([data-theme="dark"]) .benefit { background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(21,20,15,.04), 0 20px 44px -30px rgba(60,48,20,.38); }
:root:not([data-theme="dark"]) .card:hover, :root:not([data-theme="dark"]) .job:hover, :root:not([data-theme="dark"]) .post:hover, :root:not([data-theme="dark"]) .bn:hover, :root:not([data-theme="dark"]) .seg:hover { border-color: var(--gold); box-shadow: 0 1px 0 rgba(21,20,15,.04), 0 28px 56px -30px rgba(184,138,28,.5); }
:root:not([data-theme="dark"]) .seg { border-top: 3px solid var(--gold); }
:root:not([data-theme="dark"]) .jx.open { border-color: var(--gold); }
:root:not([data-theme="dark"]) .job-img::after { background: linear-gradient(180deg, rgba(255,255,255,0) 55%, #FFFFFF); }
:root:not([data-theme="dark"]) .nav { background: rgba(250,247,240,.92); box-shadow: 0 10px 30px -24px rgba(60,48,20,.5); }
:root:not([data-theme="dark"]) .hero { background: radial-gradient(ellipse 70% 90% at 85% 0%, rgba(233,199,102,.30), rgba(233,199,102,0) 60%), linear-gradient(180deg, #EFE8D9 0%, #FAF7F0 100%); }
:root:not([data-theme="dark"]) .hero.has-wm { background: linear-gradient(180deg, #EFE8D9 0%, #FAF7F0 100%); }
:root:not([data-theme="dark"]) .sec.mist { border-block: 1px solid var(--line); }
:root:not([data-theme="dark"]) .stats { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 20px 44px -32px rgba(60,48,20,.38); }
:root:not([data-theme="dark"]) .reasons { border-top-color: var(--line); }
:root:not([data-theme="dark"]) .socbar a:hover { background: #FFFFFF; }
:root:not([data-theme="dark"]) input, :root:not([data-theme="dark"]) select, :root:not([data-theme="dark"]) textarea { background: #FAF7F0; border-color: var(--line); }
:root:not([data-theme="dark"]) .hero-img, :root:not([data-theme="dark"]) .photo, :root:not([data-theme="dark"]) .duo img { box-shadow: 0 30px 60px -34px rgba(60,48,20,.6); }
footer { border-top: 1px solid var(--line); }

.seg h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); overflow-wrap: normal; hyphens: manual; }
@media (max-width: 760px) { .seg h3 { font-size: 1.3rem; overflow-wrap: anywhere; } }

/* Benefit-Titel nicht automatisch trennen (kein ÜBERSTUN-DENZUSCHLAG) */
.bn-t h3 { hyphens: manual; overflow-wrap: anywhere; font-size: .9rem; }

/* Kontaktkarten als Links */
a.cc { transition: transform .3s cubic-bezier(.2,.9,.3,1.2), border-color .25s; border: 1px solid transparent; }
a.cc:hover { transform: translateY(-4px); border-color: var(--gold); }
a.cc b { user-select: auto; }

/* Stellenseite: drei Spalten */
.grid3 .seg h3 { font-size: 1.35rem; }

/* Rechtliches */
.prose { max-width: 72ch; display: grid; gap: 14px; }
.prose h2 { font-size: 1.15rem; margin-top: 22px; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }

/* Handy-Menü: Kopfzeile hat backdrop-filter, darum zählt "fixed" ab der Kopfzeile -> Höhe ausdrücklich setzen */
.nav.open .mobile-menu { bottom: auto; height: calc(100vh - 72px - env(safe-area-inset-top, 0px)); height: calc(100dvh - 72px - env(safe-area-inset-top, 0px)); }
