/* Textseiten (Über Kalkulo, Ratgeber, Blog, Presse, Was ist neu, 404, Newsletter,
   Impressum, Datenschutz), Bildwelt „Grün auf Dunkel“. Grundlagen, Seitenkopf und
   Schlussfläche stehen in site.css. */

/* --- Lesespalte --- */
/* nur oben/unten, damit .container seinen seitlichen Rand behält */
.text-seite { padding-top: 8px; padding-bottom: 112px; }
@media (max-width: 640px) { .text-seite { padding-bottom: 76px; } }
/* Lesespalte mittig unter dem mittigen Seitenkopf; 56ch ≈ 75 Zeichen je Zeile */
.prosa { max-width: 56ch; margin: 0 auto; }
.prosa > :first-child { margin-top: 0; }
.prosa h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.06; margin: 64px 0 16px; }
.prosa h3 { font-size: 22px; line-height: 1.25; margin: 34px 0 8px; }
.prosa p, .prosa li { color: var(--text-2); }
.prosa p { margin: 0 0 16px; }
.prosa ul, .prosa ol { padding-left: 22px; margin: 0 0 18px; }
.prosa li { margin-bottom: 8px; }
.prosa li::marker { color: var(--gruen-hell); }
.prosa a:not(.btn) { color: var(--text); font-weight: 650; text-decoration-color: rgba(155, 203, 102, 0.6); text-decoration-thickness: 1.5px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.prosa a:not(.btn):hover { text-decoration-color: var(--gruen-hell); }
.prosa strong { color: var(--text); }
@media (max-width: 640px) { .prosa h2 { margin-top: 52px; } }

/* Stand-Angabe unter der Überschrift */
.stand { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-3); margin: 0; }
.seiten-kopf .stand { margin-top: 18px; }
.seiten-kopf .brotkrumen { margin-bottom: 14px; }

/* Hinweis: ruhige Fläche mit grüner Kante links */
.hinweis-kasten {
  border: 1px solid rgba(155, 203, 102, 0.24); border-radius: var(--radius-md);
  background: rgba(102, 159, 50, 0.08); padding: 16px 20px; margin: 0 0 28px; color: var(--text-2); font-size: 16.5px; line-height: 1.6;
}
.hinweis-kasten strong { color: var(--text); }

/* Kurz-gesagt-Fläche im Text */
.schild-tafel.im-text {
  margin: 32px 0 8px; padding: 26px 28px 10px; border-radius: var(--radius-lg); border: 1px solid rgba(155, 203, 102, 0.24);
  background: radial-gradient(90% 80% at 0% 0%, rgba(102, 159, 50, 0.18), transparent 70%), linear-gradient(180deg, var(--flaeche-hoch), var(--flaeche));
}
.prosa .schild-tafel.im-text h2.schild-leiste { font-size: 22px; margin: 0 0 14px; color: var(--gruen-hell-2); }
.schild-inhalt ul { list-style: none; padding: 0; }
.schild-inhalt li { position: relative; padding-left: 22px; }
.schild-inhalt li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gruen-hell); }
@media (max-width: 480px) { .schild-tafel.im-text { padding: 22px 18px 6px; } }

/* Kasten „Was Kalkulo dabei kann“ */
.kalkulo-kasten { border: 1px solid var(--linie); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--flaeche-hoch), var(--flaeche)); padding: 26px 28px 10px; margin: 0 0 18px; }
.prosa .kalkulo-kasten h3:first-child { margin-top: 0; }
@media (max-width: 480px) { .kalkulo-kasten { padding: 22px 18px 6px; } }

/* Tabelle im Text (Zeitplan E-Rechnung) */
.tabelle { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0 8px; font-size: 16px; border: 1px solid var(--linie); border-radius: var(--radius-md); overflow: hidden; }
.tabelle th, .tabelle td { text-align: left; padding: 14px 16px; vertical-align: top; line-height: 1.55; }
.tabelle th { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); background: rgba(255, 255, 255, 0.03); }
.tabelle td { color: var(--text-2); border-top: 1px solid var(--linie); }
.tabelle td:first-child { white-space: nowrap; color: var(--gruen-hell-2); font-weight: 650; }
@media (max-width: 600px) {
  .tabelle, .tabelle tbody, .tabelle tr, .tabelle td { display: block; width: 100%; }
  .tabelle thead { display: none; }
  .tabelle tr { padding: 10px 0; }
  .tabelle tr + tr { border-top: 1px solid var(--linie); }
  .tabelle td { border: none; padding: 4px 16px; }
  .tabelle td:first-child { font-size: 18px; padding-bottom: 6px; }
  .tabelle td[data-titel]::before { content: attr(data-titel) ": "; font-weight: 700; color: var(--text); }
}
.prosa .quellen li { overflow-wrap: anywhere; }

/* --- Über Kalkulo --- */
section.ueber {
  padding: 72px 0 112px; overflow: hidden;
  background: radial-gradient(60% 70% at 10% -10%, rgba(102, 159, 50, 0.28), transparent 65%), linear-gradient(180deg, #131A10, var(--grund) 60%);
}
.ueber-layout {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); grid-template-areas: "kopf foto" "text foto";
  grid-template-rows: auto 1fr; gap: 0 80px; align-items: start;
}
.ueber-kopf { grid-area: kopf; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gruen-hell); margin: 0 0 14px; }
.ueber-kopf h1 { font-size: clamp(44px, 6vw, 80px); line-height: 0.98; margin: 0 0 40px; max-width: 13ch; }
.ueber-text { grid-area: text; }
.ueber-text p { font-size: 19px; line-height: 1.72; color: var(--text-2); margin: 0 0 22px; max-width: 60ch; }
.ueber-text p.unterschrift {
  display: inline-block; margin: 14px 0 0; padding-top: 16px; border-top: 2px solid var(--gruen);
  font-family: var(--font-display); font-size: 21px; font-weight: 650; letter-spacing: -0.01em; color: var(--text);
}
.ueber-foto { grid-area: foto; position: relative; margin: 0; }
.ueber-foto::before {
  content: ""; position: absolute; inset: 12% -10% -6% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(102, 159, 50, 0.38), transparent); filter: blur(30px);
}
.ueber-foto img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: var(--radius-xl); border: 1px solid rgba(255, 255, 255, 0.10); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85);
}
@media (max-width: 860px) {
  section.ueber { padding-top: 44px; }
  .ueber-layout { grid-template-columns: 1fr; grid-template-areas: "kopf" "foto" "text"; grid-template-rows: auto; }
  .ueber-kopf h1 { font-size: clamp(38px, 11vw, 54px); margin-bottom: 28px; }
  .ueber-foto { max-width: 380px; margin-bottom: 36px; }
  .ueber-text p { font-size: 18px; }
}
@media (max-width: 640px) { section.ueber { padding-bottom: 76px; } }

/* --- Presse --- */
h2.abschnitt-titel.klein { font-size: clamp(28px, 3vw, 36px); line-height: 1.05; margin-bottom: 20px; }
.presse-kontakt { margin-top: 64px; }
.presse-kontakt p { color: var(--text-2); margin: 0 0 8px; max-width: 60ch; }
.logo-raster { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .logo-raster { grid-template-columns: 1fr; max-width: 420px; } }
.logo-karte { background: linear-gradient(180deg, var(--flaeche-hoch), var(--flaeche)); border: 1px solid var(--linie); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--schatten); }
.logo-karte .bild { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 22px; }
.logo-karte .bild img { width: 100%; height: 100%; object-fit: contain; }
.logo-karte.auf-weiss .bild { background: #fff; }
.logo-karte.dunkel .bild { background: #141414; } /* gleiche Farbe wie der Hintergrund im Bild */
.logo-karte.transparent .bild {
  background-color: #fff;
  background-image: linear-gradient(45deg, #ECEDEB 25%, transparent 25%), linear-gradient(-45deg, #ECEDEB 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ECEDEB 75%), linear-gradient(-45deg, transparent 75%, #ECEDEB 75%);
  background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0;
}
.logo-karte .karte-fuss { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px 6px 18px; border-top: 1px solid var(--linie); }
.logo-karte .karte-fuss span { font-weight: 650; color: var(--text); font-size: 16px; }
.logo-karte .karte-fuss a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15px; color: var(--gruen-hell-2); text-decoration: none; transition: background-color 160ms ease;
}
.logo-karte .karte-fuss a svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .logo-karte .karte-fuss a:hover { background: rgba(155, 203, 102, 0.10); } }
/* Bei drei schmalen Karten: Name oben, Download darunter */
@media (min-width: 761px) and (max-width: 1100px) {
  .logo-karte .karte-fuss { flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 8px 6px 18px; }
  .logo-karte .karte-fuss a { padding-left: 0; }
}

/* --- Was ist neu --- */
.eintraege { list-style: none; margin: 0 auto; padding: 0; border-bottom: 1px solid var(--linie); max-width: 860px; }
.eintrag { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 6px 32px; padding: 26px 0; border-top: 1px solid var(--linie); }
.eintrag .datum { font-size: 15px; font-weight: 650; color: var(--gruen-hell); padding-top: 2px; }
.eintrag p { margin: 0; color: var(--text-2); max-width: 64ch; }
.eintrag p strong { color: var(--text); }
@media (max-width: 600px) { .eintrag { grid-template-columns: 1fr; padding: 22px 0; } }

/* --- Blog --- */
.leer-zustand { border: 1px dashed var(--linie-stark); border-radius: var(--radius-lg); padding: 40px 28px; max-width: 760px; margin: 0 auto; text-align: center; background: rgba(255, 255, 255, 0.02); }
.leer-zustand p { margin: 0 auto; font-size: 19px; color: var(--text-2); max-width: 52ch; }
.leer-zustand p + p { margin-top: 12px; font-size: 17px; }
/* Für künftige Beiträge: <ul class="beitraege"><li><a class="beitrag" href="…"> */
.beitraege { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; gap: 14px; }
.beitrag { display: block; padding: 24px 26px; text-decoration: none; color: inherit; border: 1px solid var(--linie); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--flaeche-hoch), var(--flaeche)); transition: border-color 200ms ease; }
.beitrag .datum { font-size: 14px; font-weight: 600; color: var(--gruen-hell); }
.beitrag h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.1; margin: 6px 0 8px; }
.beitrag p { margin: 0; color: var(--text-2); max-width: 64ch; }
@media (hover: hover) and (pointer: fine) { .beitrag:hover { border-color: rgba(155, 203, 102, 0.35); } }

/* --- Newsletter bestätigt, mit Checkliste zum Herunterladen --- */
.bestaetigung { min-height: 58vh; padding-bottom: 112px; }
.bestaetigung .lade { font-size: 18px; color: var(--text-2); margin: 0; }
.status-zeichen { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; border: 2px solid currentColor; }
.status-zeichen.ok { color: var(--gruen-hell); background: rgba(102, 159, 50, 0.14); box-shadow: 0 0 40px -10px rgba(102, 159, 50, 0.7); }
.status-zeichen.fehler { color: var(--fehler); background: rgba(255, 138, 122, 0.08); }
.status-zeichen svg { width: 30px; height: 30px; }
.download-block {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; align-items: start; margin: 40px auto 0; padding: 28px;
  max-width: 760px; text-align: left; border: 1px solid var(--linie); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--flaeche-hoch), var(--flaeche));
}
.download-block img { width: 100%; height: auto; border-radius: var(--radius-sm); background: #fff; }
.download-block p { color: var(--text-2); margin: 0 0 18px; max-width: 52ch; }
.download-block .btn { margin-bottom: 12px; }
.bestaetigung .zurueck { margin-top: 32px; }
@media (max-width: 560px) {
  .download-block { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
  .download-block img { max-width: 140px; }
  .download-block .btn { width: 100%; }
}

/* --- 404 --- */
.nicht-gefunden { padding: 0 0 120px; }
.weiter-liste { list-style: none; margin: 8px auto 0; padding: 0; max-width: 640px; display: grid; gap: 10px; }
.weiter-liste a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; min-height: 60px;
  border: 1px solid var(--linie); border-radius: var(--radius-md); background: linear-gradient(180deg, var(--flaeche-hoch), var(--flaeche));
  text-decoration: none; font-weight: 650; font-size: 18px; color: var(--text); transition: border-color 160ms ease, transform 160ms var(--ease-out);
}
.weiter-liste a:active { transform: scale(0.98); }
.weiter-liste svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gruen-hell); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .weiter-liste a:hover { border-color: rgba(155, 203, 102, 0.35); } .weiter-liste a:hover svg { transform: translateX(3px); } }

/* --- Impressum und Datenschutz: nur Gestaltung, Inhalt unverändert --- */
.rechtstext h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 52px; }
.rechtstext h3 { font-size: 19px; margin-top: 28px; }
.rechtstext p { margin-bottom: 12px; }
.rechtstext .anschrift p { margin: 0; }
.rechtstext .hinweis { border: 1px solid rgba(155, 203, 102, 0.24); border-radius: var(--radius-md); background: rgba(102, 159, 50, 0.08); padding: 16px 20px; margin: 36px 0 0; font-size: 16px; }
.rechtstext .hinweis p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .weiter-liste a { transition-property: border-color; }
  .weiter-liste a:active { transform: none; }
  .weiter-liste svg { transition: none; transform: none !important; }
}

/* Stundensatz-Rechner (ratgeber/stundensatz-berechnen, Skript: stundensatz.js) */
.satz-rechner { margin: 24px 0 8px; padding: 22px; border: 1px solid var(--linie-stark); border-radius: var(--radius-lg); background: var(--flaeche); }
.satz-hinweis { margin: 0 0 18px; font-size: 15px; color: var(--text-3); }
.satz-felder { display: grid; gap: 18px; }
.satz-feld label { display: block; font-weight: 650; color: var(--text); margin-bottom: 6px; }
.satz-einheit { display: block; font-weight: 400; font-size: 14.5px; line-height: 1.45; color: var(--text-3); margin-top: 2px; }
.satz-feld input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 17px var(--font); color: var(--text);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--linie-stark); border-radius: var(--radius-md);
}
.satz-feld input:focus-visible { border-color: var(--gruen-hell); outline: 3px solid rgba(155, 203, 102, 0.5); outline-offset: 2px; }
.satz-ergebnis { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--linie); }
.satz-label { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.satz-betrag { margin: 4px 0 12px; font-family: var(--font-display); font-size: clamp(34px, 7vw, 50px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--gruen-hell); }
.satz-betrag .satz-einheit-gross { font-size: 0.45em; font-weight: 600; letter-spacing: 0; color: var(--text-2); }
.satz-aufteilung { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 16px; color: var(--text-2); }
.satz-fehler { margin: 10px 0 0; min-height: 1.2em; font-weight: 600; color: var(--fehler); }
