/* Steuerberater Pollmann · stb-pollmann.de
   Übergangsseite (Markus, 19.11.2026): schlicht, schnell hochladbar, damit Joomla vom Server kann.
   Gestaltung „Briefkopf“: weißer Grund, einfarbig Rot aus dem Logo (#9E2215), keine erfundene
   Zweitfarbe. Formmotiv: die Streifen aus dem Logo-Kreis, eckige Kanten, feine Linien wie im
   Briefbogen. Schriften lokal: Source Serif 4 (Überschriften), Source Sans 3 (Text).
   Nicht Barlow: die hatte die alte Seite, aber Klaus Noack trägt sie seit 18.11.2026. */

@font-face {
  font-family: "Source Serif 4"; src: url("schriften/SourceSerif4-normal.woff2") format("woff2");
  font-weight: 500 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3"; src: url("schriften/SourceSans3-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3"; src: url("schriften/SourceSans3-italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}

:root {
  --rot: #9E2215;          /* Logofarbe: Akzente, Knöpfe, Verweise (7,8 : 1 auf Weiß) */
  --rot-tief: #7E1A10;     /* dunkler aus dem Logo abgestuft: Hover */
  --weiss: #FFFFFF;        /* Grund */
  --flaeche: #F5F4F2;      /* zweite helle Fläche, neutral */
  --tinte: #1F1B1A;        /* Text */
  --text-2: #5E5856;       /* gedämpfter Text, 7,1 : 1 auf Weiß, 6,5 : 1 auf der Fläche */
  --auf-rot-2: rgba(255, 255, 255, .86); /* gedämpfter Text auf Rot, rund 6 : 1 */
  --linie: rgba(31, 27, 26, .14);
  --linie-stark: rgba(31, 27, 26, .85);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --breite: 1180px;
  --rand: clamp(16px, 4vw, 40px);
  --abstand: clamp(64px, 9vw, 120px);
  --ecke: 2px;
  --sanft: cubic-bezier(.2, .7, .2, 1);

  /* Die Streifen aus dem Logo-Kreis: vier Balken, nach rechts breiter werdend */
  --streifen-rot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 40'%3E%3Cpath fill='%239E2215' d='M0 0h2v40H0zM5 0h3v40H5zM11 0h5v40h-5zM20 0h7v40h-7z'/%3E%3C/svg%3E");
  --streifen-weiss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 40'%3E%3Cpath fill='%23FFFFFF' d='M0 0h2v40H0zM5 0h3v40H5zM11 0h5v40h-5zM20 0h7v40h-7z'/%3E%3C/svg%3E");
  /* dieselben Streifen, auf jede Höhe gestreckt (für den Bildrand) */
  --streifen-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 40' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M0 0h2v40H0zM5 0h3v40H5zM11 0h5v40h-5zM20 0h7v40h-7z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--weiss); color: var(--tinte);
  font: 400 1.0625rem/1.65 var(--sans);
  font-kerning: normal; text-rendering: optimizeLegibility;
}
body.menue-offen { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, ul, ol, dl, dd, address, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
address { font-style: normal; }
strong { font-weight: 700; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.12;
  letter-spacing: -.01em; text-wrap: balance;
}
h1 { font-size: clamp(2.375rem, 5.2vw, 4.125rem); line-height: 1.05; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; letter-spacing: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4, p, li, dd { overflow-wrap: break-word; }
/* Lange deutsche Wörter („Existenzgründungsberatung“) passen am Handy sonst nicht in die Zeile */
@media (max-width: 560px) { h1, h2, h3, .rechtstext, .leistungsliste { -webkit-hyphens: auto; hyphens: auto; } }
::selection { background: var(--rot); color: var(--weiss); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

.rahmen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.springen { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tinte); color: var(--weiss); padding: 10px 16px; }
.springen:focus { top: 12px; }
.demo-hinweis { margin: 0; background: var(--tinte); color: var(--weiss); text-align: center; font-size: .8125rem; letter-spacing: .04em; padding: 6px 12px; }
.pruefen { background: #FFE58A; color: var(--tinte); box-shadow: 0 0 0 2px #FFE58A; }

/* ---------- Bausteine ---------- */

.augenbraue {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font: 700 .8125rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rot);
}
.augenbraue::before { content: ""; flex: none; width: 21px; height: 30px; background: var(--streifen-rot) left center / contain no-repeat; }

.einleitung { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--text-2); max-width: 36em; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: var(--ecke); border: 2px solid var(--rot);
  background: var(--rot); color: var(--weiss); text-decoration: none;
  font: 700 1rem/1.2 var(--sans); letter-spacing: .01em; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s;
}
.knopf:hover { background: var(--rot-tief); border-color: var(--rot-tief); }
.knopf svg { flex: none; transition: transform .2s var(--sanft); }
.knopf:hover svg.pfeil { transform: translateX(3px); }
.knopf-umriss { background: transparent; color: var(--rot); }
.knopf-umriss:hover { background: var(--rot); color: var(--weiss); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.abschnitt { padding-block: var(--abstand); }
.flaeche { background: var(--flaeche); }
.abschnitt-kopf { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }

.text-gitter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.fliesstext { max-width: 40em; }
.fliesstext p + p { margin-top: 18px; }
.fliesstext .gross { font: 500 clamp(1.25rem, 2vw, 1.5rem)/1.45 var(--serif); color: var(--tinte); }
@media (max-width: 860px) { .text-gitter { grid-template-columns: 1fr; } }

/* Bild mit den Logo-Streifen am linken Rand */
.streifenbild { position: relative; overflow: hidden; background: var(--flaeche); }
.streifenbild img { width: 100%; height: 100%; object-fit: cover; }
.streifenbild::before {
  content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; left: clamp(14px, 3vw, 32px);
  width: clamp(28px, 4vw, 44px); background: var(--streifen-band) left top / 100% 100% no-repeat; opacity: .92;
}

/* ---------- Kopf ---------- */

.kopf { position: sticky; top: 0; z-index: 50; background: var(--weiss); border-bottom: 1px solid transparent; transition: border-color .2s; }
.kopf.gescrollt { border-bottom-color: var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.marke { display: block; margin-right: auto; padding-block: 8px; }
.marke img { width: 190px; height: auto; }
.nav { display: flex; gap: 2px; }
.nav a {
  display: block; padding: 10px 12px; text-decoration: none; font-weight: 600; font-size: 1rem;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--rot); }
.nav a[aria-current="page"] { color: var(--rot); border-bottom-color: var(--rot); }
.kopf-tel {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 0 10px 18px;
  border-left: 1px solid var(--linie); color: var(--rot); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.kopf-tel:hover span { text-decoration: underline; text-underline-offset: 3px; }
.menue-knopf { display: none; }

@media (max-width: 1080px) {
  .kopf-innen { gap: 10px; min-height: 72px; }
  .marke img { width: 160px; }
  /* Am Handy: Anrufen als Knopf im Kopf statt schwebender Leiste */
  .kopf-tel { justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; background: var(--rot); color: var(--weiss); }
  .kopf-tel span { display: none; }
  .menue-knopf {
    display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 14px;
    border: 2px solid var(--tinte); border-radius: var(--ecke); background: transparent; color: var(--tinte);
    font: 700 .9375rem/1 var(--sans); cursor: pointer;
  }
  .menue-striche, .menue-striche::before, .menue-striche::after {
    display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s var(--sanft), opacity .2s;
  }
  .menue-striche { position: relative; }
  .menue-striche::before, .menue-striche::after { content: ""; position: absolute; left: 0; }
  .menue-striche::before { top: -6px; }
  .menue-striche::after { top: 6px; }
  .menue-knopf[aria-expanded="true"] .menue-striche { background: transparent; }
  .menue-knopf[aria-expanded="true"] .menue-striche::before { transform: translateY(6px) rotate(45deg); }
  .menue-knopf[aria-expanded="true"] .menue-striche::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-bereich {
    position: fixed; inset: 72px 0 0 0; background: var(--weiss); padding: 16px var(--rand) 40px;
    overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s;
  }
  .nav-bereich.offen { visibility: visible; opacity: 1; transition: opacity .2s; }
  .nav { flex-direction: column; gap: 0; }
  .nav a { font: 600 1.625rem/1.2 var(--serif); padding: 16px 0; border-bottom: 1px solid var(--linie); }
  .nav a[aria-current="page"] { border-bottom-color: var(--linie); }
}
@media (max-width: 400px) { .marke img { width: 136px; } .menue-wort { display: none; } }

/* ---------- Startseite: Briefkopf ---------- */

.briefkopf { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.briefkopf-gitter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.briefkopf h1 span { display: block; color: var(--rot); }
.briefkopf .einleitung { margin-top: 24px; }

.absender { border-top: 4px solid var(--rot); background: var(--flaeche); padding: 8px 24px 12px; }
.absender div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.absender div:last-child { border-bottom: 0; }
.absender dt { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); padding-top: .2em; }
.absender dd a { color: var(--rot); font-weight: 700; text-decoration: none; }
.absender dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.absender dd small { display: block; color: var(--text-2); font-size: .9375rem; margin-top: 4px; }
@media (max-width: 900px) { .briefkopf-gitter { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .absender { padding-inline: 18px; } .absender div { grid-template-columns: 1fr; gap: 2px; } }

.bildband { height: clamp(240px, 36vw, 480px); }
.bildband img { object-position: 50% 82%; }
.bildunterschrift { margin-top: 10px; font-size: .875rem; color: var(--text-2); }

/* Verzeichnis: die Seiten als Zeilen wie in einem Inhaltsverzeichnis */
.verzeichnis { margin-top: clamp(40px, 6vw, 72px); border-top: 2px solid var(--linie-stark); }
.verzeichnis a {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--linie); text-decoration: none;
}
.verzeichnis-nr { font: 600 1.125rem/1 var(--serif); color: var(--rot); }
.verzeichnis h3 { transition: color .15s; }
.verzeichnis p { grid-column: 2; color: var(--text-2); margin-top: 6px; max-width: 46em; }
.verzeichnis-pfeil { grid-column: 3; grid-row: 1; color: var(--rot); transition: transform .2s var(--sanft); }
.verzeichnis a:hover h3 { color: var(--rot); }
.verzeichnis a:hover .verzeichnis-pfeil { transform: translateX(4px); }
@media (max-width: 560px) { .verzeichnis a { grid-template-columns: 2.75rem minmax(0, 1fr) auto; gap: 6px 14px; } }

/* Abschluss mit Telefon und E-Mail: helle Fläche, damit er sich vom roten Fuß absetzt */
.aufruf { background: var(--flaeche); border-top: 1px solid var(--linie); }
.aufruf-gitter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.aufruf p { color: var(--text-2); margin-top: 14px; max-width: 34em; font-size: 1.125rem; }
.aufruf .knoepfe { margin-top: 0; flex-direction: column; align-items: stretch; min-width: 240px; }
@media (max-width: 760px) { .aufruf-gitter { grid-template-columns: 1fr; } .aufruf .knoepfe { min-width: 0; } }

/* ---------- Unterseiten ---------- */

.seitenkopf { background: var(--flaeche); }
.seitenkopf-gitter { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 6vw, 80px); }
.seitenkopf .einleitung { margin-top: 20px; }
.seitenkopf-bild { aspect-ratio: 4 / 3; }
.seitenkopf-schlicht .seitenkopf-gitter { grid-template-columns: 1fr; }
@media (max-width: 860px) {
  .seitenkopf-gitter { grid-template-columns: 1fr; padding-block: 36px 48px; }
  .seitenkopf-bild { aspect-ratio: 16 / 9; }
}

/* Leistungen */
.leistungen-gitter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.leistungsgruppe { border-top: 2px solid var(--linie-stark); padding-top: 22px; }
.leistungsgruppe h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); margin-bottom: 8px; }
.leistungsliste { columns: 2 16em; column-gap: 40px; }
.leistungsliste li { break-inside: avoid; display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--linie); font-weight: 600; }
.leistungsliste li::before { content: ""; flex: none; width: 10px; height: 2px; margin-top: .8em; background: var(--rot); }
@media (max-width: 860px) { .leistungen-gitter { grid-template-columns: 1fr; } }

/* Steuerberatung 4.0: Module */
.module { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.modul { padding: 30px 0 34px; border-top: 2px solid var(--linie-stark); }
.modul-nr { display: block; font: 600 1rem/1 var(--serif); color: var(--rot); margin-bottom: 14px; }
.modul h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; letter-spacing: 0; margin-bottom: 12px; }
.modul p { color: var(--text-2); }
.modul p + p { margin-top: 12px; }
@media (max-width: 860px) { .module { grid-template-columns: 1fr; } }

.schlusssatz { margin-top: clamp(32px, 4vw, 48px); padding: 24px 28px; border-left: 4px solid var(--rot); background: var(--flaeche); font: 500 1.25rem/1.45 var(--serif); }
.schlusssatz a { color: var(--rot); }
.rechtstext del { text-decoration-thickness: 1px; }

/* Kontakt */
.kontakt-gitter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kontaktfeld { padding: 26px 26px 28px; background: var(--flaeche); border-top: 4px solid var(--rot); }
.kontaktfeld h2 { font-size: 1.375rem; margin-bottom: 14px; }
.kontaktfeld ul { display: grid; gap: 6px; list-style: none; padding: 0; }
.kontaktfeld a { color: var(--rot); font-weight: 700; text-decoration: none; }
.kontaktfeld a:hover { text-decoration: underline; text-underline-offset: 3px; }
.kontaktfeld .klein { margin-top: 12px; color: var(--text-2); font-size: .9375rem; }
@media (max-width: 860px) { .kontakt-gitter { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */

.rechtstext { max-width: 46em; }
.rechtstext h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 48px 0 14px; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext h3 { font-size: 1.1875rem; margin: 28px 0 8px; }
.rechtstext p + p, .rechtstext p + ul, .rechtstext ul + p { margin-top: 12px; }
.rechtstext ul:not([class]) { padding-left: 1.2em; margin-top: 8px; }
.rechtstext a { color: var(--rot); }
.credits { display: grid; gap: 8px; margin-top: 12px; }
.credits li { padding: 12px 16px; background: var(--flaeche); }
.versal { text-transform: none; }

/* ---------- Fuß ---------- */

.fuss { background: var(--rot); color: var(--weiss); padding: 64px 0 28px; }
.fuss-gitter { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .28); }
.fuss-marke img { width: 220px; height: auto; margin-bottom: 18px; }
.fuss-marke p { color: var(--auf-rot-2); max-width: 22em; }
.fuss h2 { font: 700 .8125rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.fuss ul { display: grid; gap: 6px; list-style: none; padding: 0; margin: 0; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fuss address, .fuss-gitter p { color: var(--auf-rot-2); }
.fuss-klein { margin-top: 8px; font-size: .9375rem; }
.fuss-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 22px; font-size: .9375rem; color: var(--auf-rot-2); }
.fuss-rechts { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss :focus-visible { outline-color: var(--weiss); }
@media (max-width: 960px) { .fuss-gitter { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }
@media (max-width: 560px) { .fuss-gitter { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */

.fehlerseite { padding-block: clamp(72px, 12vw, 160px); }
.fehlerseite .einleitung { margin-top: 20px; }

/* ---------- Bewegung: nur wenn erwünscht ---------- */

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
