/* Wolf + Diefenbach GmbH: Vorschau, nah am bisherigen Auftritt (Archiv 13.11.2025), aufgefrischt.
   Farben gemessen aus css/styles.css und Logo der alten Seite, siehe _scratch/FARBEN-kunde.md. */

@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-var-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quicksand";
  src: url("../fonts/quicksand-var-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blau: #2d4a8f;        /* Ueberschriften alt */
  --nacht: #252b39;       /* Fusszeile alt */
  --siegel: #6599ff;      /* Logo-Siegel, Linien */
  --link: #114bc9;        /* Links alt */
  --kupfer: #c47529;      /* Markierung alt */
  --kupfer-tief: #a8611f; /* Kupfer mit weisser Schrift, 4,8:1 */
  --grau: #808080;        /* Logo-Schriftzug */
  --text: #2b2f38;
  --text-leise: #555b66;
  --papier: #f4f5f8;
  --linie: #dde1e8;
  --weiss: #fff;
  --breite: 1200px;
  --radius: 6px;
  --schatten: 0 10px 30px rgba(37, 43, 57, .10);
  --kurve: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--weiss); color: var(--text);
  font: 500 17px/1.65 "Quicksand", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blau); }
::selection { background: var(--kupfer); color: #fff; }
:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: "Quicksand", Arial, sans-serif; color: var(--blau); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-weight: 300; }
h2 { font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }
h3 { font-weight: 600; font-size: 1.2rem; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.huelle { width: min(100% - 32px, var(--breite)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopfleiste */
.topbar { background: var(--nacht); color: #d9dde6; font-size: .84rem; }
.topbar .huelle { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; display: inline-block; padding: 6px 0; margin: -6px 0; }
.topbar a:hover { color: var(--siegel); }
.topbar span + span::before { content: "·"; margin: 0 10px; color: var(--siegel); }

.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--grau); font-weight: 300; font-size: 1.62rem; letter-spacing: .005em; white-space: nowrap; }
.logo:hover { color: var(--grau); }
.logo svg { width: 52px; height: 52px; flex: none; }
.logo .gmbh { margin-left: -2px; }

.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: block; padding: 10px 14px; font: inherit; font-weight: 600; font-size: .98rem; color: var(--text);
  text-decoration: none; background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
}
.nav > li > a:hover, .nav > li > button:hover, .nav > li.aktiv > a, .nav > li.aktiv > button {
  color: var(--blau); border-bottom-color: var(--siegel); background: var(--papier);
}
.nav .angebot { color: var(--kupfer-tief); }
.drop { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 240px;
  background: #fff; border: 1px solid var(--linie); border-top: 2px solid var(--siegel); box-shadow: var(--schatten);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--kurve), transform .2s var(--kurve), visibility .2s; }
.drop a { display: block; padding: 9px 16px; color: var(--text); text-decoration: none; font-weight: 500; }
.drop a:hover, .drop a[aria-current] { background: var(--siegel); color: #fff; }
.nav li:hover > .drop, .nav li:focus-within > .drop, .nav li.offen > .drop { opacity: 1; visibility: visible; transform: none; }
.menue-knopf { display: none; }

/* Buehne (frueher Slider + Claim) */
.buehne { padding: 28px 0 8px; background: linear-gradient(var(--papier), var(--papier)) top / 100% 70% no-repeat; }
.buehne .huelle { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #cfd6e3; box-shadow: var(--schatten); }
.slider figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s var(--kurve); }
.slider figure.an { opacity: 1; }
.slider img { width: 100%; height: 100%; object-fit: cover; }
.slider figcaption { position: absolute; right: 12px; bottom: 12px; background: rgba(37, 43, 57, .78); color: #fff; font-size: .8rem; padding: 4px 10px; border-radius: 3px; }
.punkte { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.punkte button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.punkte button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .6); border: 1px solid rgba(37, 43, 57, .35); transition: background .2s, transform .2s; }
.punkte button[aria-current="true"]::before { background: #fff; transform: scale(1.25); }
.claim { background: #fff; border-left: 3px solid var(--siegel); border-radius: var(--radius); box-shadow: var(--schatten); padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; }
.claim h1 { font-size: clamp(1.7rem, 1.2rem + 1vw, 2.15rem); overflow-wrap: anywhere; color: var(--blau); margin-bottom: .5em; }
.claim p { color: var(--text-leise); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 4px;
  font: inherit; font-weight: 700; font-size: .96rem; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background .2s var(--kurve), color .2s var(--kurve), transform .15s var(--kurve); }
.knopf:active { transform: translateY(1px); }
.knopf.voll { background: var(--blau); color: #fff; }
.knopf.voll:hover { background: var(--nacht); color: #fff; }
.knopf.rand { border-color: var(--blau); color: var(--blau); background: #fff; }
.knopf.rand:hover { background: var(--papier); }
.knopf.kupfer { background: var(--kupfer-tief); color: #fff; }
.knopf.kupfer:hover { background: #8e5019; color: #fff; }
.knopf svg { width: 18px; height: 18px; }

/* Inhalt */
.abschnitt { padding: clamp(48px, 6vw, 84px) 0; }
.abschnitt.grau { background: var(--papier); }
.titel { border-left: 2px solid var(--siegel); padding: 2px 0 2px 18px; margin-bottom: 28px; }
.titel h2 { margin: 0; }
.titel span { display: block; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); font-weight: 400; color: var(--text-leise); margin-top: 6px; }
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.drei p:last-child { margin-bottom: 0; }

.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s var(--kurve), border-color .25s var(--kurve); }
.karte:hover { box-shadow: var(--schatten); border-color: #c7cfdd; }
.karte img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.karte .inhalt { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.karte h3 { margin-bottom: .35em; }
.karte address { font-style: normal; color: var(--text-leise); margin-bottom: 12px; }
.karte .mehr { margin-top: auto; font-weight: 700; text-decoration: none; }
.karte .mehr::after { content: " \2192"; }

.leistungen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.leistung { margin: 0; }
.leistung img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 14px; }
.leistung h3 { font-size: 1.08rem; margin-bottom: .3em; }
.leistung p { font-size: .95rem; color: var(--text-leise); margin: 0; }

.angebote { background: var(--nacht); color: #e6e9f0; }
.angebote .huelle { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.angebote h2 { color: #fff; }
.angebote p { margin: 0; }
.angebote .knoepfe { justify-content: flex-end; }
.angebote .hinweis { font-size: .85rem; color: #aeb5c4; margin-top: 10px; }

.geschichte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; align-items: center; }
.geschichte blockquote { margin: 0; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 400; color: var(--blau); line-height: 1.5; border-left: 2px solid var(--kupfer); padding-left: 20px; }
.jahr { font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem); font-weight: 300; color: var(--link); line-height: 1; }
.jahr small { display: block; font-size: 1rem; color: var(--text-leise); font-weight: 500; margin-top: 8px; }

/* Unterseiten */
.seitenkopf { position: relative; min-height: clamp(220px, 30vw, 360px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--nacht); }
.seitenkopf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seitenkopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(37, 43, 57, 0) 25%, rgba(37, 43, 57, .82)); }
.seitenkopf .huelle { position: relative; z-index: 1; padding: 0 0 26px; }
.seitenkopf h1 { color: #fff; font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); margin: 0; }
.seitenkopf p { margin: 6px 0 0; color: #e6e9f0; }
.seitenkopf .bildnachweis { position: absolute; right: 12px; top: 12px; z-index: 1; font-size: .75rem; background: rgba(37, 43, 57, .7); padding: 3px 8px; border-radius: 3px; }
.seitenkopf.schlicht { min-height: 0; padding: 48px 0 0; background: var(--papier); color: var(--text); }
.seitenkopf.schlicht::after { display: none; }
.seitenkopf.schlicht h1 { color: var(--blau); }
.seitenkopf.schlicht p { color: var(--text-leise); }
.seitenkopf.schlicht .huelle { border-left: 2px solid var(--siegel); padding: 2px 0 2px 18px; margin-bottom: 0; }

.spalten { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.kontaktbox { background: var(--papier); border-radius: var(--radius); padding: 26px 26px 22px; border-top: 3px solid var(--siegel); }
.kontaktbox h3 { margin-bottom: .2em; }
.kontaktbox .person { font-weight: 700; margin-bottom: 14px; color: var(--text); }
.daten { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 14px; }
.daten dt { font-weight: 700; color: var(--text-leise); }
.daten dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.daten a { text-decoration: none; }
.termine { font-weight: 700; color: var(--blau); margin: 0 0 16px; }
.zitatbild { margin: 0; }
.zitatbild img { border-radius: var(--radius); }
.zitatbild figcaption { font-size: .85rem; color: var(--text-leise); margin-top: 8px; }
.zeitleiste { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--linie); }
.zeitleiste li { position: relative; padding: 0 0 18px 22px; }
.zeitleiste li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--siegel); }
.zeitleiste b { display: block; color: var(--blau); font-size: 1.15rem; }
.fliesstext { max-width: 72ch; }

/* Formular */
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.formular .ganz { grid-column: 1 / -1; }
.formular[hidden] { display: none; }
.formular label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.formular input, .formular select, .formular textarea {
  width: 100%; font: inherit; font-weight: 500; color: var(--text); padding: 11px 13px; min-height: 48px;
  border: 1px solid #c3cad6; border-radius: 4px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.formular textarea { min-height: 140px; resize: vertical; }
.formular input:focus, .formular select:focus, .formular textarea:focus { border-color: var(--blau); box-shadow: 0 0 0 3px rgba(101, 153, 255, .25); outline: none; }
.formular .anrede { display: flex; gap: 22px; align-items: center; min-height: 48px; }
.formular .anrede label, .formular .zustimmung label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; margin: 0; cursor: pointer; min-height: 44px; }
.formular .anrede input, .formular .zustimmung input { width: 20px; min-height: 20px; height: 20px; accent-color: var(--blau); }
.formular .zustimmung label { align-items: flex-start; }
.pflicht { color: var(--kupfer-tief); }
.formhinweis { font-size: .88rem; color: var(--text-leise); }
.danke { display: none; background: #eef4ff; border-left: 3px solid var(--siegel); padding: 16px 18px; border-radius: 4px; }
.danke.an { display: block; }
.fehler { color: #a3261f; font-size: .9rem; min-height: 1.2em; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-platz:empty { display: none; }

.rechtstext h2 { font-size: 1.45rem; margin-top: 1.6em; }
.rechtstext h3 { font-size: 1.12rem; margin-top: 1.4em; }
.rechtstext h4 { font-size: 1rem; margin-top: 1.1em; color: var(--text); }
.rechtstext ul { padding-left: 1.2em; }
.vorschau-hinweis { background: #fff6ec; border-left: 3px solid var(--kupfer); padding: 14px 18px; border-radius: 4px; font-size: .95rem; }

/* Fusszeile */
.fuss { background: var(--nacht); color: #d9dde6; padding: 56px 0 0; font-size: .93rem; }
.fuss .standorte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.fuss h3 { color: #fff; font-size: 1.05rem; margin-bottom: .5em; }
.fuss h3 small { display: block; font-size: .8rem; font-weight: 500; color: #aeb5c4; margin-top: 2px; }
.fuss address { font-style: normal; margin-bottom: 8px; }
.fuss .daten dt { color: #aeb5c4; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--siegel); }
.fuss .termine { color: var(--siegel); font-size: .9rem; }
.fussleiste { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: #aeb5c4; }
.fussleiste nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Einblenden, nur mit JS */
.js .einblenden { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--kurve), transform .7s var(--kurve); }
.js .einblenden.sichtbar { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss .standorte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo { font-size: 1.3rem; }
  .logo svg { width: 44px; height: 44px; }
}
@media (max-width: 920px) {
  .menue-knopf { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; font: inherit; font-weight: 700; color: var(--blau); background: var(--papier); border: 1px solid var(--linie); border-radius: 4px; cursor: pointer; }
  .menue-knopf svg { width: 20px; height: 20px; }
  .hauptnav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); display: none; }
  .hauptnav.offen { display: block; }
  .nav { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .nav > li > a, .nav > li > button { padding: 13px 8px; width: 100%; text-align: left; border-bottom: 1px solid var(--linie); }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .buehne .huelle, .spalten, .geschichte, .angebote .huelle { grid-template-columns: minmax(0, 1fr); }
  .angebote .knoepfe { justify-content: flex-start; }
  .drei, .karten { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .kopf .huelle { min-height: 68px; }
  .logo { font-size: 1.02rem; gap: 8px; }
  .logo svg { width: 38px; height: 38px; }
  .menue-knopf span { display: none; }
  .topbar .huelle { justify-content: center; text-align: center; }
  .topbar .termin { display: none; }
  .topbar span + span::before { content: none; }
  .slider { aspect-ratio: 4 / 3; }
  .claim { padding: 24px 20px; }
  .knoepfe .knopf { width: 100%; }
  .leistungen, .fuss .standorte { grid-template-columns: minmax(0, 1fr); }
  .formular { grid-template-columns: minmax(0, 1fr); }
  .daten { gap: 2px 12px; }
  .daten dd { overflow-wrap: anywhere; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .einblenden { opacity: 1; transform: none; }
}
