/* ==========================================================================
   Zimmerei Reiß GmbH — zimmerei-holzbau-neustadt-aisch-ansbach.de
   Design: „Balken & Gefüge“ — Hobelspan, Tannengrün, geölte Eiche
   ========================================================================== */

:root {
  --paper: #F4EFE4;
  --paper-2: #EBE4D2;
  --ink: #26221A;
  --ink-soft: #625A47;
  --spruce: #1E3B2C;
  --spruce-deep: #152B20;
  --spruce-line: #35553F;
  --oak: #B67A2A;
  --oak-deep: #96631F;
  --oak-bright: #D99A43;
  --line: #D9CFB8;
  --card: #FBF8F0;
  --on-spruce: #EFE9D9;
  --on-spruce-soft: #BFCDB9;
  --focus: #B67A2A;
  --shadow: 0 1px 2px rgba(38, 34, 26, 0.08);
}

:root:not([data-theme="light"]) {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #16130E;
    --paper-2: #1E1A13;
    --ink: #EDE6D4;
    --ink-soft: #AEA482;
    --spruce: #142A1F;
    --spruce-deep: #0E1F17;
    --spruce-line: #2C4A38;
    --oak: #D99A43;
    --oak-deep: #C4882F;
    --oak-bright: #E9B368;
    --line: #38321F;
    --card: #201C14;
    --on-spruce: #E8E1CE;
    --on-spruce-soft: #A9BCA6;
    --focus: #D99A43;
    --shadow: none;
  }
}

/* ---------- Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: "Bricolage Grotesque", "Arial Black", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }

a { color: var(--oak-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--oak); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

img, svg { max-width: 100%; height: auto; display: block; }

.wrap {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.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;
}

.kicker {
  font-weight: 600;
  color: var(--oak-deep);
  margin-bottom: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--spruce);
  color: var(--on-spruce);
  padding: 0.6em 1em;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75em 1.5em;
  border: 2px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--oak); color: #fff; }
.btn-primary:hover { background: var(--oak-deep); color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-primary { color: #1A1206; }
  :root:not([data-theme="light"]) .btn-primary:hover { color: #1A1206; }
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-ghost-light {
  background: transparent;
  color: var(--on-spruce);
  border-color: var(--on-spruce-soft);
}
.btn-ghost-light:hover { background: var(--on-spruce); color: var(--spruce-deep); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand svg { flex: none; }
.brand-name {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a,
.nav-drop > button {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5em 0.7em;
  border-radius: 3px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1.3;
}
.main-nav a:hover,
.nav-drop > button:hover { background: var(--paper-2); color: var(--ink); }

.main-nav a[aria-current="page"] {
  color: var(--oak-deep);
  box-shadow: inset 0 -2px 0 var(--oak);
  border-radius: 0;
}

.nav-drop { position: relative; }
.nav-drop > button::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.15s ease;
}
.nav-drop > button[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(-135deg);
}

.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--oak);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 10px 28px rgba(21, 43, 32, 0.18);
  padding: 6px;
  display: none;
  flex-direction: column;
}
.drop-menu.open { display: flex; }
.drop-menu a {
  display: block;
  padding: 0.55em 0.8em;
  font-weight: 600;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.header-phone svg { flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 3px;
  color: var(--ink);
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle .bars {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .header-phone .phone-label { display: none; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px clamp(16px, 4vw, 32px) 22px;
    gap: 2px;
    box-shadow: 0 18px 30px rgba(21, 43, 32, 0.16);
  }
  .main-nav.open { display: flex; }
  .main-nav a, .nav-drop > button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.8em 0.6em;
    font-size: 1.05rem;
  }
  .nav-drop { position: static; }
  .drop-menu {
    position: static;
    border: none;
    border-left: 3px solid var(--oak);
    border-radius: 0;
    box-shadow: none;
    background: var(--paper-2);
    margin: 4px 0 8px 10px;
  }
}

/* ---------- Hero (Startseite) ---------- */

.hero {
  background: var(--spruce);
  color: var(--on-spruce);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 9vw, 110px);
}

.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero .lede {
  font-size: 1.16rem;
  color: var(--on-spruce);
  max-width: 54ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-note {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--on-spruce-soft);
}
.hero-note a { color: var(--on-spruce); }

.truss { width: 100%; max-width: 460px; margin-inline: auto; }
.truss .beam {
  stroke: var(--oak-bright);
  stroke-width: 5;
  stroke-linecap: square;
  fill: none;
}
.truss .beam-soft { stroke: var(--on-spruce-soft); stroke-width: 3; opacity: 0.8; }
.truss .joint { fill: var(--on-spruce); }

@media (prefers-reduced-motion: no-preference) {
  .truss.draw .beam {
    stroke-dasharray: 620;
    stroke-dashoffset: 620;
    animation: draw-beam 1.4s ease-out forwards;
  }
  .truss.draw .beam-soft { animation-delay: 0.45s; animation-duration: 1.2s; }
  .truss.draw .joint {
    opacity: 0;
    animation: joint-in 0.5s ease-out 1.3s forwards;
  }
  @keyframes draw-beam { to { stroke-dashoffset: 0; } }
  @keyframes joint-in { to { opacity: 1; } }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .truss { max-width: 330px; margin: 0; }
}

/* ---------- Unterseiten-Hero ---------- */

.page-hero {
  background: var(--spruce);
  color: var(--on-spruce);
  padding-block: clamp(44px, 7vw, 80px);
}
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lede { font-size: 1.14rem; max-width: 62ch; color: var(--on-spruce); }
.crumb {
  font-size: 0.92rem;
  margin-bottom: 18px;
  color: var(--on-spruce-soft);
}
.crumb a { color: var(--on-spruce-soft); }
.crumb a:hover { color: var(--on-spruce); }

/* ---------- Kennzahlen ---------- */

.stats {
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 26px;
  gap: 12px;
}
.stat { border-left: 3px solid var(--oak); padding-left: 16px; }
.stat b {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
}
.stat span { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 720px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
}

/* ---------- Sektionen ---------- */

.section { padding-block: clamp(52px, 8vw, 88px); }
.section-tight { padding-block: clamp(36px, 6vw, 60px); }
.section-alt { background: var(--paper-2); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .kicker {
  font-weight: 600;
  color: var(--oak-deep);
  margin-bottom: 6px;
}
.section-head p { color: var(--ink-soft); }

/* ---------- Leistungs-Balkenraster ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(22px, 3vw, 34px);
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--oak);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.service-cell:hover { color: var(--ink); background: var(--card); }
.service-cell:hover::after { transform: scaleX(1); }
.service-cell svg { color: var(--oak-deep); }
.service-cell h3 { margin: 0; }
.service-cell p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.service-cell .cell-link {
  margin-top: auto;
  padding-top: 6px;
  font-weight: 600;
  color: var(--oak-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (max-width: 940px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Ablauf / Schritte ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 32px);
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step);
  display: inline-block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--spruce);
  color: var(--on-spruce);
  width: 2.1em;
  height: 2.1em;
  line-height: 2.1em;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.step p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Zweispalter ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--oak);
  border-bottom: 3px solid var(--oak);
  transform: rotate(-45deg);
}

/* ---------- Info-Kastenpaneele ---------- */

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--oak);
  border-radius: 0 0 4px 4px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
}
.panel h3 { margin-top: 0; }
.panel p:last-child, .panel ul:last-child { margin-bottom: 0; }

/* ---------- Referenzen ---------- */

.ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 780px) { .ref-grid { grid-template-columns: 1fr; } }

.ref-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ref-visual {
  background: var(--spruce);
  color: var(--oak-bright);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}
.ref-body { padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 6px; }
.ref-tag {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--oak-deep);
}
.ref-body h3 { margin: 0 0 4px; }
.ref-body p { color: var(--ink-soft); margin-bottom: 0.6em; }
.ref-facts { list-style: none; padding: 0; margin: 6px 0 0; border-top: 1px solid var(--line); }
.ref-facts li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
  margin: 0;
}
.ref-facts b { flex: none; width: 9.5em; font-weight: 600; }
.ref-facts span { color: var(--ink-soft); }

/* ---------- CTA-Band ---------- */

.cta-band {
  background: var(--spruce);
  color: var(--on-spruce);
  position: relative;
  overflow: hidden;
}
.cta-band .wrap {
  position: relative;
  padding-block: clamp(48px, 7vw, 76px);
}
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: var(--on-spruce); max-width: 56ch; }
.cta-band .hero-actions { margin-top: 22px; }
.cta-deco {
  position: absolute;
  right: -30px;
  bottom: -36px;
  width: 300px;
  opacity: 0.28;
  pointer-events: none;
}
.cta-deco .beam { stroke: var(--oak-bright); stroke-width: 4; fill: none; }
.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}
.cta-contacts li { margin: 0; }
.cta-contacts a {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.cta-contacts svg { color: var(--oak-bright); flex: none; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 48px 16px 20px;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--oak-deep);
  border-bottom: 2px solid var(--oak-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 14px 20px 18px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Timeline ---------- */

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 3px solid var(--oak);
  max-width: 720px;
}
.timeline li {
  position: relative;
  padding: 0 0 26px 30px;
  margin: 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 7px;
  width: 13px;
  height: 13px;
  background: var(--paper);
  border: 3px solid var(--oak);
  border-radius: 50%;
}
.timeline b {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  display: block;
}
.timeline p { margin: 2px 0 0; color: var(--ink-soft); }

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
}
.team-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--spruce);
  color: var(--oak-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.team-card h3 { font-size: 1.08rem; margin-bottom: 2px; }
.team-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- News ---------- */

.news-list { max-width: 780px; }
.news-item {
  border-bottom: 1px solid var(--line);
  padding-block: 26px;
}
.news-item:first-child { padding-top: 0; }
.news-item time {
  font-size: 0.92rem;
  color: var(--oak-deep);
  font-weight: 600;
}
.news-item h2 { font-size: 1.35rem; margin: 6px 0 8px; }
.news-item p:last-child { margin-bottom: 0; }

/* ---------- Jobs ---------- */

.job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
@media (max-width: 820px) { .job-grid { grid-template-columns: 1fr; } }

.job-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--spruce);
  border-radius: 0 0 4px 4px;
  padding: clamp(22px, 3vw, 32px);
}
.job-card h3 { font-size: 1.3rem; }
.job-card h4 {
  font-size: 1rem;
  margin: 1.2em 0 0.4em;
}
.job-card ul { margin: 0; }
.job-card .btn { margin-top: 22px; }

.benefit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 28px);
}
@media (max-width: 860px) { .benefit-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .benefit-row { grid-template-columns: 1fr; } }
.benefit { border-top: 3px solid var(--oak); padding-top: 12px; }
.benefit h3 { font-size: 1.05rem; margin-bottom: 0.25em; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Kontakt ---------- */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 940px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px;
}
.contact-card svg { color: var(--oak-deep); margin-bottom: 10px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-card p { margin: 0; font-size: 0.97rem; color: var(--ink-soft); }
.contact-card a { font-weight: 600; }

/* ---------- Formular ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 5px;
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-soft);
  border-radius: 3px;
  padding: 0.65em 0.8em;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 0;
  border-color: var(--focus);
}
textarea { min-height: 150px; resize: vertical; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  font-weight: 400;
}
.consent input { margin-top: 5px; width: auto; }

.form-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--spruce-deep);
  color: var(--on-spruce);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(44px, 6vw, 64px);
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
}
.site-footer p { color: var(--on-spruce-soft); font-size: 0.97rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--on-spruce); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--spruce-line);
  padding-block: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--on-spruce-soft);
}
.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 22px;
}
.footer-bottom li { margin: 0; }
.footer-bottom a { color: var(--on-spruce-soft); }
.footer-bottom a:hover { color: #fff; }

.hours-table { border-collapse: collapse; font-size: 0.97rem; color: var(--on-spruce-soft); }
.hours-table td { padding: 3px 18px 3px 0; }
.hours-table td:last-child { color: var(--on-spruce); }

/* ---------- Rechtstexte / Prosa ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }

.todo-note {
  background: var(--paper-2);
  border-left: 4px solid var(--oak);
  padding: 14px 18px;
  font-size: 0.96rem;
  margin: 20px 0;
}

/* ---------- Diverses ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
