/* Neuer Stil (23.11.2026), wie /erstgespraech: eine Schrift (Hanken Grotesk, SIL OFL 1.1, lokal),
   neutrale Flächen, dunkle Tinte statt Braun. Wird NACH style.css geladen und überschreibt nur Darstellung.
   Eingebunden auf: /verkehrswertgutachten, /hauskaufberatung, /gutachten-erbschaft. */

@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/dateien/hanken-grotesk-latin-ext-wght.woff2) format('woff2');
  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; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/fonts/dateien/hanken-grotesk-latin-wght.woff2) format('woff2');
  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; }

:root {
  --color-bg: #F5F4F1;
  --color-surface: #ECEAE5;
  --color-primary: #16181B;
  --color-accent: #7C6748;
  --color-text: #2B2E33;
  --color-text-muted: #5E636B;
  --color-border: #DDDAD3;
  --font-heading: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.2s cubic-bezier(.16, 1, .3, 1);
}

body { font-size: 1.0625rem; line-height: 1.6; text-rendering: optimizeLegibility; }
::selection { background: #B0997D; color: #16181B; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 3.25rem; }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.25rem); letter-spacing: -.015em; line-height: 1.25; }

/* Kopfbereich der Seite: linksbündig auf Textbreite statt zentrierter Kasten */
.breadcrumb { max-width: 800px; margin: 0 auto; padding: 1.25rem 1.25rem 0; }
.breadcrumb .container { padding: 0; }
.page-header { background: transparent; border-bottom: 0; text-align: left; padding: 2rem 0 0; }
.page-header .container { max-width: 800px; padding: 0 1.25rem; }
.page-header h1 { max-width: none; margin: 0; }
.page-header p { max-width: 36rem; margin: 1.1rem 0 0; font-size: 1.2rem; line-height: 1.45; color: var(--color-text); }

.kontaktblock { background: transparent; border-bottom: 1px solid var(--color-border); text-align: left; padding: 1.75rem 0 2.5rem; }
.kontaktblock .container { max-width: 800px; padding: 0 1.25rem; }
.kontaktblock__text { color: var(--color-text-muted); margin-bottom: 1.1rem; max-width: 36rem; }
.kontaktblock__ctas { justify-content: flex-start; }

/* Knöpfe */
.btn { border-radius: 12px; border-width: 1px; font-size: 1rem; font-weight: 600; padding: .85rem 1.4rem; letter-spacing: -.005em; }
.btn--primary:hover { background: #000; border-color: #000; }
.btn--outline { border-color: #C9C5BC; background: #fff; }
.btn--outline:hover { background: #fff; color: var(--color-primary); border-color: var(--color-primary); }
.btn--white { border-color: #fff; }
.btn--white:hover { background: #ECEAE5; border-color: #ECEAE5; }
.nav__cta .btn { border-radius: 10px; }

/* Fließtext */
.content { padding-top: 1rem; }
.content h2 { border-bottom: 0; padding-bottom: 0; }
.content p, .content li { max-width: 68ch; }
.content strong { color: var(--color-primary); font-weight: 600; }
.content li { margin-bottom: .6rem; }
.content ul li::marker { color: var(--color-accent); }

/* Ablauf: schlichte Ziffer statt gefülltem Kreis */
.step { gap: 1.5rem; padding: 1.4rem 0; }
.step::before { background: transparent; color: var(--color-accent); border-radius: 0; width: 1.5rem; height: auto; align-items: flex-start; justify-content: flex-start; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.step__content p { font-size: 1rem; }

/* DEKRA-Hinweis: ruhige Fläche statt Verlauf und Versalien */
.dekra-badge { background: var(--color-surface); color: var(--color-text); border-radius: 12px; }
.dekra-badge__icon { background: var(--color-primary); width: 40px; height: 40px; }
.dekra-badge__icon svg { width: 22px; height: 22px; }
.dekra-badge__title { text-transform: none; letter-spacing: -.01em; font-weight: 600; font-size: 1rem; color: var(--color-primary); }
.dekra-badge__sub { opacity: 1; color: var(--color-text-muted); font-size: .9rem; }

/* Abschluss */
.section--primary a:not(.btn) { color: #fff; }
.cta-section p { color: #D5D2CB; }
.footer { color: #C9C6BF; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Seiten mit .section--hero (z. B. /gutachten-erbschaft) */
.section--hero { background: transparent; text-align: left; padding: 2rem 0 0; }
.section--hero .container { max-width: 800px; padding: 0 1.25rem; }
.section--hero h1 { margin: 0; max-width: none; }
.hero__subtitle { max-width: 36rem; margin: 1.1rem 0 0; font-size: 1.2rem; line-height: 1.45; color: var(--color-text); }

/* Inhalt ist ohne Skript und ohne Scrollen sichtbar */
.fade-in { opacity: 1 !important; transform: none !important; }
.content p, .content li, .container--text p, .container--text li { max-width: 70ch; }

/* Seiten, deren Text in der breiten Spalte steht (body.breit): Kopfbereich an derselben Kante */
.breit .breadcrumb, .breit .section--hero .container, .breit .kontaktblock .container { max-width: var(--max-width); padding-left: 1.25rem; padding-right: 1.25rem; }
.breit .section { padding-top: 2.5rem; padding-bottom: 1rem; }
.breit .section--primary { padding-top: 4rem; padding-bottom: 4rem; margin-top: 3rem; }
.breit .section h2:first-child { margin-top: 0; }

/* ===== Alle Seiten (seit 23.11.2026) ===== */
/* Kopfbereiche linksbündig an der Kante der jeweiligen Textspalte */
.hero:not(.hero--dark) { text-align: left; padding: 2.5rem 0 2rem; background: transparent; }
.hero:not(.hero--dark) h1 { margin: 0; max-width: 22ch; }
.hero:not(.hero--dark) p { margin-left: 0; margin-right: 0; max-width: 38rem; }
.hero:not(.hero--dark) .hero__cta, .hero:not(.hero--dark) .btn-group { justify-content: flex-start; }
.breadcrumb, .page-header .container, .section--hero .container, .kontaktblock .container { max-width: var(--max-width); padding-left: 1.25rem; padding-right: 1.25rem; }
body:has(.content) .breadcrumb, body:has(.content) .page-header .container, body:has(.content) .kontaktblock .container { max-width: 800px; }
.page-header.section { padding-top: 2rem; }

/* Knöpfe auf dunklen Flächen */
.hero--dark .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.hero--dark .btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.section--primary .btn--white, .cta-section .btn--white { color: var(--color-primary); }
.section--primary .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }

/* Karten, Tabellen, Formularfelder */
.card, .ratgeber-card, .anlass-item { border-radius: 14px; }
table th { letter-spacing: 0; text-transform: none; font-weight: 600; }
input, select, textarea { font-family: var(--font-body); border-radius: 10px; }
