/* ==========================================================================
   Gorge-beaver — Nationale Architektur
   Archetyp: Split-Screen Modern
   ========================================================================== */

:root {
  --paper: #f3eee4;
  --paper-2: #ebe3d4;
  --ink: #1a1611;
  --ink-soft: #413a30;
  --clay: #9c5a34;
  --clay-dark: #7c4525;
  --sage: #5f6b52;
  --stone: #d7cbb4;
  --line: #ddd2bd;
  --white: #fbf9f4;
  --shadow: 0 18px 50px -24px rgba(26, 22, 17, 0.45);
  --radius: 4px;
  --mw: 1280px;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }

p { color: var(--ink-soft); }

.wrap { width: 100%; max-width: var(--mw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--clay); display: inline-block; }

/* -------------------------------------------------- Disclosure strip */
.ad-strip {
  background: var(--ink);
  color: var(--stone);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 7px 16px;
}

/* -------------------------------------------------- Header / split nav */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px clamp(20px, 5vw, 64px);
  border-right: 1px solid var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand span { color: var(--clay); }
.brand-mark {
  width: 34px; height: 34px;
  border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 20px; height: 20px; }

.nav-cell {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 clamp(16px, 3vw, 40px);
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 12px 15px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--clay); background: var(--paper-2); }

.ad-flag {
  margin-left: 14px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--clay-dark);
  border: 1px dashed var(--clay);
  border-radius: 2px;
  white-space: nowrap;
}

.nav-cta {
  margin-left: 16px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .2s;
}
.nav-cta:hover { background: var(--clay); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  background: none;
  border: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 clamp(20px, 5vw, 40px);
  color: var(--ink);
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--ink); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* -------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--clay); color: var(--white); }
.btn-solid:hover { background: var(--clay-dark); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-arrow::after { content: "\2192"; }

.inline-link {
  font-weight: 700;
  color: var(--clay);
  border-bottom: 2px solid var(--stone);
  transition: border-color .2s;
}
.inline-link:hover { border-color: var(--clay); }

/* -------------------------------------------------- Split primitives */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  min-height: 60vh;
}
.split > .half {
  flex: 1 1 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split .pad { padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px); }
.split.reverse { flex-direction: row-reverse; }

.media {
  position: relative;
  background-color: var(--stone);
  overflow: hidden;
  min-height: 340px;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .tag {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(26, 22, 17, 0.82);
  color: var(--paper);
  padding: 9px 15px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* -------------------------------------------------- Hero */
.hero { border-bottom: 1px solid var(--line); background: var(--paper); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); margin: 22px 0 20px; }
.hero p.lead { font-size: 1.18rem; max-width: 44ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; gap: 34px; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta div strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--ink); }
.hero-meta div span { font-size: 13px; color: var(--ink-soft); }

/* -------------------------------------------------- Generic section */
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section.tinted { background: var(--paper-2); }
.section.dark { background: var(--ink); color: var(--paper); }
.section.dark p { color: var(--stone); }
.section-head { max-width: 62ch; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin: 18px 0 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* -------------------------------------------------- Feature split rows */
.feature-row { align-items: center; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.feature-row:last-of-type { border-bottom: 1px solid var(--line); }
.feature-row .copy { padding: clamp(36px, 5vw, 70px); }
.feature-row .copy .idx { font-family: var(--serif); font-size: 2.4rem; color: var(--stone); }
.feature-row .copy h3 { font-size: 1.7rem; margin: 6px 0 14px; }
.feature-row .copy .price-line { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 26px; }
.feature-row .copy .price-line b { font-family: var(--serif); font-size: 1.7rem; color: var(--clay); }
.feature-row .copy .price-line small { font-size: 13px; color: var(--ink-soft); }

/* -------------------------------------------------- Stats band */
.stats { display: flex; flex-wrap: wrap; gap: 2px; background: var(--line); }
.stats .stat { flex: 1 1 220px; background: var(--ink); padding: 40px clamp(24px, 4vw, 48px); }
.stats .stat strong { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--paper); display: block; }
.stats .stat span { color: var(--stone); font-size: 14px; }

/* -------------------------------------------------- Pillars / process */
.pillars { display: flex; flex-wrap: wrap; gap: 24px; }
.pillar {
  flex: 1 1 260px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.pillar .num { font-family: var(--serif); font-size: 1.1rem; color: var(--clay); font-weight: 700; }
.pillar h3 { font-size: 1.3rem; margin: 14px 0 10px; }
.pillar p { font-size: 15px; }

/* -------------------------------------------------- Service cards (services.html) */
.card-grid { display: flex; flex-wrap: wrap; gap: 26px; }
.svc-card {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.svc-card .media { min-height: 200px; }
.svc-card .body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.svc-card p { font-size: 15px; flex: 1; }
.svc-card .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.svc-card .foot b { font-family: var(--serif); font-size: 1.45rem; color: var(--clay); }
.svc-card .foot small { display: block; font-size: 12px; color: var(--ink-soft); }

/* -------------------------------------------------- Testimonials */
.quotes { display: flex; flex-wrap: wrap; gap: 24px; }
.quote {
  flex: 1 1 300px;
  background: var(--white);
  border-left: 3px solid var(--clay);
  padding: 32px 30px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.quote p { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--ink); }
.quote .who { margin-top: 20px; font-size: 14px; }
.quote .who strong { color: var(--ink); font-family: var(--sans); }
.quote .who span { color: var(--ink-soft); display: block; }

/* -------------------------------------------------- Form */
.form-split { align-items: stretch; }
.form-panel { background: var(--white); border: 1px solid var(--line); }
.form-panel .pad { padding: clamp(32px, 5vw, 60px); }
.form-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; }
.field.half { flex: 1 1 calc(50% - 9px); }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 15px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: var(--clay); }
.form-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 4px; font-size: 13.5px; color: var(--ink-soft); }
.form-consent input { margin-top: 4px; }
.form-error { color: var(--clay-dark); font-size: 13.5px; font-weight: 600; display: none; }
.form-error.show { display: block; }

.form-aside { display: flex; flex-direction: column; justify-content: center; }
.form-aside ul { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.form-aside li { display: flex; gap: 14px; align-items: flex-start; }
.form-aside li svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--clay); margin-top: 3px; }

/* -------------------------------------------------- Price reveal list */
.price-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-list .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; background: var(--white); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.price-list .row:last-child { border-bottom: none; }
.price-list .row:nth-child(even) { background: var(--paper-2); }
.price-list .row h4 { font-size: 1.2rem; }
.price-list .row p { font-size: 14px; margin-top: 4px; }
.price-list .row .amt { font-family: var(--serif); font-size: 1.5rem; color: var(--clay); white-space: nowrap; }

/* -------------------------------------------------- CTA band */
.cta-band {
  background: var(--clay);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 6vw, 80px);
  border-radius: var(--radius);
}
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 20ch; }
.cta-band p { color: #f6e4d8; max-width: 40ch; }

/* -------------------------------------------------- Contact info cards */
.info-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.info-card { flex: 1 1 260px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; }
.info-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.info-card p { font-size: 15px; }
.info-card .data { color: var(--ink); font-weight: 600; }

/* -------------------------------------------------- Legal / article pages */
.legal { padding: clamp(48px, 8vw, 96px) 0; }
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-wrap h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal-wrap .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 40px; }
.legal-wrap h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.legal-wrap h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.legal-wrap p, .legal-wrap li { font-size: 15.5px; margin-bottom: 14px; }
.legal-wrap ul { padding-left: 22px; margin-bottom: 16px; }
.legal-wrap .box { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin: 24px 0; }

/* -------------------------------------------------- Thanks */
.thanks { min-height: 72vh; display: flex; align-items: center; }
.thanks-card { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks-card .check { width: 76px; height: 76px; margin: 0 auto 28px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; }
.thanks-card .check svg { width: 38px; height: 38px; color: var(--white); }
.thanks-card h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.thanks-card .ref { display: inline-block; margin: 18px 0 28px; padding: 12px 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; }
.thanks-card .ref b { color: var(--clay); }

/* -------------------------------------------------- Footer */
.site-foot { background: var(--ink); color: var(--stone); padding: clamp(48px, 7vw, 84px) 0 32px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.foot-brand { flex: 1 1 300px; max-width: 360px; }
.foot-brand .brand { color: var(--paper); }
.foot-brand p { color: var(--stone); margin-top: 16px; font-size: 15px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.foot-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); margin-bottom: 16px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { color: var(--stone); font-size: 14.5px; transition: color .2s; }
.foot-col a:hover { color: var(--paper); }
.foot-col .data { font-size: 14.5px; line-height: 1.8; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2e2820; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 13px; color: #8a8071; }
.foot-bottom .disc { max-width: 60ch; }

/* -------------------------------------------------- Sticky CTA */
.sticky-cta {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 55;
  box-shadow: var(--shadow);
}

/* -------------------------------------------------- Cookie banner */
.cookie {
  position: fixed;
  left: 22px; bottom: 22px;
  z-index: 70;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px;
  display: none;
}
.cookie.show { display: block; }
.cookie h4 { font-size: 1.1rem; margin-bottom: 8px; }
.cookie p { font-size: 13.5px; }
.cookie .acts { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.cookie .acts .btn { padding: 11px 20px; font-size: 14px; }

/* -------------------------------------------------- Utility helpers */
.block-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin: 16px 0 18px; }
.impressum-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 14px 0 20px; }
.mt-xs { margin-top: 12px; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 34px; }
.mt-6 { margin-top: 6px; }
.tight { margin-top: 0; }
.center-x { justify-content: center; }
.lead-center { font-size: 1.12rem; max-width: 52ch; margin: 0 auto; }
.note { margin-top: 28px; font-size: 14px; }
.note-lg { margin-top: 30px; font-size: 14px; }
.strong { font-weight: 600; }
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; }

/* -------------------------------------------------- Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* -------------------------------------------------- Responsive */
@media (max-width: 920px) {
  .nav-cell { 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: 14px clamp(20px,5vw,64px) 24px; gap: 0; }
  .nav-cell.open { display: flex; }
  .main-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .ad-flag { margin: 14px 0 0; align-self: flex-start; }
  .nav-cta { margin: 16px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
  .brand-cell { border-right: none; flex: 1; }
  .split { min-height: auto; }
  .hero .media { min-height: 320px; order: -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-meta { gap: 22px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .sticky-cta { right: 12px; bottom: 12px; }
  .cta-band { text-align: left; }
}
