:root {
  --teal: #275D71;
  --teal-dark: #1A4351;
  --gold: #E7AA41;
  --gold-dark: #C98E22;
  --ink: #1E3540;
  --muted: #4F6670;
  --grey: #F3F6F7;
  --line: #D7E4E8;
  --white: #fff;
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); line-height: 1.65; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--teal-dark); }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--teal); color: #fff; padding: .6rem 1rem; z-index: 2000; }
.skip:focus { left: 0; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.alt { background: var(--grey); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: .8rem; }
.section-head { margin-bottom: 2.5rem; }

/* Header */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-dark); font-weight: 700; font-size: 1.35rem; }
.brand img { width: 38px; height: 38px; }
nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
nav a:hover { color: var(--teal); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--teal-dark); margin: 5px 0; }

/* Buttons */
.btn { display: inline-block; padding: .85rem 1.5rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s; }
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-secondary { border-color: var(--teal); color: var(--teal); }
.btn-secondary:hover { background: var(--teal); color: #fff; }
nav a.btn-primary { padding: .5rem 1.1rem; color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: calc(64px + clamp(3rem, 8vw, 6rem)) 0 clamp(5rem, 10vw, 8rem); background: linear-gradient(180deg, #fff 0%, #EAF1F3 100%); }
.hero .container { position: relative; z-index: 1; }
.hero p.lead { font-size: 1.25rem; margin-bottom: 1.6rem; }
.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--teal-dark); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; margin-bottom: 1.4rem; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(110px, 20vw, 220px); z-index: 0; }

/* Cards & grids */
.grid { display: grid; gap: 1.5rem; }
/* Explicit column counts so rows are always full (no orphan cards) */
.g2, .g3, .g4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .g3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .g4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; margin-bottom: 1.1rem; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.steps p { color: var(--muted); margin: 0; }
.note { margin-top: 2rem; padding: 1rem 1.25rem; border-left: 4px solid var(--gold); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; font-weight: 500; }

/* Benefits */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: .6rem; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg) scale(.9); transform-origin: center; }
.model-box { background: var(--teal); color: #fff; border-radius: var(--radius); padding: 2rem; }
.model-box h3, .model-box p { color: #fff; }
.model-box .checks li::before { border-color: var(--gold); }


/* FAQ */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.2rem 1.1rem 0; font-weight: 600; color: var(--teal-dark); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .85rem; font-size: 1.6rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; border-left: 3px solid var(--line); max-width: 720px; }
.timeline li { position: relative; padding: 0 0 1.6rem 1.2rem; }
.timeline li::before { content: ""; position: absolute; left: -2.2rem; top: .25rem; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.timeline li.done::before { background: var(--teal); border-color: var(--teal); }
.timeline li.doing::before { background: var(--gold); border-color: var(--gold); }
.timeline strong { display: block; }
.timeline span { color: var(--muted); font-size: .9rem; }

/* About */
.about { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 760px) { .about { grid-template-columns: 280px 1fr; } }
.placeholder { border: 2px dashed var(--mist, #A9C2C9); background: #fff; border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--muted); font-size: .9rem; }

/* Contact */
.contact { background: var(--teal-dark); color: #fff; text-align: center; }
.contact h2, .contact p { color: #fff; }
.contact .lead { color: #E4EEF1; margin: 0 auto 1.6rem; }
.contact .mail { font-size: 1.2rem; }
.contact .meta { margin-top: 1.2rem; font-size: .95rem; color: #E4EEF1; }
.contact .meta a { color: #fff; }

/* Footer */
footer { padding: 1.8rem 0; font-size: .9rem; color: var(--muted); }
footer .container { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
footer a { color: var(--muted); margin-left: 1.2rem; }
footer a:first-child { margin-left: 0; }

/* Legal pages */
.legal { padding: calc(64px + 3rem) 0 4rem; max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }

/* Mobile nav */
@media (max-width: 820px) {
  .menu-btn { display: block; }
  nav ul { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 20px 1rem; }
  nav ul.open { display: flex; }
  nav li a { display: block; padding: .8rem 0; }
  nav a.btn-primary { text-align: center; margin-top: .5rem; }
}

/* Audience additions */
.hero-note { margin: 1.4rem 0 0; color: var(--muted); font-size: .95rem; }
.card .checks { gap: .8rem; }
.card .checks li { color: var(--muted); }
.employer-model { margin-top: 2rem; }
.faq-title { margin: 2rem 0 .4rem; }
.faq-title:first-child { margin-top: 0; }
#arbeitgeber .cta-row { margin-top: 2rem; }
