/* base.css */
/* ==========================================================================
   Clevesta — Grundlagen: Schriften, Tokens, Typografie, Layout, Buttons, Header, Footer
   ========================================================================== */

@font-face { font-family: "Rubik"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/rubik-400.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/rubik-700.woff2") format("woff2"); }
@font-face { font-family: "Rubik"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/rubik-900.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-style: normal; font-display: swap; src: url("../fonts/open-sans-var.woff2") format("woff2"); }

:root {
    --blue: #004aad;
    --blue-dark: #003580;
    --blue-deep: #001a4d;
    --navy: #0a1628;
    --blue-light: #e0edff;
    --ink: #0a0a0a;
    --muted: #64748b;
    --soft: #f8f9fb;
    --line: #e2e8f0;
    --line-strong: #cbd5e1;
    --gold: #c9a343;
    --red: #dc2626;
    --red-soft: #fef2f2;
    --white: #fff;

    --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-alt: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(0, 74, 173, 0.06);
    --shadow-lg: 0 20px 50px rgba(10, 22, 40, 0.18);
    --container: 1280px;
    --header-h: 80px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ─── Hilfsklassen ──────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 24px; }
.container--narrow { max-width: 960px; }
.h-blue { color: var(--blue); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.font-alt { font-family: var(--font-alt); }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); }
.eyebrow--light { color: rgba(255, 255, 255, 0.75); }
.rounded-image { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.section { padding-block: clamp(64px, 9vw, 104px); }
.section--soft { background: var(--soft); }
.section--blue { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 55%, var(--blue-deep) 100%); color: #fff; }
.section--deep { background: linear-gradient(135deg, #0a1628 0%, #002266 30%, #001133 70%, #000 100%); color: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { color: var(--blue); }
.section-head p { color: var(--muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--light h2, .section-head--light p { color: #fff; }
.section-head--light p { opacity: 0.8; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.section-head--split h2 { color: var(--ink); }
.section-title-center { text-align: center; margin-bottom: 40px; }
.section-foot { margin-top: 40px; text-align: center; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; }
    .split--top { align-items: start; }
    .split--wide-text { grid-template-columns: 1.6fr 1fr; }
}

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; background: var(--blue-light); color: var(--blue); }
.pill .icon { width: 12px; height: 12px; }
.pill--outline { background: transparent; border: 1px solid var(--line-strong); color: var(--blue); }
.pill--soft { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.pill--danger { background: var(--red); color: #fff; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }

.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* ─── Buttons ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 10px; border: 2px solid transparent; font-weight: 700; font-size: 0.95rem; line-height: 1.2; text-decoration: none !important; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease); cursor: pointer; }
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--outline { border-color: var(--line-strong); color: var(--blue); background: #fff; }
.btn--outline:hover { border-color: var(--blue); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.85); color: #fff; background: transparent; }
.btn--outline-light:hover { background: #fff; color: var(--blue); }
.btn--ghost { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--danger { background: var(--red); color: #fff; }
.btn--danger:hover { background: #b91c1c; }
.btn--dark { background: #0a0a0a; color: #fff; }
.btn--dark:hover { background: #222; }
/* Glanz-Buttons: Lichtreflex läuft in 3 s um den Rand (Farben wie bisherige Seite) */
@property --gradient-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes gradient-angle { to { --gradient-angle: 360deg; } }
.btn--shine, .btn--shine-light, .btn--shine-dark { position: relative; isolation: isolate; overflow: hidden; border-radius: 360px; padding: 1rem 2.5rem; font-size: 1rem; font-weight: 500; animation: gradient-angle 3s linear infinite; transition: box-shadow 0.4s ease, color 0.3s ease; }
.btn--shine { border: 2px solid transparent; color: #fff; background: linear-gradient(#0055c4, #0055c4) padding-box, conic-gradient(from var(--gradient-angle), transparent, #3b82f6 5%, #93c5fd 10%, #3b82f6 15%, transparent 20%) border-box; }
.btn--shine-light { border: 1px solid rgba(0, 74, 173, 0.5); color: var(--blue); background: transparent padding-box, conic-gradient(from var(--gradient-angle), rgba(0, 74, 173, 0.3), #3b82f6 5%, #93c5fd 10%, #3b82f6 15%, rgba(0, 74, 173, 0.3) 20%, rgba(0, 74, 173, 0.15) 50%, rgba(0, 74, 173, 0.3) 80%) border-box; }
.btn--shine-dark { border: 2px solid transparent; color: #fff; background: linear-gradient(#000, #000) padding-box, conic-gradient(from var(--gradient-angle), transparent, #004aad 5%, #3b82f6 10%, #004aad 15%, transparent 20%) border-box; }
.btn--shine:hover, .btn--shine-light:hover, .btn--shine-dark:hover { box-shadow: 0 0 25px rgba(59, 130, 246, 0.4); transform: none; }
.btn--shine-light:hover { color: var(--blue); }
.btn--shine:active, .btn--shine-light:active, .btn--shine-dark:active { transform: translateY(1px); }
.btn--square { border-radius: 0; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; padding: 14px 26px; }
.btn--pill { border-radius: 999px; }
.btn--small { padding: 8px 14px; font-size: 0.85rem; font-weight: 500; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; gap: 6px; font-weight: 500; font-size: 0.9rem; color: var(--blue); }

/* ─── Header ────────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; background: rgba(255, 255, 255, 0.97); box-shadow: 0 1px 0 var(--line); transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: block; width: 190px; }
.site-logo img { width: 190px; height: auto; }
.site-logo__light, .site-logo__mono { display: none !important; }
.has-mono-logo .site-header:not(.is-scrolled):not(.is-open) .site-logo__mono { display: block !important; }
.has-mono-logo .site-header:not(.is-scrolled):not(.is-open) .site-logo__light { display: none !important; }
body:not(.has-dark-hero) .site-main { padding-top: var(--header-h); }

/* transparenter Header über dunklen Kopfbereichen, bis gescrollt wird */
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) { background: transparent; box-shadow: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .site-logo__light { display: block !important; }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .site-logo__dark { display: none; }
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .main-nav .menu > li > a,
.has-dark-hero .site-header:not(.is-scrolled):not(.is-open) .nav-toggle { color: #fff; }

.main-nav .menu { list-style: none; display: flex; align-items: center; gap: 28px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 0; font-weight: 500; font-size: 0.95rem; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.main-nav .menu > li > a:hover, .main-nav .current-menu-item > a { color: var(--blue); }
.main-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 4px; transition: transform 0.2s; }
.main-nav .sub-menu { list-style: none; position: absolute; top: 100%; left: 50%; min-width: 220px; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: all 0.2s var(--ease); }
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu,
.main-nav .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-size: 0.92rem; text-decoration: none; }
.main-nav .sub-menu a:hover { background: var(--soft); color: var(--blue); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.nav-toggle__close { display: none; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .site-header.is-open .nav-toggle__open { display: none; }
    .site-header.is-open .nav-toggle__close { display: block; }
    .main-nav { position: fixed; inset: var(--header-h) 0 auto; max-height: calc(100vh - var(--header-h)); overflow-y: auto; background: #fff; box-shadow: var(--shadow-lg); padding: 12px 24px 24px; display: none; }
    .admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
    .site-header.is-open .main-nav { display: block; }
    .main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav .menu > li { border-bottom: 1px solid var(--line); }
    .main-nav .menu > li > a { display: flex; justify-content: space-between; padding: 14px 0; color: var(--ink) !important; }
    .main-nav .sub-menu { position: static; transform: none !important; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 10px 12px; display: none; }
    .main-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
    .main-nav .menu-item-has-children.is-open > a::after { transform: rotate(225deg); }
}

/* ─── Footer ────────────────────────────────────────────── */
.site-footer { background: #000; color: #fff; padding: 64px 0 28px; font-size: 0.9rem; }
.site-footer a { color: #fff; }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .site-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer__logo img { width: 150px; margin-bottom: 14px; }
.site-footer__claim { color: #8bb8ff; margin-bottom: 8px; }
.site-footer__text { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; }
.site-footer__title { font-size: 1rem; margin-bottom: 18px; }
.footer-menu { list-style: none; display: grid; gap: 8px; }
.site-footer__contact { list-style: none; display: grid; gap: 8px; margin-bottom: 18px; color: #8bb8ff; }
.site-footer__contact a { color: #8bb8ff; }
.site-footer__contact strong { color: #fff; font-weight: 500; }
.site-footer .btn--outline-light { border: 1px solid var(--blue); color: var(--blue); }
.site-footer .btn--outline-light:hover { background: var(--blue); color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.site-footer__bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; gap: 0; }
.footer-legal li + li::before { content: "|"; margin: 0 12px; color: rgba(255, 255, 255, 0.3); }

/* ─── Einblenden beim Scrollen (wie bisherige Seite: framer-motion whileInView / animate-on-scroll) ─ */
[data-reveal] { opacity: 0; transition-property: opacity, transform; transition-timing-function: ease-out; transition-duration: var(--rv-dur, 0.6s); transition-delay: var(--rv-delay, 0s); }
[data-reveal="up"] { transform: translateY(var(--rv-dist, 20px)); }
[data-reveal="left"] { transform: translateX(calc(var(--rv-dist, 30px) * -1)); }
[data-reveal="right"] { transform: translateX(var(--rv-dist, 30px)); }
[data-reveal="scale"] { transform: scale(0.95); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal], .reduced-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* LinkedIn-Link im Footer */
.site-footer__social { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: #8bb8ff !important; font-weight: 500; text-decoration: none !important; transition: color 0.2s; }
.site-footer__social .icon { width: 22px; height: 22px; }
.site-footer__social:hover { color: #fff !important; }

/* Footer mit drei Spalten, wenn „Ressourcen" ausgeblendet ist */
@media (min-width: 1060px) { .site-footer__grid:has(> :nth-child(3):last-child) { grid-template-columns: 1.4fr 1fr 1fr; } }

/* sections.css */
/* ==========================================================================
   Clevesta — Sektionen: Startseite, Leistungsseiten, gemeinsame Bausteine
   ========================================================================== */

/* ─── Startseite: Hero ──────────────────────────────────── */
.hero-home { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--blue); color: #fff; }
.hero-home__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; filter: brightness(0.4); z-index: 0; }
.hero-home__defs { position: absolute; width: 0; height: 0; }
.hero-home__grain { position: absolute; inset: 0; z-index: 10; opacity: 0.08; pointer-events: none; filter: url(#clevesta-grain); mix-blend-mode: overlay; }
.hero-home__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; opacity: 0.06; pointer-events: none; }
.hero-home__lines ellipse { fill: none; stroke: #e0e0e0; stroke-width: 0.5; }
.hero-home__title-layer { position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: flex-start; padding: 0 0 22vh 24px; pointer-events: none; mix-blend-mode: difference; }
.hero-home__kicker { display: block; margin-bottom: 0.9rem; font-size: clamp(0.75rem, 1.2vw, 0.95rem); font-weight: 600; letter-spacing: 0.2em; }
.hero-home__title { margin: 0; font-weight: 900; font-size: clamp(2rem, 6vw, 5.5rem); line-height: 1.1; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; text-align: left; }
.hero-home__actions { position: absolute; left: 24px; bottom: 4vh; z-index: 25; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-home .btn--square { border-radius: 4px; padding: 14px 32px; font-size: 0.85rem; letter-spacing: 0.1em; border-width: 2px; }
.hero-home .btn--primary:hover { background: #003d8f; transform: none; }
.hero-home .btn--outline-light { backdrop-filter: blur(4px); }
.hero-home .btn--outline-light:hover { background: rgba(255, 255, 255, 0.15); color: #fff; transform: none; }
.hero-home__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 30; display: none; flex-direction: column; align-items: center; gap: 0.5rem; opacity: 0.5; }
.hero-home__scroll span { font-size: 0.6rem; color: #e0e0e0; letter-spacing: 0.2em; text-transform: uppercase; }
.hero-home__scroll i { position: relative; width: 1px; height: 40px; overflow: hidden; }
.hero-home__scroll i::after { content: ""; position: absolute; inset: 0; background: #e0e0e0; animation: scrollHint 2s ease-in-out infinite; }
@keyframes scrollHint { 0% { transform: translateY(-100%); opacity: 0; } 50% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }
@media (min-width: 768px) {
    .hero-home__title-layer { padding: 0 0 15vh 32px; }
    .hero-home__actions { left: 32px; bottom: calc(15vh - 4rem); }
    .hero-home__scroll { display: flex; }
}

/* ─── Startseite: Was Clevesta auszeichnet ──────────────── */
.keyfacts { position: relative; min-height: 160vh; padding-top: 7.5rem; background: linear-gradient(135deg, #0a1628 0%, #002266 30%, #001133 70%, #000 100%); color: #fff; }
.keyfacts__sticky { position: sticky; top: 7rem; display: flex; flex-direction: column; align-items: center; padding-inline: 24px; }
.keyfacts__title { font-size: clamp(1.8rem, 3vw, 2.25rem); text-align: center; margin-bottom: 24px; }
.keyfacts__stage { position: relative; width: 900px; max-width: 100%; height: 380px; }
.keyfacts__glow { position: absolute; left: 50%; top: 50%; width: 800px; height: 800px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(201, 163, 67, 0.06) 0%, transparent 70%); pointer-events: none; }
.keyfacts__ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.06); transform: translate(-50%, -50%); pointer-events: none; }
.keyfacts__ring--1 { width: 200px; height: 200px; }
.keyfacts__ring--2 { width: 340px; height: 340px; }
.keyfacts__ring--3 { width: 480px; height: 480px; }
.keyfacts__key { position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; }
.keyfacts__key canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.keyfacts__fallback { display: inline-flex; color: var(--gold); transform: rotateZ(45deg); }
.keyfacts__fallback .icon { width: 120px; height: 120px; stroke-width: 1.5; }
.keyfacts__key.is-3d .keyfacts__fallback { display: none; }
.keyfacts__list { list-style: none; position: absolute; inset: 0; }
.keyfacts__card { position: absolute; width: 280px; display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: #fff; color: #1a1a1a; border: 1px solid rgba(0, 0, 0, 0.08); border-left: 4px solid var(--blue); border-radius: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); font-weight: 500; opacity: 0; will-change: transform, opacity; }
.keyfacts__card.is-front { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.keyfacts__card .icon { color: var(--blue); stroke-width: 2; }
.keyfacts__card--tl { top: 0; left: 0; }
.keyfacts__card--tr { top: 0; right: 0; }
.keyfacts__card--ml { top: 30%; left: -8%; }
.keyfacts__card--mr { top: 30%; right: -8%; }
.keyfacts__card--br { top: 60%; right: 5%; }
.keyfacts__card--bl { top: 60%; left: 5%; }

/* schmale Bildschirme: Karten untereinander, ohne Bühne */
@media (max-width: 960px) {
    .keyfacts { min-height: 0; padding: 72px 0 80px; }
    .keyfacts__sticky { position: static; }
    .keyfacts__stage { height: auto; width: 100%; max-width: 420px; }
    .keyfacts__glow, .keyfacts__ring { display: none; }
    .keyfacts__key { position: relative; left: auto; top: auto; transform: none; margin: 0 auto 24px; width: 100%; height: 300px; }
    .keyfacts__list { position: static; display: grid; gap: 12px; }
    .keyfacts__card { position: static; width: auto; padding-block: 16px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); }
}
@media (prefers-reduced-motion: reduce) { .keyfacts__card { opacity: 1 !important; transform: none !important; } }

/* ─── Karten-Panels (Leistungen) ────────────────────────── */
.section--cards { padding-block: 0 24px; background: #fff; }
.section--cards-first { padding-top: 0; }
.section--cards + .section--cards { padding-bottom: 120px; }
.panel { background: #fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(10, 22, 40, 0.08); padding: clamp(28px, 4vw, 40px); border: 1px solid var(--line); }
.panel .card__icon { width: auto; height: auto; background: none; border-radius: 0; color: var(--ink); margin-bottom: 14px; justify-content: flex-start; }
.section--cards .container { max-width: 1200px; }
.section--cards + .section--cards { padding-bottom: 160px; }
.panel .card { padding: 22px; }
.panel .section-head { margin-bottom: 32px; }
.panel .section-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

.card { background: #fff; border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card__title { font-size: 1.1rem; margin-bottom: 10px; }
.card__icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--blue-light); color: var(--blue); margin-bottom: 16px; }
.card__icon--plain { width: auto; height: auto; background: none; border-radius: 0; }
.card__icon--plain .icon { width: 34px; height: 34px; }
.card--service { border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.card--service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card--service .card__title { color: var(--blue); }
.card--service .link-arrow { margin-top: auto; padding-top: 12px; }
.card--top { background: var(--soft); border-top: 4px solid var(--blue); }
.card--top .card__icon { color: var(--blue); }
.card__title--quote { font-style: italic; }
.card--value { border: 1px solid var(--line); box-shadow: var(--shadow); }
.card--value .card__icon { color: var(--blue); }
.card--soft { background: var(--soft); border: 1px solid var(--line); }

/* ─── Startseite: Portfolio-Slider ──────────────────────── */
.portfolio-slider { overflow: hidden; }
.slider { position: relative; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 380px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 12px 4px 24px; justify-content: safe center; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { scroll-snap-align: center; }
.slider__nav { position: absolute; top: 45%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.slider__nav:hover { background: #fff; color: var(--blue); }
.slider__nav--prev { left: -8px; }
.slider__nav--next { right: -8px; }
@media (max-width: 640px) { .slider__nav { display: none; } }

.objekt-card { display: flex; flex-direction: column; height: 100%; background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none !important; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
a.objekt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.objekt-card__media { aspect-ratio: 16 / 10; background: var(--soft); }
.objekt-card__media img { width: 100%; height: 100%; object-fit: cover; }
.objekt-card__placeholder { display: flex; height: 100%; align-items: center; justify-content: center; color: var(--muted); font-size: 0.85rem; }
.objekt-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.objekt-card__tags { display: flex; justify-content: space-between; margin-bottom: 10px; }
.objekt-card__title { font-size: 1.1rem; color: var(--blue); margin: 0; }
.objekt-card__address { color: var(--muted); font-size: 0.88rem; margin: 0; }
.objekt-card__ort { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--muted); font-size: 0.8rem; }
.objekt-card__ort .icon { width: 15px; height: 15px; color: var(--blue); }
.objekt-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 14px 0 12px; font-size: 0.85rem; }
.objekt-card__facts dt { color: var(--muted); font-size: 0.75rem; }
.objekt-card__facts dd { margin: 0; font-weight: 500; }
.objekt-card .link-arrow { margin-top: auto; }

/* ─── Startseite: Portfolio-Fächer ──────────────────────── */
.portfolio-fan { overflow: hidden; padding-block: 80px; background: linear-gradient(135deg, #0a1628 0%, #002266 30%, #001133 70%, #000 100%); }
.portfolio-fan .section-head { margin-bottom: 64px; }
.portfolio-fan .section-head h2 { font-size: clamp(2.25rem, 4vw, 3rem); }
.portfolio-fan .section-head p { opacity: 1; font-size: 1.125rem; }
@media (min-width: 768px) { .portfolio-fan { padding-block: 112px; } }
.fan { position: relative; }
.fan__stage { position: relative; height: 560px; max-width: 100%; }
.fan__card { position: absolute; left: 50%; top: 40px; width: min(440px, 86vw); margin-left: calc(min(440px, 86vw) / -2); transform: scale(0.8); transition: transform 0.55s cubic-bezier(0.34, 1.25, 0.64, 1), opacity 0.4s ease; opacity: 0; pointer-events: none; z-index: 1; }
.fan__card.is-active:hover { transform: translateY(-30px) scale(1.05); }
.fan__card.is-active:hover .objekt-card { box-shadow: 0 25px 50px -12px rgba(0, 74, 173, 0.15); }
.fan__card .objekt-card__media { overflow: hidden; }
.fan__card .objekt-card__media img { transition: transform 0.4s; }
.fan__card .objekt-card__media:hover img { transform: scale(1.1); }
.fan__card .objekt-card { border: 1px solid #f3f4f6; border-radius: 16px; }
.fan__card .objekt-card__body { padding: 20px; }
.fan__card .objekt-card__title { font-size: 1.25rem; margin-bottom: 4px; }
.fan__card .objekt-card__address { margin-bottom: 16px; font-size: 0.875rem; }
.fan__card .objekt-card { height: 480px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); transition: box-shadow 0.3s; }
.fan__card .objekt-card__media { aspect-ratio: auto; height: 240px; flex: 0 0 240px; }
.fan__card.is-active { transform: translateY(-22px) scale(1.03); opacity: 1; pointer-events: auto; z-index: 4; }
.fan__card.is-prev { transform: translateX(-211px) translateY(-22px) scale(0.94) rotate(-24deg); opacity: 1; pointer-events: auto; z-index: 3; cursor: pointer; }
.fan__card.is-next { transform: translateX(211px) translateY(-22px) scale(0.94) rotate(24deg); opacity: 1; pointer-events: auto; z-index: 3; cursor: pointer; }
.fan__card.is-prev .objekt-card, .fan__card.is-next .objekt-card { pointer-events: none; }
.fan__nav { position: absolute; top: 50%; z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); }
.fan__nav:hover { background: #fff; color: var(--blue); }
.fan__nav--prev { left: 0; }
.fan__nav--next { right: 0; }
.fan__dots { display: flex; justify-content: center; gap: 0; margin-top: 24px; }
/* Klickfläche 24 × 24 px (Barrierefreiheit), sichtbarer Punkt bleibt 10 px */
.fan__dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.fan__dot::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: rgba(0, 74, 173, 0.3); transition: all 0.3s; }
.fan__dot.is-active::before { background: var(--blue); transform: scale(1.3); }
.fan__nav { display: none; }
@media (max-width: 760px) {
    .fan__card.is-prev, .fan__card.is-next { opacity: 0; pointer-events: none; }
    .fan__stage { height: 520px; }
    .fan__nav { top: auto; bottom: -6px; }
}

/* ─── Startseite: Über / Partner ────────────────────────── */
.about-teaser h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.about-teaser p { color: var(--muted); }
.about-teaser .btn { margin-top: 12px; border-radius: 999px; }
.split__media img { width: 100%; max-height: 520px; object-fit: cover; }

.partner { padding-block: 64px; }
.partner .container { max-width: 1440px; }
.partner__grid { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.partner__item { background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(10, 22, 40, 0.06); height: 150px; display: flex; align-items: center; justify-content: center; padding: 20px; transition: box-shadow 0.25s; }
.partner__item:hover { box-shadow: var(--shadow-lg); }
.partner__item img { max-height: 90px; width: auto; object-fit: contain; }

/* ─── Seitenkopf (Leistungsseiten u. a.) ───────────────── */
.page-hero { position: relative; min-height: 55vh; display: flex; align-items: center; text-align: center; color: #fff; padding: calc(var(--header-h) + 60px) 0 64px; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); overflow: hidden; }
body:not(.has-dark-hero) .page-hero { padding-top: 64px; min-height: 45vh; }
.page-hero--image { background: var(--navy) var(--hero-bg) center / cover no-repeat; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 40, 0.55), rgba(10, 22, 40, 0.75)); }
.page-hero__inner { position: relative; max-width: 900px; }
.page-hero__title { color: #fff; margin: 0; }
.page-hero__title .eyebrow { display: block; width: fit-content; margin-inline: auto; }
.page-hero__text { max-width: 680px; margin: 22px auto 0; font-size: 1.08rem; font-weight: 300; color: rgba(255, 255, 255, 0.88); }
.page-hero__actions { margin-top: 32px; }

/* ─── Lösung (Häkchenliste) ─────────────────────────────── */
.checklist { list-style: none; display: grid; gap: 22px; }
.checklist li { display: flex; gap: 14px; }
.checklist .icon { color: var(--blue); margin-top: 2px; }
.checklist h3 { font-size: 1rem; margin-bottom: 4px; }
.checklist p { color: var(--muted); font-size: 0.9rem; }

/* ─── Schritte ──────────────────────────────────────────── */
.steps { list-style: none; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps__item { position: relative; }
.steps__num { display: block; font-weight: 900; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; color: var(--blue); opacity: 0.15; margin-bottom: 8px; }
.steps__item h3 { color: var(--blue); }
.steps__item p { color: var(--muted); font-size: 0.92rem; }

/* ─── FAQ ───────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 22px 4px; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary { padding-block: 26px; }
.faq__q { font-size: 1rem !important; color: #1e293b !important; }
.faq__num { font-weight: 900; font-size: 1.9rem; color: var(--line-strong); transition: color 0.3s; min-width: 2.2ch; }
.faq__q { flex: 1; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.92rem; color: #334155; }
.faq__chevron { width: 18px; height: 18px; color: var(--muted); transition: transform 0.3s var(--ease); }
.faq__item:hover .faq__num, .faq__item[open] .faq__num { color: var(--blue); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__a { padding: 0 4px 24px calc(2.2ch + 18px + 4px); color: var(--muted); }
.faq--small .faq__q { text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.faq--small .faq__a { padding-left: 4px; }
.faq--small summary { padding: 14px 4px; }

/* ─── Abschluss-Band ────────────────────────────────────── */
.cta-band { background: var(--blue); color: #fff; padding: clamp(64px, 8vw, 96px) 0; text-align: center; }
.cta-band h2 { color: #fff; margin: 0 auto 12px; max-width: 620px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin-bottom: 28px; }
.cta-band__note { margin: 18px 0 0 !important; font-size: 0.8rem; }

/* ─── Everize-Hinweis ───────────────────────────────────── */
.everize { text-align: center; background: var(--soft); }
.everize__inner { max-width: 760px; }
.everize h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.everize p { color: var(--muted); }
.everize .btn { margin-top: 12px; }
.everize__claim { margin-top: 18px !important; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #5b6b80 !important; }

/* ─── Startseite: gestapelte Leistungs-Kästen (wie LeistungenSection) ── */
.stack { position: relative; background: #fff; }
.stack__layer { position: relative; padding: 0 16px 24px; }
.stack__panel--first { z-index: 10; }
.stack__panel--second { z-index: 20; }
.stack__panel { max-width: 1152px; margin: 0 auto; border-radius: 16px; padding: 32px; background: #fff; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.stack__panel--second .stack__panel { background: #f8f9fb; }
.stack__head { text-align: center; margin-bottom: 40px; }
.stack__head h2 { color: var(--blue); font-size: clamp(1.875rem, 3vw, 2.25rem); margin: 0; }
.stack__head p { color: var(--muted); margin-top: 16px; }
.stack__grid { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 768px) {
    .stack { min-height: 160vh; }
    .stack__layer { position: sticky; top: 5vh; padding: 0 32px 32px; }
    .stack__panel--second { padding-bottom: 0; }
    .stack__panel { padding: 48px; }
    .stack__grid { grid-template-columns: repeat(3, 1fr); }
}

.tilt { perspective: 800px; height: 100%; }
.tilt__card { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; padding: 24px; border-radius: 12px; background: #fff; cursor: pointer; will-change: transform; transform-style: preserve-3d; }
.tilt__image { position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s ease-in-out; }
.tilt__image img { width: 100%; height: 100%; object-fit: cover; }
.tilt__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)); }
.tilt__body { position: relative; z-index: 10; display: flex; flex-direction: column; flex: 1; }
.tilt__icon { color: #1a1a1a; transition: color 0.3s; }
.tilt__icon .icon { width: 36px; height: 36px; stroke-width: 1.5; }
.tilt__body h3 { margin: 16px 0 0; font-size: 1.125rem; font-weight: 600; color: var(--blue); transition: color 0.3s; }
.tilt__body p { margin-top: 12px; font-size: 0.875rem; line-height: 1.625; color: var(--muted); transition: color 0.3s; }
.tilt__link { display: inline-block; margin-top: auto; padding-top: 20px; font-size: 0.875rem; font-weight: 500; color: var(--blue); transition: color 0.3s; }
.tilt.is-hover .tilt__image { opacity: 1; }
.tilt.is-hover .tilt__icon, .tilt.is-hover h3, .tilt.is-hover .tilt__link { color: #fff; }
.tilt.is-hover .tilt__body p { color: #e2e8f0; }

/* pages.css */
/* ==========================================================================
   Clevesta — Seiten: Weitere Leistungen, Über uns, Portfolio, Karriere, Investment, Textseiten
   ========================================================================== */

/* ─── Aufklappbare Leistungen / Vorteile ────────────────── */
.expander { display: flex; gap: 10px; min-height: 460px; }
.expander__item { position: relative; flex: 0 0 64px; border-radius: var(--radius); overflow: hidden; color: #fff; background: var(--blue) var(--bg, none) center / cover no-repeat; transition: flex 0.6s var(--ease); }
.expander__item::before { content: ""; position: absolute; inset: 0; background: rgba(0, 74, 173, 0.92); transition: background 0.5s; }
.expander__item.is-open { flex: 1 1 auto; }
.expander__item.is-open::before { background: linear-gradient(90deg, rgba(0, 53, 128, 0.95) 0%, rgba(0, 74, 173, 0.82) 60%, rgba(0, 74, 173, 0.6) 100%); }
.expander__tab { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: none; border: 0; color: #fff; padding: 20px 0; }
.expander__tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; white-space: nowrap; }
.expander__tab .icon { color: var(--gold); }
.expander__item.is-open .expander__tab { display: none; }
.expander__content { position: relative; z-index: 1; padding: clamp(24px, 4vw, 44px); max-width: 640px; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.expander__item.is-open .expander__content { opacity: 1; visibility: visible; transition-delay: 0.25s; }
.expander__item:not(.is-open) .expander__content { display: none; }
.expander__icon .icon { width: 30px; height: 30px; color: var(--gold); }
.expander__sub { margin: 14px 0 4px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.expander__content h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: #fff; }
.expander__content > p { color: rgba(255, 255, 255, 0.88); }
.expander__features { list-style: none; display: grid; gap: 8px; margin: 18px 0; font-size: 0.9rem; }
.expander__features li { display: flex; gap: 10px; align-items: flex-start; }
.expander__features .icon { width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }
.expander__target { font-style: italic; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75) !important; }
.expander--benefits .expander__item { background-color: #1e293b; }
.expander--benefits .expander__item::before { background: linear-gradient(180deg, rgba(10, 22, 40, 0.35), rgba(10, 22, 40, 0.85)); }
.expander--benefits .expander__item.is-open .expander__content { position: absolute; bottom: 0; }

@media (max-width: 800px) {
    .expander { flex-direction: column; min-height: 0; }
    .expander__item { flex: 0 0 auto; min-height: 64px; }
    .expander__tab { flex-direction: row; justify-content: flex-start; padding: 0 20px; }
    .expander__tab span { writing-mode: horizontal-tb; transform: none; }
    .expander__item:not(.is-open) .expander__content { display: none; }
    .expander--benefits .expander__item.is-open .expander__content { position: relative; }
}

.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.chips__item { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 0.9rem; font-weight: 500; }
.chips__item .icon { color: var(--blue); }

/* ─── Über uns ──────────────────────────────────────────── */
.prose p { color: var(--muted); }
.quote-card { margin: 0; padding: 32px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.quote-card__icon { width: 40px; height: 40px; color: var(--blue); opacity: 0.4; }
.quote-card blockquote { margin: 16px 0 20px; font-size: 1.25rem; font-weight: 700; font-style: italic; line-height: 1.4; color: var(--blue); }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.88rem; }
.quote-card__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.person { background: #fff; color: var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.person__photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.page-hero--image { min-height: 45vh; }
.page-hero--image .page-hero__title { font-size: clamp(2rem, 3.6vw, 2.6rem); }
.person__body { padding: 28px; }
.person h3 { color: var(--blue); font-size: 1.35rem; margin-bottom: 2px; }
.person__role { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.person__body > p { color: var(--muted); font-size: 0.92rem; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badges li { padding: 4px 12px; border-radius: 999px; background: var(--blue-light); color: var(--blue); font-size: 0.75rem; font-weight: 500; }

.standort { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .standort { grid-template-columns: 1.2fr 1fr; } }
.standort__map { display: flex; justify-content: center; }
.standort__svg { width: min(100%, 420px); height: auto; overflow: visible; }
.de-state { fill: #e8edf3; stroke: #fff; stroke-width: 1; }
.de-state--hi { fill: #cadbef; }
.standort__label { font: 600 15px var(--font); fill: var(--blue); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.standort__dot { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.standort__ping { fill: rgba(0, 74, 173, 0.35); transform-box: fill-box; transform-origin: center; animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.2); opacity: 0; } }
.standort__card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius-sm); padding: 24px 28px; box-shadow: var(--shadow); }
.standort__card h3 { display: flex; align-items: center; gap: 8px; color: var(--blue); }
.standort__card h3 .icon { width: 20px; height: 20px; }
.standort__card p { color: var(--muted); font-size: 0.9rem; }

/* ─── Portfolio ─────────────────────────────────────────── */
.portfolio-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; width: 100%; overflow: hidden; background: #000; color: #fff; }
.portfolio-hero__stage { position: absolute; inset: 0; }
.portfolio-hero__stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
/* Collage nur als Rückfallebene (kein WebGL, reduzierte Bewegung, Fehler) — sonst würden ihre Bilder
   kurz versetzt aufblitzen und doppelt geladen */
.portfolio-hero__collage { display: none; }
.portfolio-hero__stage.is-fallback .portfolio-hero__collage { display: block; }
.portfolio-hero__stage canvas { opacity: 0; transition: opacity 0.8s ease; }
.portfolio-hero__stage.is-ready canvas { opacity: 1; }
.portfolio-hero__overlay { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px; pointer-events: none; mix-blend-mode: exclusion; }
.portfolio-hero__tag { margin: 0 0 16px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase; }
.portfolio-hero__title { margin: 0; color: #fff; font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 700; letter-spacing: -0.025em; }
.portfolio-hero__text { margin: 16px 0 0; font-size: 1.125rem; font-weight: 300; opacity: 0.6; }
.portfolio-hero__hint { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 10; margin: 0; text-align: center; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.portfolio-hero__stage.is-fallback .portfolio-hero__collage { position: absolute; inset: 0; }
.portfolio-hero__img { position: absolute; width: clamp(90px, 13vw, 180px); border-radius: 6px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); opacity: 0.85; animation: float 9s ease-in-out infinite; }
.portfolio-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.portfolio-hero__img--1 { left: 12%; top: 20%; }
.portfolio-hero__img--2 { left: 44%; top: 26%; width: clamp(70px, 9vw, 120px); animation-delay: -2s; }
.portfolio-hero__img--3 { right: 14%; top: 30%; animation-delay: -4s; }
.portfolio-hero__img--4 { left: 34%; top: 52%; width: clamp(70px, 9vw, 120px); animation-delay: -1s; }
.portfolio-hero__img--5 { right: 26%; top: 54%; animation-delay: -6s; }
.portfolio-hero__img--6 { left: 6%; bottom: 12%; animation-delay: -3s; }
.portfolio-hero__img--7 { right: 6%; bottom: 10%; animation-delay: -5s; }
.portfolio-hero__img--8 { left: 58%; top: 12%; width: clamp(60px, 8vw, 110px); animation-delay: -7s; }
.portfolio-hero__img--9 { left: 22%; top: 8%; width: clamp(60px, 8vw, 110px); animation-delay: -8s; }
@keyframes float { 50% { transform: translateY(-14px); } }
@media (max-width: 700px) { .portfolio-hero__img--2, .portfolio-hero__img--4, .portfolio-hero__img--8, .portfolio-hero__img--9 { display: none; } }

.objekt-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 0 0 40px; }
.objekt-facts div { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; }
.objekt-facts dt { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.objekt-facts dd { margin: 4px 0 0; font-weight: 700; color: var(--blue); }
.objekt-galerie { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 40px; }
.objekt-galerie img { border-radius: var(--radius-sm); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* ─── Karriere ──────────────────────────────────────────── */
.karriere-hero { padding: 56px 0 80px; }
.karriere-hero__title { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.karriere-hero .btn-row { margin-top: 24px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 10px; align-items: center; }
.facts__icon { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: var(--blue-light); color: var(--blue); }
.facts__icon .icon { width: 18px; height: 18px; }
.facts strong { display: block; font-size: 0.85rem; }
.facts small { color: var(--muted); font-size: 0.75rem; }
.collage { display: grid; gap: 16px; }
.collage__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 3; }
.collage--2, .collage--3 { grid-template-columns: 1fr 1fr; }
.collage--3 { align-items: start; }
.collage--3 .collage__img:nth-child(2) { margin-top: 48px; }
.collage--3 .collage__img:nth-child(3) { margin-top: -32px; }

.jobs { list-style: none; display: grid; gap: 16px; margin-bottom: 32px; }
.jobs__item { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); }
.jobs__item h3 { color: #fff; margin: 0; }
.jobs__meta { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
.initiativ { max-width: 672px; margin-inline: auto; text-align: center; padding: 40px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); }
.initiativ__icon { width: 40px; height: 40px; margin: 0 auto 16px; color: #fff; }
.initiativ h3 { color: #fff; font-size: 1.5rem; }
.initiativ p { color: rgba(255, 255, 255, 0.7); margin-inline: auto; }
.initiativ .btn { margin-top: 24px; }

.place-card { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.place-card img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.place-card figcaption { padding: 20px 24px; }
.place-card__ort { display: flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 500; font-size: 0.9rem; }
.place-card__ort .icon { width: 16px; height: 16px; }
.place-card p { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }

/* ─── Investment ────────────────────────────────────────── */
.investment { position: relative; padding: calc(var(--header-h) + 40px) 0 96px; background: var(--soft); }
.investment__bg { position: absolute; inset: 0 0 auto; height: 320px; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
.investment .container { position: relative; }
.investment__card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: clamp(28px, 5vw, 56px); }
.investment__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); text-align: center; margin-bottom: 36px; }
.investment .card__title { font-size: 1.05rem; }

/* ─── Textseiten (Impressum, AGB, Datenschutz) ─────────── */
.page-content__title { color: var(--blue); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 32px; }
.page-content .prose h2 { font-size: 1.3rem; margin-top: 2em; color: var(--ink); }
.page-content .prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; color: var(--muted); }
.page-content .prose p { color: #334155; }
.post-list { display: grid; gap: 32px; }
.post-list__item h2 { font-size: 1.3rem; }

/* ─── Karriere-Galerie: aktive Spalte 5×, übrige entsättigt (wie bisherige Seite) ── */
.expander--benefits { display: grid; gap: 8px; grid-template-columns: var(--cols); transition: grid-template-columns 500ms ease-out; min-height: 420px; }
.expander--benefits .expander__item { flex: none; background: #1e293b; }
.expander--benefits .expander__item::before { z-index: 1; background: linear-gradient(180deg, rgba(10, 22, 40, 0.15), rgba(10, 22, 40, 0.85)); }
.expander__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(0.6); transform: scale(1.1); transition: filter 0.5s, transform 0.5s; }
.expander__item.is-open .expander__bg { filter: grayscale(0); transform: scale(1); }
.expander--benefits .expander__tab, .expander--benefits .expander__content { z-index: 2; }
.expander--benefits .expander__tab .icon { color: #fff; }
@media (max-width: 800px) {
    .expander--benefits { grid-template-columns: 1fr; grid-template-rows: var(--rows); transition: grid-template-rows 500ms ease-out; min-height: 900px; }
}

/* ─── Lichtschein auf Karten (Portfolio-Objekte) ─────────── */
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.spot::before { z-index: 2; background: radial-gradient(250px 250px at var(--x, 50%) var(--y, 50%), hsl(216 100% 50% / 0.06), transparent); }
.spot::after { z-index: 3; padding: 1px; background: radial-gradient(180px 180px at var(--x, 50%) var(--y, 50%), hsl(216 100% 50% / 0.6), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.objekt-card--grid .objekt-card__media { position: relative; overflow: hidden; }
.objekt-card--grid .objekt-card__media img { transition: transform 0.5s; }
.objekt-card--grid:hover .objekt-card__media img { transform: scale(1.05); }
.objekt-card--grid .objekt-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%); }

/* ─── Partikel im Kontakt-Kopf ───────────────────────────── */
.page-hero--particles canvas.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.page-hero--particles .page-hero__inner { z-index: 1; }

/* ─── Pixel-Funkeln in Buttons ───────────────────────────── */
.has-pixels { position: relative; isolation: isolate; overflow: hidden; }
.has-pixels canvas.pixels { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cta-band .has-pixels:hover { background: transparent; color: #fff; }
.cta-band .btn { padding: 1rem 2.5rem; border-width: 2px; font-weight: 500; letter-spacing: 0.025em; }

/* mieter.css */
/* ==========================================================================
   Clevesta — Mieterbereich, Overlays (dialog), Kontaktformular
   ========================================================================== */

/* ─── Mieter: Kopf ──────────────────────────────────────── */
.mieter-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding-bottom: 22vh !important; color: #fff; padding: calc(var(--header-h) + 40px) 0 64px; background: var(--navy) var(--hero-bg) center / cover no-repeat; }
.mieter-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 40, 0.8) 0%, rgba(10, 22, 40, 0.35) 70%); }
.mieter-hero__inner { position: relative; max-width: var(--container); }
.mieter-hero__title { color: #4d8eff; font-weight: 900; font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 10px; }
.mieter-hero p { max-width: 520px; font-size: 1.05rem; }
.image-divider { height: clamp(180px, 26vw, 320px); background: var(--bg) center / cover no-repeat; }

/* ─── Mieter: Ablauf ────────────────────────────────────── */
.ablauf { max-width: 740px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.ablauf__steps { list-style: none; display: grid; gap: 28px; margin-bottom: 28px; }
.ablauf__steps li { display: flex; gap: 16px; }
.ablauf__num { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; justify-content: center; }
.ablauf h3 { font-size: 1.05rem; color: var(--blue); margin-bottom: 4px; }
.ablauf h3 small { color: var(--muted); font-weight: 400; font-size: 0.75rem; }
.ablauf p { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; }
.notfall-box { background: var(--red-soft); border: 1px solid rgba(220, 38, 38, 0.3); border-radius: var(--radius-sm); padding: 20px 22px; }
.notfall-box h3, .notfall-box h4 { display: flex; align-items: center; gap: 8px; color: var(--red); }
.notfall-box .icon { width: 20px; height: 20px; }
.notfall-box p { color: #7f1d1d; font-size: 0.9rem; }
.notfall-box--small { margin-bottom: 22px; }
.notfall-box--small .list { margin-bottom: 10px; }

/* ─── Mieter: Themen-Kacheln ────────────────────────────── */
.search { position: relative; display: inline-flex; align-items: center; min-width: min(100%, 280px); }
.search .icon { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: 11px 14px 11px 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.search input:focus { outline: 2px solid var(--blue); border-color: transparent; }
.search--wide { display: flex; max-width: 520px; margin: 0 auto 18px; }

.themen { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); align-items: start; }
.thema { background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: box-shadow 0.25s; }
.thema:hover { box-shadow: var(--shadow); }
.thema[open] { grid-column: 1 / -1; box-shadow: var(--shadow-lg); border-color: var(--blue-light); }
.thema__head { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; }
.thema__head::-webkit-details-marker { display: none; }
.thema__icon { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.thema__icon .icon { width: 20px; height: 20px; }
.thema__titles { flex: 1; min-width: 0; }
.thema__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; }
.thema__kurz { display: block; color: var(--muted); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thema[open] .thema__kurz { white-space: normal; }
.thema__chevron { width: 18px; height: 18px; color: var(--muted); transition: transform 0.3s; }
.thema[open] .thema__chevron { transform: rotate(180deg); }
.thema__body { padding: 4px 22px 24px; border-top: 1px solid var(--line); }
.thema__cols { display: grid; gap: 28px; grid-template-columns: 1fr; padding-top: 18px; }
@media (min-width: 860px) { .thema__cols { grid-template-columns: 1fr 1fr; } }
.thema__body h4 { font-size: 0.95rem; margin: 18px 0 8px; }
.thema__body h4:first-child { margin-top: 0; }
.thema__bilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.thema__bilder img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.thema__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }

.list { list-style: none; display: grid; gap: 6px; margin-bottom: 8px; font-size: 0.9rem; color: #334155; }
.list > li { position: relative; padding-left: 18px; }
.list > li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.list > li.is-warning { color: var(--red); font-weight: 500; }
.list > li.is-warning::before { background: var(--red); }
.list--check > li::before { width: 10px; height: 6px; border-radius: 0; background: none; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); top: 0.45em; left: 2px; }
.list-sub { list-style: none; display: grid; gap: 4px; margin: 6px 0 2px; padding-left: 4px; }
.list-sub li::before { content: "– "; color: var(--muted); }
.list-heading { margin: 14px 0 6px; font-weight: 700; font-size: 0.88rem; color: var(--blue); }

.vorlage { margin-top: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.vorlage__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.vorlage__head h4 { margin: 0 !important; }
.vorlage pre { margin: 0; white-space: pre-wrap; font: inherit; font-size: 0.85rem; color: #334155; }
.brief-hinweis { flex: 1 1 100%; }
.brief-hinweis h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px !important; }
.brief-hinweis address { font-style: normal; color: #334155; font-size: 0.9rem; }
.filter-empty { text-align: center; color: var(--muted); margin-top: 24px; }
[hidden] { display: none !important; }

/* ─── Mieter: Wissensbereich ────────────────────────────── */
.wissen { background: linear-gradient(180deg, var(--soft) 0%, #fff 300px); }
.wissen__filter { text-align: center; margin-bottom: 32px; }
.tag-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tag-filter__btn { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 0.82rem; color: var(--muted); }
.tag-filter__btn:hover { border-color: var(--blue); color: var(--blue); }
.tag-filter__btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.wissen__count { margin-top: 12px; font-size: 0.82rem; color: var(--muted); }
.wissen__subhead { font-size: 1.1rem; margin: 40px 0 16px; }
.guide__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.meta { display: inline-flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--muted); }
.meta .icon { width: 14px; height: 14px; }
.guide { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.guide h3 { font-size: 1.3rem; }
.guide > p { color: var(--muted); }
.guide .pill-row { margin-bottom: 18px; }

.tipps { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); align-items: start; }
.tipp { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.tipp summary { list-style: none; display: flex; gap: 10px; cursor: pointer; font-size: 0.88rem; }
.tipp summary::-webkit-details-marker { display: none; }
.tipp__icon { flex: 0 0 30px; height: 30px; border-radius: 8px; background: var(--soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.tipp__icon .icon { width: 16px; height: 16px; }
.tipp__detail { margin: 10px 0 8px; font-size: 0.84rem; color: var(--muted); }
.tipp .pill-row { margin-top: 10px; }

.artikel-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.artikel-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.artikel-card h4 { font-size: 1rem; }
.artikel-card > p { color: var(--muted); font-size: 0.86rem; }
.artikel-card .pill-row { margin-bottom: 14px; }
.artikel-card .btn { margin-top: auto; align-self: flex-start; }

/* ─── Overlays (Artikel, Formular) ──────────────────────── */
.modal { width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--ink); }
.modal--wide { width: min(1000px, calc(100% - 32px)); height: calc(100vh - 48px); display: none; flex-direction: column; }
.modal--wide[open] { display: flex; }
.modal::backdrop { background: rgba(10, 22, 40, 0.6); backdrop-filter: blur(3px); }
.modal__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.modal__head h3 { margin: 4px 0 0; font-size: 1.25rem; }
.modal__close { flex: 0 0 auto; background: none; border: 0; padding: 6px; border-radius: 8px; color: var(--muted); }
.modal__close:hover { background: var(--soft); color: var(--ink); }
.modal__body { padding: 24px; }
.modal__body--frame { flex: 1; padding: 0; }
.modal__body--frame iframe { width: 100%; height: 100%; border: 0; }
.modal__foot { margin: 0; padding: 10px 24px; font-size: 0.78rem; color: var(--muted); border-top: 1px solid var(--line); }
body.has-modal { overflow: hidden; }

.artikel h4 { font-size: 1rem; margin: 24px 0 10px; display: flex; align-items: center; gap: 8px; }
.artikel h4 .icon { width: 18px; height: 18px; }
.artikel__fazit { padding: 14px 16px; border-radius: 10px; background: var(--blue-light); color: var(--blue-dark); }
.artikel__cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.artikel__dos h4 { color: #15803d; }
.artikel__dos .list > li::before { background: #16a34a; }
.artikel__donts h4 { color: var(--red); }
.artikel__donts .list > li::before { background: var(--red); }
.wenn-dann { display: grid; gap: 10px; margin: 0; }
.wenn-dann div { padding: 12px 14px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-size: 0.88rem; }
.wenn-dann dt { font-weight: 700; }
.wenn-dann dd { margin: 2px 0 0; color: var(--muted); }
.hinweis-box { display: flex; gap: 10px; margin-top: 24px; padding: 14px 16px; border-radius: 10px; background: #fff7e6; border: 1px solid #f5d48a; font-size: 0.88rem; }
.hinweis-box .icon { color: #b7791f; width: 20px; height: 20px; }

/* ─── Kontakt ───────────────────────────────────────────── */
.kontakt__grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .kontakt__grid { grid-template-columns: 1fr 1fr; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.box h3 { font-size: 1.3rem; margin-bottom: 4px; }
.box > .muted { font-size: 0.85rem; margin-bottom: 22px; }
.kontakt__list { list-style: none; display: grid; gap: 22px; }
.kontakt__list li { display: flex; gap: 14px; }
.kontakt__list .icon { color: var(--blue); }
.kontakt__list h4 { margin-bottom: 2px; font-size: 0.95rem; }
.kontakt__list p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.kontakt__list .hours { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; margin: 0; color: var(--muted); font-size: 0.88rem; }
.kontakt__list .hours dd { margin: 0; }
.kontakt__social { margin-top: 28px; }
.kontakt__social h4 { font-size: 0.95rem; }
.kontakt__social a { color: var(--blue); }

.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form__field { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 500; }
.form__field input, .form__field select, .form__field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 400; font-size: 0.92rem; }
.form__field :focus { outline: 2px solid var(--blue); border-color: transparent; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; font-size: 0.75rem; color: var(--muted); text-align: center; }
.form-status { padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; margin-bottom: 16px; }
.form-status--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status--error { background: var(--red-soft); color: #991b1b; border: 1px solid #fecaca; }

