/* ============================================================
   Danke-Seiten-Baukasten (seit 01.12.2026, Adis: kein Sand, kein WhatsApp, Handy zuerst)
   Erstes Muster: /grundstueck-verkaufen/danke/. Bausteine:
   .dk-kopf (dunkler Kopf, Hintergrundbild in .dk-kopf__bild, Abdunklung per ::before)
   .dk-marke (Badge „Anfrage eingegangen“), .dk-lead
   .dk-anruf (Anrufer-Karte: Foto, Rolle, Name, Nummer, „Jetzt anrufen“, „Nummer speichern“)
   .dk-ablauf + .dk-schritte (Zeitleiste), .dk-zurueck (dezenter Rückweg)
   Ansprechpartner Eigentümer UND Käufer: Irfan, Handy (Adis 01.12.2026).
   Bewerbung: nie „Nummer speichern“, keine Direktnummer (Adis 01.12.2026).
   Zusatzbausteine seit v3 (01.12.2026): siehe Block „Zusatzbausteine“ unten.
   Seiten tragen <body class="dk-seite">: blendet WhatsApp aus, Hintergrund weiß. Ohne die Klasse wirkt nichts global.
   ============================================================ */
/* Danke-Seite Grundstück (Neuaufbau 01.12.2026, Adis: kein Sand, kein WhatsApp, Handy zuerst).
   Dunkler Kopf wie die Inhaltsseiten, darin die Anrufer-Karte von Irfan (Ansprechpartner aller
   Eigentümer-Strecken, Adis 01.12.2026); darunter der Ablauf als Zeitleiste auf Weiß. */
.dk-seite #olymp-wa-fab, .dk-seite #olymp-wa-pop { display: none !important; }   /* kein WhatsApp auf Danke-Seiten (body.dk-seite) */
body.dk-seite { background: #fff; }
.dk-kopf { position: relative; isolation: isolate; background: #1c1a17; color: #fff; padding: calc(var(--nav-height, 72px) + 28px) 0 0; }
/* Hintergrund: unser Büro (Moos-Wand mit Logo), stark abgedunkelt, damit Text und Karte vorne bleiben */
.dk-kopf__bild { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.dk-kopf__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; transform: scale(1.06); filter: blur(2px) saturate(.85); }
.dk-kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,20,18,.84) 0%, rgba(22,20,18,.86) 50%, rgba(22,20,18,.93) 100%); }
.dk-wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.dk-kopf__raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.dk-marke { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(120, 190, 150, .14); color: #a9dcbd; font: 700 .78rem/1 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; }
.dk-marke svg { flex: none; }
.dk-kopf h1 { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.dk-kopf h1 span { display: block; color: rgba(255,255,255,.62); }
.dk-lead { max-width: 44ch; margin: 16px 0 0; font-size: 1.04rem; line-height: 1.6; color: rgba(255,255,255,.84); }
/* Signatur: Anrufer-Karte, ragt aus dem dunklen Kopf ins Weiß */
.dk-anruf { position: relative; z-index: 1; margin-bottom: -64px; padding: 22px 20px 20px; border-radius: 22px; background: #fff; color: #211f1c; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.dk-anruf__kopf { display: flex; align-items: center; gap: 14px; }
.dk-anruf__bild { position: relative; flex: none; width: 64px; height: 64px; }
.dk-anruf__bild img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: #ece6db; }
.dk-anruf__rolle { margin: 0; white-space: nowrap; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #924545; }
.dk-anruf__name { margin: 2px 0 0; font-family: var(--font-heading); font-weight: 800; font-size: 1.22rem; line-height: 1.2; }
.dk-anruf__nr { margin: 1px 0 0; font-size: .92rem; color: #6b645b; }
.dk-anruf__tel { margin: 2px 0 0; font-weight: 700; font-size: 1rem; color: #211f1c; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.dk-anruf__knoepfe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.dk-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; font: 700 1rem/1.2 var(--font-heading); white-space: nowrap; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.dk-knopf--anruf, .dk-knopf--haupt { background: #924545; color: #fff; box-shadow: 0 10px 24px rgba(146,69,69,.28); }
.dk-knopf--anruf:hover, .dk-knopf--haupt:hover { background: #7b3a3a; color: #fff; }
button.dk-knopf { cursor: pointer; }
.dk-knopf--speichern { border: 1.5px solid #e2dbd0; color: #211f1c; background: #fff; }
.dk-knopf--speichern:hover { border-color: #924545; color: #924545; }
.dk-anruf__hinweis { margin: 12px 0 0; font-size: .86rem; line-height: 1.5; color: #6b645b; text-align: center; }
.dk-knopf:focus-visible { outline: 3px solid #924545; outline-offset: 3px; }
/* Ablauf */
.dk-ablauf { padding: 104px 0 56px; }
.dk-h2 { margin: 0 0 22px; font-family: var(--font-heading); font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; color: #211f1c; }
.dk-schritte { list-style: none; margin: 0; padding: 0; counter-reset: dk; }
.dk-schritte li { position: relative; padding: 0 0 26px 52px; counter-increment: dk; }
.dk-schritte li::before { content: counter(dk); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: #f6f1f1; color: #924545; font: 800 .95rem/34px var(--font-heading); text-align: center; }
.dk-schritte li::after { content: ""; position: absolute; left: 16.5px; top: 38px; bottom: 4px; width: 1.5px; background: #ece6db; }
.dk-schritte li:last-child { padding-bottom: 0; }
.dk-schritte li:last-child::after { display: none; }
.dk-schritte h3 { margin: 0 0 4px; font-family: var(--font-heading); font-weight: 800; font-size: 1.06rem; color: #211f1c; }
.dk-schritte p { margin: 0; font-size: .96rem; line-height: 1.6; color: #5d574f; }
/* Erklärvideo „So rufen Sie Ihr Exposé ab“ (Immobilien-Danke, nur Anliegen Exposé; Adis 01.12.2026).
   Vorschaubild mit Knopf, das <video> setzt app.js erst beim Klick ein (Muster Imagefilm der Startseite). */
.dk-video { max-width: 720px; margin-top: 40px; padding-top: 32px; border-top: 1px solid #ece6db; }
.dk-video .dk-h2 { margin-bottom: 8px; }
.dk-video__text { margin: 0 0 18px; font-size: .96rem; line-height: 1.6; color: #5d574f; }
.dk-video__rahmen { border-radius: 18px; overflow: hidden; background: #161412; box-shadow: 0 18px 44px rgba(28,26,23,.18); }
.dk-video__poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; background: #161412; }
.dk-video__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dk-video__start { position: absolute; z-index: 1; left: clamp(14px, 3vw, 24px); bottom: clamp(14px, 3vw, 22px); display: flex; align-items: center; gap: 12px; }
.dk-video__play { flex: none; width: clamp(48px, 7vw, 64px); height: clamp(48px, 7vw, 64px); border-radius: 50%; background: rgba(255,255,255,.96); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s ease; }
.dk-video__play svg { width: 40%; height: 40%; fill: #924545; margin-left: 6%; }
.dk-video__poster:hover .dk-video__play, .dk-video__poster:focus-visible .dk-video__play { transform: scale(1.08); }
.dk-video__poster:focus-visible { outline: 3px solid #924545; outline-offset: 3px; }
.dk-video__label { color: #fff; font-weight: 600; font-size: .92rem; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.dk-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #161412; }
/* Handy: der Titel des Vorschaubilds sitzt im unteren Drittel – nur der Knopf, klein, in der Ecke (Text steht im aria-label) */
@media (max-width: 599px) { .dk-video__label { display: none; } .dk-video__start { left: 10px; bottom: 10px; } .dk-video__play { width: 42px; height: 42px; } }
.dk-zurueck { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; font-weight: 600; font-size: .95rem; color: #5d574f; text-decoration: none; }
.dk-zurueck:hover { color: #924545; }
/* Zusatzbausteine (v3, 01.12.2026) für die Danke-Seiten Empfehlung, Partnerprogramm, Bauträger,
   Bewerbung und Feedback. Nur neue Klassen, die bestehenden Seiten ändern sich nicht.
   .dk-anruf__titel/__text (Karte ohne Anrufer, z. B. Bewerbung), .dk-anruf__foto (Teambild oben in der Karte),
   .dk-sterne, .dk-block (weiterer Abschnitt unter dem Ablauf), .dk-hilfe (Vorbereitung als Chips),
   .dk-liste (Häkchen-Liste), .dk-kopie (Text zum Weiterleiten mit Kopieren-Knopf, kein WhatsApp-Link),
   .dk-block--erst (Abschnitt ohne Ablauf darüber), .dk-aktion (Knopf unter dem Ablauf),
   .dk-link (dezenter Verweis, z. B. Referenzen), .dk-knopf--haupt (Hauptknopf auf Weiß, gleiche Farbe wie Anrufen). */
.dk-anruf__titel { margin: 0 0 6px; font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; line-height: 1.25; color: #211f1c; }
.dk-anruf__text { margin: 0; font-size: .95rem; line-height: 1.55; color: #5d574f; }
.dk-anruf__foto { margin: -22px -20px 18px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 22px 22px 0 0; background: #1c1a17; }
.dk-anruf__foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.dk-sterne { margin: 0 0 8px; color: #f5a623; font-size: 1.2rem; letter-spacing: 2px; line-height: 1; }
.dk-block { margin-top: 40px; padding-top: 32px; border-top: 1px solid #ece6db; }
.dk-block .dk-h2 { margin-bottom: 8px; }
.dk-block--erst { margin-top: 0; padding-top: 0; border-top: 0; }   /* erster Abschnitt ohne Ablauf darüber */
.dk-aktion { margin: 28px 0 0; }
.dk-text { margin: 0 0 18px; font-size: .96rem; line-height: 1.6; color: #5d574f; }
.dk-hilfe { margin-top: 40px; padding: 20px 20px 18px; border-radius: 18px; background: #faf7f2; }
.dk-hilfe h2 { margin: 0 0 4px; font-family: var(--font-heading); font-weight: 800; font-size: 1.06rem; color: #211f1c; }
.dk-hilfe p { margin: 0 0 12px; font-size: .92rem; line-height: 1.5; color: #5d574f; }
.dk-hilfe ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.dk-hilfe li { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid #ece6db; font-size: .9rem; font-weight: 600; color: #211f1c; }
.dk-liste { list-style: none; margin: 0 0 20px; padding: 0; }
.dk-liste li { position: relative; padding: 0 0 12px 30px; font-size: .96rem; line-height: 1.55; color: #3a3530; }
.dk-liste li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 8px; border-left: 2.5px solid #924545; border-bottom: 2.5px solid #924545; transform: rotate(-45deg); }
.dk-kopie { padding: 18px 18px 16px; border-radius: 18px; background: #faf7f2; }
.dk-kopie__text { margin: 0 0 14px; padding-left: 14px; border-left: 3px solid #e2dbd0; font-size: .98rem; line-height: 1.6; color: #211f1c; }
.dk-kopie__zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.dk-kopie__status { min-height: 1.2em; font-size: .88rem; font-weight: 600; color: #2f7a4f; }
.dk-link { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; font-size: .98rem; color: #924545; text-decoration: none; }
.dk-link:hover { text-decoration: underline; }
.dk-link svg { flex: none; }
@media (min-width: 900px) {
  .dk-kopf { padding-top: calc(var(--nav-height, 80px) + 64px); padding-bottom: 72px; }
  .dk-kopf::before { background: linear-gradient(90deg, rgba(22,20,18,.97) 0%, rgba(22,20,18,.95) 52%, rgba(22,20,18,.62) 100%); }
  .dk-kopf__bild img { object-position: 50% 35%; }
  .dk-kopf__raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 56px; }
  .dk-anruf { margin-bottom: 0; padding: 28px 26px 24px; }
  .dk-anruf__bild, .dk-anruf__bild img { width: 76px; height: 76px; }
  .dk-ablauf { padding: 64px 0 80px; }
  .dk-schritte { max-width: 640px; }
  .dk-block, .dk-hilfe { max-width: 640px; }
}
@media (prefers-reduced-motion: reduce) { .dk-knopf, .dk-video__play { transition: none; } }

