/* SwissMiCo Website – Designsystem angelehnt an bluefiles
   (Navy-Flächen, Ring-Motiv, Karten, Foto-Zeilen), Akzentfarbe
   SwissMiCo-Rot aus dem Logo. Schriften lokal eingebunden (kein
   Google-Fonts-Abruf, DSG/DSGVO): Sora für Überschriften, Inter für Text. */

@font-face {
    font-family: 'Sora';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/sora-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
}

:root {
    /* Marke */
    --red: #e82e45;          /* Logo-Rot (Flächen, Deko) */
    --red-dark: #c8102e;     /* Rot für Text/Buttons auf Weiß (AA) */
    --red-deep: #a50d26;
    --red-light: #ff7586;    /* Rot auf dunklem Grund */
    --red-soft: #fdeef0;
    --red-line: #f8d3d9;
    /* Grundfarben (aus bluefiles) */
    --blue: #065e91;
    --navy: #0b2f4a;
    --navy-deep: #07233a;
    --sky: #8fcbf0;
    --sky-soft: #e8f2fa;
    --ink: #14222f;
    --ink-soft: #4b5c6b;
    --on-dark: #cfdeea;
    --line: #e1e8ef;
    --ground: #f5f8fb;
    --white: #ffffff;
    --ok: #2e9d57;
    /* Maße */
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 10px 30px rgba(11, 47, 74, 0.08);
    --shadow-lg: 0 24px 50px rgba(11, 47, 74, 0.18);
    --wrap: 1180px;
    --gutter: 20px;
    --header-h: 76px;
    --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
address { font-style: normal; }

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

.icon { width: 1em; height: 1em; flex-shrink: 0; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 100;
    padding: 8px 14px;
    background: var(--white);
    border-radius: 8px;
}
.skip-link:focus { left: 8px; }

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red-dark); color: var(--white); box-shadow: 0 8px 20px rgba(200, 16, 46, 0.28); }
.btn-primary:hover { background: var(--red-deep); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.btn-outline { background: var(--white); color: var(--navy); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--red-line); color: var(--red-dark); }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--red-dark);
    text-decoration: none;
}
.link-more .icon { width: 16px; height: 16px; transition: transform 0.15s ease; }
.link-more:hover .icon { transform: translateX(3px); }

/* ---------- Kopfzeile ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header > .wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--header-h);
}
.brand { display: block; line-height: 0; }
.brand img { width: 136px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--ink);
    font: inherit;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.nav-link:hover, .nav-group:hover > .nav-link { background: var(--red-soft); color: var(--red-dark); }
.nav-link[aria-current="page"], .nav-group.is-active > .nav-link { color: var(--red-dark); background: var(--red-soft); }
.nav-chevron { width: 14px; height: 14px; transition: transform 0.2s ease; }

.nav-group { position: relative; }
.nav-sub {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 290px;
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
/* Unsichtbare Brücke, damit das Menü beim Überfahren nicht zuklappt. */
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-sub a {
    display: grid;
    gap: 1px;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--navy);
    text-decoration: none;
}
.nav-sub strong { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.nav-sub small { color: var(--ink-soft); font-size: 13px; }
.nav-sub a:hover { background: var(--ground); }
.nav-sub a[aria-current="page"] { background: var(--red-soft); }
.nav-sub a[aria-current="page"] strong { color: var(--red-dark); }

@media (hover: hover) and (min-width: 1021px) {
    .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
    .nav-group:hover .nav-chevron { transform: rotate(180deg); }
}
.nav-group.is-open .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-group.is-open .nav-chevron { transform: rotate(180deg); }

.nav-cta { margin-left: 10px; padding: 11px 20px; }
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* ---------- Ring-Motiv (wie bluefiles) ---------- */

.hero, .page-hero, .founder, .cta-band { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before, .founder::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -520px;
    right: -420px;
    width: 1200px;
    height: 1200px;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        transparent 0 86px,
        rgba(255, 255, 255, 0.20) 86px 88px,
        transparent 88px 176px,
        rgba(255, 255, 255, 0.10) 176px 188px,
        transparent 188px 262px,
        rgba(255, 255, 255, 0.22) 262px 263.5px,
        transparent 263.5px 330px,
        rgba(232, 46, 69, 0.30) 330px 333px,
        transparent 333px 400px,
        rgba(255, 255, 255, 0.07) 400px 424px,
        transparent 424px 478px,
        rgba(255, 255, 255, 0.18) 478px 480.5px,
        transparent 480.5px 548px,
        rgba(255, 255, 255, 0.09) 548px 562px,
        transparent 562px
    );
    -webkit-mask-image: radial-gradient(circle at center, #000 0 38%, rgba(0, 0, 0, 0.55) 52%, transparent 70%);
    mask-image: radial-gradient(circle at center, #000 0 38%, rgba(0, 0, 0, 0.55) 52%, transparent 70%);
    pointer-events: none;
}

/* ---------- Hero (Startseite) ---------- */

.hero {
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(7, 35, 58, 0.95) 0%, rgba(7, 35, 58, 0.82) 40%, rgba(7, 35, 58, 0.2) 78%),
        url('../img/hero-weg.webp') center 60% / cover no-repeat,
        var(--navy);
}
.hero .wrap {
    display: grid;
    gap: 22px;
    padding-block: 104px 88px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--red-light);
}
.hero-eyebrow .icon { width: 20px; height: 20px; color: var(--red); }
.hero h1 {
    max-width: 760px;
    font-size: clamp(40px, 6.4vw, 70px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.04;
}
.hero h1 .accent, .page-hero h1 .accent { color: var(--red-light); }
.hero-lead { max-width: 580px; display: grid; gap: 8px; }
.hero-lead strong { font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; }
.hero-lead span { color: var(--on-dark); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    background: rgba(7, 35, 58, 0.5);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero-chips .icon { width: 20px; height: 20px; color: var(--red-light); }

/* ---------- Seitenkopf Unterseiten ---------- */

.page-hero {
    color: var(--white);
    background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 60%, #12466b 130%);
}
.page-hero.has-image {
    background:
        linear-gradient(90deg, rgba(7, 35, 58, 0.95) 0%, rgba(7, 35, 58, 0.84) 45%, rgba(7, 35, 58, 0.35) 85%),
        var(--hero-img) center / cover no-repeat,
        var(--navy);
}
/* Titelbilder der Unterseiten als Klassen (keine style-Attribute, CSP ohne 'unsafe-inline'). */
.hero-bg-passstrasse { --hero-img: url('../img/passstrasse.webp'); }
.hero-bg-bluefiles-heli { --hero-img: url('../img/bluefiles-heli.webp'); }
.hero-bg-weg-alpen { --hero-img: url('../img/weg-alpen.webp'); }
.hero-bg-crm-training { --hero-img: url('../img/crm-training.webp'); }
.hero-bg-cockpit { --hero-img: url('../img/cockpit.webp'); }
.hero-bg-leistung-software { --hero-img: url('../img/leistung-software.webp'); }
.page-hero .wrap {
    display: grid;
    gap: 14px;
    padding-block: 76px 68px;
}
.page-hero h1 { max-width: 820px; font-size: clamp(34px, 5vw, 54px); font-weight: 700; letter-spacing: -0.035em; }
.page-hero p { max-width: 660px; color: var(--on-dark); font-size: 18px; }
.page-hero .hero-actions { margin-top: 8px; }
.page-hero-logo {
    justify-self: start;
    padding: 12px 18px;
    border-radius: 14px;
    background: var(--white);
}
.page-hero-logo img { height: 44px; width: auto; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--on-dark);
}
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--white); font-weight: 600; }

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

.section { padding-block: 96px; }
.section-tight { padding-block: 72px; }
.section-alt { background: var(--ground); }
.section-soft { background: var(--red-soft); }
.section-head { display: grid; gap: 12px; max-width: 740px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red-dark);
}
.eyebrow.on-dark { color: var(--red-light); }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; color: var(--navy); letter-spacing: -0.03em; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-more { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.section-head.center + * + .section-more, .section-more.center { justify-content: center; }

.lead-text { display: grid; gap: 18px; }
.lead-text p { font-size: 18px; line-height: 1.7; color: var(--ink); }
.lead-text p + p { color: var(--ink-soft); font-size: 17px; }

/* ---------- Leistungen (Bildkarten) ---------- */

.services {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.service {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
/* Bild füllt die Fläche; das Icon ragt unten über den Bildrand hinaus. */
.service-media { position: relative; aspect-ratio: 3 / 2; }
.service-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; transition: filter 0.3s ease; }
.service:hover .service-media img { filter: saturate(1.15) brightness(1.04); }
.service-icon {
    position: absolute;
    left: 20px;
    bottom: -22px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--red-dark);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.3);
}
.service-icon .icon { width: 24px; height: 24px; }
.service-body { display: grid; gap: 10px; align-content: start; padding: 36px 22px 24px; }
.service h3 { font-size: 20px; font-weight: 600; color: var(--navy); }
.service ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.service li { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-soft); font-size: 15px; }
.service li::before { content: ''; width: 6px; height: 6px; margin-top: 0.6em; border-radius: 2px; background: var(--red); flex-shrink: 0; }
.service .link-more { margin-top: 6px; }

/* ---------- Produkte ---------- */

.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.product {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.product:hover { box-shadow: var(--shadow); border-color: var(--red-line); }
.product-logo img { max-height: 48px; width: auto; }
.product-logo img.logo-square { max-height: 64px; }
.product-logo { height: 64px; display: flex; align-items: center; }
.product-shot {
    display: grid;
    place-items: center;
    aspect-ratio: 3 / 2;
    padding: 10px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--ground), var(--sky-soft));
}
.product-shot img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(11, 47, 74, 0.16)); }
.product-body { display: grid; gap: 8px; align-content: start; }
.product h3 { font-size: 21px; font-weight: 600; color: var(--navy); }
.product p { color: var(--ink-soft); font-size: 15px; }
.product-tag {
    justify-self: start;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--red-soft);
    color: var(--red-dark);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- Foto-Zeilen (Bild + Text) ---------- */

.story {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}
.story + .story { margin-top: 88px; }
.story.reverse .story-media { order: 2; }
.story-media { position: relative; isolation: isolate; margin: 0; }
.story-media img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
/* Farbakzent hinter dem Foto. */
.story-media::before {
    content: '';
    position: absolute;
    inset: 18px -18px -18px 18px;
    z-index: -1;
    border-radius: var(--radius-lg);
    background: var(--red-soft);
    border: 1px solid var(--red-line);
}
.story.reverse .story-media::before { inset: 18px 18px -18px -18px; }
.story-media.plain::before { display: none; }
.story-media.plain img { box-shadow: none; border-radius: 0; }
/* Freigestellte Geräte-Mockups auf weisser Karte. */
.story-media.on-white img { padding: 24px; background: var(--white); }
.story-text { display: grid; gap: 14px; align-content: center; }
.story-text h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; color: var(--navy); letter-spacing: -0.03em; }
.story-text h3 { font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; color: var(--navy); letter-spacing: -0.03em; }
.story-text p { color: var(--ink-soft); font-size: 17px; }
.story-text .btn, .story-text .link-more { justify-self: start; margin-top: 6px; }
.story-logo { height: 52px; width: auto; }
.story-logo-sm { height: 40px; }

.checklist { display: grid; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--navy); }
.checklist small { display: block; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.check {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--red-dark);
    color: var(--white);
}
.check .icon { width: 12px; height: 12px; }

/* ---------- Gründer / Philosophie ---------- */

.founder {
    color: var(--white);
    background: var(--navy);
}
.founder::before { top: auto; bottom: -640px; right: auto; left: -520px; }
.founder .wrap {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: center;
    padding-block: 96px;
}
.founder-photo { position: relative; margin: 0; }
.founder-photo img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.founder-photo::after {
    content: '';
    position: absolute;
    right: 8%;
    bottom: -18px;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 5.5h4v4.5h4.5v4H14v4.5h-4V14H5.5v-4H10z' fill='%23fff'/%3E%3C/svg%3E") center / 60% no-repeat;
    box-shadow: 0 12px 24px rgba(232, 46, 69, 0.4);
}
.founder-text { display: grid; gap: 20px; }
.founder-text .eyebrow { color: var(--red-light); }
.founder-text h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.03em; }
.founder-text p { color: var(--on-dark); font-size: 17px; }
.founder-quote {
    position: relative;
    margin: 6px 0 0;
    padding: 24px 28px 24px 64px;
    border-left: 3px solid var(--red);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: rgba(255, 255, 255, 0.06);
    font-family: var(--font-display);
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    line-height: 1.4;
}
.founder-quote .icon { position: absolute; left: 22px; top: 24px; width: 28px; height: 28px; color: var(--red-light); }
.founder-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.founder-sign img { width: 170px; height: auto; }
.founder-sign span { color: var(--on-dark); font-size: 15px; }

/* ---------- Zitat-Band ---------- */

.quote-band { padding-block: 64px; background: var(--ground); border-bottom: 1px solid var(--line); }
.quote-band figure {
    display: grid;
    justify-items: center;
    gap: 14px;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.quote-band .icon { width: 40px; height: 40px; color: var(--red); }
.quote-band blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--navy);
    text-wrap: balance;
}
.quote-band figcaption { color: var(--ink-soft); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; }

/* ---------- Kennzahlen / Vorteile ---------- */

.pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.pillar {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}
.pillar .icon { width: 34px; height: 34px; color: var(--red-dark); }
.pillar h3 { font-size: 18px; color: var(--navy); }
.pillar p { color: var(--ink-soft); font-size: 15px; }
.pillars-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-list { display: grid; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.mini-list li { position: relative; padding-left: 16px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.45; }
.mini-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 2px; background: var(--red); }
.pillar h2 { font-size: 18px; color: var(--navy); }
.pillar-link { color: inherit; text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.pillar-link:hover { border-color: var(--red-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.pillars.pillars-stack { grid-template-columns: 1fr; gap: 16px; }
.pillars-stack .pillar { grid-template-columns: 40px 1fr; gap: 4px 16px; padding: 22px 24px; }
.pillars-stack .pillar .icon { grid-row: span 2; }

/* ---------- Feature-Kacheln mit Screenshot ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature {
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    overflow: hidden;
}
.feature-shot {
    padding: 22px 22px 0;
    background: linear-gradient(160deg, var(--sky-soft), var(--ground));
}
.feature-shot img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: top left;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 24px rgba(11, 47, 74, 0.12);
}
.feature-body { display: grid; grid-template-columns: 44px 1fr; gap: 6px 16px; align-content: start; padding: 24px 26px 28px; }
.feature-body .icon { grid-row: span 2; width: 36px; height: 36px; color: var(--red-dark); }
.feature h3 { font-size: 19px; font-weight: 600; color: var(--navy); }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Funktionsliste ---------- */

.function-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: 48px;
    align-items: start;
    padding: 44px;
    border-radius: var(--radius-lg);
    background: var(--navy);
    color: var(--white);
}
.function-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.03em; }
.function-band p { margin-top: 12px; color: var(--on-dark); }
.function-band .btn { margin-top: 22px; }
.function-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.function-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.function-list .check { background: var(--red); }

/* ---------- Referenzen ---------- */

.references { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.reference {
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    overflow: hidden;
}
.reference-shot { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ground); }
.reference-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.reference-body { display: grid; gap: 8px; align-content: start; padding: 24px 26px 28px; }
.reference h3 { font-size: 20px; font-weight: 600; color: var(--navy); }
.reference .sub { font-weight: 600; color: var(--red-dark); font-size: 15px; }
.reference p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Stimmen ---------- */

.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.testimonial {
    display: grid;
    gap: 16px;
    align-content: space-between;
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}
.testimonial blockquote { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.65; }
.testimonial blockquote::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
    background: var(--red);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 18v-5.5C4 8.4 6.2 6 10 5.5v2.6c-2 .5-3 1.8-3 3.9h3V18zm10 0v-5.5c0-4.1 2.2-6.5 6-7v2.6c-2 .5-3 1.8-3 3.9h3V18z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 18v-5.5C4 8.4 6.2 6 10 5.5v2.6c-2 .5-3 1.8-3 3.9h3V18zm10 0v-5.5c0-4.1 2.2-6.5 6-7v2.6c-2 .5-3 1.8-3 3.9h3V18z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
}
.testimonial strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 15px; }
.testimonial small { color: var(--ink-soft); font-size: 13px; }

/* ---------- Ablauf / Schritte ---------- */

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
    position: relative;
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    counter-increment: step;
}
.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red-dark);
    font-family: var(--font-display);
    font-weight: 800;
}
.steps strong { font-family: var(--font-display); color: var(--navy); font-size: 17px; line-height: 1.3; }
.steps span { color: var(--ink-soft); font-size: 15px; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section-note {
    max-width: 720px;
    margin-top: 32px;
    padding-left: 18px;
    border-left: 3px solid var(--red);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
}

/* ---------- Vier Elemente (Seminare) ---------- */

.elements { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.element {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 28px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    text-align: center;
}
.element img { width: 120px; height: 120px; }
.element h3 { font-size: 18px; color: var(--navy); }
.element p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Tags / Themen ---------- */

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.tag-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--red-line);
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
}
.tag-list .icon { width: 16px; height: 16px; color: var(--red-dark); }

/* ---------- Hervorhebung (Whitelabel etc.) ---------- */

.highlight {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
    padding: 44px 48px;
    border: 2px solid var(--red-line);
    border-radius: 28px;
    background:
        radial-gradient(circle at 0% 0%, rgba(232, 46, 69, 0.12), transparent 45%),
        var(--white);
    box-shadow: var(--shadow);
}
.highlight-badge {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 28px;
    background: var(--red-dark);
    color: var(--white);
    transform: rotate(-8deg);
    box-shadow: 0 0 0 8px var(--red-soft), 0 14px 30px rgba(200, 16, 46, 0.3);
}
.highlight-badge .icon { width: 46px; height: 46px; }
.highlight-text { display: grid; gap: 10px; }
.highlight-text h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; color: var(--navy); letter-spacing: -0.03em; }
.highlight-text p { color: var(--ink-soft); font-size: 17px; }

/* ---------- Anfrage + Formular ---------- */

.inquiry {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: start;
}
.inquiry-intro { display: grid; gap: 14px; }
.inquiry-intro h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; color: var(--navy); letter-spacing: -0.03em; }
.inquiry-intro p { color: var(--ink-soft); font-size: 17px; }
.inquiry-contact { display: grid; gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.inquiry-contact li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--navy); }
.inquiry-contact .icon {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--red-dark);
}
.inquiry-contact a { color: inherit; text-decoration: none; }
.inquiry-contact a:hover { color: var(--red-dark); text-decoration: underline; }
.inquiry-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.card-title { margin-bottom: 20px; font-size: 22px; font-weight: 700; color: var(--navy); }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(232, 46, 69, 0.14);
}
.field [aria-invalid="true"] { border-color: var(--red-dark); background: #fffafa; }
.field-error { color: var(--red-dark); font-size: 14px; font-weight: 600; }
.field-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.field-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--red-dark); flex-shrink: 0; }
.form-alert { padding: 14px 18px; border-radius: 12px; background: var(--red-soft); color: var(--red-deep); font-weight: 600; }
.form-note { color: var(--ink-soft); font-size: 13px; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border-radius: var(--radius);
    background: #eaf7ef;
    color: #14532d;
}
.form-success > .icon { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--ok); color: var(--white); }
.form-success strong { display: block; font-family: var(--font-display); font-size: 18px; }

/* Kontaktseite */
.contact-cards { display: grid; gap: 16px; }
.contact-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 2px 16px;
    align-items: center;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}
.contact-card .icon { grid-row: span 2; width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--red-soft); color: var(--red-dark); }
.contact-card small { color: var(--ink-soft); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-card a, .contact-card span { color: var(--navy); font-family: var(--font-display); font-weight: 600; font-size: 17px; text-decoration: none; }
.contact-card a:hover { color: var(--red-dark); }

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

.cta-band { background: var(--navy-deep); color: var(--white); }
.cta-band::after {
    content: '';
    position: absolute;
    z-index: -1;
    right: -80px;
    top: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(232, 46, 69, 0.14);
}
.cta-band .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    padding-block: 60px;
}
.cta-band .icon.big { width: 64px; height: 64px; color: var(--red-light); }
.cta-text { flex: 1 1 360px; display: grid; gap: 6px; }
.cta-text h2 { font-size: clamp(24px, 3vw, 32px); }
.cta-text p { color: var(--on-dark); }
.cta-actions { display: grid; gap: 12px; justify-items: center; }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 600; text-decoration: none; }
.cta-phone:hover { color: var(--white); }
.cta-phone .icon { width: 18px; height: 18px; }

/* ---------- Fußzeile ---------- */

.site-footer { background: var(--ground); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 15px; }
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 40px;
    padding-block: 64px 40px;
}
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand img { width: 150px; }
.footer-brand p { max-width: 320px; }
.footer-brand address { color: var(--navy); font-weight: 500; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h2 {
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy);
}
.footer-col a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); text-decoration: none; }
.footer-col a:hover { color: var(--red-dark); }
.footer-col .icon { width: 16px; height: 16px; color: var(--red-dark); }
.footer-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 36px;
    padding-block: 28px;
    border-top: 1px solid var(--line);
}
.footer-partners > span { font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.footer-partners img { height: 38px; width: auto; opacity: 0.6; filter: grayscale(1); transition: opacity 0.2s ease; }
.footer-partners a:hover img, .footer-partners img:hover { opacity: 1; }
.footer-bottom { background: var(--navy-deep); color: var(--on-dark); font-size: 14px; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 18px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--on-dark); text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Häufige Fragen ---------- */

.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--red-line); }
.faq-item summary {
    position: relative;
    padding: 20px 60px 20px 24px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red-dark);
    font-size: 20px;
    line-height: 1;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 24px 22px; color: var(--ink-soft); }

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

.legal { padding-block: 64px 96px; }
.legal .wrap { max-width: 840px; display: grid; gap: 16px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); color: var(--navy); margin-bottom: 8px; }
.legal h2 { font-size: 22px; color: var(--navy); margin-top: 22px; }
.legal h3 { font-size: 18px; color: var(--navy); margin-top: 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.legal .meta { font-size: 14px; }
.placeholder {
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff4e0;
    color: #7a4e00 !important;
    font-weight: 600;
}

/* ---------- Einblend-Animation ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsiv ---------- */

@media (max-width: 1120px) {
    .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .elements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1020px) {
    .site-header > .wrap { min-height: 68px; }
    :root { --header-h: 68px; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 12px var(--gutter) 22px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.is-open { display: flex; }
    .nav-link { justify-content: space-between; width: 100%; padding: 12px 14px; border-radius: 12px; }
    .nav-sub {
        position: static;
        display: none;
        min-width: 0;
        margin: 2px 0 6px;
        padding: 4px 0 4px 12px;
        border: 0;
        border-left: 2px solid var(--red-line);
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav-sub::before { display: none; }
    .nav-group.is-open .nav-sub { display: grid; transform: none; }
    .nav-cta { margin: 10px 0 0; }
    .nav-toggle { display: grid; place-items: center; }
    .products { grid-template-columns: 1fr; max-width: 620px; }
    .story, .founder .wrap, .inquiry, .function-band { grid-template-columns: 1fr; }
    .story { gap: 40px; }
    .story.reverse .story-media { order: 0; }
    .story-media { margin-right: 18px; }
    .story.reverse .story-media { margin-right: 0; margin-left: 18px; }
    .founder .wrap { gap: 48px; }
    .founder-photo img { max-width: 360px; }
    .function-band { padding: 32px; gap: 28px; }
    .highlight { grid-template-columns: auto minmax(0, 1fr); }
    .highlight .btn { grid-column: 2; justify-self: start; }
    .hero { background:
        linear-gradient(180deg, rgba(7, 35, 58, 0.85) 0%, rgba(7, 35, 58, 0.92) 100%),
        url('../img/hero-weg.webp') 65% center / cover no-repeat,
        var(--navy); }
}

@media (max-width: 760px) {
    .feature-grid, .references, .testimonials, .pillars-3 { grid-template-columns: 1fr; }
    .steps, .steps-3 { grid-template-columns: 1fr; }
    .steps li { grid-template-columns: 46px 1fr; align-items: center; column-gap: 16px; }
    .steps li::before { grid-row: span 2; }
    .function-list { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .highlight { grid-template-columns: 1fr; padding: 32px 24px; gap: 22px; }
    .highlight .btn { grid-column: auto; }
    .highlight-badge { width: 76px; height: 76px; border-radius: 22px; }
    .highlight-badge .icon { width: 36px; height: 36px; }
    .cta-actions { justify-items: start; }
}

@media (max-width: 560px) {
    :root { --gutter: 16px; }
    .section { padding-block: 64px; }
    .section-tight { padding-block: 52px; }
    .hero .wrap { padding-block: 64px 56px; }
    .page-hero .wrap { padding-block: 52px 46px; }
    .services, .pillars, .elements { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
    .inquiry-card { padding: 22px; }
    .function-band { padding: 24px; }
    .founder .wrap { padding-block: 64px; }
    .founder-quote { padding: 20px 20px 20px 56px; }
    .founder-quote .icon { left: 18px; top: 20px; width: 24px; height: 24px; }
    .story + .story { margin-top: 64px; }
    .feature-body { grid-template-columns: 1fr; padding: 22px; }
    .feature-body .icon { grid-row: auto; width: 30px; height: 30px; }
}
