/* ==========================================================================
   IT Strategie Beratung Henke – Entwurf Startseite
   Richtung: "Ruhig & kompetent" + "Persönlich & nah"
   ========================================================================== */

@font-face {
    font-family: "Source Sans 3";
    src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Marke */
    --brand: #c400c4;          /* interaktiv, 5,07:1 auf Weiß */
    --brand-dark: #9c009c;     /* Hover/Active, 7,26:1 */
    --brand-logo: #cc26cc;     /* Original-Logo, nur dekorativ */
    --brand-tint: #fbe9fb;

    /* Text */
    --ink: #1f2328;
    --ink-soft: #3d434a;
    --ink-muted: #676d75;

    /* Flächen */
    --paper: #ffffff;
    --paper-warm: #faf8f7;
    --paper-sand: #f4efec;
    --line: #e5e2df;

    /* Status */
    --ok: #1a7f37;
    --error: #b42318;

    /* Raster */
    --radius: 6px;
    --radius-lg: 10px;
    --shadow: 0 1px 2px rgba(31, 35, 40, 0.04), 0 8px 24px rgba(31, 35, 40, 0.06);
    --wrap: 1120px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(3.5rem, 8vw, 6rem);
}

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

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink-soft);
    font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2rem, 1.2rem + 3.4vw, 3.25rem);
}

h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

p {
    margin: 0 0 1rem;
}

p:last-child {
    margin-bottom: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--brand-dark);
}

strong {
    font-weight: 600;
    color: var(--ink);
}

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
    border-radius: 2px;
}

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

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 var(--radius) var(--radius);
    transition: top 120ms ease-out;
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 140ms ease-out, color 140ms ease-out,
                border-color 140ms ease-out, transform 140ms ease-out;
}

.btn--primary {
    background: var(--brand);
    color: #fff;
}

.btn--primary:hover {
    background: var(--brand-dark);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
    background: var(--brand-tint);
}

.btn:active {
    transform: translateY(1px);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand img {
    width: 76px;
    height: 43px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav ul a {
    position: relative;
    display: inline-block;
    padding: 0.4rem 0;
    color: var(--ink-soft);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 140ms ease-out;
}

.nav ul a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 160ms ease-out;
}

.nav ul a:hover {
    color: var(--brand-dark);
}

.nav ul a:hover::after,
.nav ul a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav ul a[aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
}

.nav-cta {
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
}

/* Mobilmenü */
.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transform: translateX(-50%);
    transition: transform 160ms ease-out, opacity 120ms ease-out;
}

.nav-toggle__bars {
    top: 50%;
    margin-top: -1px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    left: 0;
    transform: none;
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

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

.hero {
    position: relative;
    padding-block: clamp(3rem, 7vw, 5.5rem);
    background:
        radial-gradient(60rem 24rem at 85% -10%, var(--brand-tint), transparent 70%),
        var(--paper-warm);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.eyebrow,
.kicker {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.9rem;
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow span {
    display: inline-block;
    width: 2rem;
    height: 2px;
    background: var(--brand);
}

.hero h1 {
    margin-bottom: 1.1rem;
    max-width: 18ch;
}

.lead {
    max-width: 46ch;
    font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
    color: var(--ink-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.75rem 0 0;
}

.proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.proof li {
    position: relative;
    padding-left: 1.35rem;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.proof li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.7rem;
    height: 0.45rem;
    border-left: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(-45deg);
}

.portrait {
    margin: 0;
    position: relative;
}

.portrait img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: var(--radius-lg);
    filter: grayscale(1) contrast(1.02);
}

/* Versetzter Rahmen rechts/unten. Liegt auf dem Wrapper, damit der
   Graustufen-Filter des Fotos die magenta Linie nicht mit entsättigt. */
.portrait__frame {
    border-radius: var(--radius-lg);
    box-shadow: 8px 8px 0 0 var(--paper-warm),
                10px 10px 0 0 var(--brand-logo);
}

.portrait figcaption {
    margin-top: 1.9rem;
    color: var(--ink-muted);
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Sektionen
   -------------------------------------------------------------------------- */

.section {
    padding-block: var(--section-y);
}

.section--alt {
    background: var(--paper-warm);
    border-block: 1px solid var(--line);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: end;
    gap: 1.5rem 3rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head > p {
    color: var(--ink-muted);
    font-size: 1rem;
    max-width: 42ch;
}

.section-head .text-link {
    justify-self: end;
    align-self: end;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color 140ms ease-out, color 140ms ease-out;
}

.text-link:hover {
    color: var(--brand-dark);
    border-bottom-color: currentColor;
}

/* Karten: Leistungen */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.card {
    position: relative;
    padding: 1.75rem 1.5rem 1.5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color 160ms ease-out, transform 160ms ease-out,
                box-shadow 160ms ease-out;
}

.card:hover {
    border-color: var(--brand-logo);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.card__num {
    display: block;
    margin-bottom: 0.9rem;
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.card h3 {
    margin-bottom: 0.55rem;
}

.card p {
    color: var(--ink-soft);
    font-size: 0.98rem;
}

/* Vorgehen */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding-top: 1.6rem;
    border-top: 2px solid var(--line);
    counter-increment: step;
    transition: border-color 160ms ease-out;
}

.steps li:hover {
    border-top-color: var(--brand);
}

.steps li::before {
    content: "0" counter(step);
    display: block;
    margin-bottom: 0.5rem;
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.steps h3 {
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
}

.steps p {
    color: var(--ink-muted);
    font-size: 0.95rem;
}

/* Referenzen */
.refs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.ref {
    padding: 1.5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--brand-logo);
    border-radius: var(--radius);
}

.ref h3 {
    margin-bottom: 0.2rem;
}

.ref__project {
    margin-bottom: 0.9rem;
    color: var(--ink-muted);
    font-size: 0.92rem;
    font-style: italic;
}

.ref ul {
    display: grid;
    gap: 0.45rem;
}

.ref li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.ref li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.65;
}

/* Über mich */
.about {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.about h2 {
    margin-bottom: 1rem;
    max-width: 24ch;
}

.about > div > p {
    max-width: 60ch;
}

.facts {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 1.5rem;
    background: var(--paper-sand);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
}

.facts div {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.facts div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.facts dt {
    margin-bottom: 0.2rem;
    color: var(--brand-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.facts dd {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
}

/* CTA-Band */
.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    margin-block: var(--section-y);
    padding-block: clamp(2rem, 4vw, 2.75rem);
    padding-inline: clamp(1.5rem, 4vw, 3rem);
    background: var(--brand-tint);
    border: 1px solid #efd0ef;
    border-left: 4px solid var(--brand-logo);
    border-radius: var(--radius-lg);
}

.cta-band h2 {
    margin-bottom: 0.4rem;
    font-size: clamp(1.35rem, 1rem + 1.2vw, 1.75rem);
}

.cta-band p {
    color: var(--ink-soft);
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

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

.site-footer {
    padding-top: clamp(2.5rem, 5vw, 4rem);
    background: #202124;
    color: #c9c9cc;
    font-size: 0.95rem;
}

.site-footer h2 {
    margin-bottom: 0.7rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer a {
    color: #e6e6e8;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.site-footer a:hover {
    color: #fff;
    text-decoration-color: var(--brand-logo);
}

.site-footer p {
    margin-bottom: 0.25rem;
}

.site-footer ul {
    display: grid;
    gap: 0.3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr 0.9fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-logo {
    width: 76px;
    height: 43px;
    margin-bottom: 1rem;
    padding: 0.4rem 0.55rem;
    box-sizing: content-box;
    background: #fff;
    border-radius: 4px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding-block: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #9a9aa0;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

.draft-note {
    padding: 0.2rem 0.7rem;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
    .hero-grid,
    .about {
        grid-template-columns: 1fr;
    }

    .portrait {
        order: -1;
        max-width: 420px;
    }

    .section-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .section-head .text-link {
        justify-self: start;
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    /* Ohne JavaScript bleibt die Navigation als gestapelte Liste sichtbar. */
    .header-inner {
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding-bottom: 1rem;
    }

    /* Mit JavaScript wird daraus ein aufklappbares Menü. */
    html.js .nav-toggle {
        display: inline-block;
    }

    html.js .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-basis: auto;
        padding: 1rem var(--gutter) 1.5rem;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 24px rgba(31, 35, 40, 0.08);
    }

    html.js .nav.is-open {
        display: flex;
    }

    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav ul li + li {
        border-top: 1px solid var(--line);
    }

    .nav ul a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1.05rem;
    }

    .nav ul a::after {
        display: none;
    }

    .nav ul a[aria-current="page"] {
        color: var(--brand-dark);
    }

    .nav-cta {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 17px;
    }

    .hero-actions .btn,
    .cta-band__actions .btn {
        width: 100%;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .refs {
        grid-template-columns: 1fr;
    }

    .facts,
    .card {
        padding: 1.25rem;
    }

    .cta-band {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Druck */
@media print {
    .site-header,
    .nav-toggle,
    .hero-actions,
    .cta-band,
    .skip-link {
        display: none !important;
    }

    body {
        color: #000;
        font-size: 12pt;
    }

    a {
        color: #000;
    }
}

/* ==========================================================================
   Unterseiten: Seitenkopf, Prosa, Kontakt, Formate
   ========================================================================== */

.page-hero {
    position: relative;
    padding-block: clamp(2.5rem, 5vw, 4rem);
    background:
        radial-gradient(50rem 20rem at 90% -20%, var(--brand-tint), transparent 70%),
        var(--paper-warm);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    max-width: 24ch;
    margin-bottom: 0.9rem;
}

.page-hero .lead {
    max-width: 62ch;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
    color: var(--ink-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.crumbs a {
    color: var(--brand-dark);
    text-decoration: none;
}

.crumbs a:hover {
    text-decoration: underline;
}

.crumbs li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--line);
}

/* Karten als ganzflächiger Link */
.card--link {
    position: relative;
    padding: 1.75rem 1.5rem 1.5rem;
}

.card--link h3 a {
    color: var(--ink);
    text-decoration: none;
}

.card--link h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
}

.card--link:hover h3 a,
.card--link:focus-within h3 a {
    color: var(--brand-dark);
}

.card__more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.9rem;
    color: var(--brand);
    font-size: 0.92rem;
    font-weight: 600;
}

/* Hinweisbox */
.callout {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--paper-warm);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand-logo);
    border-radius: var(--radius);
}

.callout p {
    margin: 0;
    color: var(--ink-soft);
}

.callout strong {
    color: var(--ink);
}

/* Formate (Consulting) */
.formats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.format {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.5rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.format h3 {
    font-size: 1.15rem;
}

.format p {
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.format ul {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.format li {
    position: relative;
    padding-left: 1rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.format li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.65;
}

.format__meta {
    align-self: flex-start;
    padding: 0.15rem 0.65rem;
    background: var(--brand-tint);
    border-radius: 999px;
    color: var(--brand-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Themenliste */
.topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem 2rem;
}

.topic {
    padding-top: 1.1rem;
    border-top: 2px solid var(--line);
}

.topic h3 {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.topic p {
    color: var(--ink-muted);
    font-size: 0.95rem;
}

/* Portal-Links */
.portals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.portal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 140ms ease-out, background-color 140ms ease-out,
                color 140ms ease-out;
}

.portal:hover {
    border-color: var(--brand-logo);
    background: var(--brand-tint);
    color: var(--brand-dark);
}

.portal__arrow {
    color: var(--brand);
    font-size: 1.1rem;
    line-height: 1;
}

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.contact-grid h2 {
    margin-bottom: 1.25rem;
}

.contact-card {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.data-list {
    display: grid;
    gap: 1.25rem;
    margin: 0;
}

.data-list dt {
    margin-bottom: 0.2rem;
    color: var(--brand-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.data-list dd {
    margin: 0;
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.5;
}

.data-list a {
    color: var(--ink);
    text-decoration-color: var(--line);
}

.data-list a:hover {
    color: var(--brand-dark);
    text-decoration-color: currentColor;
}

/* Prosa (Rechtstext) */
.prose {
    max-width: 76ch;
    overflow-wrap: break-word;
}

.prose a {
    overflow-wrap: anywhere;
}

.prose h2 {
    margin: 2.2rem 0 0.7rem;
    font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    margin-bottom: 0.9rem;
}

.prose ul,
.prose ol {
    display: block;
    margin: 0 0 1rem;
    padding-left: 1.4rem;
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: 0.35rem;
}

.prose a {
    color: var(--brand);
}

.prose a:hover {
    color: var(--brand-dark);
}

/* Sitemap */
.sitemap-list {
    display: grid;
    gap: 0;
    max-width: 72ch;
}

.sitemap-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}

.sitemap-list a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.sitemap-list a:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.sitemap-list a:hover {
    text-decoration: underline;
}

.sitemap-list .desc {
    color: var(--ink-muted);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .formats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .callout {
        padding: 1.1rem 1.2rem;
    }

    .sitemap-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

.card-list {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.card-list li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.65;
}

/* CTA-Band folgt direkt auf eine Sektion: deren Abstand reicht */
.section + .cta-band {
    margin-top: 0;
}
