/* stb-kaik.de – Gestaltung nach Entwurf B (19.11.2026) */
@font-face { font-family: "Lato"; src: url("/assets/schrift/lato-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/assets/schrift/lato-700.woff") format("woff"); font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
  --akzent: #ff8b00;      /* Orange aus dem Logo */
  --rot: #b20018;         /* Rot aus dem Logo, Links */
  --rot-dunkel: #85000f;
  --erde: #5f594b;        /* Menüleiste der alten Seite */
  --erde-dunkel: #3f3b32;
  --sand: #f6f4ef;
  --sand-dunkel: #ebe8e1;
  --linie: #ddd8cc;
  --text: #2b2925;
  --text-2: #4a463d;
  --breite: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 18px; line-height: 1.6; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--rot); text-underline-offset: 2px; }
a:hover { color: var(--rot-dunkel); }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; }
h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 700; }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 8px 12px; }
.klein { font-size: 15px; color: var(--text-2); }

/* Kopf */
.kopf { border-bottom: 4px solid var(--akzent); background: #fff; position: relative; z-index: 5; }
.kopf-innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 16px; padding-bottom: 16px; }
.marke { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo { width: 76px; height: 56px; flex: none; display: block; }
.marke-text { display: flex; flex-direction: column; }
.marke-name { font-size: 21px; color: #6e6757; }
.marke-name strong { color: var(--rot); }
.marke-ort { font-size: 13px; color: #6e6757; letter-spacing: .08em; text-transform: uppercase; }

.hauptmenue > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.hauptmenue li { position: relative; }
.hauptmenue > ul > li > a { display: block; padding: 12px 14px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 16px; }
.hauptmenue > ul > li.aktiv > a { box-shadow: inset 0 -3px 0 var(--akzent); }
.hauptmenue > ul > li > a:hover { color: var(--rot); }
.hauptmenue .intern a { background: var(--erde); color: #fff; margin-left: 8px; padding: 11px 18px; font-size: 15px; }
.hauptmenue .intern a:hover { background: var(--erde-dunkel); color: #fff; }
.unter { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 280px; background: #fff; border: 1px solid var(--linie); border-top: 3px solid var(--akzent); box-shadow: 0 8px 24px rgba(0,0,0,.08); display: none; }
.unter a { display: block; padding: 8px 18px; color: var(--text); text-decoration: none; font-size: 16px; }
.unter a:hover, .unter a[aria-current] { background: var(--sand); color: var(--rot); }
.hat-unter:hover > .unter, .hat-unter:focus-within > .unter { display: block; }
.menue-knopf { display: none; }

@media (max-width: 960px) {
  .menue-knopf { display: block; }
  .menue-knopf summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 12px; border: 1px solid var(--linie); }
  .menue-knopf summary::-webkit-details-marker { display: none; }
  .menue-knopf summary span { display: block; height: 2px; background: var(--text); }
  .hauptmenue { display: none; width: 100%; }
  .menue-knopf[open] ~ .hauptmenue { display: block; }
  .hauptmenue > ul { flex-direction: column; align-items: stretch; border-top: 1px solid var(--linie); padding-top: 8px; }
  .hauptmenue > ul > li > a { padding: 12px 4px; }
  .hauptmenue > ul > li.aktiv > a { box-shadow: inset 4px 0 0 var(--akzent); padding-left: 14px; }
  .unter, .hat-unter:hover > .unter, .hat-unter:focus-within > .unter { display: none; }
  .hauptmenue .intern a { margin: 8px 0 0; text-align: center; }
  .marke-name { font-size: 18px; }
}

/* Knöpfe */
.knopf { display: inline-block; padding: 12px 22px; border: 2px solid var(--erde); color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.3; background: #fff; }
.knopf:hover { background: var(--sand); color: var(--text); }
.knopf-haupt { background: var(--rot); border-color: var(--rot); color: #fff; }
.knopf-haupt:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: #fff; }
.knopf-akzent { background: var(--akzent); border-color: var(--akzent); color: var(--text); }
.knopf-akzent:hover { background: #e67d00; border-color: #e67d00; color: var(--text); }
.knopf-hell { background: transparent; border-color: #fff; color: #fff; }
.knopf-hell:hover { background: rgba(255,255,255,.12); color: #fff; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Startseite */
.buehne { background: var(--erde); color: #fff; }
.buehne-innen { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.buehne-text { flex: 3 1 480px; }
.buehne h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 700; }
.buehne .einleitung { color: #f1eee7; font-size: 20px; }
.buehne-bild { flex: 2 1 300px; min-height: 280px; background: #4c473c; display: flex; align-items: center; justify-content: center; color: #d6d1c4; font-size: 15px; }
.leiste-vorteile { background: var(--sand); padding: 22px 0; }
.drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.drei > div { display: flex; flex-direction: column; gap: 2px; }
.drei span { font-size: 15px; color: var(--text-2); }
.abschnitt { padding: 64px 0; }
.abschnitt-getoent { background: var(--sand); }
.vorspann { font-size: 19px; color: var(--text-2); max-width: 760px; }
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.liste-zweispaltig { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.liste-zweispaltig a { display: block; padding: 13px 0; border-bottom: 1px solid var(--linie); color: var(--text); text-decoration: none; font-weight: 700; }
.liste-zweispaltig a:hover { color: var(--rot); }
.orte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.orte a { display: block; background: var(--sand); padding: 10px 16px; color: var(--text); text-decoration: none; }
.orte a:hover { background: var(--sand-dunkel); color: var(--rot); }

/* Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 28px; }
.kacheln-drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kachel { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--linie); border-top: 4px solid var(--akzent); color: var(--text); text-decoration: none; background: #fff; }
.kachel:hover { border-color: var(--erde); border-top-color: var(--akzent); }
.kachel-titel { font-size: 19px; font-weight: 700; }
.kachel-text { font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* Unterseiten */
.seitenkopf { background: var(--sand); padding: 22px 0 30px; border-bottom: 1px solid var(--linie); }
.seitenkopf .einleitung { font-size: 20px; color: var(--text-2); max-width: 780px; margin: 0; }
.krumen ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--text-2); }
.krumen li + li::before { content: "›"; margin: 0 6px 0 2px; }
.krumen a { color: var(--text-2); }
.spalten { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 44px; padding-bottom: 64px; align-items: flex-start; }
.text { flex: 999 1 560px; min-width: 0; max-width: 780px; }
.text h2 { margin-top: 1.4em; font-size: 26px; }
.text h3 { margin-top: 1.2em; }
.text ul, .text ol { padding-left: 1.3em; margin: 0 0 1em; }
.text li { margin-bottom: .3em; }
.text table { border-collapse: collapse; width: 100%; margin: 0 0 1.2em; font-size: 16px; display: block; overflow-x: auto; }
.text th, .text td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.text th { background: var(--sand); }
.text blockquote { margin: 0 0 1.4em; padding: 4px 0 4px 20px; border-left: 4px solid var(--akzent); color: var(--text-2); }
.text .hinweis { background: var(--sand); padding: 16px 20px; border-left: 4px solid var(--erde); margin: 0 0 1.2em; }
.text .adresse { background: var(--sand); padding: 16px 20px; margin: 0 0 1em; }
.seitenleiste { flex: 1 1 280px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 16px; }
.karte { background: var(--sand); padding: 20px 22px; font-size: 16px; }
.karte h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--erde); margin: 0 0 10px; }
.karte p:last-child { margin-bottom: 0; }
.karte-kontakt { border-top: 4px solid var(--akzent); }
.liste-links { list-style: none; margin: 0; padding: 0; }
.liste-links a { display: block; padding: 6px 0; border-bottom: 1px solid var(--linie); color: var(--text); text-decoration: none; }
.liste-links a:hover { color: var(--rot); }
mark.platzhalter { background: #fff1c7; color: #6b4d00; padding: 0 4px; border: 1px dashed #c99a1a; }

/* Fuß */
.fuss { background: var(--erde-dunkel); color: #fff; font-size: 16px; }
.fuss a { color: #fff; }
.fuss-innen { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 24px; }
.fuss-zeile { padding-bottom: 28px; font-size: 14px; color: #d6d1c4; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .drei, .zwei, .fuss-innen, .kacheln-drei { grid-template-columns: 1fr; }
  .liste-zweispaltig { grid-template-columns: 1fr; }
  .seitenleiste { position: static; }
  .abschnitt { padding: 44px 0; }
  .buehne-innen { padding-top: 40px; padding-bottom: 40px; }
  .buehne-bild { min-height: 180px; }
  .huelle { padding: 0 16px; }
}
@media print {
  .kopf, .fuss, .seitenleiste, .menue-knopf { display: none; }
}

/* Startseite 0.2.0 */
.dachzeile { text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--akzent); margin-bottom: 10px; font-weight: 700; }
.erreichbar { font-size: 15px; color: #e6e1d6; margin-top: 14px; }
.fakten { background: var(--sand); border-bottom: 1px solid var(--linie); }
.fakten-innen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 32px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.fakt { display: flex; flex-direction: column; gap: 6px; align-self: start; }
.fakt strong { font-size: 36px; color: var(--rot); line-height: 1; flex: none; }
.fakt span { font-size: 15px; line-height: 1.35; color: var(--text-2); }
.siegel { display: flex; align-items: center; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }
.abschnitt-getoent .orte a { background: #fff; }
.siegel img { display: block; }
.vier { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 8px; }
.punkt { border-top: 4px solid var(--akzent); padding-top: 16px; }
.punkt h3 { font-size: 20px; }
.punkt p { font-size: 16px; color: var(--text-2); }
.haken { list-style: none; padding: 0; margin: 0 0 1.2em; }
.haken li { position: relative; padding: 0 0 12px 30px; }
.haken li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px; border-left: 3px solid var(--akzent); border-bottom: 3px solid var(--akzent); transform: rotate(-45deg); }
.abstand-oben { margin-top: 1.4em; }
@media (max-width: 1100px) { .vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fakten-innen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .vier, .fakten-innen { grid-template-columns: 1fr; } }

/* Logo-Hintergrund (0.3.0) */
.seitenkopf { position: relative; overflow: hidden; }
.seitenkopf::after { content: ""; position: absolute; right: -40px; top: 50%; width: 300px; height: 300px; transform: translateY(-50%); background: url("/assets/ck-hintergrund.png") no-repeat center / contain; opacity: .18; pointer-events: none; }
.seitenkopf .huelle { position: relative; z-index: 1; }
.buehne { position: relative; overflow: hidden; }
.buehne::before { content: ""; position: absolute; left: -90px; bottom: -110px; width: 420px; height: 420px; background: url("/assets/ck-hintergrund.png") no-repeat center / contain; opacity: .10; filter: brightness(2.2) saturate(.4); pointer-events: none; }
.buehne-innen { position: relative; z-index: 1; }
.siegel img[src*="verband"] { width: 200px; height: auto; }
@media (max-width: 860px) { .seitenkopf::after { width: 180px; height: 180px; right: -50px; } .siegel { justify-content: flex-start; } }

/* Startbereich ohne Foto (0.5.0): Kontaktkarte vor großem CK */
.buehne::before { display: none; }
.buehne::after { content: ""; position: absolute; right: -60px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); background: url("/assets/ck-hintergrund.png") no-repeat center / contain; opacity: .22; filter: brightness(1.6) saturate(.7); pointer-events: none; }
.buehne-karte { flex: 2 1 300px; max-width: 400px; margin-left: auto; position: relative; z-index: 1; background: rgba(43,41,37,.72); border-top: 4px solid var(--akzent); padding: 26px 28px; color: #f1eee7; font-size: 16px; }
.buehne-karte p { margin: 0 0 12px; }
.buehne-karte a { color: #fff; }
.karte-titel { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--akzent) !important; }
.karte-gross { font-size: 30px; font-weight: 700; line-height: 1.2; }
.karte-gross a { text-decoration: none; }
.karte-fuss { margin: 18px 0 0 !important; }
.karte-fuss .knopf { font-size: 15px; padding: 10px 18px; }
@media (max-width: 860px) { .buehne::after { width: 320px; height: 320px; right: -110px; top: 30%; } .buehne-karte { max-width: none; margin-left: 0; } }
@media (max-width: 560px) {
  .kopf-innen { flex-wrap: nowrap; }
  .marke { gap: 10px; min-width: 0; }
  .logo { width: 52px; height: 38px; }
  .marke-name { font-size: 16px; }
  .marke-ort { font-size: 11px; letter-spacing: .05em; }
  .menue-knopf summary { width: 44px; height: 44px; padding: 11px; }
  .kopf-innen > .hauptmenue { position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 0 16px 12px; border-bottom: 4px solid var(--akzent); }
  .buehne .erreichbar { display: none; }
  .dachzeile { font-size: 12px; }
}

/* Kopfleiste bleibt beim Scrollen stehen (0.6.0) */
html { scroll-padding-top: 110px; }
.kopf { position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.seitenleiste { position: static; }
@media (max-width: 960px) {
  html { scroll-padding-top: 90px; }
  .menue-knopf[open] ~ .hauptmenue { max-height: calc(100vh - 80px); overflow-y: auto; }
}

/* 0.9.0 */
.stand { font-size: 14px; color: var(--text-2); border-top: 1px solid var(--linie); padding-top: 12px; margin-top: 2em; }
.orte-zeile { font-size: 16px; color: var(--text-2); background: var(--sand); padding: 14px 18px; margin-top: 1.6em; }

/* 0.10.0: Ablauf, Formular, Steuertermine, Checklisten */
.text ol.schritte { list-style: none; counter-reset: schritt; padding: 0; margin: 0 0 1.4em; }
.schritte li { counter-increment: schritt; position: relative; padding: 0 0 18px 56px; min-height: 40px; }
.schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--akzent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.schritte li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--linie); }

.formular fieldset { border: 1px solid var(--linie); border-top: 4px solid var(--akzent); padding: 18px 20px 8px; margin: 0 0 18px; }
.formular legend { font-weight: 700; padding: 0 6px; font-size: 18px; }
.feldreihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 16px; }
.feld { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.feld input, .feld select, .feld textarea { font: inherit; font-weight: 400; font-size: 17px; padding: 10px 12px; border: 1px solid #c9c2b2; background: var(--sand); color: var(--text); border-radius: 2px; width: 100%; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 3px solid var(--akzent); outline-offset: 0; background: #fff; }
.frage { font-weight: 700; font-size: 16px; margin: 4px 0 6px; }
.auswahl { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.auswahl label { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #c9c2b2; background: var(--sand); font-size: 16px; cursor: pointer; }
.auswahl label:has(input:checked) { border-color: var(--akzent); background: #fff4e5; }
.auswahl input { accent-color: var(--akzent); width: 18px; height: 18px; margin: 0; }
.pflicht { color: var(--rot); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular button { font: inherit; cursor: pointer; }

.text table.termine { display: table; margin-bottom: 1.4em; }
.termine td.termin-datum { white-space: nowrap; font-weight: 700; width: 9.5em; }

.checkliste ul { list-style: none; padding: 0; }
.checkliste li { position: relative; padding: 4px 0 8px 34px; border-bottom: 1px solid var(--sand-dunkel); }
.checkliste li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 18px; height: 18px; border: 2px solid var(--erde); border-radius: 2px; background: #fff; }

@media print {
  body { font-size: 12pt; }
  .seitenkopf { background: none; border: 0; padding: 0 0 8pt; }
  .seitenkopf::after, .krumen, .knoepfe, .stand, .orte-zeile, .kacheln { display: none; }
  .spalten { padding: 0; display: block; }
  .text { max-width: none; }
  .checkliste li { break-inside: avoid; }
  .text h2 { break-after: avoid; }
  .text::after { content: "Steuerberater Christian Kaik · Fuchsienweg 35, 12357 Berlin · 030 627 09 355 · kanzlei@stb-kaik.de"; display: block; margin-top: 18pt; font-size: 10pt; color: #555; }
}
.fristen td, .fristen th { white-space: nowrap; }
@media (max-width: 500px) { .termine td { padding: 8px 6px; } .termine td.termin-datum { width: auto; white-space: normal; } }
.feld { display: block; }
.feld input, .feld select, .feld textarea { display: block; margin-top: 4px; }
