@font-face { font-family: 'Domine'; src: url(fonts/domine.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(fonts/nunito-sans-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(fonts/nunito-sans-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url(fonts/nunito-sans-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

/* Rechtstexte */
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: none; margin-bottom: 2rem; }
.legal h2 { font-size: 1.4rem; max-width: none; margin: 2.5rem 0 .75rem; }
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.legal ul { padding-left: 1.4rem; margin-top: .75rem; }
.legal li + li { margin-top: .35rem; }
.legal .todo { background: #FBE3D2; border-radius: 4px; padding: 0 .3em; }
.back { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; text-decoration: none; color: var(--orange-text); }

:root {
  --navy: #1E2B3F;
  --cream: #F6F3EC;
  --paper: #FCFBF7;
  --tint: #E7EDEE;
  --orange: #D9773A;
  --orange-text: #A44C1A;
  --soft: #4A5568;
  --soft-light: #C9D3DD;
  --line: #DDD8CC;
  --radius: 16px;
  --serif: 'Domine', Georgia, serif;
  --sans: 'Nunito Sans', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--navy); background: var(--cream); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16ch; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 1.5rem; max-width: 22ch; }
h3 { font-size: 1.35rem; margin-bottom: .4rem; }
p + p { margin-top: 1rem; }

.eyebrow { font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); margin-bottom: .75rem; }
.eyebrow--light { color: #E8995F; }

/* Buttons */
.btn { display: inline-block; background: var(--orange); color: var(--navy); font-weight: 700; text-decoration: none; padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid var(--orange); cursor: pointer; font: inherit; font-weight: 700; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); background: #E8995F; }
.btn--ghost { background: transparent; border-color: currentColor; }
.btn--ghost:hover { background: rgba(217,119,58,.12); }
.btn--small { padding: .5rem 1.1rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(246,243,236,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--serif); font-weight: 700; text-decoration: none; font-size: 1.15rem; }
.logo span { color: var(--orange-text); }
.nav__menu { display: flex; align-items: center; gap: 1.6rem; }
.nav__menu a:not(.btn) { text-decoration: none; font-weight: 600; }
.nav__menu a:not(.btn):hover { color: var(--orange-text); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__menu { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem 24px; background: var(--cream); border-bottom: 1px solid var(--line); display: none; }
  .nav__menu.is-open { display: flex; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Hero */
.hero { background: var(--navy); color: var(--cream); padding: clamp(4rem, 10vw, 8rem) 0; }
.hero .eyebrow { color: #E8995F; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--soft-light); max-width: 46ch; margin-top: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero .btn--ghost { color: var(--cream); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.split .btn { margin-top: 1.5rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.card p { color: var(--soft); }
.card__tag { font-weight: 700; font-size: .9rem; color: var(--orange-text) !important; margin-bottom: .5rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tabs button { font: inherit; font-weight: 700; padding: .6rem 1.2rem; border-radius: 999px; border: 2px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--navy); color: var(--cream); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1.2rem; font-weight: 600; }
.note { margin-top: 1.5rem; color: var(--soft); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps__n { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--orange-text); line-height: 1; margin-bottom: .75rem; }
.steps p { color: var(--soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Checks */
.checks { list-style: none; display: grid; gap: 1.1rem; }
.checks li { padding-left: 2rem; position: relative; color: var(--soft-light); }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid #E8995F; border-bottom: 3px solid #E8995F; transform: rotate(-45deg); }
.checks b { color: var(--cream); }

/* FAQ */
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: .75rem; }
summary { cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 700; list-style: none; position: relative; padding-right: 3rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange-text); }
details[open] summary::after { content: "−"; }
details p { padding: 0 1.4rem 1.2rem; color: var(--soft); }

/* Form */
.contact-line { font-weight: 700; margin-top: 1.5rem; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; }
.form input[type=text], .form input[type=email], .form textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--navy); }
.form .is-invalid { border-color: #B3261E; }
.role { border: 0; display: flex; gap: 1.5rem; align-items: center; }
.role legend { font-weight: 700; margin-bottom: .4rem; }
.role label, .consent { display: flex !important; align-items: flex-start; gap: .5rem; font-weight: 400; }
.consent { font-size: .9rem; color: var(--soft); }
.form__status { min-height: 1.5em; font-weight: 600; }
.form__status.is-error { color: #B3261E; }
.form__status.is-ok { color: #1F6B45; }

/* Footer */
.footer { background: var(--navy); color: var(--soft-light); padding: 2rem 0; font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
