/* Diamantica – angelehnt an die bisherige Webseite (Script-Logo, Kupfer #bb6b4e,
   Pfirsich #fadbc6, Creme #fff2ec, Serifenschrift), modern umgesetzt.
   Kupfer für Knöpfe/Text abgedunkelt (config FARBE #9c5639, Kontrast ≥ 5:1). */

:root {
  --grund: #fffaf6;
  --flaeche: #ffffff;
  --warm: #fbefe6;
  --pfirsich: #f6ddcc;
  --text: #33261f;
  --text-2: #6e5a4f;
  --linie: #eedfd3;
  --schrift: "Jost", -apple-system, "Segoe UI", sans-serif;
  --titel: "Cormorant Garamond", Georgia, serif;
  --radius: 14px;
}

body { font-size: 17px; }
h1, h2, h3 { font-weight: 500; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--haupt); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
.knopf { letter-spacing: .02em; font-weight: 500; padding: .8em 1.6em; }
.knopf-gross { padding: 1em 2em; }

.d-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.d-schmal { max-width: 820px; }
.d-mitte { text-align: center; }
.d-sprung { position: absolute; left: -999px; }
.d-sprung:focus { left: 16px; top: 16px; z-index: 50; background: #fff; padding: 8px 14px; }

.d-vorzeile { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--haupt); margin-bottom: 1rem; }
.d-einleitung { font-size: 1.15rem; color: var(--text-2); max-width: 60ch; }
.d-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.d-knopf-rand { display: inline-block; padding: .75em 1.5em; border: 1.5px solid var(--haupt); border-radius: 999px; color: var(--haupt); text-decoration: none; font-weight: 500; }
.d-knopf-rand:hover { background: var(--haupt); color: #fff; }
.d-knopf-hell { display: inline-block; padding: .8em 1.6em; border-radius: 999px; background: #fff; color: var(--haupt-dunkel); text-decoration: none; font-weight: 600; }
.d-pfeil { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.d-pfeil::after { content: " →"; }

/* Diamant-Trenner */
.d-trenner { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 14px; }
.d-trenner::before, .d-trenner::after { content: ""; width: 48px; height: 1px; background: var(--haupt); opacity: .5; }
.d-trenner i { width: 9px; height: 9px; background: var(--haupt); transform: rotate(45deg); }

/* Kopf */
.d-kopf { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 246, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie); }
.d-kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.d-logo img { display: block; height: 64px; width: auto; }
.d-menu summary { display: none; }
.d-menu nav { display: flex; align-items: center; gap: 4px 20px; flex-wrap: wrap; justify-content: flex-end; }
.d-menu nav a:not(.knopf) { color: var(--text); text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.d-menu nav a:not(.knopf):hover, .d-menu nav a[aria-current] { border-color: var(--haupt); color: var(--haupt); }
.d-menu nav .knopf { margin-left: 8px; padding: .6em 1.3em; }

@media (max-width: 1020px) {
  .d-menu summary { display: grid; gap: 5px; width: 44px; height: 44px; place-content: center; cursor: pointer; list-style: none; border-radius: 50%; }
  .d-menu summary::-webkit-details-marker { display: none; }
  .d-menu summary span { width: 22px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
  .d-menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .d-menu[open] summary span:nth-child(2) { opacity: 0; }
  .d-menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .d-menu nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--grund); border-bottom: 1px solid var(--linie); padding: 8px 20px 20px; box-shadow: 0 20px 30px rgba(51, 38, 31, .08); }
  .d-menu nav a:not(.knopf) { padding: 14px 0; border-bottom: 1px solid var(--linie); font-size: 1.05rem; }
  .d-menu nav .knopf { margin: 16px 0 0; text-align: center; }
  .d-logo img { height: 52px; }
  .d-kopf-innen { min-height: 70px; }
}

/* Hero */
.d-held { padding: clamp(40px, 7vw, 96px) 0; background: radial-gradient(ellipse at 85% 20%, var(--pfirsich), transparent 55%), var(--grund); overflow: hidden; }
.d-held-raster { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.d-held h1 { margin-bottom: .45em; }
.d-unterschrift { font-family: var(--titel); font-style: italic; font-size: 1.3rem; color: var(--haupt); }
.d-unterschrift::before { content: "— "; }
.d-frei { display: inline-flex; align-items: center; gap: 10px; margin-top: 1.4rem; padding: 8px 16px; background: #fff; border: 1px solid var(--linie); border-radius: 999px; font-size: .92rem; color: var(--text-2); }
.d-frei span { width: 8px; height: 8px; border-radius: 50%; background: #2f8a5b; box-shadow: 0 0 0 4px rgba(47, 138, 91, .15); }
.d-frei strong { color: var(--text); font-weight: 600; }
.d-held-bild { position: relative; justify-self: center; width: min(100%, 460px); }
.d-bogen { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: 0 30px 60px rgba(120, 70, 45, .18); }
.d-held-bild::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--haupt); opacity: .35; border-radius: 999px 999px var(--radius) var(--radius); z-index: -1; }
.d-angebot { position: absolute; left: -28px; bottom: 36px; display: grid; gap: 2px; background: #fff; padding: 16px 22px; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(51, 38, 31, .14); color: var(--text); text-decoration: none; }
.d-angebot small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--haupt); font-weight: 600; }
.d-angebot strong { font-family: var(--titel); font-size: 1.5rem; font-weight: 600; }
.d-angebot s { color: var(--text-2); font-size: .9em; margin-left: 4px; }

/* Abschnitte */
.d-abschnitt { padding: clamp(56px, 8vw, 104px) 0; }
.d-abschnitt-oben { padding-top: 24px; }
.d-abschnitt-zart { background: var(--warm); }
.d-abschnitt-kupfer { background: linear-gradient(120deg, var(--haupt-dunkel), var(--haupt)); color: #fff; }
.d-abschnitt-kupfer h2 { color: #fff; }
.d-abschnitt-kupfer p { color: rgba(255, 255, 255, .88); }
.d-titel-mitte { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.d-titel-mitte p { color: var(--text-2); }
.d-seitenkopf { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); background: radial-gradient(ellipse at 90% 0%, var(--pfirsich), transparent 50%); }

.d-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.d-zwei-oben { align-items: start; }
.d-wechsel { display: grid; gap: clamp(56px, 8vw, 96px); }
.d-wechsel .d-zwei:nth-child(even) > :first-child { order: 2; }
.d-drei-spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.d-bild-rahmen img, .d-portrait img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(120, 70, 45, .12); }
.d-bild-rahmen { max-width: 440px; justify-self: center; }
.d-portrait { max-width: 400px; justify-self: center; }
.d-portrait img { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }

/* Karten */
.d-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.d-karte { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); border: 1px solid var(--linie); transition: transform .25s, box-shadow .25s; }
.d-karte:hover { transform: translateY(-4px); box-shadow: 0 24px 40px rgba(120, 70, 45, .14); }
.d-karte img { width: 100%; height: 240px; object-fit: cover; }
.d-karte-text { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.d-karte-text strong { font-family: var(--titel); font-size: 1.7rem; font-weight: 600; }
.d-karte-text span { color: var(--text-2); flex: 1; }
.d-karte-text em { font-style: normal; font-weight: 600; color: var(--haupt); }

/* Schritte, Fakten, Listen */
.d-schritte { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.d-schritte li { counter-increment: s; padding: 28px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); display: grid; gap: 6px; }
.d-schritte li::before { content: "0" counter(s); font-family: var(--titel); font-size: 2.4rem; color: var(--haupt); line-height: 1; }
.d-schritte strong { font-size: 1.1rem; font-weight: 600; }
.d-schritte span { color: var(--text-2); }
.d-fakten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.d-fakten div { background: #fff; border-radius: var(--radius); padding: 32px 20px; }
.d-fakten strong { display: block; font-family: var(--titel); font-size: 2.6rem; font-weight: 600; color: var(--haupt); line-height: 1.1; }
.d-fakten span { color: var(--text-2); }
.d-tafel { background: var(--warm); border-radius: var(--radius); padding: 32px; }
.d-abschnitt-zart .d-tafel { background: #fff; }
.d-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.d-liste li { position: relative; padding-left: 26px; }
.d-liste li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; background: var(--haupt); transform: rotate(45deg); }
.d-hinweis { text-align: center; max-width: 720px; }
.d-hinweis p { font-size: 1.1rem; margin: 0; }
.d-kontakt-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.d-kontakt-band .d-knoepfe { margin: 0; }

/* Preisliste */
.d-preise { margin: 2rem 0 2.6rem; }
.d-preise h3 { font-size: 1.6rem; margin-bottom: .6rem; padding-bottom: .4rem; border-bottom: 1px solid var(--linie); }
.d-preise ul { list-style: none; margin: 0; padding: 0; }
.d-preise a { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 12px; padding: 14px 10px; margin: 0 -10px; border-radius: 10px; color: var(--text); text-decoration: none; }
.d-preise a:hover { background: var(--warm); }
.d-abschnitt-zart .d-preise a:hover { background: #fff; }
.d-preis-name { font-weight: 500; }
.d-preis-linie { border-bottom: 1.5px dotted var(--linie); transform: translateY(-4px); }
.d-preis-betrag { font-weight: 600; color: var(--haupt); white-space: nowrap; }
.d-preise small { grid-column: 1 / -1; color: var(--text-2); font-size: .88rem; }
.d-preise-titel { margin-top: 3rem; }

/* Galerie */
.d-galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.d-galerie a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--warm); }
.d-galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.d-galerie a:hover img { transform: scale(1.05); }
.d-gross { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); }
.d-gross::backdrop { background: rgba(30, 20, 15, .85); }
.d-gross img { display: block; max-width: 100%; max-height: 86vh; border-radius: 10px; }
.d-gross button { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.4rem; cursor: pointer; }

/* Zeitleiste */
.d-zeitleiste { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--haupt); }
.d-zeitleiste li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0 10px 28px; }
.d-zeitleiste li::before { content: ""; position: absolute; left: -5px; top: 1.05em; width: 9px; height: 9px; background: var(--haupt); transform: rotate(45deg); }
.d-zeitleiste time { font-weight: 600; color: var(--haupt); }

/* Fuss */
.d-fuss { background: #2b201b; color: #e9dcd3; padding: 64px 0 24px; margin-top: 0; }
.d-fuss a { color: #fff; }
.d-fuss .knopf { color: #fff; }
.d-fuss-raster { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 32px; }
.d-fuss-name { font-family: var(--titel); font-size: 2rem; color: #fff; margin-bottom: .4rem; }
.d-fuss-titel { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--pfirsich); font-weight: 600; }
.d-partner { display: flex; gap: 20px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.d-partner img { height: 56px; width: auto; border-radius: 6px; background: #fff; padding: 4px; }
.d-fuss-unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 28px; font-size: .88rem; color: #bfaea3; }
.d-fuss-unten a { color: #bfaea3; }

/* Handy: feste Leiste unten */
.d-mobil-leiste { display: none; }
@media (max-width: 760px) {
  .d-held-raster, .d-zwei, .d-karten, .d-schritte, .d-fakten, .d-drei-spalten, .d-fuss-raster { grid-template-columns: 1fr; }
  .d-wechsel .d-zwei:nth-child(even) > :first-child { order: 0; }
  .d-held-bild { width: min(100%, 360px); }
  .d-angebot { left: 0; bottom: 20px; }
  .d-zeitleiste li { grid-template-columns: 1fr; gap: 0; }
  .d-preise a { grid-template-columns: 1fr auto; }
  .d-preis-linie { display: none; }
  .d-mobil-leiste { display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; padding: 8px; background: rgba(255, 255, 255, .96); border-radius: 999px; box-shadow: 0 10px 30px rgba(51, 38, 31, .2); }
  .d-mobil-leiste a { flex: 1; text-align: center; padding: .75em; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; }
  .d-mobil-leiste .knopf { flex: 1.6; color: #fff; }
  body:has(.d-mobil-leiste) .d-fuss { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
