/* ============ Tokens ============ */
:root {
  --ink: #152A31;
  --petrol: #173F4B;
  --petrol-deep: #0D2830;
  --paper: #FAF7F1;
  --card: #FFFFFF;
  --amber: #E99B3F;
  --amber-soft: #F6C67F;
  --amber-deep: #96590F;
  --stone: #54666D;
  --line: #E6DFD1;
  --on-dark: #EDF2F0;
  --on-dark-soft: #B9CBCB;
  --radius: 10px;
  --radius-lg: 18px;
  --font-display: 'Bricolage Grotesque', 'Avenir Next', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .wrap { padding-inline: 2rem; } }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); font-weight: 700; }
.lead { color: var(--stone); max-width: 42rem; margin-top: .75rem; }

.eyebrow {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--amber-deep);
}
.dark .eyebrow { color: var(--amber-soft); }

section { padding-block: 5rem; }
@media (max-width: 640px) { section { padding-block: 3.5rem; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  padding: .875rem 1.75rem; border-radius: var(--radius); border: 2px solid transparent;
  min-height: 48px; transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--amber); color: var(--petrol-deep); }
.btn-primary:hover { background: var(--amber-soft); }
.btn-ghost-dark { border-color: rgba(237,242,240,.35); color: var(--on-dark); }
.btn-ghost-dark:hover { border-color: var(--on-dark); }
.btn-ghost-light { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light:hover { background: var(--ink); color: var(--paper); }

/* ============ Header ============ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(250,247,241,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: flex; align-items: baseline; gap: .1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.brand em { font-style: normal; color: var(--amber-deep); }
.main-nav { display: none; gap: 1.75rem; align-items: center; }
.main-nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--stone); padding: .35rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); border-bottom-color: var(--amber); }
.main-nav .btn { padding: .55rem 1.15rem; min-height: 42px; font-size: .95rem; }
@media (min-width: 900px) { .main-nav { display: flex; } .nav-toggle { display: none; } }

.nav-toggle {
  background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 1rem 1.5rem; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }

/* ============ Hero ============ */
.hero {
  background:
    radial-gradient(60rem 22rem at 70% 108%, rgba(233,155,63,.34), transparent 62%),
    linear-gradient(180deg, var(--petrol-deep) 0%, var(--petrol) 78%, #1C4A57 100%);
  color: var(--on-dark);
  padding-top: 9.5rem; padding-bottom: 5.5rem;
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }
.hero h1 {
  font-size: clamp(2.4rem, 1.6rem + 4vw, 4.1rem);
  font-weight: 700; color: #fff; margin-top: 1rem;
}
.hero h1 em { font-style: normal; color: var(--amber-soft); }
.hero .sub { color: var(--on-dark-soft); font-size: 1.15rem; max-width: 34rem; margin-top: 1.25rem; }

/* Rotierende Wörter (Vanilla-Nachbau des Animated-Hero-Effekts) */
.hero-rotator {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  margin-top: 1.35rem; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem); color: var(--on-dark);
  line-height: 1.4;
}
.rot-stage {
  position: relative; display: inline-block; overflow: hidden;
  height: 1.4em; min-width: 9ch;
}
.rot-word {
  position: absolute; left: 0; top: 0; white-space: nowrap; line-height: 1.4;
  color: var(--amber-soft); opacity: 0;
  transform: translateY(120%);
  transition: transform .55s cubic-bezier(.22, 1.2, .36, 1), opacity .35s ease;
  will-change: transform, opacity;
}
.rot-word.active { opacity: 1; transform: translateY(0); }
.rot-word.leaving { opacity: 0; transform: translateY(-120%); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .rot-word { transition: none; }
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2.5rem; padding: 0; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--on-dark-soft); }
.hero-facts svg { flex: none; color: var(--amber); }

/* Feierabend-Schild (signature element) */
.schild {
  background: rgba(13,40,48,.72); border: 1px solid rgba(246,198,127,.28);
  border-top: 4px solid var(--amber); border-radius: var(--radius-lg);
  padding: 1.75rem; max-width: 24rem; margin-inline: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}
.schild-label { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-soft); }
.schild-rows { margin-top: 1.1rem; border-top: 1px dashed rgba(185,203,203,.3); }
.schild-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed rgba(185,203,203,.3); }
.schild-row .day { font-weight: 600; color: #fff; font-size: .97rem; }
.schild-row .time { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: .95rem; color: var(--amber-soft); white-space: nowrap; }
.schild-note { margin-top: 1.1rem; font-size: .85rem; color: var(--on-dark-soft); display: flex; gap: .5rem; align-items: flex-start; }
.schild-note svg { flex: none; margin-top: .2rem; color: var(--amber); }

/* ============ Light sections ============ */
.section-head { max-width: 46rem; }
.grid { display: grid; gap: 1.25rem; margin-top: 2.75rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #FFFFFF;
  border: none; border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: 0 2px 12px rgba(21,42,49,.05);
  transition: box-shadow .25s ease;
}
.card:hover { box-shadow: 0 6px 24px rgba(21,42,49,.09); }
.card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .6rem; }
.card p { color: var(--stone); font-size: .97rem; }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--paper); color: var(--amber-deep); margin-bottom: 1.1rem;
}
.hinweis { margin-top: 1.5rem; font-size: .95rem; color: var(--stone); }
.hinweis strong { color: var(--amber-deep); }

/* ============ Preistafel ============ */
.preise { background: #F3EEE3; border-block: 1px solid var(--line); }
.setup-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--petrol-deep); color: var(--on-dark); border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem; margin-top: 2.75rem;
}
.setup-band h3 { font-size: 1.15rem; color: #fff; }
.setup-band p { font-size: .92rem; color: var(--on-dark-soft); max-width: 34rem; margin-top: .3rem; }
.setup-price { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 600; color: var(--amber-soft); white-space: nowrap; }
.setup-price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .78rem; color: var(--on-dark-soft); text-align: right; }

.pakete { align-items: stretch; }
.paket { display: flex; flex-direction: column; position: relative; }
.paket:hover { box-shadow: 0 8px 32px rgba(21,42,49,.10); }
.paket .zweck { font-size: .92rem; color: var(--stone); margin-top: .2rem; min-height: 2.6em; }
.preis { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 2.3rem; font-weight: 600; margin-top: 1.1rem; }
.preis small { font-family: var(--font-body); font-size: .9rem; font-weight: 400; color: var(--stone); }
.umfang { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; color: var(--amber-deep); margin-top: .5rem; letter-spacing: .02em; }
.paket ul { list-style: none; margin: 1.4rem 0 1.75rem; display: grid; gap: .65rem; }
.paket li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.paket li svg { flex: none; margin-top: .3rem; color: var(--amber-deep); }
.paket .btn { margin-top: auto; }
.paket-featured {
  border: 2px solid var(--petrol);
  box-shadow: 0 6px 28px rgba(21,42,49,.10);
}
.badge {
  position: absolute; top: -0.85rem; left: 1.5rem;
  background: var(--petrol); color: #fff; font-size: .75rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 99px;
}
.zusatz { margin-top: 2rem; text-align: center; font-size: .97rem; color: var(--stone); }
.zusatz strong { font-family: var(--font-mono); color: var(--ink); font-weight: 600; }

/* ============ Über mich ============ */
.ueber-grid { display: grid; gap: 3rem; margin-top: 2.75rem; }
@media (min-width: 900px) { .ueber-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.ueber-text p + p { margin-top: 1rem; }
.ueber-text .merke {
  margin-top: 1.5rem; padding: 1.15rem 1.4rem; border-left: 4px solid var(--amber);
  background: #F3EEE3; border-radius: 0 var(--radius) var(--radius) 0; font-size: .98rem;
}
.skills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.skills li {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
  border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: .35rem .85rem;
}
.fakten {
  background: #FFFFFF; border-radius: var(--radius-lg); padding: 1.9rem; height: fit-content;
  box-shadow: 0 2px 12px rgba(21,42,49,.05);
}
.fakten h3 { font-size: 1.1rem; margin-bottom: 1.2rem; }
.fakten dl { display: grid; gap: 1.1rem; }
.fakten dt { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-deep); }
.fakten dd { font-size: .95rem; color: var(--stone); margin-top: .2rem; }
.fakten a { color: var(--petrol); font-weight: 600; }

/* ============ Ablauf (dark) ============ */
.ablauf { background: var(--petrol-deep); color: var(--on-dark); }
.ablauf h2 { color: #fff; }
.ablauf .lead { color: var(--on-dark-soft); }
.schritte { counter-reset: schritt; list-style: none; padding: 0; display: grid; gap: 1.25rem; margin-top: 2.75rem; }
@media (min-width: 900px) { .schritte { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
.schritt {
  background: rgba(255,255,255,.04); border-radius: var(--radius-lg);
  padding: 1.6rem; counter-increment: schritt;
}
.schritt::before {
  content: "0" counter(schritt);
  font-family: var(--font-mono); font-size: .85rem; font-weight: 600; color: var(--amber);
}
.schritt h3 { font-size: 1.08rem; color: #fff; margin-top: .8rem; }
.schritt p { font-size: .92rem; color: var(--on-dark-soft); margin-top: .5rem; }

/* ============ FAQ ============ */
.faq-list { margin-top: 2.5rem; max-width: 50rem; display: grid; gap: .9rem; }
.faq-item {
  background: #FFFFFF; border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(21,42,49,.04);
  transition: box-shadow .25s ease;
}
.faq-item[open] { box-shadow: 0 6px 24px rgba(21,42,49,.08); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; font-weight: 600; font-size: 1rem; min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--amber-deep);
  transition: transform .2s ease; flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .antwort { padding: 0 1.4rem 1.3rem; color: var(--stone); font-size: .97rem; }

/* ============ Kontakt ============ */
.kontakt { background: #F3EEE3; border-top: 1px solid var(--line); }
.kontakt-box {
  margin-top: 2.5rem; background: #FFFFFF;
  border-radius: var(--radius-lg); padding: 2.25rem; max-width: 44rem;
  box-shadow: 0 2px 12px rgba(21,42,49,.05);
}
.kontakt-box ol { margin: 1rem 0 1.75rem 1.2rem; color: var(--stone); font-size: .97rem; display: grid; gap: .4rem; }
.kontakt-mail { font-family: var(--font-mono); font-size: .95rem; margin-top: 1rem; color: var(--stone); }
.kontakt-mail a { color: var(--petrol); font-weight: 600; }
.kontakt-ds { margin-top: 1.25rem; font-size: .82rem; color: var(--stone); }

/* ============ Footer ============ */
.site-footer { background: var(--petrol-deep); color: var(--on-dark-soft); padding-block: 3rem; font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand em { color: var(--amber-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-meta { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(185,203,203,.18); font-size: .82rem; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============ Subpages (Breadcrumb + Prose) ============ */
.subhero {
  background: linear-gradient(180deg, var(--petrol-deep) 0%, var(--petrol) 100%);
  color: var(--on-dark); padding-top: 8rem; padding-bottom: 3.5rem;
}
.subhero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.1rem); font-weight: 700; color: #fff; margin-top: .8rem; }
.subhero .sub { color: var(--on-dark-soft); font-size: 1.12rem; max-width: 40rem; margin-top: 1rem; }
.breadcrumb { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.breadcrumb a { color: var(--on-dark-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber-soft); }
.breadcrumb li[aria-current] { color: var(--amber-soft); }
.breadcrumb .sep { color: rgba(185,203,203,.5); }
.prose { max-width: 44rem; }
.prose p { margin-top: 1rem; color: var(--stone); }
.prose h2 { margin-top: 0; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 2rem; }
.leistung-grid { display: grid; gap: 1.25rem; margin-top: 2.75rem; }
@media (min-width: 640px) { .leistung-grid { grid-template-columns: repeat(2, 1fr); } }
.leistung { background: #fff; border-radius: var(--radius-lg); padding: 1.9rem; box-shadow: 0 2px 12px rgba(21,42,49,.05); }
.leistung h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; display: flex; gap: .6rem; align-items: center; }
.leistung h3 svg { flex: none; color: var(--amber-deep); }
.leistung p { color: var(--stone); font-size: .97rem; }
.leistung ul { list-style: none; margin: .9rem 0 0; display: grid; gap: .45rem; }
.leistung li { display: flex; gap: .55rem; align-items: flex-start; font-size: .93rem; }
.leistung li svg { flex: none; margin-top: .3rem; color: var(--amber-deep); }
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
  background: var(--petrol-deep); color: var(--on-dark); border-radius: var(--radius-lg);
  padding: 2rem 2.25rem; margin-top: 3rem;
}
.cta-band h2 { color: #fff; font-size: 1.5rem; }
.cta-band p { color: var(--on-dark-soft); margin-top: .35rem; max-width: 32rem; }
.cta-band .btn { flex: none; }
.zitat { border-left: 4px solid var(--amber); background: #F3EEE3; border-radius: 0 var(--radius) var(--radius) 0; padding: 1.5rem 1.75rem; }
.zitat p { color: var(--ink); font-size: 1.05rem; font-style: italic; }
.zitat footer { margin-top: .8rem; font-family: var(--font-mono); font-size: .82rem; color: var(--amber-deep); font-style: normal; }
