/* Vorschlag E – Dunkel-elegant („Abendkanzlei“)
   Layout: eine dunkle Fläche, linksbündiger Satzspiegel (max. 1120 px), feine helle Linien
   als einzige Gliederung; genau ein heller Abschnitt (Ihre Steuerberaterin) als Wechsel.
   Schriften: PT Serif (Überschriften, Verzeichnis) + Cabin (Fließtext, Bedienung), beide OFL, lokal. */

@font-face { font-family: "PT Serif"; src: url("fonts/PTSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PT Serif"; src: url("fonts/PTSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cabin"; src: url("fonts/Cabin-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabin"; src: url("fonts/Cabin-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cabin"; src: url("fonts/Cabin-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  /* Grund: Anthrazit aus dem Kanzleigrau #676767 abgeleitet (gleicher Farbton, dunkler) */
  --grund: #1F1D1E;
  --grund-erhoben: #2A2729;
  --linie: rgba(233, 228, 225, 0.16);
  --linie-stark: rgba(233, 228, 225, 0.34);
  /* Schrift: warmes Hell, nicht reines Weiß */
  --schrift: #CFC8C4;        /* Fließtext, 10,2:1 auf Grund */
  --schrift-hell: #E9E4E1;   /* Überschriften, 13,3:1 */
  --schrift-gedeckt: #ADA5A1;/* Nebensächliches, 6,9:1 */
  /* Kanzleifarben */
  --bordeaux: #8F0825;       /* Flächen, Linien, Knöpfe */
  --bordeaux-dunkel: #6E0619;
  --bordeaux-licht: #CC3A57; /* Bordeaux aufgehellt, nur für große Schrift auf Dunkel (3,4:1) */
  --grau: #676767;
  /* Heller Abschnitt */
  --hell: #F3EFEC;
  --hell-schrift: #2A2729;   /* 12,9:1 auf Hell */
  --hell-gedeckt: #5E5A5B;   /* 6,0:1 */
  --hell-linie: rgba(42, 39, 41, 0.18);

  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: "Cabin", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --satz: 1120px;
  --rand: max(20px, env(safe-area-inset-left, 0px));
  --rand-r: max(20px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--schrift);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--linie-stark); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--schrift-hell); outline-offset: 3px; }
.hell :focus-visible { outline-color: var(--bordeaux); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--schrift-hell); margin: 0; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 64ch; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.satz { max-width: var(--satz); margin-inline: auto; padding-left: var(--rand); padding-right: var(--rand-r); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sprunglink */
.skip { position: absolute; left: var(--rand); top: -4rem; background: var(--bordeaux); color: #fff; padding: 0.6rem 1rem; z-index: 20; text-decoration: none; }
.skip:focus { top: 0.75rem; }

/* Kopfzeile */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; padding-block: 0.75rem; }
.marke { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--schrift-hell); }
.marke img { width: 48px; height: auto; flex: none; }
.marke-text { display: grid; line-height: 1.1; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; }
.marke-text b { font-weight: 600; font-size: 1.0rem; letter-spacing: 0.12em; }
.nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.35rem; }
.nav a { text-decoration: none; color: var(--schrift); padding: 0.4rem 0; display: inline-block; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--schrift-hell); border-bottom-color: var(--linie-stark); }
.nav .nav-portal a { border: 1px solid var(--linie-stark); padding: 0.45rem 0.9rem; color: var(--schrift-hell); }
.nav .nav-portal a:hover { border-color: var(--schrift-hell); }
.nav-toggle { display: none; font: inherit; font-weight: 600; color: var(--schrift-hell); background: none; border: 1px solid var(--linie-stark); padding: 0.5rem 0.9rem; cursor: pointer; }
.nav-toggle[aria-expanded="true"] { background: var(--grund-erhoben); }

/* Knöpfe */
.knopf { display: inline-block; font-weight: 600; text-decoration: none; padding: 0.85rem 1.4rem; border: 1px solid var(--bordeaux); background: var(--bordeaux); color: #fff; white-space: nowrap; }
.knopf:hover { background: var(--bordeaux-dunkel); border-color: var(--bordeaux-dunkel); }
.knopf-kontur { background: transparent; border-color: var(--linie-stark); color: var(--schrift-hell); }
.knopf-kontur:hover { background: var(--grund-erhoben); border-color: var(--schrift-hell); }
.knopf:active { transform: translateY(1px); }

/* Startbereich */
.start { position: relative; overflow: hidden; border-bottom: 1px solid var(--linie); }
.start-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: center; padding-block: 5rem 5.5rem; }
.start h1 { font-size: clamp(2.3rem, 1.4rem + 4.4vw, 4.6rem); line-height: 1.05; }
.start h1 em { color: var(--schrift-hell); }
.start .claim-ueber { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--schrift-gedeckt); margin: 0 0 1.5rem; }
.start .vorspann { font-size: 1.2rem; margin: 1.6rem 0 2.2rem; max-width: 46ch; color: var(--schrift); }
.aktionen { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.start-figur { justify-self: end; width: 100%; max-width: 560px; opacity: 0.42; }
.start-figur img { width: 100%; }

/* Abschnitte */
.abschnitt { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-bottom: 1px solid var(--linie); }
.abschnitt-kopf { margin-bottom: clamp(2rem, 4vw, 3rem); }
.abschnitt-kopf h2::before { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--bordeaux); margin-bottom: 1.2rem; }
.abschnitt-kopf .einleitung { font-family: var(--serif); font-size: 1.3rem; color: var(--schrift); margin-top: 1rem; max-width: 52ch; }

/* Die Kanzlei: zwei ungleiche Spalten, links der Leitsatz */
.kanzlei-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem 5rem; align-items: start; }
.leitsatz { font-family: var(--serif); font-size: clamp(1.5rem, 1rem + 1.8vw, 2.1rem); line-height: 1.3; color: var(--schrift-hell); max-width: 22ch; }
.leitsatz em { color: var(--bordeaux-licht); font-size: 1.15em; }
.unterschrift { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--schrift-hell); margin-top: 1.5rem; }

/* Leistungsspektrum: großes Verzeichnis, eine Spalte */
.verzeichnis { border-top: 1px solid var(--linie-stark); }
.verzeichnis > li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 0.5rem 1.5rem; padding-block: 2.2rem; border-bottom: 1px solid var(--linie); }
.verzeichnis .nummer { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--bordeaux-licht); font-variant-numeric: tabular-nums lining-nums; padding-top: 0.2rem; }
.verzeichnis h3 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.15; margin-bottom: 1rem; }
.verzeichnis h3 small { display: block; font-size: 0.55em; color: var(--schrift-gedeckt); margin-top: 0.35rem; }
.verzeichnis ul { columns: 2; column-gap: 3rem; max-width: 60ch; }
.verzeichnis li li { break-inside: avoid; padding: 0.25rem 0 0.25rem 1.1rem; position: relative; }
.verzeichnis li li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 0.5rem; height: 1px; background: var(--bordeaux-licht); }

/* Der besondere Service: eine erhobene Tafel mit drei Zeilen */
.service-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2.5rem 5rem; align-items: start; }
.tafel { background: var(--grund-erhoben); border: 1px solid var(--linie); padding: 0.5rem 2rem; }
.tafel > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0.5rem 2rem; padding-block: 1.5rem; border-top: 1px solid var(--linie); }
.tafel > div:first-child { border-top: 0; }
.tafel dt { font-family: var(--serif); font-size: 1.35rem; color: var(--schrift-hell); line-height: 1.25; }
.tafel dd { margin: 0; }

/* Ihre Steuerberaterin: der einzige helle Abschnitt */
.hell { background: var(--hell); color: var(--hell-schrift); border-bottom: 0; }
.hell h2, .hell h3 { color: var(--hell-schrift); }
.hell a { text-decoration-color: var(--hell-linie); }
.hell .abschnitt-kopf h2::before { background: var(--bordeaux); }
.person-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2.5rem 5rem; align-items: start; }
.person-raster figure { margin: 0; }
.person-raster .name { font-family: var(--serif); font-size: 1.35rem; color: var(--bordeaux); margin-bottom: 1.2rem; }
.mitglied { margin-top: 2rem; border-top: 1px solid var(--hell-linie); padding-top: 1.2rem; }
.mitglied h3 { font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hell-gedeckt); margin-bottom: 0.6rem; }
.mitglied li { padding: 0.3rem 0; border-bottom: 1px solid var(--hell-linie); }
.mitglied li:last-child { border-bottom: 0; }

/* Mandantenportal: Bordeaux als Fläche */
.portal { background: var(--bordeaux); color: #fff; border-bottom: 0; }
.portal h2 { color: #fff; margin-bottom: 0.9rem; }
.portal-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem 4rem; align-items: center; }
.portal p { color: rgba(255, 255, 255, 0.92); }
.portal .knopf { background: var(--hell); color: var(--bordeaux); border-color: var(--hell); }
.portal .knopf:hover { background: #fff; border-color: #fff; }
.portal-raster .aktionen { justify-self: start; }
.portal :focus-visible { outline-color: #fff; }

/* Partner + Karriere nebeneinander */
.doppel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem 5rem; }
.doppel > div + div { border-left: 1px solid var(--linie); padding-left: 5rem; }
.doppel h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); margin-bottom: 1.2rem; }
.partner-zeile { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.5rem; }
.partner-zeile img { width: 110px; flex: none; background: #fff; padding: 6px; }
.partner-zeile p { font-size: 0.95rem; color: var(--schrift-gedeckt); }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem 5rem; align-items: start; }
.adresse { font-style: normal; font-size: 1.15rem; line-height: 1.7; }
.adresse strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--schrift-hell); display: block; margin-bottom: 0.5rem; }
.adresse a { color: var(--schrift-hell); }
.kontakt-zeilen { margin-top: 1.5rem; display: grid; gap: 0.3rem; }
.kontakt-zeilen span { display: inline-block; min-width: 6rem; color: var(--schrift-gedeckt); }
.zeiten { width: 100%; max-width: 34rem; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; margin-top: 0.25rem; }
.zeiten caption { text-align: left; font-family: var(--serif); font-size: 1.35rem; color: var(--schrift-hell); padding-bottom: 0.9rem; }
.zeiten th, .zeiten td { text-align: left; padding: 0.55rem 0; border-top: 1px solid var(--linie); vertical-align: top; }
.zeiten th { font-weight: 400; color: var(--schrift-hell); width: 9rem; }
.zeiten tr:last-child td, .zeiten tr:last-child th { border-bottom: 1px solid var(--linie); }
.hinweis { font-size: 0.95rem; color: var(--schrift-gedeckt); margin-top: 1rem; }
.kontakt .aktionen { margin-top: 2rem; }

/* Fußzeile */
.fuss { padding-block: 2.5rem 3rem; color: var(--schrift-gedeckt); font-size: 0.95rem; }
.fuss-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.fuss ul { display: flex; flex-wrap: wrap; gap: 0 0.5rem; }
.fuss li a { display: inline-block; padding: 0.7rem 0.6rem; text-decoration: none; color: var(--schrift); }
.fuss li a:hover { color: var(--schrift-hell); text-decoration: underline; }
.fuss .claim { font-family: var(--serif); font-style: italic; color: var(--schrift); }

/* Unterseiten */
.seite { padding-block: clamp(3rem, 7vw, 5.5rem); }
.seite h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); margin-bottom: 1.5rem; }
.seite h1::before { content: ""; display: block; width: 2.5rem; height: 2px; background: var(--bordeaux); margin-bottom: 1.2rem; }
.seite h2 { font-size: 1.6rem; margin: 2.5rem 0 0.8rem; }
.seite h3 { font-size: 1.2rem; margin: 1.8rem 0 0.5rem; }
.seite .text { max-width: 70ch; }
.seite address { font-style: normal; }
.seite ul.liste { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; max-width: 64ch; }
.seite ul.liste li { padding: 0.15rem 0; }
.kasten { border: 1px solid var(--linie-stark); border-left: 3px solid var(--bordeaux); background: var(--grund-erhoben); padding: 1.2rem 1.5rem; margin: 2rem 0; max-width: 70ch; }
.kasten p { color: var(--schrift-hell); }
.zurueck { display: inline-block; margin-top: 2.5rem; }

/* Bewegung nur ohne Reduktionswunsch */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .knopf, .nav a, .nav .nav-portal a { transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
}

/* Breiten */
@media (max-width: 1100px) {
  .doppel > div + div { padding-left: 3rem; }
}
@media (max-width: 900px) {
  .start-raster { grid-template-columns: 1fr; padding-block: 2.5rem 3rem; }
  .start-figur { justify-self: start; max-width: 340px; order: -1; opacity: 0.32; margin-bottom: 0; }
  .kanzlei-raster, .service-raster, .person-raster, .portal-raster, .kontakt-raster, .doppel { grid-template-columns: 1fr; gap: 2rem; }
  .doppel > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--linie); padding-top: 2.5rem; }
  .leitsatz { max-width: 30ch; }
  .person-raster figure { max-width: 420px; }
  .tafel > div { grid-template-columns: 1fr; gap: 0.4rem; }
  .verzeichnis ul { columns: 1; }
}
@media (max-width: 720px) {
  .js .nav-toggle { display: inline-block; }
  .js .nav { display: none; width: 100%; }
  .js .nav.offen { display: block; }
  .kopf-zeile { flex-wrap: wrap; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding-block: 0.5rem 1rem; border-top: 1px solid var(--linie); }
  .nav li { border-bottom: 1px solid var(--linie); }
  .nav a { display: block; padding: 0.85rem 0; }
  .nav .portal { border-bottom: 0; padding-top: 0.75rem; }
  .nav .nav-portal a { display: inline-block; }
  .verzeichnis > li { grid-template-columns: 1fr; gap: 0.4rem; padding-block: 1.8rem; }
  .verzeichnis .nummer { font-size: 1.6rem; }
  .tafel { padding-inline: 1.2rem; }
  .zeiten th { width: 7.5rem; }
  .fuss-zeile { flex-direction: column; align-items: flex-start; }
}

@media print {
  body { background: #fff; color: #000; }
  .nav-toggle, .skip { display: none; }
}
