/* ==========================================================================
   Companygrave – Stylesheet
   Ohne externe Abhängigkeiten. Schriften aus dem Systembestand.
   ========================================================================== */

/* Farbwelt aus dem Logo: Orange #ff931d, Hellgelb #ffdf85, Braun #443423 */
:root {
    --ink: #443423;            /* Logo-Braun: Überschriften, Tabellenköpfe */
    --ink-dark: #2e2318;       /* dunkle Flächen: Hero, dunkle Abschnitte */
    --ink-2: #3a2c1e;          /* Karten und Bänder auf dunklem Grund */
    --ink-3: #6b4f33;          /* Links */
    --accent: #ff931d;         /* Logo-Orange: Buttons, Linien, Icons */
    --accent-hover: #f2820c;
    --accent-strong: #a85600;  /* Orange für kleine Schrift auf hellem Grund (Kontrast ≥ 4,5:1) */
    --accent-soft: #ffdf85;    /* Logo-Hellgelb */
    --accent-pale: #fff1dc;
    --paper: #faf7f2;
    --white: #ffffff;
    --line: #ebe2d5;
    --line-dark: rgba(255, 255, 255, 0.12);
    --text: #2b2219;
    --muted: #6b5d4f;
    --error: #a3302a;
    --success: #2f6b45;

    --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --radius: 4px;
    --radius-lg: 8px;
    --shadow: 0 1px 2px rgba(46, 35, 24, 0.06), 0 8px 24px rgba(46, 35, 24, 0.06);
    --shadow-lg: 0 2px 4px rgba(46, 35, 24, 0.06), 0 18px 40px rgba(46, 35, 24, 0.12);

    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 76px;
}

/* ---------- Basis ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
    color: var(--ink-3);
    text-decoration-color: rgba(255, 147, 29, 0.6);
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}
a:hover { color: var(--accent-strong); }

:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    margin: 0 0 0.6em;
    letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }

address { font-style: normal; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.lead {
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    color: var(--muted);
    max-width: 46rem;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    padding: 0.9em 1.6em;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font: 600 1rem/1.2 var(--font-sans);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.15s ease; }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--ink); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.06); }

.btn-small { padding: 0.65em 1.2em; font-size: 0.95rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 247, 242, 0.96);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@supports (backdrop-filter: blur(8px)) {
    .site-header { background: rgba(250, 247, 242, 0.86); backdrop-filter: blur(10px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(46, 35, 24, 0.05); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}
.brand:hover { color: var(--ink); }
/* Seitenverhältnis des Logos: 200 × 30 */
.brand-logo { display: block; height: 32px; width: calc(32px * 200 / 30); flex: none; }
.brand-light, .brand-light:hover { color: var(--white); }
@media (max-width: 400px) { .brand-logo { height: 26px; width: calc(26px * 200 / 30); } }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav ul a {
    position: relative;
    display: block;
    padding: 8px 10px;
    color: var(--text);
    font-size: 0.97rem;
    font-weight: 500;
    text-decoration: none;
}
.main-nav ul a::after {
    content: "";
    position: absolute;
    left: 10px; right: 10px; bottom: 2px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
.main-nav ul a:hover { color: var(--ink); }
.main-nav ul a:hover::after,
.main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav ul a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

@media (max-width: 1080px) {
    .nav-toggle { display: inline-flex; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 12px var(--gutter) 24px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px rgba(46, 35, 24, 0.08);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .main-nav.is-open { display: flex; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .main-nav ul a::after { display: none; }
    .main-nav ul a[aria-current="page"] { color: var(--accent-strong); }
    .nav-cta { align-self: flex-start; }
}

/* ---------- Brotkrumen ---------- */

.breadcrumbs { margin-bottom: 28px; font-size: 0.9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { color: rgba(255, 255, 255, 0.65); }
.breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, 0.35); }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Hero Startseite ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--ink-dark);
    color: rgba(255, 255, 255, 0.82);
    padding: clamp(64px, 10vw, 120px) 0 clamp(64px, 9vw, 110px);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 85% 20%, rgba(255, 147, 29, 0.16), transparent 70%),
        linear-gradient(180deg, var(--ink-dark) 0%, #261c13 100%);
}
.hero-pattern {
    position: absolute;
    right: -40px; top: 50%;
    width: min(640px, 60vw);
    transform: translateY(-50%);
    color: rgba(255, 147, 29, 0.13);
    pointer-events: none;
}
.hero .container { position: relative; }
.hero-content { max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 0.45em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: rgba(255, 255, 255, 0.78); margin-bottom: 2rem; }
.hero .eyebrow { color: var(--accent); }

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin: 2.4rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.97rem;
}
.hero-points li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.85); }
.hero-points .icon { color: var(--accent); }

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

.page-hero {
    position: relative;
    background: var(--ink-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: clamp(40px, 6vw, 64px) 0 clamp(52px, 7vw, 80px);
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 40%;
    background: radial-gradient(ellipse at 80% 30%, rgba(255, 147, 29, 0.14), transparent 65%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 22ch; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .lead { color: rgba(255, 255, 255, 0.78); margin: 0; }

/* ---------- Abschnitte ---------- */

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--ink-dark); color: rgba(255, 255, 255, 0.8); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .lead { color: rgba(255, 255, 255, 0.72); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- USP-Leiste ---------- */

.usp-bar {
    position: relative;
    z-index: 2;
    margin-top: -48px;
}
.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.usp {
    display: flex;
    gap: 18px;
    padding: 30px 28px;
}
.usp + .usp { border-left: 1px solid var(--line); }
.usp .icon { width: 34px; height: 34px; color: var(--accent); }
.usp h3 { margin-bottom: 0.3em; font-size: 1.2rem; }
.usp p { margin: 0; color: var(--muted); font-size: 0.97rem; }

@media (max-width: 860px) {
    .usp-grid { grid-template-columns: 1fr; }
    .usp + .usp { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Leistungskarten ---------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 960px) { .card-grid { grid-template-columns: 1fr; } }

.card {
    display: flex;
    flex-direction: column;
    padding: 36px 32px 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #f5c58e; }
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
}
.card-icon .icon { width: 28px; height: 28px; }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--muted); }
.card ul { list-style: none; padding: 0; margin: 0 0 1.6em; }
.card li {
    position: relative;
    padding: 7px 0 7px 26px;
    border-top: 1px solid var(--line);
    font-size: 0.97rem;
}
.card li::before {
    content: "";
    position: absolute;
    left: 2px; top: 15px;
    width: 10px; height: 6px;
    border-left: 2px solid var(--accent-strong);
    border-bottom: 2px solid var(--accent-strong);
    transform: rotate(-45deg);
}
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}
.card-link .icon { transition: transform 0.15s ease; }
.card-link:hover { color: var(--accent-strong); }
.card-link:hover .icon { transform: translateX(4px); }

/* ---------- Zweispaltige Inhalte ---------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}
.split-top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.check-list li {
    position: relative;
    padding: 0 0 0 34px;
    margin-bottom: 14px;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 4px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--accent-pale);
}
.check-list li::after {
    content: "";
    position: absolute;
    left: 6px; top: 10px;
    width: 8px; height: 5px;
    border-left: 2px solid var(--accent-strong);
    border-bottom: 2px solid var(--accent-strong);
    transform: rotate(-45deg);
}
.section-dark .check-list li::before { background: rgba(255, 147, 29, 0.18); }
.section-dark .check-list li::after { border-color: var(--accent); }

/* Experten-Panel */
.expert-panel {
    display: grid;
    gap: 16px;
}
.expert {
    display: flex;
    gap: 20px;
    padding: 26px 26px;
    background: var(--ink-2);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-lg);
}
.expert .icon { width: 34px; height: 34px; color: var(--accent); }
.expert h3 { margin-bottom: 0.3em; font-size: 1.2rem; }
.expert p { margin: 0; font-size: 0.97rem; color: rgba(255, 255, 255, 0.72); }

/* ---------- Prozessschritte ---------- */

.steps {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.steps > li {
    counter-increment: step;
    position: relative;
    padding: 28px 24px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
}
.steps > li::before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1;
    color: var(--accent-strong);
}
.steps h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.steps p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Zeitleiste (vertikal) */
.timeline {
    counter-reset: tl;
    list-style: none;
    margin: 0 0 1.5em;
    padding: 0;
}
.timeline > li {
    counter-increment: tl;
    position: relative;
    padding: 0 0 30px 64px;
}
.timeline > li::before {
    content: counter(tl);
    position: absolute;
    left: 0; top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--accent);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
}
.timeline > li::after {
    content: "";
    position: absolute;
    left: 20px; top: 46px; bottom: 4px;
    width: 2px;
    background: var(--line);
}
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li:last-child::after { display: none; }
.timeline h3 { margin: 8px 0 0.35em; font-size: 1.2rem; }
.timeline p { margin: 0; color: var(--muted); }
.timeline .meta {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-strong);
}

/* ---------- Vergleichstabelle ---------- */

.table-wrap {
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 0.98rem;
}
.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}
.compare-table thead th {
    background: var(--ink);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
}
.compare-table tbody th { width: 26%; color: var(--ink); font-weight: 600; }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:nth-child(even) { background: #fcf9f4; }

/* ---------- Inhaltsseiten ---------- */

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(40px, 5vw, 72px);
    align-items: start;
}
@media (max-width: 980px) { .content-layout { grid-template-columns: 1fr; } }

.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; padding-top: 0.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul li, .prose ol li { margin-bottom: 0.45em; }
.prose .timeline, .prose .check-list { margin-top: 1.5em; }
.prose .table-wrap { margin: 1.5em 0 2em; }

.callout {
    display: flex;
    gap: 16px;
    margin: 2em 0;
    padding: 22px 24px;
    background: var(--accent-pale);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
}
.callout .icon { width: 26px; height: 26px; color: var(--accent-strong); margin-top: 2px; }
.callout p { margin: 0; }
.callout p + p { margin-top: 0.6em; }
.callout-warning { background: #f8ece9; border-left-color: var(--error); }
.callout-warning .icon { color: var(--error); }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
@media (max-width: 980px) { .sidebar { position: static; } }

.side-box {
    padding: 28px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.side-box h2 { font-size: 1.25rem; margin-bottom: 0.8em; }
.side-box dl { margin: 0; }
.side-box dt { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.side-box dd { margin: 2px 0 14px; color: var(--ink); font-weight: 500; }
.side-box dd:last-child { margin-bottom: 0; }

.side-box-dark { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, 0.78); }
.side-box-dark h2 { color: var(--white); }
.side-box-dark p { font-size: 0.97rem; }
.side-box-dark .btn { width: 100%; }
.side-box-dark .side-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
}
.side-box-dark .side-phone .icon { color: var(--accent); }

.toc ol { margin: 0; padding-left: 1.2em; font-size: 0.97rem; }
.toc li { margin-bottom: 6px; }
.toc a { text-decoration: none; color: var(--text); }
.toc a:hover { color: var(--accent-strong); }

.related {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 2em;
}
@media (max-width: 600px) { .related { grid-template-columns: 1fr; } }
.related a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}
.related a:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

/* ---------- Kennzahlen / Feature-Raster ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 40px;
}
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 18px; }
.feature .icon { width: 30px; height: 30px; color: var(--accent); margin-top: 2px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.feature p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.section-dark .feature p { color: rgba(255, 255, 255, 0.7); }
.section-dark .feature .icon { color: var(--accent); }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 12px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.faq-item summary {
    position: relative;
    padding: 20px 56px 20px 24px;
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
    content: "";
    position: absolute;
    right: 24px; top: 50%;
    width: 14px; height: 2px;
    background: var(--accent);
    transition: transform 0.2s ease;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--accent-strong); }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer p:last-child, .faq-answer ul:last-child { margin-bottom: 0; }

.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.6rem; }

/* ---------- CTA-Band ---------- */

.cta-band {
    background: var(--ink-2);
    color: rgba(255, 255, 255, 0.8);
    padding: clamp(48px, 7vw, 72px) 0;
}
.cta-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; max-width: 40rem; }

/* ---------- Kontakt ---------- */

.contact-section { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-intro > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0; }
.contact-list li {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .icon { width: 24px; height: 24px; color: var(--accent); margin-top: 3px; }
.contact-list strong { display: block; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--accent-strong); }
.contact-list small { display: block; color: var(--muted); font-size: 0.9rem; }

.contact-note {
    display: flex;
    gap: 12px;
    font-size: 0.93rem;
    color: var(--muted);
}
.contact-note .icon { color: var(--accent-strong); margin-top: 3px; }

.contact-form {
    padding: clamp(24px, 4vw, 40px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 20px; }
.form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--ink);
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid #d9cdbd;
    border-radius: var(--radius);
    color: var(--text);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a85600' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 147, 29, 0.2);
}
.form-field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 6px 0 0; font-size: 0.88rem; color: var(--error); }

.form-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.form-check input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--accent-strong); }
.form-check label { margin: 0; font-weight: 400; font-size: 0.92rem; color: var(--muted); }
.form-check .field-error { grid-column: 2; }

.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-hint { margin: 0; font-size: 0.88rem; color: var(--muted); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    margin-bottom: 24px;
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 0.97rem;
}
.alert-error { background: #f8ece9; border: 1px solid #e5c3bd; color: var(--error); }
.alert-success { background: #eaf3ed; border: 1px solid #c4dccb; color: var(--success); }
.alert-success h2 { color: var(--success); font-size: 1.4rem; margin-bottom: 0.4em; }
.alert-success p:last-child { margin-bottom: 0; }

/* ---------- Team / Werte ---------- */

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }
.value {
    padding: 30px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.value .icon { width: 32px; height: 32px; color: var(--accent); margin-bottom: 16px; }
.value h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.value p { margin: 0; color: var(--muted); font-size: 0.97rem; }

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

.legal { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5em; }
.placeholder {
    background: #fff4d6;
    padding: 0 4px;
    border-radius: 2px;
}

/* ---------- Footer ---------- */

.site-footer {
    background: #241a11;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.95rem;
    padding-top: clamp(56px, 7vw, 80px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 18px; max-width: 30rem; }
.footer-title {
    margin-bottom: 16px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 24px; padding-bottom: 28px; }
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
    font-size: 0.88rem;
}
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; gap: 24px; }
.footer-legal li { margin: 0; }

/* ---------- Hilfsklassen ---------- */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.center-actions { margin-top: 40px; text-align: center; }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Druck ---------- */

@media print {
    .site-header, .site-footer, .contact-form, .cta-band, .sidebar, .nav-toggle { display: none !important; }
    .hero, .page-hero, .section-dark { background: none !important; color: #000 !important; }
    .hero h1, .page-hero h1 { color: #000 !important; }
    body { background: #fff; }
}
