/* ==========================================================================
   DKBau — Stylesheet des Onepagers
   Stand: 23.08.2026 · Prototyp
   Farben aus 04_Farben/DKBau_Farben.css, Typo-Skala aus Styleguide Abschnitt 09.
   Keine externen Aufrufe: Schriften liegen lokal in ./schriften/
   ========================================================================== */

/* --- Schriften, lokal eingebunden (DSGVO, siehe 03_Schriften/LIESMICH.md) --- */

@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('schriften/fraunces-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('schriften/fraunces-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('schriften/fraunces-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('schriften/fraunces-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('schriften/fraunces-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('schriften/fraunces-latin-ext-700-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('schriften/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('schriften/inter-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('schriften/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('schriften/inter-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('schriften/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('schriften/inter-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* --- Farbsystem ---------------------------------------------------------- */

:root {
  --dk-forest:   #2E4A35;
  --dk-charcoal: #1F2421;
  --dk-wood:     #B08560;
  --dk-moss:     #7A8B5C;
  --dk-sand:     #E8DFD0;
  --dk-paper:    #FAFAF7;
  --dk-line:     #E2E0DA;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', 'Segoe UI', Arial, sans-serif;

  --breite: 1120px;
  --luft: clamp(64px, 9vw, 112px);
}

/* --- Grundlagen ---------------------------------------------------------- */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--dk-paper);
  color: var(--dk-charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.4vw, 52px); line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; }
h3 { font-size: 21px; line-height: 1.3; }
p  { margin: 0 0 1em; max-width: 68ch; }

a { color: var(--dk-forest); }

.inhalt { width: min(100% - 40px, var(--breite)); margin-inline: auto; }
.sektion { padding-block: var(--luft); }
.sektion--sand { background: var(--dk-sand); }

.overline {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--dk-moss); margin: 0 0 14px;
}
.sektion--dunkel .overline { color: #A9BC8A; }

.vorspann { font-size: clamp(17px, 2vw, 19px); line-height: 1.6; color: #3A403C; }
/* Einstiegszeile im Abschnitt "Über mich" — der Personen-Satz, groesser gesetzt */
.lead { font-family: Fraunces, Georgia, serif; font-size: clamp(21px, 2.4vw, 26px);
        font-weight: 600; line-height: 1.3; color: var(--dk-forest, #2E4A35);
        margin: 0 0 18px; }

/* Sichtbar gekennzeichnete Platzhalter — müssen vor dem Livegang alle weg */
.ph {
  background: rgba(176,133,96,.16);
  border-bottom: 1px dashed var(--dk-wood);
  padding: 0 3px; border-radius: 2px;
  font-style: normal;
}

/* --- Schaltflächen (Styleguide Abschnitt 10) ----------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 16px; font-weight: 600;
  padding: 13px 24px; border-radius: 6px;
  text-decoration: none; border: 1.5px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primaer { background: var(--dk-forest); color: var(--dk-paper); }
.btn--primaer:hover { background: #24392A; }
.btn--sekundaer { border-color: var(--dk-forest); color: var(--dk-forest); }
.btn--sekundaer:hover { background: rgba(46,74,53,.08); }
.sektion--dunkel .btn--sekundaer,
.hero .btn--sekundaer { border-color: rgba(250,250,247,.7); color: var(--dk-paper); }
.sektion--dunkel .btn--sekundaer:hover,
.hero .btn--sekundaer:hover { background: rgba(250,250,247,.14); }

:where(a, button):focus-visible {
  outline: 3px solid var(--dk-wood); outline-offset: 3px; border-radius: 4px;
}

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--dk-forest); color: var(--dk-paper);
  padding: 10px 16px; border-radius: 0 0 6px 6px; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* --- Kopfbereich --------------------------------------------------------- */

.kopf {
  position: sticky; top: 0; z-index: 40;
  background: rgba(31,36,33,.90);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(250,250,247,.12);
}
.kopf__reihe {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 12px;
}
.kopf__logo .logo--breit  { width: 190px; }   /* Mindestbreite Hauptlogo: 180 px */
.kopf__logo .logo--schmal { width: 124px; display: none; }  /* Kompakt: min. 110 px */
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: rgba(250,250,247,.86); text-decoration: none;
  font-size: 15px; font-weight: 500;
}
.nav a:hover { color: var(--dk-paper); }
.nav .btn { padding: 9px 18px; font-size: 15px; }
.nav .btn--primaer { background: var(--dk-wood); color: var(--dk-charcoal); }
.nav .btn--primaer:hover { background: #C2986F; }

@media (max-width: 780px) {
  .nav a:not(.btn) { display: none; }
  .kopf__logo .logo--breit  { display: none; }
  .kopf__logo .logo--schmal { display: block; }
}

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

.hero {
  position: relative; color: var(--dk-paper);
  background: linear-gradient(160deg, #24392A 0%, #2E4A35 46%, #1F2421 100%);
  padding-block: clamp(80px, 13vw, 148px);
  overflow: hidden;
}
/* Wabenmuster als dezentes Hintergrundmotiv (Styleguide Abschnitt 10).
   Wird durch das Hero-Foto ersetzt, sobald Bilder von Davit vorliegen. */
.hero__muster {
  position: absolute; inset: 0; opacity: .13; pointer-events: none;
}
.hero .inhalt { position: relative; }
.hero h1 { color: var(--dk-paper); max-width: 16ch; }
.hero__vorspann {
  font-size: clamp(17px, 2.1vw, 20px); line-height: 1.6;
  color: rgba(250,250,247,.9); max-width: 46ch; margin-bottom: 32px;
}
.hero__aktionen { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn--primaer { background: var(--dk-wood); color: var(--dk-charcoal); }
.hero .btn--primaer:hover { background: #C2988F; }
.hero__hinweis {
  margin-top: 34px; font-size: 13px; color: rgba(250,250,247,.62);
  border-left: 2px solid var(--dk-wood); padding-left: 12px; max-width: 52ch;
}

/* --- Leistungen ---------------------------------------------------------- */

.raster {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  margin-top: 44px;
}
.karte {
  background: var(--dk-paper);
  border: 1px solid var(--dk-line);
  border-radius: 10px; padding: 28px 26px 26px;
}
.sektion--sand .karte { box-shadow: 0 1px 2px rgba(31,36,33,.04); }
.karte h3 { margin-bottom: .35em; }
.karte p { font-size: 15px; margin-bottom: 0; color: #3A403C; }
.karte__icon { width: 46px; height: 50px; margin-bottom: 18px; }

/* --- Über mich ----------------------------------------------------------- */

.zweispalt {
  display: grid; gap: clamp(32px, 5vw, 60px);
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 860px) { .zweispalt { grid-template-columns: 1.15fr .85fr; } }

.bildplatz {
  display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(135deg, #EFEBE2 0 12px, #E8E3D8 12px 24px);
  border: 2px dashed var(--dk-wood);
  border-radius: 10px; color: #6B655B;
  font-size: 13px; line-height: 1.5; padding: 20px;
  aspect-ratio: 4 / 3;
}
.bildplatz strong { display: block; font-size: 14px; color: #514C44; margin-bottom: 4px; }

/* --- Galerie ------------------------------------------------------------- */

.galerie {
  display: grid; gap: 16px; margin-top: 40px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.galerie .bildplatz { aspect-ratio: 3 / 2; }

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

.schritte {
  display: grid; gap: 28px; margin-top: 44px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  counter-reset: schritt;
}
.schritt { position: relative; padding-top: 8px; }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  font-family: var(--serif); font-size: 46px; font-weight: 700;
  color: rgba(176,133,96,.55); line-height: 1; display: block; margin-bottom: 10px;
}
.sektion--dunkel .schritt::before { color: rgba(176,133,96,.85); }
.schritt h3 { margin-bottom: .4em; }

.sektion--dunkel {
  background: var(--dk-forest); color: var(--dk-paper);
}
.sektion--dunkel h2, .sektion--dunkel h3 { color: var(--dk-paper); }
.sektion--dunkel p { color: rgba(250,250,247,.88); }
.sektion--dunkel .vorspann { color: rgba(250,250,247,.9); }

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

.kontakt__telefon {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(30px, 5vw, 44px); line-height: 1.1;
  color: var(--dk-forest); text-decoration: none;
  display: inline-block; margin: 6px 0 18px;
}
.kontakt__telefon:hover { text-decoration: underline; text-underline-offset: 6px; }
.daten { border-top: 1px solid var(--dk-line); margin-top: 28px; padding-top: 22px; }
.daten dl { display: grid; gap: 4px 26px; margin: 0; }
@media (min-width: 620px) { .daten dl { grid-template-columns: max-content 1fr; } }
.daten dt { font-weight: 600; font-size: 14px; }
.daten dd { margin: 0 0 12px; font-size: 15px; color: #3A403C; }

/* --- Fußzeile ------------------------------------------------------------ */

.fuss { background: var(--dk-charcoal); color: rgba(250,250,247,.8); padding-block: 48px 36px; }
.fuss__reihe {
  display: flex; flex-wrap: wrap; gap: 26px;
  align-items: flex-end; justify-content: space-between;
}
.fuss img { width: 140px; }
.fuss a { color: rgba(250,250,247,.86); }
.fuss__links { display: flex; gap: 22px; font-size: 15px; }
.fuss__klein {
  margin: 26px 0 0; font-size: 13px; color: rgba(250,250,247,.5);
  border-top: 1px solid rgba(250,250,247,.14); padding-top: 18px;
}

/* --- Druck --------------------------------------------------------------- */

@media print {
  .kopf, .hero__aktionen, .skip-link { display: none; }
  body { background: #fff; }
  .hero { background: #fff; color: #1F2421; }
  .hero h1 { color: #2E4A35; }
}
