/* ==========================================================================
   Infield – Stylesheet
   --------------------------------------------------------------------------
   Aufbau:
     01  Design-Tokens
     02  Reset & Basis
     03  Layout-Helfer (Container, Sections, Grid)
     04  Typografie & Utilities
     05  Buttons
     06  Header & Navigation
     07  Hero
     08  Karten, Kennzahlen, Schritte, Stimmen
     09  Split-Bereiche, Checkliste, Timeline, Team
     10  Formulare
     11  Hinweise & Alerts
     12  Kontakt-Layout
     13  CTA-Band, Footer, Back-to-Top
     14  Rechtstexte
     15  Animationen
     16  Responsive
   ========================================================================== */

/* ==========================================================================
   01  Design-Tokens
   ========================================================================== */

:root {
    /* Farbwelt */
    --ink-900: #06090d;
    --ink-800: #0a0e13;
    --ink-700: #0f151d;
    --surface: #141c26;
    --surface-2: #19232f;

    --text: #e9eef4;
    --text-muted: #96a4b3;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);

    --accent: #ffb020;
    --accent-2: #ff8a00;
    --accent-soft: rgba(255, 176, 32, .13);
    --accent-ink: #1a1205;

    --ok: #35d07f;
    --err: #ff7a7a;

    /* Helle Abschnitte */
    --light-bg: #f5f7fa;
    --light-surface: #ffffff;
    --light-text: #0d141c;
    --light-muted: #55636f;
    --light-line: rgba(13, 20, 28, .10);

    /* Typografie – reine Systemschriften, kein externer Font-Download */
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
            "Noto Sans", Arial, sans-serif;

    /* Form & Abstand */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .25);
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
    --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .65);

    --container: 1200px;
    --header-h: 84px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   02  Reset & Basis
   ========================================================================== */

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

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

body {
    margin: 0;
    background: var(--ink-800);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s var(--ease);
}

a:hover {
    color: var(--accent);
}

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

button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

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

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 200;
    padding: 12px 20px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: top .2s var(--ease);
}

.skip-link:focus {
    top: 16px;
    color: var(--accent-ink);
}

/* ==========================================================================
   03  Layout-Helfer
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.section {
    position: relative;
    padding-block: clamp(64px, 9vw, 120px);
}

.section--tight {
    padding-block: clamp(36px, 5vw, 64px);
}

.section--soft {
    background: var(--ink-700);
}

.section--light {
    background: var(--light-bg);
    color: var(--light-text);
}

.section--light .text-accent {
    color: #b35c00;
}

.grid {
    display: grid;
    gap: 24px;
}

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

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

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.split--reverse .split__media {
    order: 2;
}

.split__media img {
    width: 100%;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   04  Typografie & Utilities
   ========================================================================== */

h1,
h2,
h3 {
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.1rem, 5.2vw, 3.6rem);
}

h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

h3 {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

p {
    margin: 0 0 16px;
}

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

.text-accent {
    color: var(--accent);
}

.eyebrow {
    margin: 0 0 10px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
}

.section--light .eyebrow {
    color: #b35c00;
}

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(36px, 5vw, 60px);
    text-align: center;
}

.section-head--left {
    margin-inline: 0;
    text-align: left;
}

.section-head__lead {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.section--light .section-head__lead {
    color: var(--light-muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    padding: 7px 15px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .04);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--text);
}

.badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--accent);
}

.link-arrow svg {
    transition: transform .25s var(--ease);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

.req {
    color: var(--accent);
}

/* ==========================================================================
   05  Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: .95rem;
    font-weight: 650;
    line-height: 1;
    white-space: nowrap;
    transition: transform .22s var(--ease), background-color .22s var(--ease),
                border-color .22s var(--ease), box-shadow .22s var(--ease), color .22s var(--ease);
}

.btn svg {
    transition: transform .25s var(--ease);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    color: var(--accent-ink);
    box-shadow: 0 14px 30px -14px rgba(255, 138, 0, .8);
}

.btn--primary:hover {
    color: var(--accent-ink);
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -14px rgba(255, 138, 0, .9);
}

.btn--ghost {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, .03);
    color: var(--text);
}

.btn--ghost:hover {
    color: var(--text);
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 17px 32px;
    font-size: 1rem;
}

.btn--sm {
    padding: 11px 20px;
    font-size: .88rem;
}

/* ==========================================================================
   06  Header & Navigation
   ========================================================================== */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    background: linear-gradient(180deg, rgba(6, 9, 13, .85) 0%, rgba(6, 9, 13, 0) 100%);
    transition: background-color .3s var(--ease), border-color .3s var(--ease),
                backdrop-filter .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-scrolled {
    background: rgba(9, 13, 18, .88);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand__mark {
    display: grid;
    place-items: center;
    color: var(--accent);
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand__text strong {
    font-size: 1.18rem;
    font-weight: 750;
    letter-spacing: -.01em;
}

.brand__text small {
    font-size: .72rem;
    color: var(--text-muted);
    letter-spacing: .02em;
}

.nav {
    margin-left: auto;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__link {
    position: relative;
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 550;
    color: var(--text-muted);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--text);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    transform: scaleX(1);
}

.nav__cta-item {
    margin-left: 10px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
    padding-left: 20px;
    border-left: 1px solid var(--line);
    color: var(--text);
}

.header-phone__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
}

.header-phone__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.header-phone__text small {
    font-size: .7rem;
    color: var(--text-muted);
}

.header-phone__text strong {
    font-size: .9rem;
    font-weight: 650;
}

/* Hamburger */
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
}

.nav-toggle__bars {
    display: grid;
    gap: 5px;
    width: 20px;
    margin-inline: auto;
}

.nav-toggle__bars i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
    overflow: hidden;
}

/* ==========================================================================
   07  Hero
   ========================================================================== */

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 520px at 78% -10%, rgba(255, 138, 0, .16), transparent 65%),
        radial-gradient(700px 460px at 8% 8%, rgba(46, 120, 255, .10), transparent 60%),
        var(--ink-900);
}

.hero {
    padding-top: calc(var(--header-h) + clamp(48px, 8vw, 104px));
    padding-bottom: clamp(64px, 9vw, 120px);
}

.page-hero {
    padding-top: calc(var(--header-h) + clamp(40px, 6vw, 76px));
    padding-bottom: clamp(40px, 6vw, 76px);
    border-bottom: 1px solid var(--line);
}

.hero__glow {
    position: absolute;
    inset: auto -10% -40% 45%;
    height: 420px;
    background: radial-gradient(closest-side, rgba(255, 176, 32, .18), transparent);
    filter: blur(20px);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero__title {
    font-size: clamp(2.3rem, 5.6vw, 4rem);
}

.hero__lead {
    max-width: 56ch;
    font-size: clamp(1.02rem, 1.5vw, 1.14rem);
    color: var(--text-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 30px 0 40px;
}

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.hero__facts li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero__facts strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.hero__facts span {
    font-size: .82rem;
    color: var(--text-muted);
}

/* Reporting-Karte im Hero */
.hero-card {
    padding: 26px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(25, 35, 47, .95), rgba(10, 14, 19, .95));
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(6px);
}

.hero-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.hero-card__label {
    font-size: .82rem;
    font-weight: 650;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-card__live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .76rem;
    font-weight: 650;
    color: var(--ok);
}

.hero-card__live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ok);
    animation: pulse 1.9s ease-in-out infinite;
}

.hero-card__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.hero-card__row span {
    font-size: .88rem;
    color: var(--text-muted);
}

.hero-card__row strong {
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: -.02em;
}

.hero-card__bar {
    height: 6px;
    margin-top: 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}

.hero-card__bar i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 1.4s var(--ease) .2s;
}

.is-visible .hero-card__bar i,
.hero-card.is-visible .hero-card__bar i {
    width: var(--w, 60%);
}

.hero-card__foot {
    margin: 22px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: .78rem;
    color: var(--text-muted);
}

.page-hero__lead {
    max-width: 62ch;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    color: var(--text-muted);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: .82rem;
    color: var(--text-muted);
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--line-strong);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent);
}

/* ==========================================================================
   08  Karten, Kennzahlen, Schritte, Stimmen
   ========================================================================== */

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--surface) 0%, var(--ink-700) 100%);
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    margin: 0;
    color: var(--text-muted);
    font-size: .95rem;
}

.card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
}

.card--compact {
    padding: 26px 24px;
}

.section--light .card {
    border-color: var(--light-line);
    background: var(--light-surface);
    box-shadow: 0 1px 2px rgba(13, 20, 28, .05);
}

.section--light .card:hover {
    border-color: rgba(13, 20, 28, .2);
    box-shadow: 0 22px 44px -24px rgba(13, 20, 28, .35);
}

.section--light .card p {
    color: var(--light-muted);
}

.section--light .card__icon {
    background: rgba(179, 92, 0, .1);
    color: #b35c00;
}

/* Kennzahlen */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.stat {
    padding: 32px 26px;
    background: var(--ink-800);
    text-align: center;
}

.stat strong {
    display: block;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 750;
    letter-spacing: -.03em;
    color: var(--accent);
}

.stat span {
    display: block;
    margin-top: 6px;
    font-size: .86rem;
    color: var(--text-muted);
}

/* Ablauf-Schritte */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink-700);
}

.step__num {
    display: block;
    margin-bottom: 14px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1.4px var(--accent);
}

.step h3 {
    font-size: 1.06rem;
}

.step p {
    margin: 0;
    font-size: .92rem;
    color: var(--text-muted);
}

/* Stimmen */
.quote {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--surface) 0%, var(--ink-700) 100%);
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.quote:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.quote__stars {
    display: flex;
    gap: 3px;
    color: var(--accent);
}

.quote blockquote {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
}

.quote blockquote p {
    margin: 0;
}

.quote figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.quote figcaption span:not(.avatar) {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.quote figcaption strong {
    font-size: .92rem;
    font-weight: 650;
}

.quote figcaption small {
    font-size: .78rem;
    color: var(--text-muted);
}

.avatar,
.person__avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--accent-ink);
    font-weight: 750;
    font-size: .95rem;
}

/* ==========================================================================
   09  Split-Bereiche, Checkliste, Timeline, Team
   ========================================================================== */

.split__text h2 {
    margin-bottom: 18px;
}

.split__text > p {
    color: var(--text-muted);
    font-size: 1.02rem;
}

.section--light .split__text > p {
    color: var(--light-muted);
}

.checklist {
    display: grid;
    gap: 12px;
    margin: 26px 0 30px;
}

.checklist li {
    position: relative;
    padding-left: 34px;
    font-size: .97rem;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb020' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.section--light .checklist li::before {
    background-color: rgba(179, 92, 0, .12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b35c00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.section--light .mini-stats {
    border-top-color: var(--light-line);
}

.mini-stats div {
    display: flex;
    flex-direction: column;
}

.mini-stats strong {
    font-size: 1.5rem;
    font-weight: 750;
    letter-spacing: -.02em;
    color: var(--accent);
}

.section--light .mini-stats strong {
    color: #b35c00;
}

.mini-stats span {
    font-size: .84rem;
    color: var(--text-muted);
}

.section--light .mini-stats span {
    color: var(--light-muted);
}

/* Timeline */
.timeline {
    position: relative;
    display: grid;
    gap: 8px;
    max-width: 780px;
    margin-inline: auto;
    padding-left: 28px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--line));
}

.timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 20px;
    padding: 18px 0;
}

.timeline__item::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 26px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 176, 32, .15);
}

.timeline__year {
    font-size: 1.1rem;
    font-weight: 750;
    color: var(--accent);
}

.timeline__body h3 {
    margin-bottom: 4px;
    font-size: 1.02rem;
}

.timeline__body p {
    margin: 0;
    font-size: .93rem;
    color: var(--text-muted);
}

/* Team */
.person {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--surface) 0%, var(--ink-700) 100%);
    text-align: center;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.person:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.person__avatar {
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    font-size: 1.35rem;
}

.person h3 {
    margin-bottom: 4px;
    font-size: 1.08rem;
}

.person__role {
    margin: 0 0 14px;
    font-size: .88rem;
    color: var(--text-muted);
}

.person__mail {
    font-size: .86rem;
    color: var(--accent);
    word-break: break-all;
}

/* ==========================================================================
   10  Formulare
   ========================================================================== */

.form {
    display: grid;
    gap: 22px;
    padding: clamp(24px, 3.5vw, 40px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--surface) 0%, var(--ink-700) 100%);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    font-size: .9rem;
    font-weight: 600;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(6, 9, 13, .55);
    color: var(--text);
    font: inherit;
    font-size: .95rem;
    transition: border-color .22s var(--ease), background-color .22s var(--ease),
                box-shadow .22s var(--ease);
}

.form-field textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(150, 164, 179, .65);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(6, 9, 13, .8);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: var(--err);
    box-shadow: 0 0 0 3px rgba(255, 122, 122, .13);
}

.form-hint {
    margin: 0;
    font-size: .78rem;
    color: var(--text-muted);
    text-align: right;
}

.form-error {
    margin: 0;
    font-size: .82rem;
    font-weight: 550;
    color: var(--err);
}

.form-field--check {
    padding-top: 4px;
}

.checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox input {
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding-top: 6px;
}

.form-note {
    margin: 0;
    font-size: .8rem;
    color: var(--text-muted);
}

/* Honeypot – für Menschen unsichtbar, für Bots auffindbar */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   11  Hinweise & Alerts
   ========================================================================== */

.alert {
    margin-bottom: 24px;
    padding: 20px 24px;
    border: 1px solid var(--line-strong);
    border-left-width: 3px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: .93rem;
}

.alert strong {
    display: block;
    margin-bottom: 4px;
}

.alert p {
    margin: 0;
    color: var(--text-muted);
}

.alert--ok {
    border-left-color: var(--ok);
}

.alert--ok strong {
    color: var(--ok);
}

.alert--error {
    border-left-color: var(--err);
}

.alert--error strong {
    color: var(--err);
}

/* ==========================================================================
   12  Kontakt-Layout
   ========================================================================== */

.contact-cards .card {
    padding: 26px 24px;
}

.contact-cards .card__icon {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
}

.card--contact h3 {
    margin-bottom: 6px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.card__value {
    display: block;
    font-size: .98rem;
    font-weight: 600;
    word-break: break-word;
}

a.card__value:hover {
    color: var(--accent);
}

.card__note {
    margin: 8px 0 0;
    font-size: .8rem;
    color: var(--text-muted);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.contact-layout__aside {
    display: grid;
    gap: 20px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.aside-card {
    padding: 28px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink-700);
}

.aside-card h3 {
    margin-bottom: 18px;
    font-size: 1rem;
}

.aside-card--soft {
    background: linear-gradient(160deg, var(--surface) 0%, var(--ink-700) 100%);
}

.aside-card--soft p {
    font-size: .92rem;
    color: var(--text-muted);
}

.aside-list {
    display: grid;
    gap: 18px;
}

.aside-list li {
    display: grid;
    gap: 4px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.aside-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.aside-list span {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.aside-list a,
.aside-list p {
    margin: 0;
    font-size: .95rem;
    font-weight: 550;
}

/* ==========================================================================
   13  CTA-Band, Footer, Back-to-Top
   ========================================================================== */

.cta-band {
    padding-block: clamp(48px, 6vw, 72px);
    background:
        radial-gradient(700px 300px at 15% 0%, rgba(255, 138, 0, .18), transparent 70%),
        var(--ink-700);
    border-top: 1px solid var(--line);
}

.cta-band__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cta-band__text {
    max-width: 62ch;
}

.cta-band__text h2 {
    margin-bottom: 8px;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.cta-band__text p {
    margin: 0;
    color: var(--text-muted);
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    padding-top: clamp(48px, 6vw, 76px);
    background: var(--ink-900);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
    gap: 40px 32px;
    padding-bottom: 48px;
}

.footer-col h3 {
    margin-bottom: 16px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-about {
    max-width: 40ch;
    margin: 18px 0 22px;
    font-size: .9rem;
    color: var(--text-muted);
}

.brand--footer .brand__text small {
    color: var(--text-muted);
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 10px;
    font-size: .92rem;
    color: var(--text-muted);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact__hours {
    font-size: .85rem;
}

.social {
    display: flex;
    gap: 10px;
}

.social a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--text-muted);
    transition: color .22s var(--ease), border-color .22s var(--ease),
                background-color .22s var(--ease), transform .22s var(--ease);
}

.social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-soft);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 22px;
    border-top: 1px solid var(--line);
    font-size: .82rem;
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom__note {
    opacity: .75;
}

.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(20, 28, 38, .92);
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    backdrop-filter: blur(8px);
    transition: opacity .28s var(--ease), transform .28s var(--ease),
                visibility .28s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* ==========================================================================
   14  Rechtstexte
   ========================================================================== */

.legal {
    max-width: 820px;
}

.legal h2 {
    margin-top: 40px;
    font-size: 1.2rem;
}

.legal h2:first-of-type {
    margin-top: 0;
}

.legal p,
.legal li {
    color: var(--text-muted);
    font-size: .96rem;
}

.legal ul {
    display: grid;
    gap: 8px;
    margin: 0 0 16px;
    padding-left: 22px;
    list-style: disc;
}

.legal li::marker {
    color: var(--accent);
}

.legal a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal em {
    color: var(--text-muted);
    opacity: .8;
    font-style: italic;
}

.legal__notice {
    margin-bottom: 40px;
    padding: 20px 24px;
    border: 1px solid var(--line-strong);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: .9rem;
    color: var(--text-muted);
}

.legal__notice strong {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
}

.legal__updated {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: .84rem;
    color: var(--text-muted);
}

/* ==========================================================================
   15  Animationen
   ========================================================================== */

/* Nur wenn JavaScript aktiv ist, werden Elemente vorab ausgeblendet.
   Ohne JS bleibt alles sichtbar. */
.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Gestaffeltes Einblenden innerhalb von Rastern */
.js .grid > .reveal:nth-child(2),
.js .steps > .reveal:nth-child(2),
.js .timeline > .reveal:nth-child(2) {
    transition-delay: .08s;
}

.js .grid > .reveal:nth-child(3),
.js .steps > .reveal:nth-child(3),
.js .timeline > .reveal:nth-child(3) {
    transition-delay: .16s;
}

.js .grid > .reveal:nth-child(4),
.js .steps > .reveal:nth-child(4),
.js .timeline > .reveal:nth-child(4) {
    transition-delay: .24s;
}

.js .grid > .reveal:nth-child(5),
.js .timeline > .reveal:nth-child(5) {
    transition-delay: .32s;
}

.js .grid > .reveal:nth-child(6) {
    transition-delay: .4s;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .45;
        transform: scale(.82);
    }
}

/* ==========================================================================
   16  Responsive
   ========================================================================== */

@media (max-width: 1180px) {
    .header-phone__text {
        display: none;
    }

    .header-phone {
        padding-left: 16px;
    }
}

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

    .hero__card {
        max-width: 520px;
    }

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

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

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-layout__aside {
        position: static;
    }
}

@media (max-width: 960px) {
    :root {
        --header-h: 72px;
    }

    .header-phone {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    /* Navigation als ausklappbares Panel */
    .nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        max-height: 0;
        overflow: hidden;
        margin-left: 0;
        background: rgba(9, 13, 18, .98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid transparent;
        transition: max-height .38s var(--ease), border-color .3s var(--ease);
    }

    .nav.is-open {
        max-height: 70vh;
        overflow-y: auto;
        border-bottom-color: var(--line);
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 28px;
    }

    .nav__link {
        padding: 16px 4px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        font-size: 1.05rem;
        color: var(--text);
    }

    .nav__link::after {
        display: none;
    }

    .nav__link.is-active {
        color: var(--accent);
    }

    .nav__cta-item {
        margin: 20px 0 0;
    }

    .nav__cta-item .btn {
        width: 100%;
    }

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

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

    .split,
    .split--reverse {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__media {
        order: 0;
    }
}

@media (max-width: 720px) {
    .container {
        padding-inline: 18px;
    }

    .grid--3,
    .grid--4,
    .steps,
    .form-row {
        grid-template-columns: 1fr;
    }

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

    .hero__facts {
        gap: 18px 28px;
    }

    .timeline {
        padding-left: 24px;
    }

    .timeline__item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .timeline__item::before {
        left: -24px;
    }

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

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

    .form-actions .btn {
        width: 100%;
    }

    .to-top {
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 420px) {
    .brand__text small {
        display: none;
    }

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

/* ==========================================================================
   Reduzierte Bewegung respektieren
   ========================================================================== */

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

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Druckausgabe (v. a. für Impressum & Datenschutz)
   ========================================================================== */

@media print {
    .site-header,
    .to-top,
    .cta-band,
    .social,
    .nav-toggle {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .legal p,
    .legal li,
    .section-head__lead {
        color: #222;
    }

    .legal a {
        color: #000;
    }

    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: .8em;
    }
}
