/* ==========================================================
   Mindbrain GmbH – Website
   Corporate Design: MBIT Orange #f18700, Schwarz, Grautöne,
   IBM Plex Sans (Text) + IBM Plex Mono (Akzente)
   Schriften lokal eingebunden (keine externen Anfragen).
   ========================================================== */

/* ---------- Schriften ---------- */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

/* ---------- Farben & Grundwerte ---------- */
:root {
  --orange: #f18700;
  --black: #000404;
  --dark: #4d4d4c;
  --mid: #727372;
  --light: #a6aaac;
  --soft: #f3f3f3;
  --white: #ffffff;
  --text-on-dark: #e6e6e6;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --max: 1280px;
  --gutter: 24px;
  --section: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--black); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.18; }
h1 { font-size: clamp(34px, 4.6vw, 62px); }
h2 { font-size: clamp(28px, 3.3vw, 44px); }
h3 { font-size: clamp(20px, 1.8vw, 26px); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--orange); color: var(--black); padding: 12px 18px; font-weight: 600; z-index: 100; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--soft); }
.bg-black { background: var(--black); color: var(--white); }
.bg-dark { background: var(--dark); color: var(--white); }
.bg-orange { background: var(--orange); color: var(--black); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
.section-head.split > p { max-width: 480px; }

/* ---------- Markenelemente ---------- */
.eyebrow { font-family: var(--mono); font-size: 15px; color: var(--dark); letter-spacing: .3px; }
.eyebrow .acc, .acc { color: var(--orange); }
.bg-black .eyebrow, .bg-dark .eyebrow { color: var(--orange); }
.bg-orange .eyebrow { color: var(--black); }
.claim { font-family: var(--mono); font-weight: 500; font-size: clamp(20px, 2vw, 26px); color: var(--orange); }
.mono { font-family: var(--mono); }
.muted { color: var(--dark); }
.bg-black .muted, .bg-dark .muted { color: var(--text-on-dark); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.small { font-size: 14px; }
.tag { font-family: var(--mono); font-size: 13px; color: var(--dark); letter-spacing: .3px; }
.bg-black .tag, .card-black .tag, .card-dark .tag { color: #d9d9d9; }
.badge { display: inline-block; background: var(--orange); color: var(--black); font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 4px 10px; }
.num { display: inline-block; align-self: flex-start; background: var(--orange); color: var(--black); font-family: var(--mono); font-size: 14px; font-weight: 600; padding: 3px 9px; }

/* ---------- Buttons & Links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; font-family: var(--sans); font-size: 17px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center; }
.btn-primary { background: var(--orange); color: var(--black); border-color: var(--orange); }
.btn-primary:hover { background: #d97900; border-color: #d97900; }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--dark); border-color: var(--dark); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); font-weight: 500; }
.btn-outline-light:hover { background: var(--white); color: var(--black); }
.btn-white { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; align-self: flex-start; }
.link-arrow:hover { color: var(--orange); }
.bg-black .link-arrow:hover, .card-black .link-arrow:hover, .card-dark .link-arrow:hover { color: var(--orange); }

/* ---------- Header ---------- */
.site-header { background: var(--black); border-bottom: 1px solid var(--dark); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo { display: flex; flex-direction: row; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { display: block; width: 46px; height: auto; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 4px; }
.logo-word { font-weight: 600; font-size: 24px; letter-spacing: 3px; color: var(--white); line-height: 1; }
.logo-word span { color: var(--orange); }
.logo-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.6px; color: var(--light); white-space: nowrap; }
.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--white); text-decoration: none; font-size: 16px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange); }
.main-nav a.btn { color: var(--black); font-size: 15px; min-height: 48px; padding: 12px 20px; }
.main-nav a.btn:hover { color: var(--black); }
.nav-actions { display: none; gap: 8px; align-items: center; }
.icon-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--mid); background: transparent; color: var(--white); cursor: pointer; }
.icon-btn.call { background: var(--orange); border-color: var(--orange); color: var(--black); }

/* ---------- Hero ---------- */
.hero { background: var(--black); color: var(--white); padding: 96px 0 104px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 80px; align-items: start; }
.hero .lead { color: var(--text-on-dark); max-width: 680px; }
.hero-panel { background: var(--dark); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.hero-panel .tag { color: #f3f3f3; }
.breadcrumb { font-family: var(--mono); font-size: 14px; color: var(--light); margin-bottom: 48px; }
.breadcrumb a { color: var(--light); }
.breadcrumb [aria-current] { color: var(--white); }
.hero-sub { padding-top: 48px; }
.check-list li { padding-left: 28px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 600; }
.arrow-list li { padding-left: 22px; position: relative; }
.arrow-list li::before { content: "›"; position: absolute; left: 4px; color: var(--orange); font-weight: 600; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--mid); }
.kv:last-child { border-bottom: 0; padding-bottom: 0; }
.kv strong { font-weight: 600; text-align: right; }

/* ---------- Raster ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 80px; }
.split-photo { grid-template-columns: 360px minmax(0, 1fr); align-items: center; }
.split-photo-lg { grid-template-columns: 460px minmax(0, 1fr); align-items: center; }
.split-form { grid-template-columns: minmax(0, 1fr) 540px; align-items: start; }
.split-wide { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 80px; align-items: center; }

/* ---------- Karten ---------- */
.card { padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.card-soft { background: var(--soft); }
.card-white { background: var(--white); }
.card-black { background: var(--black); color: var(--white); }
.card-dark { background: var(--dark); color: var(--white); }
.card-border { border: 1px solid var(--light); }
.card-top { border-top: 4px solid var(--orange); }
.card .push { margin-top: auto; }
.card-black p, .card-dark p { color: var(--text-on-dark); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s; }
a.card:hover { transform: translateY(-2px); }
.insight { border-top: 1px solid var(--mid); padding-top: 14px; font-size: 15px; color: var(--white) !important; }
.insight .mono { color: var(--orange); }

.step { border-top: 2px solid var(--black); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step h3 { font-size: 20px; }
.step p { font-size: 15px; color: var(--dark); }

.stat { border-top: 4px solid var(--orange); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.stat .value { font-family: var(--mono); font-size: clamp(32px, 3vw, 40px); font-weight: 600; line-height: 1.1; }
.stat p { font-size: 16px; color: var(--dark); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--mono); font-size: 15px; padding: 10px 14px; background: var(--soft); }
.bg-black .chip, .bg-dark .chip { background: transparent; border: 1px solid var(--mid); color: var(--white); }
.bg-soft .chip { background: var(--white); }

.photo-placeholder { background: var(--light); display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--mono); font-size: 14px; color: var(--black); aspect-ratio: 4 / 5; }

/* Unterschied-Band */
.band { padding: 72px 0; }
.band h2 { font-size: clamp(26px, 2.6vw, 36px); }

/* Anlässe */
.trigger { border: 1px solid var(--light); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.trigger q { font-size: 19px; line-height: 1.45; quotes: "„" "“"; }

/* Zeilenliste (Anlässe/FAQ) */
.rows > * { border-top: 1px solid var(--light); padding: 22px 0; }
.rows > *:last-child { border-bottom: 1px solid var(--light); }
.row-pair { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
.row-pair strong { font-size: 19px; font-weight: 600; }

/* FAQ mit <details> */
.faq details { border-top: 1px solid var(--light); }
.faq details:last-child { border-bottom: 1px solid var(--light); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--mono); font-size: 24px; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--dark); }

/* Pakete */
.plan { border: 1px solid var(--light); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.plan.featured { background: var(--black); color: var(--white); border-color: var(--black); }
.plan .price { font-family: var(--mono); font-size: 22px; font-weight: 600; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--dark); }
.plan.featured .price small, .plan.featured .muted { color: #d9d9d9; }
.plan hr { border: 0; height: 1px; background: var(--light); width: 100%; margin: 0; }
.plan.featured hr { background: var(--dark); }
.plan .btn { margin-top: auto; }

/* CTA-Band */
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta-band .btn-col { display: flex; flex-direction: column; gap: 12px; flex-shrink: 0; }

/* ---------- Formulare ---------- */
.form-card { background: var(--white); padding: 36px; display: flex; flex-direction: column; gap: 16px; color: var(--black); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--dark); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 16px; min-height: 48px; border: 1px solid var(--mid); padding: 10px 12px; background: var(--white); color: var(--black); border-radius: 0; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--black); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--dark); cursor: pointer; }
.consent span { flex: 1; }
.consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.consent input { margin-top: 2px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--orange); cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; font-weight: 500; min-height: 1em; }
.form-status.ok { color: #1b5e20; }
.form-status.err { color: #b3261e; }

/* ---------- Bookings (Zwei-Klick) ---------- */
.booking-box { background: var(--white); color: var(--black); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.booking-frame { width: 100%; min-height: 760px; border: 0; }

/* ---------- Selbsttest ---------- */
.quiz { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.quiz-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.progress { height: 8px; background: var(--soft); }
.progress span { display: block; height: 8px; width: 0; background: var(--orange); transition: width .2s; }
.quiz-q { border-top: 1px solid var(--light); padding: 16px 0; display: flex; align-items: center; gap: 20px; }
.quiz-q:last-child { border-bottom: 1px solid var(--light); }
.quiz-q .n { font-family: var(--mono); font-size: 15px; color: var(--dark); width: 28px; flex-shrink: 0; }
.quiz-q .t { flex-grow: 1; }
.quiz-q .opts { display: flex; gap: 8px; flex-shrink: 0; }
.opt { min-height: 44px; min-width: 76px; font-family: var(--sans); font-size: 15px; font-weight: 600; background: var(--white); color: var(--black); border: 2px solid var(--light); cursor: pointer; }
.opt[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.result { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.result.pending { background: var(--soft); }
.result.done { background: var(--black); color: var(--white); }
.result .score { font-family: var(--mono); font-size: 44px; font-weight: 600; line-height: 1; }
.result .reset { background: none; border: 0; color: #d9d9d9; text-decoration: underline; font-family: var(--sans); font-size: 14px; cursor: pointer; padding: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 72px 0 40px; }
.footer-top { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; }
.footer-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.footer-cols h2 { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--light); margin-bottom: 12px; letter-spacing: .5px; }
.footer-cols li { margin-bottom: 9px; }
.footer-cols a, .footer-cols address { color: var(--white); text-decoration: none; font-size: 15px; font-style: normal; line-height: 1.6; }
.footer-cols a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--dark); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--light); }
.footer-bottom nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a { color: var(--light); }
.site-footer p { color: #d9d9d9; font-size: 15px; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: 26px; margin: 36px 0 12px; }
.legal p { margin-bottom: 14px; }
.note { background: var(--soft); border-left: 4px solid var(--orange); padding: 18px 22px; }

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
  .main-nav ul { gap: 20px; }
  .main-nav a { font-size: 15px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --section: 64px; --gutter: 20px; }
  .nav-actions { display: flex; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); border-top: 1px solid var(--dark); padding: 12px var(--gutter) 24px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--dark); }
  .main-nav li a.btn { margin-top: 16px; border-bottom: 0; }
  .header-inner { min-height: 68px; position: relative; }
  .hero { padding: 56px 0 64px; }
  .hero-grid, .split, .split-wide, .split-photo, .split-photo-lg, .split-form, .quiz, .footer-top { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: minmax(0, 1fr); }
  .grid-4.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .cta-band .btn-col { width: 100%; }
  .row-pair { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz-side { position: static; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .card, .plan, .form-card, .booking-box { padding: 26px; }
  .hero-panel { padding: 28px; }
  .breadcrumb { margin-bottom: 28px; }
  .photo-placeholder { max-width: 420px; }
}

@media (max-width: 560px) {
  .btn-row .btn { width: 100%; }
  .quiz-q { flex-wrap: wrap; }
  .quiz-q .opts { width: 100%; padding-left: 48px; }
  .grid-4.stats { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.check-list li.plain { padding-left: 0; }
.check-list li.plain::before { content: none; }
[hidden] { display: none !important; }
.section-head.split > div { flex: 1 1 auto; }

/* ---------- Fließtext (Themen, Region, Wissen) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 48px 0 16px; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; }
.prose ul li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.prose ul li::before { content: "›"; position: absolute; left: 4px; color: var(--orange); font-weight: 600; }
.prose a { color: var(--black); text-decoration-color: var(--orange); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose .callout { background: var(--soft); border-left: 4px solid var(--orange); padding: 20px 24px; margin: 28px 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.aside-box { position: sticky; top: 110px; background: var(--black); color: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.aside-box p { color: var(--text-on-dark); font-size: 16px; }
.meta-line { font-family: var(--mono); font-size: 14px; color: var(--light); }
.article-card { border: 1px solid var(--light); padding: 32px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.article-card:hover { border-color: var(--black); }
.draft { display: inline-block; background: var(--soft); border: 1px dashed var(--dark); font-family: var(--mono); font-size: 12px; padding: 3px 8px; color: var(--dark); }
@media (max-width: 1180px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .content-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .aside-box { position: static; } }
@media (max-width: 980px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: minmax(0, 1fr); } }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.hero .eyebrow { color: var(--orange); }

/* ---------- Dropdown Leistungen ---------- */
.has-sub { position: relative; }
.sub-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--white); font: inherit; font-size: 16px; cursor: pointer; }
.sub-toggle svg { transition: transform .2s; }
.sub-toggle:hover, .has-sub:has(a[aria-current="page"]) > .sub-toggle { color: var(--orange); }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: -24px; min-width: 390px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 0; list-style: none; background: var(--black); border: 1px solid var(--dark); border-top: 3px solid var(--orange); box-shadow: 0 16px 32px rgba(0,0,0,.35); }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 34px; }
.main-nav .sub-menu { top: calc(100% + 30px); }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.open > .sub-menu { display: flex; }
.has-sub:hover > .sub-toggle svg, .has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
.sub-menu a { display: flex; gap: 14px; align-items: flex-start; padding: 12px 24px; }
.sub-menu a:hover { background: #151919; }
.sub-num { font-family: var(--mono); font-size: 13px; color: var(--orange); padding-top: 3px; }
.sub-txt { display: flex; flex-direction: column; gap: 2px; }
.sub-txt strong { font-weight: 600; color: var(--white); }
.sub-menu a:hover strong, .sub-menu a[aria-current="page"] strong { color: var(--orange); }
.sub-txt small { font-size: 14px; color: var(--light); line-height: 1.4; }
@media (max-width: 1180px) { .sub-toggle { font-size: 15px; } }
@media (max-width: 980px) {
  .has-sub::after { display: none; }
  .sub-toggle { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--dark); }
  .main-nav .sub-menu { position: static; min-width: 0; border: 0; box-shadow: none; padding: 0 0 8px; }
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: none; }
  .has-sub.open > .sub-menu { display: flex; }
  .has-sub:hover > .sub-toggle svg { transform: none; }
  .has-sub.open > .sub-toggle svg { transform: rotate(180deg); }
  .main-nav .sub-menu li a { display: flex; padding: 12px 0 12px 4px; font-size: 16px; }
}

/* ---------- Wissen-Teaser Startseite ---------- */
.wissen-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; }
.wissen-head > p { max-width: 460px; margin: 0; }
.post-card { background: var(--white); border: 1px solid #dcdcdc; border-top: 3px solid var(--orange); }
.post-card:hover { border-color: #dcdcdc; border-top-color: var(--orange); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.post-card .push, .post-cta .push { margin-top: auto; }
.post-card h3, .post-cta h3 { font-size: 22px; line-height: 1.3; }
.post-cta { gap: 12px; }
.post-cta .link-arrow { color: var(--white); }
@media (max-width: 980px) { .wissen-head { flex-direction: column; align-items: flex-start; gap: 16px; } }
.post-cta, .post-cta h3 { color: var(--white); }
a.post-cta:hover { background: #151919; }

/* ---------- Portrait ---------- */
.portrait { display: block; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.portrait-tall img { aspect-ratio: 2 / 3; }
@media (max-width: 980px) { .portrait { max-width: 420px; } }

/* ---------- Leistungsumfang ---------- */
.scope .card { padding: 28px; gap: 10px; }
.scope h3 { font-size: 19px; line-height: 1.3; }
.scope p { font-size: 16px; }
@media (max-width: 1180px) { .grid-4.scope { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-4.scope { grid-template-columns: minmax(0, 1fr); } }
.kv strong a { white-space: nowrap; }

/* ---------- Stellenangebote ---------- */
.job-card { gap: 12px; }
.job-card h3 { font-size: 21px; line-height: 1.3; }
.job-sub { font-family: var(--mono); font-size: 13px; color: var(--dark); margin-top: 6px; }
.job-card .check-list { font-size: 15.5px; }
.job-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Kompetenzliste (Über uns) ---------- */
.compet-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; align-self: center; }
.compet-list li { display: flex; flex-direction: column; gap: 4px; padding-left: 26px; position: relative; }
.compet-list li::before { content: "//"; position: absolute; left: 0; top: 1px; font-family: var(--mono); color: var(--orange); font-size: 14px; }
.compet-list strong { color: var(--white); font-weight: 600; font-size: 17px; line-height: 1.35; }
.compet-list span { color: #bfc2c3; font-size: 15px; line-height: 1.45; }
@media (max-width: 640px) { .compet-list { grid-template-columns: minmax(0, 1fr); } }
.compet-list, .compet-list span, .compet-list strong { font-family: var(--sans); }
.chip-more { background: transparent !important; border: 1px dashed var(--orange); color: var(--black); }

/* ---------- Sponsoring ---------- */
.sponsor-row { display: flex; align-items: center; gap: 16px; }
.sponsor-logo { flex: 0 0 56px; width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--black); font-weight: 700; font-size: 15px; }
.sponsor-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Nach-oben-Button ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: var(--orange); color: var(--black); border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--black); color: var(--orange); }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }

/* Google-Maps-Karte (Zwei-Klick-Lösung) */
.map-box { position: relative; aspect-ratio: 21/9; min-height: 320px; background: var(--soft); background-image: linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px); background-size: 40px 40px; display: flex; align-items: center; justify-content: center; }
.map-consent { background: #fff; padding: 32px; max-width: 520px; margin: 16px; display: flex; flex-direction: column; gap: 12px; }
.map-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 4px; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) { .map-box { aspect-ratio: auto; min-height: 420px; } .map-consent { padding: 22px; } }

/* Cookie- & Datenschutz-Hinweis */
.cookie-note { position: fixed; left: 24px; bottom: 24px; z-index: 70; max-width: 440px; background: var(--white); color: var(--black); border: 1px solid var(--light); box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.5; }
.cookie-note[hidden] { display: none; }
.cookie-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cookie-actions .btn { flex: 1 1 180px; min-height: 46px; padding: 10px 16px; font-size: 15px; }
@media (max-width: 600px) { .cookie-note { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 20px; } }
.split.split-stacked { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.booking-box .booking-frame { min-height: 820px; }

/* Schnellbewerbung (bewerbung.html) */
.quick-facts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--text-on-dark); font-size: 16px; }
.quick-facts li { display: flex; gap: 10px; align-items: baseline; }
.apply { background: var(--white); max-width: 880px; margin: 0 auto; padding: 44px; display: flex; flex-direction: column; gap: 24px; }
.apply-head { display: flex; flex-direction: column; gap: 12px; }
.apply-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.apply-step[hidden], .apply-done[hidden] { display: none; }
.apply-step legend { padding: 0; margin-bottom: 20px; width: 100%; }
.apply-step legend h2 { font-size: clamp(24px, 3vw, 32px); }
.apply-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.apply-opt { position: relative; cursor: pointer; }
.apply-opt input { position: absolute; opacity: 0; pointer-events: none; }
.apply-opt span { display: flex; flex-direction: column; gap: 4px; min-height: 84px; justify-content: center; padding: 16px 20px; border: 2px solid var(--light); background: var(--white); transition: border-color .15s, background .15s; }
.apply-opt strong { font-size: 18px; }
.apply-opt small { font-size: 14px; color: var(--dark); }
.apply-opt:hover span { border-color: var(--black); }
.apply-opt input:checked + span { border-color: var(--orange); background: #fff6ea; box-shadow: inset 4px 0 0 var(--orange); }
.apply-opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.apply-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.apply-nav [data-apply-next], .apply-nav [data-apply-send] { margin-left: auto; }
.apply-done { display: flex; flex-direction: column; gap: 16px; }
.apply.is-done .apply-head, .apply.is-done .apply-nav { display: none; }
@media (max-width: 700px) { .apply { padding: 24px 20px; } .apply-opts { grid-template-columns: minmax(0, 1fr); } .apply-opt span { min-height: 68px; } .apply-nav .btn { flex: 1 1 auto; } }
.job-apply { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.job-card .job-apply .btn { margin-top: 0; }
.job-apply .small { color: var(--dark); }
.apply { scroll-margin-top: 100px; }

/* AGB-Seite */
.doc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 24px 0 12px; }
.doc-item { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 2px solid var(--light); color: var(--black); text-decoration: none; background: var(--white); }
.doc-item:hover { border-color: var(--orange); }
.doc-item span { font-family: var(--mono); font-size: 13px; color: var(--dark); }
.legal-toc { display: flex; gap: 20px; margin-top: 20px; font-weight: 600; }
.legal-doc { border-top: 1px solid var(--light); padding-top: 40px; margin-top: 48px; scroll-margin-top: 100px; }
.legal-title { font-size: clamp(24px, 3vw, 32px); margin: 10px 0 6px; }
.legal-doc h3 { font-size: 19px; margin: 32px 0 12px; }
.clause { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; margin-bottom: 12px; font-size: 16px; line-height: 1.6; }
.clause .cn { font-weight: 600; font-family: var(--mono); font-size: 14px; padding-top: 2px; }
.clause a { overflow-wrap: anywhere; }
.doc-box { background: var(--soft); padding: 24px; margin: 24px 0 12px; display: flex; flex-direction: column; gap: 8px; }
.doc-box .doc-list { margin: 8px 0 0; }
.doc-item .lock { font-size: 14px; }

.logo-footer { margin-bottom: 8px; }
.logo-footer .logo-icon { width: 54px; }
@media (max-width: 400px) { .logo-icon { width: 38px; } .logo-word { font-size: 21px; } .logo-sub { font-size: 9.5px; letter-spacing: 1.2px; } }
/* Autorenbox im Wissensblog */
.author-box { display: flex; gap: 20px; align-items: flex-start; border-top: 1px solid var(--light); margin-top: 48px; padding-top: 28px; }
.author-box img { width: 96px; height: 96px; object-fit: cover; object-position: top; border-radius: 50%; flex-shrink: 0; }
.prose .check-list li::before { content: "✓"; }
@media (max-width: 500px) { .author-box { flex-direction: column; } }

/* Beitragskarten: Thema + Datum, Archiv */
.post-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.post-date { font-family: var(--mono, "IBM Plex Mono", monospace); font-size: 13px; color: var(--mid, #6b6b6b); letter-spacing: .5px; }
.archiv { display: grid; gap: 12px; }
.archiv-jahr { border: 1px solid var(--light); background: var(--white); }
.archiv-jahr summary { cursor: pointer; padding: 18px 24px; font-weight: 600; font-size: 20px; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.archiv-jahr summary::-webkit-details-marker { display: none; }
.archiv-jahr summary::after { content: "+"; margin-left: auto; color: var(--orange); font-weight: 400; }
.archiv-jahr[open] summary::after { content: "–"; }
.archiv-jahr summary .muted { font-size: 15px; font-weight: 400; }
.archiv-liste { list-style: none; margin: 0; padding: 0 24px 12px; }
.archiv-liste li { border-top: 1px solid var(--light); }
.archiv-liste a { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: baseline; padding: 14px 0; text-decoration: none; color: inherit; }
.archiv-liste a:hover .archiv-titel { color: var(--orange); }
.archiv-liste time { font-family: var(--mono, "IBM Plex Mono", monospace); font-size: 13px; color: var(--mid, #6b6b6b); }
.archiv-titel { font-weight: 600; }
@media (max-width: 640px) { .archiv-liste a { grid-template-columns: 1fr; gap: 4px; } }
.draft-banner { position: sticky; top: 0; z-index: 200; background: var(--orange); color: var(--black); text-align: center; font-family: var(--mono); font-size: 13px; padding: 8px; letter-spacing: 1px; }

/* Mitgliedschaften im Footer (Allianz für Cyber-Sicherheit) */
.footer-member { margin-top: 18px; }
.footer-member-label { font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; color: var(--light); margin: 0 0 10px; }
.footer-member-logo { display: inline-block; line-height: 0; }
.footer-member-logo img { display: block; width: 200px; height: auto; }

/* Erreichbarkeits-Leiste unter dem Startbereich */
.reach { background: var(--white); border-bottom: 1px solid #dcdcdc; }
.reach-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.15fr; }
.reach-item { padding: 14px 22px; border-left: 1px solid #e3e3e3; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--black); }
.reach-item:first-child { border-left: 0; padding-left: 0; }
a.reach-item:hover .reach-val { color: var(--orange); }
.reach-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px; color: var(--mid); text-transform: uppercase; }
.reach-val { font-weight: 600; font-size: 17px; line-height: 1.3; }
.reach-sub { font-size: 13px; color: var(--dark); }
.reach-status { display: inline-flex; align-items: center; gap: 10px; }
.reach-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: #2fa84f; box-shadow: 0 0 0 4px rgba(47,168,79,.18); }
.reach-dot.off { background: var(--light); box-shadow: 0 0 0 4px rgba(166,170,172,.2); }
.reach-item.reach-notfall { background: var(--black); color: var(--white); border-left: 0; padding-left: 22px; }
.reach-notfall .reach-label { color: var(--orange); }
.reach-notfall .reach-sub { color: #bfc2c3; }
a.reach-notfall:hover .reach-val { color: var(--orange); }
@media (max-width: 900px) {
  .reach-grid { grid-template-columns: 1fr 1fr; }
  .reach-item { padding: 12px 16px; border-left: 0; border-top: 1px solid #e3e3e3; }
  .reach-item:first-child { padding-left: 16px; }
  .reach-item:nth-child(odd) { border-right: 1px solid #e3e3e3; }
}
@media (max-width: 520px) {
  .reach-grid { grid-template-columns: 1fr; }
  .reach-item:nth-child(odd) { border-right: 0; }
  .reach-val { font-size: 16px; }
}

/* KI-Aufkleber außerhalb der Servicezeit */
.reach-item:first-child { position: relative; }
.ki-sticker { position: absolute; right: -10px; bottom: -44px; z-index: 5; transform: rotate(-5deg); background: var(--orange); color: var(--black); text-decoration: none; padding: 10px 16px 9px; display: flex; flex-direction: column; gap: 1px; box-shadow: 0 6px 14px rgba(0,0,0,.22), 0 1px 2px rgba(0,0,0,.25); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); transition: transform .15s ease; }
.ki-sticker[hidden] { display: none; }
.ki-sticker::after { content: ""; position: absolute; right: 0; bottom: 0; width: 14px; height: 14px; background: linear-gradient(135deg, #c56e00 50%, transparent 50%); }
.ki-sticker strong { font-size: 17px; line-height: 1.15; font-weight: 700; }
.ki-sticker span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; }
.ki-sticker:hover, .ki-sticker:focus-visible { transform: rotate(-2deg) scale(1.04); }
@media (min-width: 901px) { .reach-grid { grid-template-columns: 1.2fr 1fr 1.25fr 1.1fr; } }
@media (max-width: 520px) { .ki-sticker { right: 6px; bottom: -30px; padding: 8px 13px 7px; } .ki-sticker strong { font-size: 15px; } }

/* Hinweis beim Klick auf den KI-Aufkleber während der Servicezeit */
.ki-hint { position: absolute; z-index: 20; right: -10px; top: calc(100% + 54px); width: 320px; max-width: calc(100vw - 32px); background: var(--white); color: var(--black); border: 1px solid #dcdcdc; border-top: 3px solid var(--orange); box-shadow: 0 14px 34px rgba(0,0,0,.18); padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.ki-hint[hidden] { display: none; }
.ki-hint-tag { font-family: var(--mono); font-size: 12px; color: var(--orange); margin: 0; }
.ki-hint-titel { font-weight: 600; font-size: 18px; line-height: 1.3; margin: 0; padding-right: 22px; }
.ki-hint-text { font-size: 14px; color: var(--dark); margin: 0 0 4px; }
.ki-hint-btn { align-self: stretch; text-align: center; }
.ki-hint-alt { font-size: 13px; color: var(--dark); text-align: center; }
.ki-hint-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: var(--mid); padding: 4px; }
.ki-hint-close:hover { color: var(--black); }
@media (max-width: 520px) { .ki-hint { right: 0; left: 0; width: auto; top: calc(100% + 40px); } }

/* Linkseite /sebastian (eigenständig, ohne Kopf- und Fußbereich) */
body.lt { background: var(--black); color: var(--white); min-height: 100vh; }
.lt-wrap { max-width: 480px; margin: 0 auto; padding: 44px 20px 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lt-foto { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--orange); }
.lt-name { font-size: 26px; font-weight: 600; margin: 6px 0 0; text-align: center; color: var(--white); }
.lt-rolle { font-family: var(--mono); font-size: 12.5px; letter-spacing: 1.2px; color: var(--light); text-transform: uppercase; margin: 0; text-align: center; }
.lt-bio { color: #d9d9d9; text-align: center; margin: 2px 0 6px; font-size: 16px; }
.lt-bio strong { color: var(--orange); font-weight: 600; }
.lt-quick { display: flex; gap: 10px; margin-bottom: 10px; }
.lt-quick a { width: 50px; height: 50px; border: 1px solid #3a3a3a; display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.lt-quick a:hover, .lt-quick a:focus-visible { border-color: var(--orange); color: var(--orange); }
.lt-quick svg { width: 22px; height: 22px; }
.lt-list { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.lt-btn { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid #3a3a3a; background: #0d1010; color: var(--white); text-decoration: none; font-weight: 500; font-size: 16px; transition: border-color .15s, transform .15s; }
.lt-btn:hover, .lt-btn:focus-visible { border-color: var(--orange); transform: translateX(2px); }
.lt-btn small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--light); letter-spacing: .5px; margin-top: 2px; font-weight: 400; }
.lt-btn .lt-ico { flex-shrink: 0; width: 22px; height: 22px; color: var(--orange); }
.lt-btn .lt-pfeil { margin-left: auto; color: var(--light); }
.lt-btn.primary { background: var(--orange); border-color: var(--orange); color: var(--black); }
.lt-btn.primary small, .lt-btn.primary .lt-ico, .lt-btn.primary .lt-pfeil { color: var(--black); }
.lt-section { width: 100%; font-family: var(--mono); font-size: 12px; letter-spacing: 1.4px; color: var(--light); margin: 12px 0 0; }
.lt-section span { color: var(--orange); }
.lt-foot { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lt-legal { font-size: 13px; color: var(--light); display: flex; gap: 16px; margin: 0; }
.lt-legal a { color: var(--light); }

/* Kooperationspartner */
.partner-claim { color: #fff; font-size: 20px; font-weight: 700; line-height: 1.3; }
.partner-logo { display: inline-block; align-self: flex-start; background: #fff; padding: 10px 14px; line-height: 0; }
.partner-logo img { width: 200px; height: auto; }

/* Linkseite: Standort */
.lt-ort { width: 100%; border: 1px solid #3a3a3a; background: #0d1010; display: flex; flex-direction: column; }
.lt-karte { display: block; line-height: 0; border-bottom: 1px solid #3a3a3a; }
.lt-karte svg { width: 100%; height: auto; display: block; }
.lt-ort-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.lt-ort-body strong { font-size: 17px; font-weight: 600; color: var(--white); }
.lt-ort-body span { font-family: var(--mono); font-size: 12px; color: var(--light); letter-spacing: .4px; }
.lt-route { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 16px; background: var(--orange); color: var(--black); font-weight: 600; text-decoration: none; }
.lt-route:hover, .lt-route:focus-visible { filter: brightness(1.08); }
.lt-route svg { width: 20px; height: 20px; }

/* Demo-Dialog (IT-Cockpit) */
.mb-dialog { border: 0; padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: transparent; }
.mb-dialog::backdrop { background: rgba(0, 4, 4, .72); }
.mb-dialog .form-card { position: relative; border-top: 4px solid var(--orange); gap: 14px; }
.mb-dialog h2 { font-size: 28px; margin: 0; }
.mb-dialog-zu { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; color: var(--dark); padding: 4px 8px; }
.mb-dialog-zu:hover, .mb-dialog-zu:focus-visible { color: var(--orange); }
@media (max-width: 560px) { .mb-dialog .form-card { padding: 24px 20px; } }

/* IT-Cockpit: zwei Beispiel-Cockpits nebeneinander, Klick öffnet die ganze Seite */
.cockpit-galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.cockpit-galerie figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.cockpit-galerie figcaption { font-size: 15px; }
.cockpit-fenster { position: relative; display: block; width: 100%; padding: 0; text-align: left; cursor: zoom-in; border: 1px solid #d9dcdc; box-shadow: 0 18px 44px rgba(0, 4, 4, .12); background: #fff; font: inherit; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.cockpit-fenster:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(0, 4, 4, .18); }
.cockpit-fenster:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.cockpit-fenster-leiste { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--black); }
.cockpit-fenster-leiste span { width: 9px; height: 9px; border-radius: 50%; background: #3a3f40; }
.cockpit-fenster-leiste span:first-child { background: var(--orange); }
.cockpit-fenster-leiste em { margin-left: 10px; font: 400 11px var(--mono); color: #bfc4c4; font-style: normal; }
.cockpit-fenster-inhalt { display: block; height: 520px; overflow: hidden; position: relative; }
.cockpit-fenster-inhalt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.cockpit-fenster-inhalt img { display: block; width: 100%; height: auto; }
.cockpit-zoom { position: absolute; right: 14px; bottom: 14px; background: var(--black); color: #fff; font: 500 13px var(--mono); padding: 8px 12px; z-index: 1; }
.cockpit-fenster:hover .cockpit-zoom { background: var(--orange); color: var(--black); }
.cockpit-gross { border: 0; padding: 0; width: min(1280px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: #fff; overflow: hidden; display: none; flex-direction: column; }
.cockpit-gross[open] { display: flex; }
.cockpit-gross::backdrop { background: rgba(0, 4, 4, .8); }
.cockpit-gross-kopf { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--black); color: #fff; border-bottom: 3px solid var(--orange); }
.cockpit-gross-kopf .mb-dialog-zu { position: static; color: #fff; }
.cockpit-gross-bild { overflow-y: auto; overscroll-behavior: contain; }
.cockpit-gross-bild img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .cockpit-galerie { grid-template-columns: minmax(0, 1fr); } .cockpit-fenster-inhalt { height: 380px; } .cockpit-fenster-leiste em { display: none; } }

/* Managed Services: IT-Flatrate und einzeln buchbare Leistungen */
.ms-flat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; background: var(--black); color: var(--white); padding: 56px; border-left: 6px solid var(--orange); }
.ms-flat .eyebrow, .ms-flat .lead { color: var(--white); }
.ms-flat p { color: var(--text-on-dark); }
.ms-flat-liste { font-size: 17px; }
.ms-flat-liste a { color: var(--white); text-decoration-color: var(--orange); }
.ms-gruppe { display: flex; gap: 14px; align-items: baseline; font-size: 24px; margin: 8px 0 24px; padding-bottom: 14px; border-bottom: 1px solid var(--light); }
.ms-gruppe ~ .ms-gruppe { margin-top: 56px; }
.ms-gruppe .mono { font-size: 15px; }
.ms-karte { border: 1px solid var(--light); border-top: 4px solid var(--orange); padding: 28px; gap: 12px; scroll-margin-top: 110px; }
.ms-karte h3 { font-size: 20px; line-height: 1.25; }
.ms-art { font: 500 12px var(--mono); color: var(--dark); text-transform: uppercase; letter-spacing: .6px; }
.ms-frage { font-weight: 600; font-size: 15px; }
.ms-karte .muted, .ms-karte .check-list { font-size: 15px; }
@media (max-width: 980px) { .ms-flat { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 28px; } }
.ms-pflicht { color: var(--black); font-weight: 600; }
.section-head.split.ms-kopf { align-items: flex-start; }
.section-head.split.ms-kopf > p { padding-top: 6px; }
@media (max-width: 1180px) { .grid-3.ms-drei { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3.ms-drei { grid-template-columns: minmax(0, 1fr); } }

/* Unterseiten Managed Services */
.lp-frage { position: relative; padding-top: 70px; border-top: 4px solid var(--orange); }
.lp-frage p { font-size: 19px; font-weight: 600; line-height: 1.35; }
.lp-anf { position: absolute; top: 2px; left: 32px; font: 600 54px/1 var(--mono); color: var(--orange); }
.lp-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.lp-liste { color: var(--white); font-size: 17px; }
.bg-black .lp-liste li::before { color: var(--orange); }
.lp-passt { text-decoration: none; border: 1px solid var(--light); border-top: 4px solid var(--orange); }
.lp-passt h3 { font-size: 20px; }
.lp-passt:hover h3 { color: var(--orange); }
.ms-karte h3 a { color: inherit; text-decoration: none; }
.ms-karte h3 a:hover { color: var(--orange); }
.ms-links { display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; }
.ms-links .klein { font-size: 14px; color: var(--dark); }
@media (max-width: 980px) { .lp-zwei { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Managed Services: kompakte Kacheln */
.ms-karte { padding: 24px; gap: 10px; }
.ms-karte h3 { font-size: 19px; }
.ms-karte .ms-frage { font-weight: 400; color: var(--dark); font-size: 15px; }
.ms-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.ms-btn { display: inline-block; background: var(--orange); color: var(--black); font-weight: 600; font-size: 14px; padding: 8px 14px; text-decoration: none; }
.ms-btn:hover { background: var(--black); color: var(--white); }
.ms-links .link-arrow { font-size: 14px; }

/* Netzwerk-Wasserzeichen in allen schwarzen Bereichen (angelehnt an das Signet) */
.hero, .bg-black, .site-footer, .ms-flat { background-image: url("../img/netz.svg"); background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size: cover; }
.ms-links { flex-direction: column; align-items: flex-start; gap: 12px; }

/* Dezenter Login-Link ganz oben rechts */
.kopf-leiste { border-bottom: 1px solid #1c2122; }
.kopf-leiste .container { display: flex; justify-content: flex-end; }
.kopf-leiste a { font: 400 12px var(--mono); color: #8a9090; text-decoration: none; padding: 5px 0; letter-spacing: .3px; }
.kopf-leiste a:hover { color: var(--orange); }

/* Team */
.team-gf { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; align-items: start; }
.team-gf img { width: 100%; height: auto; display: block; }
.team-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.team-tags li { font: 500 13px var(--mono); background: var(--soft); padding: 5px 10px; }
.team-karte { border: 1px solid var(--light); gap: 12px; }
.team-foto { width: 100%; aspect-ratio: 4 / 3; background: var(--soft); display: flex; align-items: center; justify-content: center; color: #b9bebe; }
.team-foto svg { width: 72px; height: 72px; }
@media (max-width: 860px) { .team-gf { grid-template-columns: minmax(0, 1fr); gap: 32px; } .team-gf picture { max-width: 360px; } }
.team-hund .team-foto { display: block; padding: 0; }
.team-hund .team-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-grund p { font-size: 15px; font-weight: 400; line-height: 1.55; }
.lp-grund h3 { margin: 0; }
form[data-mb-form=kontakt] { scroll-margin-top: 110px; }
