/* styles.css — HAUPTDATEI (dein bestehender Code, unverändert übernommen)
   ——— nur ganz unten ergänzt um seiten-spezifische Regeln für .page-korrektorat  ——— */

/* Code 2: styles.css */
:root{
  --beige:#E4D6C6;
  --beige-dark:#D2BEA9;
  --card:#FFF8F0;
  --accent:#EA7A29;
  --bg:#fffaf5;
  --ink:#2c2a29;
  --muted:#6f675f;
  --sidebar:280px;
}

/* Base */
*{box-sizing:border-box}
html,body{
  margin:0;min-height:100%;
  background:var(--bg);color:var(--ink);
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial
}
body{overflow-x:hidden}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}

/* Kontakt-Sidebar (Desktop links fixiert) */
.sidebar{
  position:fixed; top:0; left:0; width:var(--sidebar);
  height:100vh; background:var(--beige); color:black;
  padding:28px 22px; display:flex; flex-direction:column; align-items:flex-start;
  z-index:100;
}
.sidebar img{
  width:200px; height:200px; object-fit:cover; border-radius:50%;
  border:0; box-shadow:0 6px 20px rgba(0,0,0,.12);
  margin:0 0 10px; margin-left:-12px;
}
.sidebar h2{font-weight:700;font-size:18px;margin:6px 0 4px}
.sidebar p,.sidebar a{font-size:15px;line-height:1.35;margin:2px 0;color:black}
.sidebar a:hover{text-decoration:underline}
.vfll-link{ color:var(--accent) !important; text-decoration:underline !important; }

/* Hauptbereich rechts */
.page{ min-height:100%; position:relative; display:flex; flex-direction:column; margin-left:var(--sidebar); }
.container{ width:calc(100vw - var(--sidebar)); padding:0 24px 80px 2cm; }

/* Header */
header.top-hero{
  position:relative; padding:24px 0 10px; display:flex; gap:20px; align-items:flex-start;
}
header.top-hero .titleblock{flex:1; text-align:left;}
header.top-hero h1{ font-size:36px; font-weight:800; margin:0; color:var(--beige-dark); line-height:1.16; text-align:center; }
header.top-hero .slogan{ display:block; font-weight:700; font-size:18px; margin-top:6px; color:var(--beige-dark); text-align:center; }

/* Top-Navigation */
.topnav{
  margin-top:12px; display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-start; 
}
.topnav a{
  display:inline-block; padding:6px 12px; border-radius:999px;
  background:var(--beige); color:#333; font-size:14px; font-weight:700;
  border:1px solid rgba(0,0,0,.08);
}
.topnav a:hover{background:#d1bea9;}

/* CTA */
.simple-button { display:inline-block; background:var(--accent); color:#fff; font-size:18px; padding:10px 22px; border-radius:30px; font-weight:700; }
.simple-button:hover{ background:#c96520; }
.btn-wrap{ text-align:center; margin-top:10px; }
.btn-wrap .simple-button{ transform: translateX(-1cm); } /* wird mobil neutralisiert */

/* Sprachgärtchen mini + Quicklinks */
.gaertchen-mini{ display:flex; flex-direction:column; align-items:center; gap:2px; }
.gaertchen-mini img{
  width:96px; height:96px; border-radius:50%; object-fit:cover; border:0; box-shadow:0 8px 24px rgba(0,0,0,.12);
}
.gaertchen-mini .caption{ font-size:13px; font-weight:800; color:var(--accent); margin-top:-6px; }
.quicklinks{ display:flex; flex-direction:column; gap:8px; margin-top:6px; }
.quicklinks .pill{
  display:inline-block; padding:6px 12px; border-radius:999px; background:var(--beige); color:#333;
  font-size:14px; font-weight:700; border:1px solid rgba(0,0,0,.08); text-align:center;
}
.quicklinks .pill:hover{ background:#d1bea9; }

section{margin-top:32px}
section h2{font-size:28px;margin:0 0 12px}

.grid-two{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }

/* Karten */
.list-card{ background:var(--card); border:1px solid rgba(0,0,0,.06); border-radius:16px; padding:22px 26px; box-shadow:0 8px 24px rgba(0,0,0,.06); }
.list-card h3{ margin:0 0 10px; font-size:20px; }
.list-card ul{ margin:0; padding-left:22px; }
.list-card li{ margin:6px 0; }

/* Breite Karte mit Mehrspaltenliste */
.grid-two > .wide-card{ grid-column:1 / -1; }
.wide-card ul{ columns:2; column-gap:24px; }

.muted{ color:var(--muted); }
.prefooter-quote{ margin:36px 0 0; font-style:italic; text-align:center; }
footer{ text-align:left; }
.btnrow{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}

/* ---------------------------------------
   RESPONSIVE: Breakpoints
   ------------------------------------ */

/* ≤ 1200px: etwas kompakter */
@media (max-width:1200px){
  header.top-hero h1{font-size:32px}
  header.top-hero .slogan{font-size:17px}
}

/* ≤ 980px: Sidebar oben, Inhalt 1-spaltig, mobile Paddings */
@media (max-width:980px){
  /* Sidebar wird zum normalen Block oben */
  .sidebar{
    position:relative; width:100%; height:auto; left:auto; top:auto;
    padding:18px 16px;
    display:flex; flex-direction:row; align-items:center; gap:14px; flex-wrap:wrap;
  }
  .sidebar img{
    width:84px; height:84px; margin:0;
    box-shadow:0 4px 12px rgba(0,0,0,.12);
  }
  .sidebar h2{font-size:16px;margin:0}
  .sidebar p,.sidebar a{font-size:14px}

  /* Layout rechts wird vollflächig */
  .page{ margin-left:0; }
  .container{ width:100vw; padding:0 16px 64px 16px; }

  /* Header-Block untereinander */
  header.top-hero{
    padding:16px 0 8px; flex-direction:column; gap:12px; align-items:stretch;
  }
  header.top-hero h1{font-size:28px}
  header.top-hero .slogan{font-size:16px}

  /* Navigation: bei Bedarf horizontal scrollen */
  .topnav{
    gap:10px; flex-wrap:nowrap; overflow-x:auto; -webkit-overflow-scrolling:touch;
    padding-bottom:4px; margin-bottom:2px;
  }
  .topnav a{flex:0 0 auto}

  /* CTA Button nicht verschieben */
  .btn-wrap .simple-button{ transform:none; }

  /* Grid einkolumnig */
  .grid-two{ grid-template-columns:1fr; }

  /* Mehrspaltenliste einkolumnig */
  .wide-card ul{ columns:1; }
}

/* ≤ 720px: Typo weiter verkleinern, Buttons griffiger */
@media (max-width:720px){
  header.top-hero h1{font-size:26px}
  header.top-hero .slogan{font-size:15px}
  .simple-button{font-size:17px; padding:10px 18px}
  .list-card{padding:18px 18px}
}

/* ≤ 520px: enge Smartphones */
@media (max-width:520px){
  header.top-hero h1{font-size:24px}
  header.top-hero .slogan{font-size:14px}
  .topnav{gap:8px}
  .topnav a{font-size:13px; padding:6px 10px}
  .gaertchen-mini img{width:80px;height:80px}
  .list-card h3{font-size:18px}
  section h2{font-size:24px}
}

/* Präferenz: Reduktion von Animationen (falls später Effekte hinzukommen) */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto}
}

/* Desktop-Default */
section { margin-block-start: 48px; }

/* ≤ 1200px */
@media (max-width:1200px){
  section { margin-block-start: 40px; }
}

/* ≤ 980px */
@media (max-width:980px){
  section { margin-block-start: 32px; }
}

/* ≤ 720px */
@media (max-width:720px){
  section { margin-block-start: 28px; }
}

/* ≤ 520px */
@media (max-width:520px){
  section { margin-block-start: 24px; }
}


/* Navigation Links */
nav a {
  text-decoration: none;   /* keine Unterstreichung */
  color: inherit;          /* übernimmt die aktuelle Schriftfarbe */
  padding: 6px 10px;       /* etwas Luft für Klickfläche */
  display: inline-block;
}

nav a:hover {
  text-decoration: none;   /* auch beim Hover keine Unterstreichung */
  color: #EA7A29;          /* Orange beim Überfahren */
}

nav a.active {
  color: #EA7A29;          /* Orange für die aktive Seite */
  font-weight: bold;       /* zusätzlich Fettung */
}

/* Keine Unterstreichung für Footer-Links und Buttons */
footer a,
button,
.btn {
  text-decoration: none !important;
}
nav a, nav a:visited, nav a:hover, nav a:active {
  text-decoration: none;
}
nav {
  display: flex;
  justify-content: center; /* zentriert horizontal */
  gap: 24px; /* Abstand zwischen den Buttons */
}
#einfache-sprache-button {
  display: block;
  margin: 16px auto; /* macht links/rechts automatisch gleich → zentriert */
  text-align: center;
}
nav a, nav a:visited, nav a:hover, nav a:active,
#einfache-sprache-button a, 
#einfache-sprache-button {
  text-decoration: none;
}
/* =========================
   NAV: zentrieren + keine Unterstreichung
   ========================= */

/* 1) Unterstreichung für alle Links global abschalten (inkl. visited/hover/active) */
a, a:visited, a:hover, a:active {
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  border-bottom: none !important;           /* falls Unterstreichung per border simuliert wurde */
}

/* 2) Navigation horizontal zentrieren – deckt gängige Markup-Varianten ab */
nav, .nav, .site-nav, .main-nav, .top-nav, header nav {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
  text-align: center !important;
}

/* Wenn deine Navi eine UL/LIs-Struktur hat, zentriere die Liste ebenfalls */
nav ul, .nav ul, .site-nav ul, .main-nav ul, header nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
}

/* Links in der Navi als „Buttons“ darstellbar (optional padding) */
nav a, .nav a, .site-nav a, .main-nav a, header nav a {
  display: inline-block !important;
  padding: 6px 10px !important;
  color: inherit !important;   /* übernimmt Textfarbe */
}

/* 3) Aktiver Menüpunkt farblich markieren (wenn im HTML class="active" gesetzt ist) */
nav a.active, .nav a.active, .site-nav a.active, .main-nav a.active, header nav a.active {
  color: #EA7A29 !important;   /* dein Orange */
  font-weight: 700 !important;
}

/* =========================
   „Einfache Sprache“ Button
   ========================= */

/* Falls der Button außerhalb der Navi steht – zentrieren und Unterstreichung sicher entfernen */
#einfache-sprache-button,
a#einfache-sprache-button,
a[href*="einfach"],          /* Fallback: Link-URL enthält „einfach“ */
a[href*="einfache-sprache"]  /* Fallback-Variante */
{
  display: block !important;
  width: fit-content !important;
  margin: 12px auto !important;      /* zentriert */
  text-decoration: none !important;
  border-bottom: none !important;
  color: inherit !important;
}

/* Auch die Zustände erzwingen, falls ein Framework drüberbügelt */
#einfache-sprache-button:hover,
#einfache-sprache-button:visited,
#einfache-sprache-button:active,
a[href*="einfach"]:hover,
a[href*="einfach"]:visited,
a[href*="einfach"]:active {
  text-decoration: none !important;
  border-bottom: none !important;
  color: #EA7A29 !important; /* optional: Hover-Orange */
}
button, .btn, #einfache-sprache-button {
  text-decoration: none !important;
  border-bottom: none !important;
}
#einfache-sprache-button {
  display: block !important;
  margin: 20px auto !important;   /* zentriert */
  padding: 10px 18px !important;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  border-radius: 8px;
  background-color: #EA7A29;   /* Orange */
  color: #f9f7f7 !important;      /* weiße Schrift */
  text-align: center;
}
#einfache-sprache-button:hover {
  background-color: #c95f18;   /* dunkleres Orange beim Hover */
}
/* Einfache Sprache – sichtbar & zentriert, ohne Unterstreichung */
#einfache-sprache-button,
a#einfache-sprache-button,
a[href*="einfach"],
a[href*="einfache-sprache"] {
  display: block !important;
  width: fit-content !important;
  margin: 16px auto !important;   /* zentriert */
  padding: 10px 16px;
  text-decoration: none !important;
  border: none !important;
  color: #2c2a29 !important;      /* gut lesbar */
}

/* Falls es ein richtiger „Button“ sein soll (optional, sonst löschen) */
.einfache-sprache-solid {
  background: #EA7A29 !important;
  color: #fff !important;
  border-radius: 8px;
}
.einfache-sprache-solid:hover { background:#c95f18 !important; }
/* Footer-Links dezent „poppen“ */
#footer-impressum a {
  text-decoration: none !important;
  transition: transform .15s ease, color .15s ease;
  display: inline-block;
}
#footer-impressum a:hover,
#footer-impressum a:focus-visible {
  transform: translateY(-1px) scale(1.06);
  color: #EA7A29 !important;
  outline: none;
}
/* Immer sichtbarer Start-Button oben links */
#start-button {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  z-index: 10000;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #EA7A29;
  color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  transition: transform .12s ease, background .2s ease;
}
#start-button:hover,
#start-button:focus-visible {
  background: #c95f18;
  transform: translateY(-1px) scale(1.04);
  outline: none;
}
@media (max-width: 480px){
  #start-button { width: 48px; height: 48px; font-size: 1.25rem; }
}
/* Respektiere reduzierte Animationen */
@media (prefers-reduced-motion: reduce){
  #start-button, #footer-impressum a { transition: none; }
}
/* Sichtbarkeit & Kontrast für den Header-Button „Einfache Sprache“ */
.top-hero .btn-wrap .simple-button,
.btn-wrap .simple-button {
  color: #ffffff !important;           /* Text sichtbar */
  text-decoration: none !important;
  font-weight: 600;
}
/* Sichtbarer Text im Button „Einfache Sprache“ – seitenweit */
.top-hero .btn-wrap .simple-button,
.btn-wrap .simple-button,
a.simple-button {
  background: var(--orange, #EA7A29) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600;
}

/* Kartenfarbe wie auf der Startseite (Index) */
.list-card{
  background:#f0e7dc;           
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  padding:14px 16px;
  box-shadow:0 4px 14px rgba(0,0,0,.07);
}
.result-card{
  background:#fffefd;
  border:1px solid rgba(0,0,0,.12);
  border-radius:12px;
  padding:12px;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
}

/* Beige Eingabefelder */
.beige-input{
  background:#eadfcf;
  border:1px solid rgba(0,0,0,.2);
  border-radius:10px;
  padding:10px 12px;
  font:inherit; color:#2c2a29;
}

/* Utilities */
.grid-two{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.push-right{ margin-left:auto; }         
.small-card{ padding:10px 12px; }        
.left-lean .result-grid{                 
  grid-template-columns:minmax(140px,1fr) repeat(2,minmax(0,1fr));
}
@media (max-width:900px){ .grid-two{ grid-template-columns:1fr; } }
/* Helle Standard-Cards (siteweit) */
:root{
  --card-bg: #fbf6ee;      
  --card-border: rgba(0,0,0,.10);
}

.list-card{
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.06) !important;
}

/* Ergebnisboxen & Eingabefelder passend hell */
.result-card{
  background: #fffefd !important;
  border: 1px solid rgba(0,0,0,.10) !important;
}

.beige-input{
  background: #fdf9f2 !important;
  border: 1px solid rgba(0,0,0,.18) !important;
}

/* ===== Texterstellung: lokale Styles, wirken nur unter #content-texterstellung ===== */
#content-texterstellung { --accent: #EA7A29; --card: #FFF8F0; --text: #333; --border: rgba(0,0,0,.12); --muted: #666; color: var(--text); }
#content-texterstellung .page-hero { margin: 0 0 2.5rem; }
#content-texterstellung h1 { font-size: clamp(1.6rem, 2.2vw + 1rem, 2.4rem); line-height: 1.2; margin: 0 0 .75rem; }
#content-texterstellung .lead, #content-texterstellung .lead-outcomes { font-size: 1.0625rem; line-height: 1.7; margin: .5rem 0 0; }
#content-texterstellung .lead-outcomes strong { font-weight: 600; }
#content-texterstellung .section-block { margin: 2.5rem 0; }
#content-texterstellung .muted { color: var(--muted); }
#content-texterstellung .grid-two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin: 1rem 0 0; }
@media (max-width: 840px) { #content-texterstellung .grid-two { grid-template-columns: 1fr; } }
#content-texterstellung .list-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
#content-texterstellung .list-card h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
#content-texterstellung .list-card ul { margin: .35rem 0 0; padding-left: 1.1rem; }
#content-texterstellung .checklist { margin: .75rem 0 0; padding-left: 1.2rem; }
#content-texterstellung .checklist li { margin: .25rem 0; }
#content-texterstellung .steps { counter-reset: step; list-style: none; margin: .75rem 0 0; padding: 0; }
#content-texterstellung .steps li { position: relative; padding-left: 2.2rem; margin: .5rem 0; }
#content-texterstellung .steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0.1rem; width: 1.6rem; height: 1.6rem; border-radius: 999px; background: var(--card); border: 1px solid var(--border); display: inline-grid; place-items: center; font-size: .9rem; }
#content-texterstellung .btnrow { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
#content-texterstellung .btnrow .simple-button { border: 1px solid var(--border); }
#content-texterstellung .simple-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
#content-texterstellung details { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: .5rem .9rem; margin: .5rem 0; }
#content-texterstellung summary { cursor: pointer; font-weight: 600; }
#content-texterstellung h2 { margin: 0 0 .5rem; font-size: 1.25rem; }
#content-texterstellung h3 { margin: 0; }

/* === Inhalte ~3 cm nach oben ziehen (global) === */
main.page .container { --pull-up: 2rem; }
@media (max-width: 640px){ main.page .container { --pull-up: 2rem; } }
header.top-hero { margin-bottom: 0; }
header.top-hero + :is(section, div, article) { margin-top: calc(-1 * var(--pull-up)); }
.muted.tight { margin-top: 6px; margin-bottom: 0; }
.muted.tight + .muted.tight { margin-top: 4px; }
.section-block h2 { margin-bottom: .4rem; }
.section-block h2 + p { margin-top: .2rem; }
.btnrow { display: flex; gap: .5rem; flex-wrap: wrap; }
.btnrow .simple-button{ padding: .48rem .8rem; white-space: nowrap; line-height: 1.1; }
@media (max-width: 420px){ .btnrow .simple-button{ padding: .42rem .7rem; font-size: .95rem; } }
.micro{ font-size: 1rem; font-weight: 600; margin: .4rem 0 .2rem; letter-spacing: .2px; }
.micro + p { margin-top: .2rem; }
.section-block h3.micro{ margin-top: .3rem; margin-bottom: .15rem; font-size: 1rem; font-weight: 600; letter-spacing: .2px; }
.section-block h3.micro + p{ margin-top: .15rem; }
.section-block h3.micro { margin-block-start: .3rem; margin-block-end: .15rem; }
.section-block h3.micro + p { margin-block-start: .15rem; }
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 10px; top: 10px; width: auto; height: auto; padding: 8px 12px; background: #fff; border: 2px solid #EA7A29; border-radius: 8px; z-index: 1000; }
:focus-visible { outline: 3px solid #EA7A29; outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; left: 10px; top: 10px; width: auto; height: auto; padding: 8px 12px; background: #fff; border: 2px solid #EA7A29; border-radius: 8px; z-index: 1000; }
:focus-visible { outline: 3px solid #EA7A29; outline-offset: 2px; }
.simple-button[aria-current="page"]{ font-weight:700; text-decoration:underline; text-underline-offset:2px; }
@media print {
  @page { margin: 15mm; }
  html, body { background:#fff !important; color:#000 !important; }
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
  .sidebar, .topnav, .top-hero .btn-wrap, .btnrow, .simple-button, .prefooter-quote, .gaertchen-mini, .pill, .skip-link, footer { display:none !important; }
  .container, .page, main { max-width:none !important; margin:0 !important; padding:0 !important; }
  .list-card, .section-block, .card { border:0 !important; box-shadow:none !important; }
  body, main { font-size:12pt; line-height:1.5; }
  h1 { font-size:20pt; margin:0 0 8pt; }
  h2 { font-size:16pt; margin:14pt 0 6pt; background:transparent !important; border:0 !important; }
  h3 { font-size:13pt; margin:10pt 0 4pt; color:#000 !important; }
  img { max-width:100% !important; height:auto !important; }
  a { color:#000 !important; text-decoration:none !important; }
  a[href^="http"]:after { content:" (" attr(href) ")"; font-size:9pt; }
  details { display:block; }
  details > summary { font-weight:700; }
  h1, h2, h3, p, ul, ol, table { page-break-inside:avoid; break-inside:avoid-page; }
  section { page-break-after:auto; }
}
main.page .container { display: flow-root; }
.section-block:first-of-type { margin-top: 0; }
main.page .container { display: flow-root; }
main.page .container > .section-block:first-of-type { margin-top: -1.65rem; }
details > summary { list-style: none; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
details > summary::-webkit-details-marker { display: none; }
details summary::before { content: "▸ "; }
details[open] summary::before { content: "▾ "; }
.hint { color: var(--muted, #5f5b53); font-size: 0.95em; margin: .25rem 0 .5rem; }
.list-card { display: flex; flex-direction: column; }
.btnrow { display:flex; gap:10px; flex-wrap:wrap; }
.btnrow.right { justify-content: flex-end; }
.simple-button { font-size:16px; padding:10px 16px; line-height:1.2; }
.btn-back { font-size:15px; padding:8px 14px; }
.overview-points { display:grid; gap:.35rem; padding-left:1.1em; }
.overview-points li { margin:0; }
.page-lektorat .lektorat-main { margin-top: -1.65rem; padding-left: 0; padding-right: 0; }
.page-lektorat .lektorat-main .section-block { margin-left: 0; }
.overview-links a { text-decoration: underline; text-underline-offset: 2px; }
.overview-links { margin: 4px 0 6px; font-size: 14px; line-height: 1.6; }
.overview-links a { text-decoration: underline; text-underline-offset: 2px; }
.faq-tip { margin: -4px 0 10px !important; }
details > summary { list-style: none; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
details > summary::-webkit-details-marker { display: none; }
details summary::before { content: "▸ "; }
details[open] summary::before { content: "▾ "; }
#lektorat-beispiele article .grid-two { margin: 6px 0; }
#lektorat-beispiele h4 { margin: 2px 0 4px; }
#lektorat-beispiele .grid-two > div p { margin: 0 0 6px; }
#lektorat-beispiele details { margin-top: 6px; }
.overview-links { margin: 4px 0 6px; font-size: 13.5px; line-height: 1.55; opacity: .96; }
.overview-links a { text-decoration: underline; text-underline-offset: 2px; }
.overview-links { margin: 4px 0 6px; font-size: 13.5px; line-height: 1.55; opacity: .96; }
.overview-links a { text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
@media (max-width: 640px){
  .overview-links { font-size: 13px; }
  .overview-links a { display: inline-block; margin: 2px 0; }
}
.faq-accordion details > summary{ display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; line-height: 1.35; overflow-wrap: anywhere; }
.simple-button:focus-visible, .btn-back:focus-visible, .overview-links a:focus-visible, .faq-accordion summary:focus-visible{ outline: 3px solid var(--accent, #EA7A29); outline-offset: 2px; border-radius: 6px; }
#page-shift { transform: translateX(-170px); }
.contact-drawer{ position: fixed; right: 0; bottom: 16px; transform: translateX(calc(100% - 52px)); }
.contact-drawer.open{ transform: translateX(0); }

/* =========================================================
   SEITENSPEZIFISCH: KORREKTORAT (Index bleibt unverändert)
   ========================================================= */

/* etwas näher an den Balken rücken */
body.page-korrektorat .container{ padding-left: 1.2cm; }

/* Header-Ausrichtung und Lücken */
body.page-korrektorat header.top-hero{
  align-items:center; 
  gap:16px;
}

/* Marken-Startbutton links neben der Navi */
body.page-korrektorat .brand-button{
  display:inline-block;
  white-space:nowrap;
  background: var(--accent);
  color:#fff !important;
  font-weight:800;
  font-size:16px;
  line-height:1;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 6px 18px rgba(0,0,0,.10);
  transform: translateX(-6px); /* minimal näher an den Balken */
}
body.page-korrektorat .brand-button:hover{ background:#c96520; }

/* Navi bleibt zentriert im mittleren Block */
body.page-korrektorat header.top-hero .titleblock{
  flex:1; 
  text-align:center;
}
body.page-korrektorat header.top-hero nav.topnav{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:14px !important;
  flex-wrap:nowrap !important;
  overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:thin;
}
body.page-korrektorat header.top-hero .topnav a{
  padding:6px 11px !important;
  font-size:clamp(14px,0.98vw,16px) !important;
  border-radius:999px !important;
}

/* CTA unter Navi zentriert, globaler -1cm-Shift neutralisiert */
body.page-korrektorat header.top-hero .btn-wrap{ text-align:center; margin-top:12px; }
body.page-korrektorat header.top-hero .btn-wrap .simple-button{ transform:none !important; }

/* H1 Fly-in (ohne weiteren Content darunter) */
body.page-korrektorat .intro-h1{
  text-align:center;
  margin: 18px auto 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  color: var(--accent, #EA7A29);
  opacity: 0;
  transform: translateX(-100%);
  animation: flyInH1 1.0s ease forwards;
}
@keyframes flyInH1 { to { opacity:1; transform:translateX(0); } }

/* Sprachgärtchen-Mini unverändert */
body.page-korrektorat .gaertchen-mini{ display:flex; flex-direction:column; align-items:center; gap:2px; }

/* Mobil: header stapeln (Brand → Navi → CTA) */
@media (max-width:980px){
  body.page-korrektorat .container{ padding-left:16px; }
  body.page-korrektorat header.top-hero{ flex-direction:column; align-items:center; gap:10px; }
  body.page-korrektorat .brand-button{ transform:none; }
}
/* korrektorat: Startbutton links, zweizeilig */
body.page-korrektorat .brand-button{
  display:inline-block;
  white-space:normal;          /* erlaubt den <br>-Umbruch */
  line-height:1.05;
  background: var(--accent);
  color:#fff !important;
  font-weight:800;
  font-size:18px;              /* etwas größer */
  padding:12px 16px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 6px 18px rgba(0,0,0,.10);
  transform: translateX(-8px); /* näher an den Balken */
}
body.page-korrektorat .brand-button:hover{ background:#c96520; }
@media (max-width:980px){
  body.page-korrektorat .brand-button{ transform:none; }
}
/* korrektorat: Navi als reine Textlinks */
body.page-korrektorat header.top-hero .topnav{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:18px !important;
  flex-wrap:nowrap !important;
  overflow-x:auto;             /* Fallback, falls’s knapp wird */
  -webkit-overflow-scrolling:touch;
}
body.page-korrektorat header.top-hero .topnav a{
  background:transparent !important;
  border:none !important;
  border-radius:0 !important;
  padding:0 !important;        /* nur Text, kein Button-Frame */
  font-weight:600;
  font-size:clamp(14px,1vw,16px);
}
/* globalen Pull-up neutralisieren & H1 tiefer setzen */
body.page-korrektorat header.top-hero + :is(section, div, article){
  margin-top: 28px !important;    /* statt negativem Pull-up */
}

body.page-korrektorat .intro-h1{
  margin: 30px auto 0 !important; /* rutscht sichtbar nach unten */
  text-align:center;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  color: var(--accent, #EA7A29);
  opacity: 0;
  transform: translateX(-100%);
  animation: flyInH1 1.0s ease forwards;
}
@keyframes flyInH1 { to { opacity:1; transform:translateX(0); } }
/* KORREKTORAT: Brand-Button dezenter, kleiner, Outline */
body.page-korrektorat .brand-button{
  white-space:normal;              /* <br> bleibt erlaubt */
  background:#fff;
  color:var(--accent) !important;
  border:2px solid var(--accent);
  font-weight:700;
  font-size:15px;
  line-height:1.06;
  padding:8px 12px;
  border-radius:14px;
  box-shadow:0 3px 10px rgba(0,0,0,.06);
  transform: translateX(-6px);     /* nah am Balken */
}
body.page-korrektorat .brand-button:hover{
  background:var(--accent);
  color:#fff !important;
}
@media (max-width:980px){
  body.page-korrektorat .brand-button{ transform:none; }
}
/* KORREKTORAT: Navi als Text, größere Schrift */
body.page-korrektorat header.top-hero .topnav{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  gap:20px !important;
  flex-wrap:nowrap !important;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
body.page-korrektorat header.top-hero .topnav a{
  background:transparent !important;
  border:none !important;
  padding:0 !important;
  font-weight:600;
  font-size:clamp(16px,1.15vw,18px);  /* größer als zuvor */
  line-height:1.2;
}
/* KORREKTORAT: CTA zentriert, ohne verschiebenden Transform */
body.page-korrektorat header.top-hero .btn-wrap{
  display:flex;
  justify-content:center;
  margin-top:10px;
  text-align:center;
}
body.page-korrektorat header.top-hero .btn-wrap .simple-button{
  transform:none !important;
  margin:0 auto;
}
