/* ============================================================
   axcon Gruppe – Corporate Website
   Stand: 2026-05
   CI-Farben & Typografie nach CI-Manual 02.10.2025
   ============================================================ */

/* ---------- 1. CI-Variablen ---------- */
:root {
    /* Primärfarben aus dem CI-Manual */
    /* ci-blue minimal abgedunkelt (#2581c4 -> #1f74b5) für WCAG-AA-Kontrast
       bei Text/Buttons auf Weiß; optisch nahezu identisch. CI-Freigabe prüfen. */
    --ci-blue:        #1f74b5;   /* axcon Unternehmensberatung */
    --ci-darkblue:    #084a78;   /* axcon Steuerberatung */
    --ci-teal:        #0b797c;   /* axcon Beteiligungen */

    /* Abstufungen */
    --ci-darkblue-90: #0d5685;
    --ci-darkblue-soft: #e8eff5;
    --ci-blue-soft:   #e9f2fa;
    --ci-teal-soft:   #e6f1f1;

    /* Neutralpalette */
    --ink:            #0e1a28;
    --ink-soft:       #3a4757;
    --ink-mute:       #5b6772;   /* leicht abgedunkelt für AA-Kontrast auf getönten Flächen */
    --line:           #e4e8ee;
    --line-soft:      #f0f3f7;
    --bg:             #ffffff;
    --bg-alt:         #f7f9fc;
    --bg-dark:        #0a2540;

    /* Typografie */
    --font:           "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --fs-xxxl:        clamp(2.2rem, 4.4vw, 3.6rem);
    --fs-xxl:         clamp(1.7rem, 3vw, 2.5rem);
    --fs-xl:          clamp(1.35rem, 2.2vw, 1.7rem);
    --fs-l:           1.125rem;
    --fs-m:           1rem;
    --fs-s:           0.9rem;
    --fs-xs:          0.78rem;
    --lh-tight:       1.2;
    --lh-normal:      1.6;

    /* Layout */
    --container:      1200px;
    --container-narrow: 980px;
    --radius:         12px;
    --radius-lg:      18px;
    --shadow-sm:      0 1px 3px rgba(8, 74, 120, 0.06), 0 1px 2px rgba(8, 74, 120, 0.04);
    --shadow-md:      0 4px 16px rgba(8, 74, 120, 0.08), 0 2px 6px rgba(8, 74, 120, 0.05);
    --shadow-lg:      0 16px 48px rgba(8, 74, 120, 0.12), 0 4px 12px rgba(8, 74, 120, 0.06);

    /* Spacing */
    --space-xs:       0.5rem;
    --space-s:        1rem;
    --space-m:        1.75rem;
    --space-l:        3rem;
    --space-xl:       5rem;
    --space-xxl:      7rem;
}

/* ---------- 2. Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-m);
    line-height: var(--lh-normal);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--ci-darkblue);
    text-decoration: none;
    transition: color .2s ease;
}
a:hover { color: var(--ci-blue); }

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: var(--lh-tight);
    color: var(--ink);
    margin: 0 0 .5em;
    letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-xxxl); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-xxl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-l); }

p { margin: 0 0 1em; color: var(--ink-soft); }

ul { margin: 0; padding: 0; }

::selection { background: var(--ci-blue); color: #fff; }

/* ---------- Barrierefreiheit: sichtbarer Tastatur-Fokus ---------- */
:focus-visible {
    outline: 3px solid var(--ci-blue);
    outline-offset: 2px;
    border-radius: 4px;
}
/* Auf dunklen Flächen (Footer, CTA-Banner) heller Ring für Kontrast */
.site-footer :focus-visible,
.cta-banner :focus-visible,
.nav-cta:focus-visible {
    outline-color: #eaf3fb;
}
/* Reine Maus-/Touch-Klicks erzeugen keinen Ring */
:focus:not(:focus-visible) { outline: none; }

/* ---------- 3. Layout-Bausteine ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; }

.section {
    padding: var(--space-xxl) 0;
    position: relative;
}
.section-alt   { background: var(--bg-alt); }
.section-dark  { background: var(--bg-dark); color: #fff; }
.section-dark p, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead { color: rgba(255,255,255,.82); }
.section-dark .section-head .section-lead { color: rgba(255,255,255,.92); }
.section-dark .section-foot.on-dark { color: rgba(255,255,255,.85); }
.section-dark .section-eyebrow.on-dark { color: #7bb8e8; }

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto var(--space-l);
}
.section-head h2 { margin-bottom: .6em; }
.section-head .section-lead {
    font-size: var(--fs-l);
    color: var(--ink-soft);
}
.section-foot {
    text-align: center;
    max-width: 760px;
    margin: var(--space-m) auto 0;
    color: var(--ink-mute);
    font-size: var(--fs-s);
}
.section-foot.on-dark { color: rgba(255,255,255,.7); }

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ci-darkblue);
    margin-bottom: .9rem;
}
.section-eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: linear-gradient(to right, var(--ci-blue), var(--ci-darkblue));
}
.section-eyebrow.on-dark { color: var(--ci-blue); }
.section-eyebrow.on-dark::before { background: linear-gradient(to right, var(--ci-blue), #fff); }

/* Grids */
.grid { display: grid; gap: var(--space-m); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-vcenter { align-items: center; }
.grid-narrow { max-width: var(--container-narrow); margin-inline: auto; }

@media (max-width: 980px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .section { padding: var(--space-xl) 0; }
}

/* ---------- 4. Header / Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .9rem 1.5rem;
    max-width: var(--container);
    margin: 0 auto;
}
.logo-link { display: inline-flex; align-items: center; }
.logo { height: 38px; width: auto; }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
}
.main-nav a {
    color: var(--ink);
    font-size: var(--fs-s);
    font-weight: 500;
    padding: .5rem 0;
    position: relative;
}
.main-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--ci-darkblue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.main-nav a:not(.nav-cta):hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.nav-cta {
    background: var(--ci-darkblue);
    color: #fff !important;
    padding: .55rem 1.1rem !important;
    border-radius: 999px;
    transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--ci-blue); transform: translateY(-1px); }

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
    .main-nav {
        position: fixed;
        inset: 64px 0 auto 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 1rem 1.5rem 2rem;
        display: none;
        box-shadow: var(--shadow-md);
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
    .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
    .main-nav .nav-cta { text-align: center; margin-top: .5rem; }
    .nav-toggle { display: inline-flex; }
}

/* ---------- 5. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: var(--fs-m);
    line-height: 1;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary  { background: var(--ci-darkblue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover  { background: var(--ci-blue); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--ci-teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: #096063; color: #fff; transform: translateY(-1px); }
.btn-ghost   { background: transparent; color: var(--ci-darkblue); border-color: var(--line); }
.btn-ghost:hover  { background: var(--ci-darkblue-soft); color: var(--ci-darkblue); }
.btn-outline { background: transparent; color: var(--ci-darkblue); border-color: var(--ci-darkblue); }
.btn-outline:hover { background: var(--ci-darkblue); color: #fff; }
.btn-light  { background: #fff; color: var(--ci-darkblue); }
.btn-light:hover { background: var(--ci-blue-soft); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- 6. Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 6rem);
    background:
        radial-gradient(ellipse 1200px 600px at 20% 0%, rgba(37,129,196,.10), transparent 60%),
        radial-gradient(ellipse 900px 500px at 90% 80%, rgba(11,121,124,.08), transparent 60%),
        linear-gradient(180deg, #fafcfe 0%, #fff 100%);
}
.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    background: #fff;
    border: 1px solid var(--line);
    padding: .5rem 1rem;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ci-darkblue);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.6rem;
}
.hero-eyebrow .ci-line {
    display: inline-block;
    width: 32px;
    height: 4px;
    background: linear-gradient(to right, var(--ci-blue) 0 33%, var(--ci-darkblue) 33% 66%, var(--ci-teal) 66% 100%);
    border-radius: 2px;
}
.hero-title {
    font-size: var(--fs-xxxl);
    max-width: 900px;
    margin-bottom: 1.25rem;
}
.hero-title .accent {
    background: linear-gradient(120deg, var(--ci-blue), var(--ci-darkblue) 60%, var(--ci-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-subtitle {
    font-size: var(--fs-l);
    max-width: 760px;
    color: var(--ink-soft);
    margin-bottom: 2rem;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-bottom: 3rem;
}

/* Hero pillars */
.hero-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}
.pillar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    box-shadow: var(--shadow-sm);
}
.pillar-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--ci-darkblue-soft);
    color: var(--ci-darkblue);
    display: inline-flex;
    align-items: center; justify-content: center;
    margin-bottom: .35rem;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar strong { font-weight: 700; color: var(--ink); }
.pillar span { font-size: var(--fs-s); color: var(--ink-soft); }

@media (max-width: 760px) {
    .hero-pillars { grid-template-columns: 1fr; }
}

/* ---------- 7. 3-Türen-Block (Startseite) ---------- */
.doors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.door {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem 1.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.door::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--door-color, var(--ci-darkblue));
    transform-origin: left;
}
.door:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.door-icon {
    width: 56px; height: 56px;
    background: var(--door-soft, var(--ci-darkblue-soft));
    color: var(--door-color, var(--ci-darkblue));
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.door-icon svg { width: 30px; height: 30px; }
.door h3 { margin-bottom: .5rem; color: var(--ink); }
.door p { color: var(--ink-soft); flex-grow: 1; }
.door .door-link {
    margin-top: 1rem;
    color: var(--door-color, var(--ci-darkblue));
    font-weight: 600;
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: var(--fs-s);
}
.door:hover .door-link .arrow { transform: translateX(4px); }

.door-stb { --door-color: var(--ci-darkblue); --door-soft: var(--ci-darkblue-soft); }
.door-fm  { --door-color: var(--ci-blue);     --door-soft: var(--ci-blue-soft); }
.door-job { --door-color: var(--ci-teal);     --door-soft: var(--ci-teal-soft); }

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

/* ---------- 8. Spezialgebiet-Karten ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.cards-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(8,74,120,.18);
}
.card-icon {
    width: 48px; height: 48px;
    background: var(--ci-darkblue-soft);
    color: var(--ci-darkblue);
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon.fm { background: var(--ci-blue-soft); color: var(--ci-blue); }
.card-icon.beteiligungen { background: var(--ci-teal-soft); color: var(--ci-teal); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: var(--fs-s); }

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

/* ---------- 9. Listen, Prose ---------- */
.prose h3 { color: var(--ci-darkblue); margin-bottom: .8rem; }
.check-list { list-style: none; }
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .8rem;
    color: var(--ink-soft);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: .25rem;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--ci-darkblue-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23084a78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px no-repeat;
}

.feature-list { list-style: none; }
.feature-list li {
    padding: 1.1rem 0;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list strong {
    display: block;
    color: var(--ink);
    font-size: var(--fs-l);
    margin-bottom: .25rem;
}

/* ---------- 10. Tandem / Team ---------- */
.tandem {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.tandem-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.tandem-photo {
    width: 140px; height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--ci-blue), var(--ci-darkblue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: .05em;
    box-shadow: 0 8px 22px rgba(8,74,120,.22);
    overflow: hidden;
}
.tandem-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.tandem-role {
    display: block;
    font-size: var(--fs-s);
    color: var(--ci-darkblue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}
.tandem-card p { color: var(--ink-soft); }
.tandem-contact { margin-top: 1rem; font-size: var(--fs-s); }
.tandem-contact a { display: flex; align-items: center; justify-content: center; min-height: 40px; }

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

/* ---------- 11. axcon-Gruppe-Sektion ---------- */
.group-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.group-tile {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform .25s ease, box-shadow .25s ease;
}
.group-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.group-tile img.group-logo {
    height: 42px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
    align-self: flex-start;
}
.group-tile .rad-mark {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: linear-gradient(135deg, #1a2535, #0a2540);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.group-tile h3 { font-size: var(--fs-l); margin-bottom: .5rem; }
.group-tile p { font-size: var(--fs-s); color: var(--ink-soft); margin: 0; }
.group-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: .3rem .7rem;
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: .08em;
    border-radius: 999px;
    background: var(--ci-darkblue-soft);
    color: var(--ci-darkblue);
    align-self: flex-start;
    font-weight: 600;
}

@media (max-width: 980px) { .group-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .group-row { grid-template-columns: 1fr; } }

/* ---------- 12. Process-Steps (für /kooperation) ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    counter-reset: step;
}
.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.6rem 1.6rem;
    box-shadow: var(--shadow-sm);
    counter-increment: step;
}
.step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 1rem; right: 1.2rem;
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--ci-darkblue-soft);
    line-height: 1;
}
.step h3 {
    font-size: var(--fs-l);
    color: var(--ci-darkblue);
    margin-bottom: .6rem;
    max-width: 80%;
}
.step p { color: var(--ink-soft); font-size: var(--fs-s); margin: 0; }
.step-highlight { border-color: var(--ci-darkblue); box-shadow: 0 8px 22px rgba(8,74,120,.12); }
.step-highlight::before { color: var(--ci-darkblue); }
.step-highlight h3 { color: var(--ci-darkblue); }

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

/* ---------- 13. CTA-Banner ---------- */
.cta-banner {
    background: linear-gradient(120deg, var(--ci-darkblue), var(--ci-blue));
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-bottom: .5rem; }
.cta-banner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-banner-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

@media (max-width: 760px) {
    .cta-banner { grid-template-columns: 1fr; text-align: left; }
}

/* ---------- 14. FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
    border-top: 1px solid var(--line);
    padding: 1.1rem 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    font-family: var(--font);
    font-size: var(--fs-l);
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .5rem 0;
}
.faq-q::after {
    content: "+";
    font-size: 1.6rem;
    color: var(--ci-darkblue);
    transition: transform .2s ease;
    line-height: 1;
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    color: var(--ink-soft);
}
.faq-item.open .faq-a { max-height: 500px; padding-top: .5rem; }

/* ---------- 15. Kontakt / Calendly-Block ---------- */
.calendly-placeholder {
    background: var(--bg-alt);
    border: 2px dashed var(--line);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    color: var(--ink-mute);
}
.calendly-placeholder strong {
    display: block;
    font-size: var(--fs-l);
    color: var(--ink);
    margin-bottom: .5rem;
}

.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    padding: .9rem 0;
    border-top: 1px solid var(--line);
    align-items: start;
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-label {
    font-size: var(--fs-s);
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

/* ---------- 16. Footer ---------- */
.site-footer {
    background: #07182b;
    color: rgba(255,255,255,.75);
    padding: var(--space-xl) 0 1.5rem;
    margin-top: 0;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2.5rem;
}
.footer-brand { color: rgba(255,255,255,.85); }
.footer-logo {
    height: 38px;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 1rem;
    width: auto;
    display: block;
}
.footer-brand p { color: rgba(255,255,255,.7); font-size: var(--fs-s); margin: 0; }

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer-cols h4 {
    color: #fff;
    font-size: var(--fs-s);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: .1rem; }
.footer-cols a {
    color: rgba(255,255,255,.7);
    font-size: var(--fs-s);
    display: inline-flex;
    align-items: center;
    min-height: 44px;   /* komfortable Antippfläche (Touch) */
}
.footer-cols a:hover { color: #fff; }

.footer-companies {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    color: rgba(255,255,255,.55);
    font-size: var(--fs-xs);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.footer-companies strong { display: block; color: rgba(255,255,255,.85); font-size: var(--fs-s); margin-bottom: .25rem; font-weight: 600; }

.footer-anschrift {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    color: rgba(255,255,255,.6);
    font-size: var(--fs-xs);
    line-height: 1.7;
}
.footer-anschrift a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
}
.footer-anschrift a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255,255,255,.5);
    font-size: var(--fs-xs);
}
.ci-stripe {
    display: inline-flex;
    height: 4px;
    width: 120px;
    border-radius: 2px;
    overflow: hidden;
}
.ci-stripe > span { flex: 1; display: block; }
.ci-stripe .ci-blue { background: var(--ci-blue); }
.ci-stripe .ci-darkblue { background: var(--ci-darkblue); }
.ci-stripe .ci-teal { background: var(--ci-teal); }

@media (max-width: 980px) {
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-cols, .footer-companies { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 17. Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity .6s ease, transform .6s ease;
    }
    .reveal.in {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- 8b. Spezialgebiete (große, illustrierte Karten) ---------- */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    box-shadow: var(--shadow-sm);
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(to right, var(--ci-blue), var(--ci-darkblue));
    z-index: 1;
}
.feature-card::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37,129,196,.07) 0%, rgba(37,129,196,.02) 50%, transparent 75%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transition: transform .4s ease;
}
.feature-card:hover::after {
    transform: scale(1.15);
}
.feature-card > * {
    position: relative;
    z-index: 2;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(8,74,120,.2);
}
.feature-illustration {
    width: 88px;
    height: 88px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--ci-darkblue-soft), var(--ci-blue-soft));
    color: var(--ci-darkblue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(8,74,120,.10);
}
.feature-illustration svg { width: 52px; height: 52px; }
.feature-card h3 {
    font-size: 1.4rem;
    color: var(--ci-darkblue);
    margin-bottom: .75rem;
}
.feature-card p {
    color: var(--ink-soft);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}
.feature-card .feature-detail {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px dashed var(--line);
    font-size: .9rem;
    color: var(--ci-darkblue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

@media (max-width: 760px) {
    .feature-cards { grid-template-columns: 1fr; }
    .feature-card { padding: 2rem 1.5rem 1.5rem; }
    .feature-illustration { width: 72px; height: 72px; }
    .feature-illustration svg { width: 44px; height: 44px; }
}

/* ---------- 17b. Wir/Team-Sektion (Startseite) ---------- */
.team-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    background: var(--bg-alt);
}
.team-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .8s ease;
}
.team-image-wrap:hover .team-image {
    transform: scale(1.03);
}
.team-image-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(to right, var(--ci-blue) 0 33%, var(--ci-darkblue) 33% 66%, var(--ci-teal) 66% 100%);
}
.team-section .section-eyebrow { color: var(--ci-darkblue); }

/* ---------- 18. Tonalitäts-Marker pro Seite (Theme-Tints) ---------- */
.page-mandanten .door-stb, /* not used */
.page-mandanten .pillar-icon { background: var(--ci-darkblue-soft); color: var(--ci-darkblue); }

.page-kooperation .pillar-icon,
.page-kooperation .card-icon {
    background: var(--ci-blue-soft);
    color: var(--ci-blue);
}
.page-kooperation .section-eyebrow { color: var(--ci-blue); }
.page-kooperation .btn-primary { background: var(--ci-blue); }
.page-kooperation .btn-primary:hover { background: var(--ci-darkblue); }
.page-kooperation .hero-title .accent {
    background: linear-gradient(120deg, var(--ci-darkblue), var(--ci-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
