/* Dental Yield – Website. Farben und Schriften nach CI/CD-Handbuch V1 */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --graphit: #1F2A30;
  --messing: #A08458;
  --messing-dunkel: #86693E;
  --porzellan: #F6F3EE;
  --sand: #ECE6DC;
  --warmgrau: #6B665F;
  --schiefer: #3E4C55;
  --haarlinie: #D9D2C6;
  --weiss: #FFFFFF;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --breite: 1160px;
  --rand: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { background: var(--porzellan); color: var(--graphit); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--messing-dunkel); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--graphit); }
:focus-visible { outline: 2px solid var(--messing-dunkel); outline-offset: 3px; }
.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typografie */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.005em; }
h1 { font-size: clamp(44px, 6.4vw, 80px); }
h2 { font-size: clamp(32px, 3.8vw, 48px); margin-bottom: 18px; }
h3 { font-size: 26px; margin-bottom: 8px; }
.lead { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--schiefer); max-width: 30em; }
.klein { font-size: 14px; color: var(--warmgrau); }
.marke { font-size: 15px; color: var(--messing-dunkel); font-weight: 500; margin-bottom: 14px; }
p + p { margin-top: 0.9em; }
.text { max-width: 38em; }
.zahl { font-variant-numeric: tabular-nums; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--haarlinie); background: var(--porzellan); position: sticky; top: 0; z-index: 20; }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }
.kopf .logo { margin-left: -18px; }
.kopf .logo img { height: 74px; width: auto; }
.navi { display: flex; gap: 30px; align-items: center; list-style: none; }
.navi a { color: var(--graphit); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 1px solid transparent; }
.navi a:hover, .navi a[aria-current="page"] { border-bottom-color: var(--messing); }
.anfrage-knopf { display: inline-flex; gap: 8px; align-items: center; }
.anfrage-knopf .zaehler { min-width: 22px; height: 22px; border-radius: 11px; background: var(--messing); color: var(--weiss); font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }
.anfrage-knopf .zaehler[data-leer="1"] { background: var(--haarlinie); color: var(--warmgrau); }
.menue { display: none; background: none; border: 1px solid var(--haarlinie); padding: 8px 12px; font: inherit; color: var(--graphit); cursor: pointer; }
@media (max-width: 900px) {
  .menue { display: block; }
  .navi { display: none; position: absolute; top: 92px; left: 0; right: 0; background: var(--porzellan); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--rand) 20px; border-bottom: 1px solid var(--haarlinie); }
  .navi.offen { display: flex; }
  .navi li { width: 100%; }
  .navi a { display: block; padding: 12px 0; border-bottom: 1px solid var(--haarlinie); }
  .kopf .logo img { height: 60px; }
}

/* Knöpfe */
.knopf { display: inline-block; font: 500 15px var(--sans); padding: 14px 24px; border-radius: 2px; text-decoration: none; cursor: pointer; border: 1px solid var(--graphit); background: var(--graphit); color: var(--porzellan); transition: background .15s, color .15s; }
.knopf:hover { background: var(--schiefer); border-color: var(--schiefer); color: var(--weiss); }
.knopf.zweit { background: transparent; color: var(--graphit); }
.knopf.zweit:hover { background: var(--sand); color: var(--graphit); border-color: var(--graphit); }
.knopf.hell { background: var(--porzellan); color: var(--graphit); border-color: var(--porzellan); }
.knopf.hell:hover { background: var(--sand); }
.knopf[disabled] { opacity: .5; cursor: default; }
.knopfreihe { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Abschnitte */
.abschnitt { padding: clamp(64px, 9vw, 120px) 0; }
.abschnitt.sand { background: var(--sand); }
.abschnitt.dunkel { background: var(--graphit); color: var(--porzellan); }
.abschnitt.dunkel .lead, .abschnitt.dunkel .klein { color: #C9C2B6; }
.abschnitt.dunkel a:not(.knopf) { color: #D8C39C; }
.trenn { border: 0; border-top: 1px solid var(--haarlinie); }

/* Startseite: Kopfbereich mit Rechnung */
.held { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.held .huelle { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.held h1 { margin-bottom: 28px; }
.held .lead { margin-bottom: 8px; }
@media (max-width: 960px) { .held .huelle { grid-template-columns: 1fr; } }

.rechnung { background: var(--weiss); border-top: 3px solid var(--messing); padding: 30px 32px 26px; box-shadow: 0 1px 0 var(--haarlinie), 0 24px 48px -32px rgba(31, 42, 48, .35); }
.rechnung h2 { font-size: 28px; margin-bottom: 4px; }
.rechnung .unter { font-size: 14px; color: var(--warmgrau); margin-bottom: 18px; }
.zeile { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--haarlinie); font-size: 15px; }
.zeile label { color: var(--schiefer); }
.zeile input { width: 120px; font: 500 16px var(--sans); text-align: right; padding: 7px 10px; border: 1px solid var(--haarlinie); background: var(--porzellan); color: var(--graphit); border-radius: 2px; font-variant-numeric: tabular-nums; }
.zeile input:focus { border-color: var(--messing-dunkel); outline: none; box-shadow: 0 0 0 2px rgba(160, 132, 88, .25); }
.zeile .einheit { color: var(--warmgrau); font-size: 13px; margin-left: 6px; display: inline-block; width: 26px; }
.zeile.ergebnis { border-bottom: 0; padding-top: 14px; }
.zeile.ergebnis span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.summe { display: grid; grid-template-columns: 1fr auto; align-items: baseline; border-top: 2px solid var(--graphit); margin-top: 8px; padding-top: 14px; }
.summe .betrag { font-family: var(--serif); font-weight: 600; font-size: 42px; font-variant-numeric: lining-nums proportional-nums; }
.rechnung .hinweis { font-size: 12.5px; color: var(--warmgrau); margin-top: 14px; line-height: 1.45; }

/* Dreispaltige Textblöcke ohne Karten */
.spalten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 40px; }
.spalten > div { border-top: 1px solid var(--graphit); padding-top: 18px; }
.spalten h3 { font-size: 24px; }
@media (max-width: 860px) { .spalten { grid-template-columns: 1fr; } }

/* Module als Abfolge */
.ablauf { list-style: none; counter-reset: modul; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); margin-top: 48px; }
.ablauf li { counter-increment: modul; padding: 24px 0 30px; border-top: 1px solid var(--haarlinie); position: relative; }
.ablauf li::before { content: counter(modul); font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 600; font-size: 44px; color: var(--messing); line-height: 1; display: block; margin-bottom: 14px; }
.ablauf h3 { font-size: 22px; }
.ablauf p { font-size: 15px; color: var(--schiefer); }
.ablauf .paket { position: absolute; top: -12px; left: 0; right: 0; height: 3px; }
.pakete-leiste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); margin-top: 8px; font-size: 15px; color: var(--warmgrau); }
.pakete-leiste span { border-top: 2px solid var(--schiefer); padding-top: 10px; }
.pakete-leiste b { color: var(--graphit); font-weight: 600; }
@media (max-width: 960px) {
  .ablauf { grid-template-columns: 1fr 1fr; }
  .pakete-leiste { grid-template-columns: 1fr; gap: 10px; }
}

/* Zahlen des Leitkunden */
.fakten { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 44px; }
.fakt .wert { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 4.4vw, 56px); line-height: 1; font-variant-numeric: lining-nums proportional-nums; }
.fakt:first-child .wert { white-space: nowrap; }
.fakt .was { font-size: 15px; margin-top: 10px; max-width: 22em; }
@media (max-width: 860px) { .fakten { grid-template-columns: 1fr; } }

/* Zwei Spalten */
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; } }
.liste { list-style: none; }
.liste li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--haarlinie); position: relative; }
.liste li::before { content: ""; position: absolute; left: 0; top: 23px; width: 12px; height: 1px; background: var(--messing); }

/* Seitenkopf Unterseiten */
.seitenkopf { padding: clamp(56px, 7vw, 96px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--haarlinie); }
.seitenkopf h1 { font-size: clamp(42px, 5.4vw, 68px); margin-bottom: 20px; }

/* Module ausführlich */
.modul { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding: 44px 0; border-bottom: 1px solid var(--haarlinie); }
.modul .nr { font-family: var(--serif); font-weight: 600; font-size: 72px; line-height: .9; color: var(--messing); }
.modul .ergebnisse { font-size: 15px; }
.modul .ergebnisse strong { display: block; font-weight: 600; margin-bottom: 6px; color: var(--schiefer); }
@media (max-width: 860px) { .modul { grid-template-columns: 1fr; } .modul .nr { font-size: 52px; } }

/* Preisliste / Shop */
.gruppe { padding: clamp(48px, 6vw, 80px) 0 12px; }
.gruppe > .huelle > p { max-width: 40em; color: var(--schiefer); }
.preisliste { margin-top: 28px; border-top: 1px solid var(--graphit); }
.posten { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 150px 220px; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--haarlinie); align-items: start; }
.posten h3 { font-size: 26px; }
.posten .art { font-size: 13.5px; color: var(--warmgrau); }
.posten ul { list-style: none; font-size: 15px; color: var(--schiefer); }
.posten ul li { padding: 3px 0 3px 18px; position: relative; }
.posten ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 9px; height: 1px; background: var(--messing); }
.posten .preis { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; font-variant-numeric: lining-nums proportional-nums; text-align: right; }
.posten .preis small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12.5px; color: var(--warmgrau); margin-top: 4px; }
.posten .aktion { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.posten .aktion .knopf { text-align: center; }
.posten.hervor { background: linear-gradient(var(--weiss), var(--weiss)) padding-box; box-shadow: inset 3px 0 0 var(--messing); padding-left: 22px; padding-right: 22px; margin: 0 -22px; }
@media (max-width: 1000px) {
  .posten { grid-template-columns: 1fr 1fr; }
  .posten .preis { text-align: left; }
}
@media (max-width: 620px) { .posten { grid-template-columns: 1fr; } .posten.hervor { margin: 0; } }

/* Anfrageliste (Seitenleiste) */
.leiste { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--porzellan); border-left: 1px solid var(--haarlinie); transform: translateX(100%); transition: transform .25s ease, visibility 0s .25s; visibility: hidden; z-index: 40; display: flex; flex-direction: column; }
.leiste.offen { transform: none; visibility: visible; transition: transform .25s ease; box-shadow: -24px 0 48px -32px rgba(31, 42, 48, .5); }
.leiste header { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--haarlinie); }
.leiste header h2 { font-size: 30px; margin: 0; }
.leiste .inhalt { flex: 1; overflow: auto; padding: 8px 26px; }
.leiste footer { padding: 20px 26px 26px; border-top: 1px solid var(--haarlinie); }
.leiste .eintrag { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--haarlinie); font-size: 15px; }
.leiste .eintrag button { grid-column: 2; background: none; border: 0; color: var(--warmgrau); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }
.leiste .leer { padding: 32px 0; color: var(--warmgrau); }
.schliessen { background: none; border: 1px solid var(--haarlinie); font: inherit; padding: 6px 12px; cursor: pointer; color: var(--graphit); }
.schleier { position: fixed; inset: 0; background: rgba(31, 42, 48, .35); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 30; }
.schleier.offen { opacity: 1; pointer-events: auto; }
.meldung { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--graphit); color: var(--porzellan); padding: 12px 20px; font-size: 14.5px; opacity: 0; transition: opacity .2s, transform .2s; z-index: 50; pointer-events: none; }
.meldung.zeigen { opacity: 1; transform: translate(-50%, 0); }

/* Formular */
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-top: 12px; }
.formular .ganz { grid-column: 1 / -1; }
.formular label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--schiefer); }
.formular input, .formular textarea, .formular select { width: 100%; font: 16px var(--sans); padding: 12px 14px; border: 1px solid var(--haarlinie); background: var(--weiss); color: var(--graphit); border-radius: 2px; }
.formular textarea { min-height: 140px; resize: vertical; }
.formular input:focus, .formular textarea:focus, .formular select:focus { border-color: var(--messing-dunkel); outline: none; box-shadow: 0 0 0 2px rgba(160, 132, 88, .25); }
.formular .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--schiefer); }
.formular .check input { width: auto; margin-top: 4px; }
.formular .fehler { color: #8A2E2E; font-size: 14px; }
.anfrage-box { background: var(--weiss); border-top: 2px solid var(--messing); padding: 18px 20px; font-size: 15px; }
@media (max-width: 700px) { .formular { grid-template-columns: 1fr; } }

/* Rechtstexte */
.recht { max-width: 46em; }
.recht h2 { font-size: 30px; margin: 40px 0 10px; }
.recht h3 { font-size: 22px; margin: 26px 0 6px; }
.recht p, .recht li { font-size: 16px; }
.recht ul { padding-left: 22px; }
.entwurf { background: #F3E9D6; border-left: 3px solid var(--messing); padding: 14px 18px; font-size: 15px; margin-bottom: 28px; }

/* Fuß */
.fuss { background: var(--graphit); color: #C9C2B6; padding: 64px 0 40px; font-size: 15px; }
.fuss .huelle { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.fuss img { height: 56px; width: auto; margin-bottom: 18px; }
.fuss a { color: var(--porzellan); text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss ul { list-style: none; }
.fuss li { padding: 4px 0; }
.fuss .unten { grid-column: 1 / -1; border-top: 1px solid #3A4750; padding-top: 22px; margin-top: 18px; font-size: 13px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 760px) { .fuss .huelle { grid-template-columns: 1fr; } }

@media (max-width: 560px) {
  .fakt:first-child .wert { white-space: normal; }
  .zeile { grid-template-columns: 1fr auto; gap: 10px; font-size: 14.5px; }
  .zeile input { width: 84px; }
  .rechnung { padding: 24px 20px 20px; }
  .fakt .wert { white-space: normal; }
  .ablauf { grid-template-columns: 1fr; }
}
.ablauf.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .ablauf.vier { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ablauf.vier { grid-template-columns: 1fr; } }

/* Ergänzungen 30.10.2026: Ratgeber, Brotkrumen, Tabellen, Fuß mit vier Spalten, Social-Landing-Pages */
#yield-rechnung { scroll-margin-top: 112px; }
.pfad ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--warmgrau); margin-bottom: 22px; }
.pfad li + li::before { content: "›"; margin-right: 8px; color: var(--messing); }
.pfad a { color: var(--warmgrau); }
.stand { font-size: 14px; color: var(--warmgrau); margin-top: 18px; }
.seitenkopf h1 { max-width: 20em; }

.fuss .huelle { grid-template-columns: 1.4fr 1fr 1.1fr 1fr; }
.fuss-titel { color: var(--porzellan); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 1000px) { .fuss .huelle { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fuss .huelle { grid-template-columns: 1fr; } }

.begriffe dt { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.2; padding-top: 16px; border-top: 1px solid var(--haarlinie); }
.begriffe dt:first-child { border-top: 1px solid var(--graphit); }
.begriffe dd { color: var(--schiefer); padding: 4px 0 16px; }

.tabelle-huelle { overflow-x: auto; margin-top: 28px; -webkit-overflow-scrolling: touch; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--weiss); min-width: 520px; }
.tabelle caption { caption-side: top; text-align: left; font-size: 14px; color: var(--warmgrau); padding-bottom: 10px; }
.tabelle th, .tabelle td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--haarlinie); vertical-align: top; }
.tabelle thead th { font-weight: 600; font-size: 14px; color: var(--schiefer); border-bottom: 2px solid var(--graphit); background: var(--porzellan); }
.tabelle tbody th { font-weight: 500; }
.tabelle .zahl { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tabelle tr.summe-zeile th, .tabelle tr.summe-zeile td { font-weight: 600; border-top: 2px solid var(--graphit); }
.abschnitt.sand .tabelle thead th { background: var(--sand); }

.faq > * { max-width: 860px; }
.faq h3 { font-size: 25px; margin-top: 34px; }
.faq p { max-width: 42em; color: var(--schiefer); }
.hinweisbox { background: var(--weiss); border-left: 3px solid var(--messing); padding: 22px 26px; max-width: 48em; margin-top: 10px; }
@media (max-width: 560px) { .tabelle { font-size: 14px; min-width: 0; } .tabelle th, .tabelle td { padding: 10px 7px; } .tabelle thead th { font-size: 12.5px; } .tabelle .zahl { white-space: normal; } .hinweisbox { padding: 18px 18px; } }

/* Social-Landing-Pages (Link in der Bio) */
.bio-seite { min-height: 100vh; display: flex; flex-direction: column; }
.bio-kopf { padding: 22px 20px 0; border-bottom: 0; }
.bio-kopf img { height: 66px; width: auto; margin: 0 auto; }
.bio { flex: 1; width: 100%; max-width: 540px; margin: 0 auto; padding: 22px 20px 40px; text-align: center; }
.bio .marke { margin-bottom: 10px; }
.bio h1 { font-size: clamp(42px, 11vw, 60px); margin-bottom: 16px; }
.bio .lead { font-size: 21px; margin: 0 auto 28px; }
.bio-knoepfe { display: flex; flex-direction: column; gap: 12px; }
.bio-knoepfe .knopf { display: block; text-align: center; padding: 18px 20px; font-size: 17px; }
.bio-vertrauen { text-align: left; margin-top: 40px; }
.bio-vertrauen h2 { font-size: 26px; margin-bottom: 6px; }
.bio-vertrauen .liste li { font-size: 15.5px; }
.bio-fuss { text-align: center; font-size: 14px; color: var(--warmgrau); padding: 22px 20px 34px; border-top: 1px solid var(--haarlinie); }
.bio-fuss p + p { margin-top: 6px; }
@media (max-width: 560px) {
  .tabelle.stapel thead { display: none; }
  .tabelle.stapel tr { display: block; border-bottom: 1px solid var(--haarlinie); padding: 10px 0; }
  .tabelle.stapel th, .tabelle.stapel td { display: block; border: 0; padding: 3px 14px; }
  .tabelle.stapel tbody th { font-weight: 600; padding-top: 6px; }
  .tabelle.stapel td::before { content: attr(data-label) ": "; font-weight: 500; color: var(--warmgrau); }
}
