/* Steuerberatung Molz: Vorab-Startseite (Entwurf 8). Farben und Schriften aus Domis Logo-Leitfaden, Balken oben und unten wie die Unterlagen-Checkliste. */
[hidden] { display: none !important; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/schriften/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/schriften/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/schriften/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/schriften/poppins-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #344960;
  --navy-tief: #24344A;   /* Kopf und Fuß, wie die Checkliste */
  --tinte: #1F2E3F;
  --kupfer: #CC8561;
  --kupfer-text: #9C5636;
  --sand: #E3DAD0;
  --sand-hell: #F4F0EB;
  --grau: #56677A;
  --linie: #DCD4CB;
  --weiss: #FFFFFF;
  --schrift: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --radius: 6px;
  --breite: 74rem;
  --rand: clamp(1.25rem, 4vw, 2.5rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; color: var(--tinte); background: var(--weiss); min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0; text-wrap: balance; color: var(--navy); }
p { margin: 0; text-wrap: pretty; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--kupfer-text); }
::selection { background: var(--sand); color: var(--tinte); }
:focus-visible { outline: 2px solid var(--kupfer-text); outline-offset: 3px; border-radius: 2px; }
address { font-style: normal; }

.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sand); color: var(--tinte); padding: 0.6rem 1rem; border-radius: var(--radius); }
.sprung:focus { top: 1rem; color: var(--tinte); }

/* Kopf: Marineblauer Balken, Logo größer als in Entwurf 7 */
.kopf { background: var(--navy-tief); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 1.1rem var(--rand); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.marke { display: block; }
.marke img { width: clamp(180px, 46vw, 250px); }
.kopf a:focus-visible, .fuss a:focus-visible { outline-color: var(--sand); }
.kopf-tel { color: #fff; text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.6rem 0; white-space: nowrap; }
.kopf-tel:hover { color: var(--sand); }

/* Einstieg */
.held { max-width: var(--breite); margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--rand) clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.held-text { position: relative; padding-left: 1.75rem; display: grid; gap: 1.5rem; }
.balken { position: absolute; left: 0; top: 0.3rem; bottom: 0.3rem; width: 4px; background: var(--sand); border-radius: 2px; transform-origin: top; animation: balken 900ms var(--ease-out) both; }
.held h1 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; animation: auftauchen 700ms 200ms var(--ease-out) both; }
.h1-zeile { display: block; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.04em; color: var(--kupfer-text); margin-bottom: 0.6rem; }
.lead { max-width: 56ch; animation: auftauchen 700ms 300ms var(--ease-out) both; }
.vorort { border-top: 1px solid var(--linie); padding-top: 1.25rem; animation: auftauchen 700ms 400ms var(--ease-out) both; }
.vorort h2 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.2rem; }
.vorort p { color: var(--grau); }
.foto { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
@keyframes balken { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Hinweis „folgt in Kürze“ mit Kontakt */
.bald { background: var(--sand-hell); border-top: 1px solid var(--linie); }
.bald-innen { max-width: var(--breite); margin: 0 auto; padding: clamp(2.5rem, 5vw, 3.5rem) var(--rand); display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem clamp(2rem, 4vw, 3.5rem); align-items: start; }
.bald h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.bald-text p { color: var(--grau); }
.bald-kontakt { display: grid; gap: 0.35rem; }
.bald-kontakt a { display: inline-block; padding: 0.2rem 0; }
.bald-tel a { font-size: 1.25rem; font-weight: 500; text-decoration: none; }
.bald-kontakt a[href^="mailto"] { overflow-wrap: anywhere; }
.bald-zeiten h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.4rem; }
.bald-zeiten dl { margin: 0; }
.bald-zeiten dt { font-weight: 500; font-size: 0.95rem; }
.bald-zeiten dd { margin: 0 0 0.6rem; color: var(--grau); font-size: 0.95rem; }

/* Rechtstexte */
.rechtstext section { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--rand); display: grid; gap: 1.25rem; }
.rechtstext h1 { font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 500; }
.rechtstext h2 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 500; margin-top: 1rem; }
.rechtstext h3 { font-size: 1.1rem; font-weight: 500; margin-top: 0.75rem; }
.rechtstext h4 { font-size: 1rem; font-weight: 500; color: var(--tinte); }
.rechtstext ul { margin: 0; padding-left: 1.25rem; display: grid; gap: 0.5rem; }
.rechtstext p, .rechtstext li { overflow-wrap: break-word; hyphens: auto; }
.platzhalter { background: #FBEDE5; border-left: 4px solid var(--kupfer); padding: 1rem 1.25rem; }

/* Fuß: Marineblauer Balken wie die Checkliste */
.fuss { background: var(--navy-tief); color: #E7ECF1; font-size: 0.9rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 2.25rem var(--rand) 2rem; display: grid; grid-template-columns: 1fr auto; gap: 1.25rem 2rem; align-items: start; }
.fuss a { color: #fff; }
.fuss a:hover { color: var(--sand); }
.fuss nav { display: flex; gap: 1.5rem; }
.fuss nav a { display: inline-block; padding: 0.5rem 0; }
.fuss-maronex { grid-column: 1 / -1; font-size: 0.8rem; color: #C6D0DA; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14); }
.fuss-maronex a { color: #E7ECF1; }

@media (max-width: 900px) {
  .held { grid-template-columns: 1fr; }
  .held-foto { aspect-ratio: 1 / 1; max-width: 30rem; }
  .held-foto img { object-position: 50% 12%; }
  .bald-innen { grid-template-columns: 1fr 1fr; }
  .bald-text { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .bald-innen { grid-template-columns: 1fr; }
  .fuss-innen { grid-template-columns: 1fr; }
  .kopf-tel { font-size: 0.875rem; }
  .held-text { padding-left: 1.25rem; }
}
@media (max-width: 400px) {
  .kopf-tel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .balken, .held h1, .lead, .vorort { animation: none; }
}
