/* ==========================================================
   SUBNET Eventtechnologies — Shared Stylesheet
   Brand colors derived from logo: deep blue #2A3D90 + grey
   ========================================================== */

@import url("assets/fonts/inter.css");

:root {
    --brand: #2A3D90;
    --brand-dark: #1E2D6E;
    --brand-light: #4A5BB8;
    --brand-soft: #EEF1F9;

    --grey-900: #1A1F2E;
    --grey-700: #4A5161;
    --grey-500: #6B7280;
    --grey-300: #C9CED7;
    --grey-200: #E2E6EE;
    --grey-100: #F2F4F8;
    --grey-50:  #F8F9FC;

    --bg: #FFFFFF;
    --bg-soft: var(--grey-50);
    --bg-dark: #0F1525;
    --text: var(--grey-900);
    --text-muted: var(--grey-500);
    --line: var(--grey-200);

    --max: 1180px;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(15, 21, 37, 0.06);
    --shadow-lg: 0 18px 48px rgba(15, 21, 37, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ============================================================
   ANIMATIONS — Keyframes
   ============================================================ */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes glow-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.7; transform: scale(1.08); }
}

@keyframes scroll-hint {
    0%, 100% { transform: translateY(0);   opacity: 0.6; }
    50%      { transform: translateY(6px); opacity: 1; }
}

/* Reveal-Mechanik (wird per JS umgeschaltet) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

/* gestaffelter Reveal in Gruppen (Cards, Usecases, Blog) */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.55s; }

.reveal-stagger.in-view > * {
    opacity: 1;
    transform: none;
}

/* Accessibility: keine Animationen für Nutzer, die das ablehnen */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Topbar (Kontaktstreifen über Navigation) ---------- */
.topbar {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.84rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    /* bleibt zusammen mit der Navigation oben kleben */
    position: sticky;
    top: 0;
    z-index: 51;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.topbar-meta {
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 26px;
}

.topbar-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s;
    line-height: 1;
}

.topbar-contacts a:hover { color: var(--brand-light); }

.topbar-contacts svg {
    width: 14px;
    height: 14px;
    color: var(--brand-light);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.topbar-contacts a:hover svg {
    transform: scale(1.18);
}

@media (max-width: 720px) {
    .topbar { padding: 8px 0; }
    .topbar-meta { display: none; }
    .topbar-inner { justify-content: center; }
    .topbar-contacts { gap: 18px; font-size: 0.8rem; }
}

@media (max-width: 420px) {
    .topbar-contacts a span.label { display: none; }
}

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 33px;          /* unterhalb des Topbars (~33 px) andocken */
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

@media (max-width: 720px) {
    /* Auf Mobile ist der Topbar leicht flacher */
    .nav { top: 30px; }
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

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

.logo-img {
    height: 44px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--grey-700);
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding: 6px 0;
}

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

.nav-links a.active {
    color: var(--brand);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    background: var(--brand);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--brand);
}

@media (max-width: 860px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-toggle { display: inline-block; }
    .nav-inner.open .nav-links {
        display: flex;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 16px 24px;
        gap: 14px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
    font-family: inherit;
}

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

.btn-ghost {
    border-color: var(--grey-300);
    color: var(--text);
    background: transparent;
}
.btn-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-on-dark.btn-ghost {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}
.btn-on-dark.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* ---------- Hero (dark) ---------- */
.hero {
    position: relative;
    background: var(--bg-dark);
    color: #fff;
    padding: 120px 0 130px;
    overflow: hidden;
    border-bottom: 4px solid var(--brand);

    /* Volle Viewport-Höhe minus Topbar (~36px) + Nav (76px) */
    min-height: calc(100vh - 112px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("assets/images/hero-stage.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;   /* Bild bleibt beim Scrollen stehen */
    opacity: 0.35;
    pointer-events: none;
}

/* Auf Touch-Geräten Fallback: dort kann fixed-attachment ruckeln */
@media (max-width: 720px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(15, 21, 37, 0.55) 0%,
        rgba(15, 21, 37, 0.75) 60%,
        rgba(15, 21, 37, 0.95) 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 91, 184, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 91, 184, 0.10) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 61, 144, 0.45) 0%, transparent 60%);
    top: -200px;
    right: -150px;
    pointer-events: none;
    filter: blur(20px);
    animation: glow-pulse 8s ease-in-out infinite;
}

.hero-inner {
    position: relative;
    max-width: 880px;
}

.hero-eyebrow {
    display: inline-block;
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 28px;
    font-weight: 500;
    opacity: 0;
    animation: fade-up 0.7s ease forwards 0.1s;
}

.hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    opacity: 0;
    animation: fade-up 0.8s ease forwards 0.25s;
}

.hero h1 .accent {
    color: var(--brand-light);
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fade-up 0.8s ease forwards 0.4s;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fade-up 0.8s ease forwards 0.55s;
}

/* Page header (smaller hero on inner pages) */
.page-header {
    background: var(--bg-dark);
    color: #fff;
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--brand);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    position: relative;
    opacity: 0;
    animation: fade-up 0.7s ease forwards 0.2s;
}

.page-header p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
    max-width: 640px;
    position: relative;
    opacity: 0;
    animation: fade-up 0.7s ease forwards 0.35s;
}

.page-header .breadcrumb {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
    position: relative;
    opacity: 0;
    animation: fade-up 0.6s ease forwards 0.05s;
}

.page-header .breadcrumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

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

.section-dark {
    background: var(--bg-dark);
    color: #fff;
}

.section-head {
    max-width: 720px;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    color: var(--brand);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
    font-weight: 600;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
    color: var(--grey-900);
}

.section-dark h2 { color: #fff; }
.section-dark .section-tag { color: var(--brand-light); }

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
}

.section-dark .section-sub { color: rgba(255, 255, 255, 0.75); }

/* ---------- Cards ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 10px;
    margin-bottom: 22px;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.08) rotate(-4deg);
    background: var(--brand);
    color: #fff;
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    color: var(--grey-900);
}

.card-tag {
    color: var(--brand);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 22px;
    font-weight: 600;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

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

.card-list { margin-top: 14px; }

.card-list li {
    padding: 9px 0 9px 18px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid var(--line);
    position: relative;
}

.card-list li:first-child { border-top: none; }

.card-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 8px;
    height: 1px;
    background: var(--brand);
}

.card-cta {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--brand);
    font-weight: 600;
    font-size: 0.92rem;
}
.card-cta:hover { gap: 10px; }

/* ---------- Usecases / Bereiche ---------- */
.usecases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

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

.usecase {
    background: var(--bg);
    padding: 32px 28px;
    transition: background 0.2s;
}

.usecase:hover { background: var(--bg-soft); }

.usecase-num {
    color: var(--brand);
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.85rem;
    margin-bottom: 12px;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.usecase h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--grey-900);
}

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

/* ---------- Stats ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.stat {
    text-align: left;
    padding: 24px 0;
}

.stat-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    transition: transform 0.3s ease;
}

.stat:hover .stat-num {
    transform: scale(1.06);
}

.section-dark .stat-num { color: var(--brand-light); }

.stat-label {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.section-dark .stat-label { color: rgba(255, 255, 255, 0.65); }

/* ---------- Split layout ---------- */
.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.split-text h2 { margin: 12px 0 18px; }

.split-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.check-list { margin-top: 24px; }

.check-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    color: var(--text);
    border-top: 1px solid var(--line);
}

.check-list li:first-child { border-top: none; }

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 14px;
    height: 8px;
    border-left: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(-45deg);
}

.split-image {
    background: var(--brand-soft);
    border-radius: var(--radius);
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.split-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42, 61, 144, 0.10) 0%, rgba(15, 21, 37, 0.05) 100%);
    pointer-events: none;
}

.split-image-event-it { background-image: url("assets/images/event-it.jpg"); }
.split-image-live-audio { background-image: url("assets/images/live-audio.jpg"); }
.split-image-planung { background-image: url("assets/images/planung.jpg"); }
.split-image-team { background-image: url("assets/images/team.jpg"); }

/* ---------- Values (Über uns) ---------- */
.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.value {
    padding: 28px;
    border-left: 3px solid var(--brand);
    background: var(--bg);
}

.value h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--grey-900);
}

.value p {
    color: var(--text-muted);
    font-size: 0.96rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: var(--brand);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 14px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ---------- Contact / Form ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
    align-items: start;
}

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

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--grey-900);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-row-icon {
    width: 38px;
    height: 38px;
    background: var(--brand-soft);
    color: var(--brand);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-row-icon svg { width: 18px; height: 18px; }

.contact-row-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-row a, .contact-row span.value {
    color: var(--grey-900);
    font-size: 1rem;
    transition: color 0.2s;
}

.contact-row a:hover { color: var(--brand); }

/* form */
.form-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--grey-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    font-size: 0.96rem;
    font-family: inherit;
    color: var(--grey-900);
    background: var(--bg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(42, 61, 144, 0.12);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 22px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.form-check input { margin-top: 4px; }

/* Checkbox-Gruppe (z. B. Mehrfachauswahl „Worum geht es?") */
.form-topics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .form-topics { grid-template-columns: 1fr; }
}

.form-topic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    border: 1px solid var(--grey-200);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.93rem;
    color: var(--grey-700);
    transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
    line-height: 1.3;
    user-select: none;
}

.form-topic:hover {
    border-color: var(--brand);
    color: var(--grey-900);
}

/* Checkbox unsichtbar, aber funktional + zugänglich für Screenreader */
.form-topic input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

/* Auswahl erkennbar nur am Hintergrund + Border */
.form-topic:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--grey-900);
    box-shadow: inset 0 0 0 1px var(--brand);
}

/* Tastatur-Fokus weiterhin sichtbar (für Accessibility) */
.form-topic:has(input:focus-visible) {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.form-submit {
    width: 100%;
    justify-content: center;
}

/* ---------- Trust-Strip (Referenzen-Logos) ---------- */
.trust-strip {
    background: var(--bg-soft);
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.trust-strip-label {
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 22px;
    font-weight: 500;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-logo {
    width: 130px;
    height: 42px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px dashed var(--grey-300);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-500);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    transition: opacity 0.25s, filter 0.25s, background 0.25s;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.trust-logo img {
    max-width: 80%;
    max-height: 80%;
    filter: grayscale(1) brightness(0.5);
    opacity: 0.65;
    transition: filter 0.25s, opacity 0.25s;
}

.trust-logo:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

@media (max-width: 600px) {
    .trust-logos { gap: 22px; }
    .trust-logo  { width: 100px; height: 36px; }
}

/* ---------- Fallstudien (Case-Cards) ---------- */
.cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

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

.case {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    color: inherit;
    text-decoration: none;
}

.case:hover {
    border-color: var(--brand);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.case-tag {
    color: var(--brand);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 14px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.case-headline {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.005em;
}

.case-description {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-facts {
    display: flex;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    margin-top: auto;
}

.case-fact {
    flex: 1;
    min-width: 0;
}

.case-fact-num {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -0.01em;
    margin-bottom: 2px;
    line-height: 1.1;
}

.case-fact-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.case-link {
    margin-top: 16px;
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.case-link:hover { gap: 10px; }

/* ---------- Team-Cards ---------- */
.team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.team-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

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

.team-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.team-avatar svg { width: 48px; height: 48px; }

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.05rem;
    color: var(--grey-900);
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.005em;
}

.team-role {
    font-size: 0.74rem;
    color: var(--brand);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 14px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.team-placeholder-hint {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 28px;
    font-style: italic;
}

/* Inhaber-Section: Foto im Split */
.inhaber-photo {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--brand-soft);
    border: 1px solid var(--line);
    max-width: 320px;     /* nie breiter als das, auch nicht auf Mobile */
    width: 100%;
    margin: 0 auto;        /* zentriert, falls verbleibender Platz */
}

.inhaber-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inhaber-meta {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.inhaber-meta-name {
    font-weight: 700;
    color: var(--grey-900);
    font-size: 1rem;
}

.inhaber-meta-role {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Solo-Layout: eine zentrale Team-Card neben Netzwerk-Beschreibung */
.team-solo {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .team-solo {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 36px;
    }
}

.crew-network h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
    color: var(--grey-900);
}

.crew-network p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.crew-network .check-list strong {
    color: var(--grey-900);
}

/* ---------- Blog Index ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    color: inherit;
}

.blog-card:hover {
    border-color: var(--brand);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: var(--brand-soft);
    position: relative;
}

.blog-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42, 61, 144, 0.10) 0%, rgba(15, 21, 37, 0.10) 100%);
}

.blog-card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-cat {
    color: var(--brand);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: 10px;
    letter-spacing: -0.005em;
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.blog-card-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.blog-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--grey-300); }

/* ---------- Blog Post (Article) ---------- */
.post-cat {
    display: inline-block;
    background: rgba(74, 91, 184, 0.18);
    color: #fff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
}

.post-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    position: relative;
}

.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.4); }

.post-content {
    max-width: 720px;
    margin: 0 auto;
    color: var(--grey-700);
    font-size: 1.02rem;
    line-height: 1.78;
}

.post-content > * + * { margin-top: 18px; }

.post-content .lead {
    font-size: 1.15rem;
    color: var(--grey-900);
    line-height: 1.65;
    margin-bottom: 28px;
}

.post-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 14px;
    color: var(--grey-900);
    letter-spacing: -0.01em;
    font-weight: 700;
}

.post-content h3 {
    font-size: 1.15rem;
    margin: 30px 0 8px;
    color: var(--grey-900);
    font-weight: 600;
}

.post-content ul,
.post-content ol {
    padding-left: 22px;
    color: var(--grey-700);
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { margin-bottom: 6px; }

.post-content blockquote {
    border-left: 3px solid var(--brand);
    padding: 14px 22px;
    color: var(--grey-700);
    font-style: italic;
    background: var(--bg-soft);
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

.post-content a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.post-content strong { color: var(--grey-900); }

.post-content code {
    background: var(--grey-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.92em;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    color: var(--grey-900);
}

.post-back {
    max-width: 720px;
    margin: 40px auto 0;
}

.post-back a {
    color: var(--brand);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
}
.post-back a:hover { gap: 12px; }

/* ---------- FAQ ---------- */
.faq-cat {
    margin-bottom: 56px;
}

.faq-cat:last-child { margin-bottom: 0; }

.faq-cat-title {
    color: var(--brand);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 600;
    color: var(--grey-900);
    font-size: 1rem;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-item summary:hover { color: var(--brand); }

.faq-item .faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s, background 0.2s, color 0.2s;
    font-size: 1.1rem;
    line-height: 1;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: var(--brand);
    color: #fff;
}

.faq-item .faq-answer {
    padding: 0 24px 22px;
    color: var(--grey-700);
    font-size: 0.97rem;
    line-height: 1.7;
}

.faq-item .faq-answer p { margin-bottom: 10px; }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

.faq-teaser-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-teaser-cta {
    text-align: center;
    margin-top: 40px;
}

.faq-teaser-cta a {
    color: var(--brand);
    font-weight: 600;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s;
}

.faq-teaser-cta a:hover { gap: 14px; }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal {
    max-width: 820px;
    margin: 0 auto;
}

.legal h2 {
    font-size: 1.5rem;
    margin: 48px 0 14px;
    color: var(--grey-900);
    letter-spacing: -0.01em;
}

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

.legal h3 {
    font-size: 1.1rem;
    margin: 28px 0 8px;
    color: var(--grey-900);
    font-weight: 600;
}

.legal p,
.legal ul,
.legal ol {
    color: var(--grey-700);
    margin-bottom: 14px;
    font-size: 0.98rem;
    line-height: 1.7;
}

.legal ul,
.legal ol {
    padding-left: 22px;
}

.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }

.legal li {
    margin-bottom: 6px;
}

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

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

.legal strong { color: var(--grey-900); }

.legal .placeholder {
    background: var(--brand-soft);
    color: var(--brand-dark);
    padding: 1px 6px;
    border-radius: 4px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.9em;
}

.legal-note {
    background: var(--brand-soft);
    border-left: 3px solid var(--brand);
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 0 0 40px;
    color: var(--grey-700);
    font-size: 0.93rem;
}

.legal-note strong { color: var(--brand-dark); }

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col h5 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col ul li {
    padding: 4px 0;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.93rem;
    transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-meta-links {
    display: flex;
    gap: 22px;
}

.footer-meta a:hover { color: #fff; }
