/**
 * Dateiname: anleitung.css
 * Beschreibung: Gestaltung der Einstiegsseite ANLEITUNG.html (Neuinstallation einer Künstler-Website) und der
 *               Anleitung zur Verwaltung ANLEITUNG-VERWALTUNG.html.
 *               Eigenständig, ohne externe Schriften oder Dienste; helle und dunkle Darstellung.
 *
 * @version 0.4
 * @date 2026-10-20
 *
 * Änderungshistorie:
 * v0.4 - 2026-10-20 - Wegweiser „Was möchten Sie ändern?“ (.wegweiser)
 * v0.3 - 2026-10-20 - Bausteine für ANLEITUNG-VERWALTUNG.html: Inhaltsleiste, Browser-Skizze, Tasten, Aufbau der Übersicht,
 *                     Bereiche, Tabelle, Felder, aufklappbare Fragen
 * v0.2 - 2026-10-14 - Schräge Linie und Schild „Ihr Werk hier“ im Eingangsbild entfernt
 * v0.1 - 2026-10-14 - Initiale Version
 */

:root {
    --wall: #f4f2ed;
    --paper: #ffffff;
    --ink: #1c1c1a;
    --ink-soft: #3d3b37;
    --muted: #6e6a63;
    --line: #dcd8cf;
    --accent: #b23a1f;
    --accent-soft: #f3e1da;
    --teal: #4f9e98;
    --ochre: #c9a24a;
    --ok: #2c6a3a;
    --serif: Georgia, "Times New Roman", serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --breite: 1080px;
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --wall: #161514;
        --paper: #211f1d;
        --ink: #ece8e1;
        --ink-soft: #d3cec5;
        --muted: #a39d93;
        --line: #3a3733;
        --accent: #e0956a;
        --accent-soft: #3a2a21;
        --teal: #5fb3ac;
        --ochre: #d6b25d;
        --ok: #7fc28e;
    }
}
:root[data-theme="dark"] {
    --wall: #161514;
    --paper: #211f1d;
    --ink: #ece8e1;
    --ink-soft: #d3cec5;
    --muted: #a39d93;
    --line: #3a3733;
    --accent: #e0956a;
    --accent-soft: #3a2a21;
    --teal: #5fb3ac;
    --ochre: #d6b25d;
    --ok: #7fc28e;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--wall);
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
code { font-size: 0.92em; background: var(--accent-soft); color: var(--ink); padding: 0.1em 0.35em; border-radius: 3px; word-break: break-word; }
.container { max-width: var(--breite); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 32px; } }

/* ---------- Kopf mit Farbfeldern ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; z-index: 1; display: grid; gap: 40px; padding: 72px 0 64px; align-items: center; }
@media (min-width: 860px) { .hero-inner { grid-template-columns: 1.15fr 0.85fr; padding: 104px 0 96px; } }
.eyebrow { display: inline-block; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 6.2vw, 4.3rem); margin-bottom: 0.4em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lead { font-size: 1.2rem; max-width: 36em; color: var(--ink-soft); }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 0.8em 1.4em; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 0.95rem; letter-spacing: 0.04em; transition: background 0.2s, color 0.2s; }
.btn:hover { background: var(--ink); color: var(--wall); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); color: var(--wall); }

/* Abstrakte Komposition wie die Beispielbilder der Einrichtung */
.leinwand { position: relative; aspect-ratio: 4 / 5; max-width: 380px; width: 100%; justify-self: center; background: var(--paper); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.14); padding: 9%; display: grid; grid-template-rows: 1.2fr 0.8fr 1fr; gap: 5%; }
.feld { border-radius: 2px; filter: blur(1.5px); }
.feld-1 { background: var(--accent); opacity: 0.88; }
.feld-2 { background: var(--ochre); opacity: 0.75; }
.feld-3 { background: var(--teal); opacity: 0.8; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 80px 0; border-bottom: 1px solid var(--line); }
.abschnitt-kopf { max-width: 44em; margin-bottom: 40px; }
.abschnitt-kopf p { color: var(--muted); font-size: 1.08rem; }

/* Vorteile */
.vorteile { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .vorteile { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .vorteile { grid-template-columns: repeat(3, 1fr); } }
.vorteil { background: var(--paper); padding: 28px 26px; }
.vorteil-zeichen { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--serif); font-size: 1.15rem; margin-bottom: 14px; }
.vorteil h3 { margin-bottom: 0.35em; }
.vorteil p { margin: 0; font-size: 0.96rem; }

/* Voraussetzungen */
.zweispaltig { display: grid; gap: 32px; }
@media (min-width: 860px) { .zweispaltig { grid-template-columns: 1fr 1fr; gap: 48px; } }
.karte { background: var(--paper); border: 1px solid var(--line); padding: 28px 28px 20px; }
.haken { list-style: none; margin: 0 0 12px; padding: 0; }
.haken li { position: relative; padding: 0.3em 0 0.3em 1.8em; }
.haken li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.hinweis { border-left: 4px solid var(--ochre); background: var(--paper); padding: 16px 20px; margin: 24px 0 0; }
.hinweis p:last-child { margin-bottom: 0; }

/* Schritte */
.schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.schritt { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 22px; padding-bottom: 44px; }
.schritt::before { counter-increment: schritt; content: counter(schritt); grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--wall); font-family: var(--serif); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.schritt::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.schritt:last-child { padding-bottom: 0; }
.schritt:last-child::after { display: none; }
.schritt h3 { margin: 0.55em 0 0.4em; font-size: 1.4rem; }
.schritt-dauer { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; margin-left: 0.5em; white-space: nowrap; }
.schritt-text > *:last-child { margin-bottom: 0; }
.teilschritte { margin: 0.4em 0 1em; padding-left: 1.2em; }
.teilschritte li { margin-bottom: 0.45em; }
.wichtig { display: block; background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 12px 16px; margin: 14px 0 0; color: var(--ink); }

/* Checkliste vor der Freigabe */
.freigabe { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .freigabe { grid-template-columns: 1fr 1fr; } }
.freigabe li { background: var(--paper); border: 1px solid var(--line); padding: 14px 18px 14px 52px; position: relative; }
.freigabe li::before { content: ""; position: absolute; left: 18px; top: 17px; width: 18px; height: 18px; border: 2px solid var(--accent); border-radius: 50%; }

/* Gut zu wissen */
.wissen { display: grid; gap: 24px; }
@media (min-width: 760px) { .wissen { grid-template-columns: 1fr 1fr; } }
.wissen .karte h3 { margin-bottom: 0.4em; }
.wissen .karte p { font-size: 0.97rem; }

/* Schluss */
.schluss { padding: 88px 0; text-align: center; }
.schluss h2 { margin-bottom: 0.4em; }
.schluss p { max-width: 36em; margin: 0 auto 1.6em; color: var(--muted); font-size: 1.1rem; }
.fuss { padding: 28px 0 40px; font-size: 0.85rem; color: var(--muted); text-align: center; }

@media print {
    .hero-knoepfe, .leinwand { display: none; }
    .abschnitt { padding: 32px 0; }
    .schritt { break-inside: avoid; }
}

/* ---------- Anleitung zur Verwaltung ---------- */
/* Inhaltsleiste */
.inhalt { position: sticky; top: 0; z-index: 10; background: var(--wall); border-bottom: 1px solid var(--line); }
.inhalt .container { display: flex; gap: 6px 18px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: thin; }
@media (min-width: 860px) { .inhalt .container { flex-wrap: wrap; overflow: visible; } }
.inhalt a { flex: none; font-size: 0.88rem; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.inhalt a:hover { color: var(--accent); }
.abschnitt { scroll-margin-top: 48px; }

/* Tasten */
kbd { display: inline-block; font-family: var(--sans); font-size: 0.82em; line-height: 1.3; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 5px; padding: 0.05em 0.45em; white-space: nowrap; }
.tasten { list-style: none; margin: 0.4em 0 1em; padding: 0; }
.tasten li { padding: 0.45em 0; border-bottom: 1px dashed var(--line); }
.tasten li span { display: inline-block; min-width: 11em; color: var(--muted); font-size: 0.92rem; }

/* Wegweiser: Wunsch → Bereich der Verwaltung */
.wegweiser { list-style: none; margin: 0.4em 0 1em; padding: 0; border: 1px solid var(--line); background: var(--paper); }
.wegweiser li { display: grid; gap: 2px 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.wegweiser li:last-child { border-bottom: 0; }
.wegweiser li span { font-weight: 400; color: var(--ink-soft); }
@media (min-width: 700px) { .wegweiser li { grid-template-columns: 18em 1fr; } }

/* Skizze: Browser mit zwei Reitern */
.browser { max-width: 560px; margin: 0 0 44px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1); }
.browser-reiter { display: flex; gap: 4px; padding: 10px 10px 0; background: var(--line); }
.reiter { flex: 1 1 0; min-width: 0; padding: 8px 12px; font-size: 0.8rem; color: var(--muted); background: var(--wall); border-radius: 8px 8px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reiter-aktiv { background: var(--paper); color: var(--ink); }
.reiter + .reiter { border: 2px solid var(--accent); border-bottom: 0; color: var(--ink); }
.browser-adresse { margin: 10px 12px; padding: 6px 12px; font-size: 0.78rem; color: var(--muted); background: var(--wall); border-radius: 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-seite { display: grid; gap: 10px; padding: 8px 20px 22px; }
.browser-feld { display: block; height: 12px; background: var(--wall); border-radius: 3px; }
.browser-feld-kurz { width: 55%; }
.browser-knopf { justify-self: start; padding: 4px 14px; font-size: 0.78rem; color: #fff; background: var(--accent); }

/* Aufbau der Übersicht */
.plan { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 32px; }
.plan-zeile { display: grid; gap: 4px 20px; background: var(--paper); padding: 14px 20px; }
@media (min-width: 700px) { .plan-zeile { grid-template-columns: 9em 1fr; } }
.plan-zeile strong { color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: 1.1rem; }
.plan-kopf { background: var(--ink); color: var(--wall); }
.plan-kopf strong { color: var(--wall); }
.plan-hinweis { border-left: 4px solid var(--ochre); }

/* Bereiche */
.bereiche { display: grid; gap: 24px; }
@media (min-width: 860px) { .bereiche { grid-template-columns: 1fr 1fr; } }
.karte-zweck { color: var(--muted); }
.karte-unter { margin-top: 1em; }
.eintraege { margin: 0 0 12px; }
.eintraege dt { font-weight: 600; color: var(--ink); margin-top: 0.8em; }
.eintraege dd { margin: 0.15em 0 0; font-size: 0.96rem; }

/* Tabelle */
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
.tabelle { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.95rem; }
.tabelle th, .tabelle td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tabelle thead th { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); background: var(--accent-soft); }
.tabelle tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.tabelle tr:last-child th, .tabelle tr:last-child td { border-bottom: 0; }
/* Handy: jede Zeile als Block, die Spaltennamen stehen vor den Zellen */
@media (max-width: 699px) {
    .tabelle-rahmen { border: 0; background: none; }
    .tabelle { min-width: 0; }
    .tabelle thead { display: none; }
    .tabelle tr { display: block; background: var(--paper); border: 1px solid var(--line); margin-bottom: 12px; }
    .tabelle tbody th, .tabelle td { display: block; border: 0; padding: 6px 16px; white-space: normal; }
    .tabelle tbody th { padding-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; background: var(--accent-soft); }
    .tabelle td::before { content: attr(data-label); display: block; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
    .tabelle td:last-child { padding-bottom: 12px; }
}

/* Felder eines Werks */
.felder { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 8px 24px 20px; }
.felder dt { font-weight: 600; color: var(--ink); margin-top: 1em; }
.felder dd { margin: 0.2em 0 0; }
.pflicht { font-weight: 400; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin-left: 0.4em; }

/* Aufklappbare Fragen */
.fragen { display: grid; gap: 10px; }
.fragen details { background: var(--paper); border: 1px solid var(--line); }
.fragen summary { cursor: pointer; list-style: none; position: relative; padding: 16px 52px 16px 20px; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: 1.4rem; color: var(--accent); }
.fragen details[open] summary::after { content: "–"; }
.fragen summary:hover { color: var(--accent); }
.fragen details > :not(summary) { margin: 0 20px 18px; }
.fragen ol { padding-left: 1.3em; }
.fragen li { margin-bottom: 0.4em; }

@media print {
    .inhalt { display: none; }
    .fragen details { break-inside: avoid; }
}