/* ============================================================================
   web4data Marketing — Design-System ("Editorial Trust")
   Selbst-enthalten (app.patdata.de Docroot). Werte-treu zu httpdocs/global.css,
   Akzent pro Marke via body[data-brand] -> EINE Token-Quelle: web4data_brands.
   Inter wird über /assets/fonts/google-fonts.css geladen. Kein Tailwind.
   ============================================================================ */

:root {
  /* Neutrals — kühle slate + warmer stone-Wechsel */
  --ink:        #0B1437;   /* Headlines / Text-Primär (= global --navy) */
  --ink-soft:   #475569;   /* Body */
  --ink-mute:   #64748B;   /* Lead / Meta */
  --ink-faint:  #64748B;   /* WCAG-AA-Kontrast auf Weiss (zuvor #94A3B8 = 2.9:1, zu niedrig) */
  --line:       #E2E8F0;   /* Standard-Hairline */
  --line-soft:  #F1F5F9;
  --white:      #FFFFFF;
  --stone-50:   #FAFAF9;   /* warmer Flächenwechsel */
  --stone-100:  #F5F5F4;
  --stone-200:  #E7E5E4;
  --ok:         #059669;

  /* Marken-Akzent — Default = Dach (web4data). Pro Seite via body[data-brand] gesetzt. */
  --brand:      #581C87;
  --brand-cta:  #581C87;
  --brand-fg:   #FFFFFF;
  --brand-pill: color-mix(in srgb, #581C87 8%, white);
  --brand-hov:  color-mix(in srgb, #581C87 12%, transparent);

  /* Typografie */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Roboto Mono', Menlo, Consolas, monospace;
  --h1: clamp(2.5rem, 5.2vw, 3.75rem);
  --h2: clamp(1.875rem, 3.2vw, 2.5rem);
  --h3: 1.5rem;
  --h4: 1.25rem;
  --body: 1.0625rem;
  --body-lg: 1.25rem;
  --small: 0.875rem;
  --tiny: 0.75rem;
  --xs: 0.6875rem;

  /* Spacing (8pt) */
  --s-xs: 0.5rem; --s-sm: 1rem; --s-md: 1.5rem; --s-lg: 2rem;
  --s-xl: 3rem; --s-2xl: 4rem; --s-3xl: 5rem; --s-section: 8rem;

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 900px;
  --max-w-text: 720px;
  --gutter: 1.5rem;
  --r-btn: 3px;
  --r-card: 4px;
  --r-shot: 4px;
  --shadow-sm:   0 1px 2px rgba(11,20,55,.05);
  --shadow-md:   0 2px 6px rgba(11,20,55,.06), 0 10px 28px -10px rgba(11,20,55,.14);
  --shadow-lg:   0 8px 22px -8px rgba(11,20,55,.14), 0 28px 56px -18px rgba(11,20,55,.22);
  --shadow-shot: var(--shadow-md);
  --ease-out:    cubic-bezier(.16, 1, .3, 1);
}

/* Marken-Layer — jede Marke braucht NUR EINEN Hex in der Quelle (web4data_brands.primary_color) */
body[data-brand="web4data"]  { --brand:#581C87; --brand-cta:#581C87; --brand-fg:#fff; }
body[data-brand="patdata"]   { --brand:#1B2A4A; --brand-cta:#2E4470; --brand-fg:#fff; } /* CTA aufgehellt, WCAG-AA */
body[data-brand="clockdata"] { --brand:#0E7490; --brand-cta:#0E7490; --brand-fg:#fff; }
body[data-brand="juristdata"]{ --brand:#7C2D12; --brand-cta:#7C2D12; --brand-fg:#fff; }
body[data-brand="notdata"]   { --brand:#92400E; --brand-cta:#92400E; --brand-fg:#fff; }
body[data-brand] {
  --brand-pill: color-mix(in srgb, var(--brand) 8%, white);
  --brand-hov:  color-mix(in srgb, var(--brand) 12%, transparent);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  font-family: var(--font); font-size: var(--body); line-height: 1.65;
  color: var(--ink-soft); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; font-feature-settings: "tnum" 1, "cv05" 1, "ss01" 1;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
ul, ol { list-style: none; }

/* --- Typografie --- */
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: var(--h1); letter-spacing: -0.021em; line-height: 1.06; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
p { margin-bottom: var(--s-sm); }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.lead { font-size: var(--body-lg); line-height: 1.6; color: var(--ink-mute); max-width: var(--max-w-text); }

/* --- Layout --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.container-text { max-width: var(--max-w-text); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--s-section) 0; }
.section-stone { background: var(--stone-50); }
.section-line { border-top: 1px solid var(--line); }
.section-dark { background: var(--ink); color: rgba(255,255,255,0.78); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.68); }
.section-dark .overline { color: color-mix(in srgb, var(--brand) 55%, white); }

/* --- Overline + Section-Kopf (linksbündig, Editorial) --- */
.overline {
  font-family: var(--font-display);
  font-size: var(--xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--brand); margin-bottom: var(--s-sm); display: block;
}
.section-head { max-width: var(--max-w-text); margin-bottom: var(--s-3xl); }
.section-head p { font-size: var(--body-lg); color: var(--ink-mute); margin-top: var(--s-md); }

/* --- Grid --- */
.grid { display: grid; gap: var(--s-3xl); }
.grid-7-5 { grid-template-columns: 7fr 5fr; }
.grid-5-7 { grid-template-columns: 5fr 7fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--s-lg); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--s-md); }
.grid-center { align-items: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 48px; padding: 0 1.5rem; font-family: var(--font); font-size: var(--small);
  font-weight: 600; border-radius: var(--r-btn); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease-out), filter .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--brand-cta); color: var(--brand-fg); border-color: var(--brand-cta); box-shadow: 0 1px 2px rgba(11,20,55,.12); }
.btn-primary:hover { color: var(--brand-fg); filter: brightness(1.06); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 58%, transparent); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.section-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.28); }
.section-dark .btn-outline:hover { border-color: #fff; }
.btn-arrow::after { content: '\2192'; transition: transform .2s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: .375rem; font-weight: 600; font-size: var(--small); color: var(--brand); }
.link-arrow:hover { gap: .625rem; }

/* --- Header --- */
.mk-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.mk-header.scrolled { border-bottom-color: var(--line); }
.mk-nav { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-lg); }
.mk-logo { display: inline-flex; align-items: center; color: var(--ink); }
.mk-logo svg { height: 46px; width: auto; display: block; }
.mk-logo img, .mk-logo-svg { height: 48px; width: auto; display: block; }
.mk-logo-light { color: #fff; }
@media (max-width: 640px) { .mk-logo svg, .mk-logo-svg, .mk-logo img { height: 36px; } }
.mk-navlinks { display: flex; align-items: center; gap: var(--s-lg); }
.mk-navlinks a { color: var(--ink-soft); font-size: var(--small); font-weight: 500; }
.mk-mobile-cta { display: none; }
.mk-navlinks a:hover { color: var(--ink); }
.mk-actions { display: flex; align-items: center; gap: var(--s-sm); }

/* Produkt-Switcher (Mega-Dropdown) */
.mk-switch { position: relative; }
.mk-switch > button { background: none; border: 0; cursor: pointer; font: inherit; color: var(--ink-soft); font-size: var(--small); font-weight: 500; display: inline-flex; align-items: center; gap: .3rem; }
.mk-switch > button:hover { color: var(--ink); }
.mk-menu {
  position: absolute; top: calc(100% + .75rem); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: 560px; max-width: 92vw; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-shot); padding: var(--s-md); display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
.mk-switch:focus-within .mk-menu, .mk-switch[data-open="1"] .mk-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mk-menu-item { display: flex; gap: .75rem; padding: .75rem; border-radius: var(--r-btn); align-items: flex-start; }
.mk-menu-item:hover { background: var(--stone-50); }
.mk-menu-item .sq { flex: none; }
.mk-menu-item .t { display: block; font-weight: 600; color: var(--ink); font-size: var(--small); }
.mk-menu-item .d { display: block; margin-top: .15rem; font-size: var(--tiny); color: var(--ink-mute); line-height: 1.4; }
.mk-burger { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--ink); cursor: pointer; }

/* Produkt-Mark (52px / 40px Marken-Atom: Squircle-"D" als SVG) */
.sq { width: 40px; height: 40px; display: inline-flex; flex: none; }
.sq svg { width: 100%; height: 100%; display: block; }
.sq-lg { width: 52px; height: 52px; }

/* --- Browser-Frame (Screenshot-Rahmen / ehrliches Gerüst) --- */
.frame { border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.frame-top { border-top: 2px solid var(--brand); }
.frame-bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .85rem; border-bottom: 1px solid var(--line-soft); background: var(--stone-50); }
.frame-bar .dots { display: none; }
.frame-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--stone-200); }
.frame-url { font-family: var(--font-mono); font-size: var(--tiny); color: var(--ink-mute); background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: .15rem .5rem; }
.frame-body { padding: 0; }
.frame-tabs { display: flex; gap: .25rem; padding: .5rem .75rem 0; border-bottom: 1px solid var(--line-soft); background: #fff; }
.frame-tab { font-size: var(--tiny); font-weight: 600; color: var(--ink-mute); padding: .45rem .7rem; border-bottom: 2px solid transparent; cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0; }
.frame-tab[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }

/* Ehrliches Datentabellen-Gerüst (Fallback statt Fake-UI) */
.scaffold { width: 100%; border-collapse: collapse; font-size: var(--small); }
.scaffold th { text-align: left; font-size: var(--tiny); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); font-weight: 600; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.scaffold td { padding: .7rem 1rem; border-bottom: 1px solid var(--line-soft); color: var(--ink-soft); }
.scaffold td.m { font-family: var(--font-mono); color: var(--ink); }
.scaffold .pill { font-size: var(--tiny); font-weight: 600; padding: .1rem .5rem; border-radius: 999px; background: var(--brand-pill); color: var(--brand); }

/* --- Feature-Reihe --- */
.feature-row { padding: var(--s-2xl) 0; border-top: 1px solid var(--line-soft); }
.feature-row:first-of-type { border-top: 0; }
.beleg { margin-top: var(--s-md); display: grid; gap: .6rem; }
.beleg li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--small); color: var(--ink-soft); }
.beleg li i { color: var(--brand); margin-top: .15rem; flex: none; }
.chip { font-family: var(--font-mono); font-size: var(--tiny); background: var(--stone-100); border: 1px solid var(--line); border-radius: 5px; padding: .05rem .4rem; color: var(--ink); }

/* --- Produkt-Karte (Portfolio) --- */
.product-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: box-shadow .28s var(--ease-out), border-color .28s ease, transform .28s var(--ease-out); }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
.product-card .accent { height: 4px; }
.product-card .body { padding: var(--s-lg); }
.product-card h3 { font-size: var(--h4); margin: var(--s-md) 0 .35rem; }
.product-card p { font-size: var(--small); color: var(--ink-mute); }
.product-card .status { display: inline-flex; align-items: center; gap: .35rem; margin-top: var(--s-md); font-size: var(--tiny); font-weight: 600; color: var(--ok); }
.product-card.soon { border-style: dashed; }
.product-card.soon .status { color: var(--ink-mute); }

/* --- Vertrauensleiste --- */
.trustbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.trustbar span { font-size: var(--small); font-weight: 600; color: var(--ink-mute); padding: .85rem 1.25rem; border-right: 1px solid var(--line-soft); letter-spacing: .01em; }
.trustbar span:last-child { border-right: 0; }

/* --- Compliance (dark) --- */
.compliance-item { display: flex; gap: .85rem; align-items: flex-start; padding: var(--s-md) 0; border-top: 1px solid rgba(255,255,255,.1); }
.compliance-item:first-child { border-top: 0; }
.compliance-item i { color: color-mix(in srgb, var(--brand) 60%, white); font-size: 1.25rem; margin-top: .1rem; flex: none; }
.compliance-item .t { color: #fff; font-weight: 600; }
.compliance-item .d { font-size: var(--small); color: rgba(255,255,255,.66); }

/* --- KPI --- */
.kpi-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-lg); background: #fff; }
.kpi-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-feature-settings: "tnum" 1; }
.kpi-label { font-size: var(--small); color: var(--ink-soft); margin-top: .25rem; }
.kpi-source { font-size: var(--tiny); color: var(--ink-faint); margin-top: var(--s-sm); }
.source-list { margin-top: var(--s-xl); font-size: var(--tiny); color: var(--ink-faint); }
.source-list li { margin-bottom: .25rem; }

/* --- Lead-Formular --- */
.lead-form { display: grid; gap: var(--s-md); }
.field label { display: block; font-size: var(--small); font-weight: 500; color: var(--ink-soft); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--small); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-btn); padding: .65rem .85rem; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--small); color: var(--ink-mute); }
.consent input { margin-top: .2rem; width: 16px; height: 16px; flex: none; }
.form-note { font-size: var(--tiny); color: var(--ink-faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- FAQ --- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; padding: var(--s-md) 0; font-weight: 600; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--ink-mute); transition: transform .2s ease; }
.faq details[open] summary i { transform: rotate(180deg); }
.faq .a { padding: 0 0 var(--s-md); color: var(--ink-soft); font-size: var(--small); max-width: var(--max-w-text); }

/* --- Sub-Nav (Produktseiten) --- */
.sub-nav { position: sticky; top: 80px; z-index: 90; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height .28s ease, opacity .2s ease, visibility .28s, border-color .28s; }
.sub-nav.is-visible { max-height: 56px; opacity: 1; visibility: visible; border-bottom-color: var(--line); }
.sub-nav .inner { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--s-md); }
.sub-nav .links { display: flex; gap: var(--s-md); overflow-x: auto; }
.sub-nav .links a { font-size: var(--small); color: var(--ink-mute); white-space: nowrap; }
.sub-nav .links a:hover { color: var(--ink); }

/* --- Pricing-Karten --- */
.price-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s-lg); background: #fff; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--brand); }
.price-card .amt { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--ink); font-feature-settings: "tnum" 1; }
.price-card ul { margin: var(--s-md) 0; display: grid; gap: .5rem; }
.price-card li { display: flex; gap: .5rem; font-size: var(--small); color: var(--ink-soft); }
.price-card li i { color: var(--brand); flex: none; margin-top: .15rem; }

/* --- Footer --- */
.mk-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: var(--s-3xl) 0 var(--s-lg); }
.mk-footer h3 { color: #fff; font-size: var(--small); margin-bottom: var(--s-md); font-weight: 600; }
.mk-footer a { color: rgba(255,255,255,.6); font-size: var(--small); }
.mk-footer a:hover { color: #fff; }
.mk-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-lg); }
.mk-footer ul { display: grid; gap: .5rem; }
.mk-footer .legal { margin-top: var(--s-2xl); padding-top: var(--s-md); border-top: 1px solid rgba(255,255,255,.1); font-size: var(--tiny); color: rgba(255,255,255,.62); display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }
.mk-footer-login { display: inline-flex; align-items: center; gap: .4rem; margin-top: var(--s-md); padding: .5rem .9rem; border: 1px solid rgba(255,255,255,.25); border-radius: var(--r-btn); color: #fff; font-size: var(--small); font-weight: 500; transition: background .15s ease, border-color .15s ease; }
.mk-footer-login:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); color: #fff; }

/* --- Consent-Banner --- */
.consent-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 24px rgba(11,20,55,.08); padding: var(--s-md) 0; transform: translateY(110%); visibility: hidden; transition: transform .35s ease, visibility .35s; }
.consent-banner.is-visible { transform: none; visibility: visible; }
.consent-banner .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-md); }
.consent-banner p { font-size: var(--small); color: var(--ink-soft); margin: 0; max-width: 640px; }
.consent-banner .opts { display: flex; flex-wrap: wrap; gap: var(--s-md); align-items: center; }
.consent-banner label { font-size: var(--small); color: var(--ink-soft); display: inline-flex; gap: .35rem; align-items: center; }
.consent-banner .btns { display: flex; gap: .6rem; }

/* --- Reveal-Animation --- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
/* Tab-Frame: sanfter Wechsel statt hartem Umschalten */
.frame-body.tab-enter { animation: pdTabFade .24s cubic-bezier(.16,1,.3,1) both; }
@keyframes pdTabFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
/* Hero: gestaffelte Einblendung beim Laden (einmalig) */
.hero-brand { margin-bottom: 1.1rem; }
.hero-brand svg, .hero-brand img { height: 66px; width: auto; display: block; }
.hero--media .hero-brand { color: #fff; }
.hero--media .hero-brand img { filter: drop-shadow(0 4px 16px rgba(0,0,0,.35)); }
@media (max-width: 640px) { .hero-brand svg, .hero-brand img { height: 48px; } }
.hero-in > * { opacity: 0; transform: translateY(14px); animation: pdHeroIn .6s cubic-bezier(.16,1,.3,1) forwards; }
.hero-in > *:nth-child(1) { animation-delay: .04s; }
.hero-in > *:nth-child(2) { animation-delay: .12s; }
.hero-in > *:nth-child(3) { animation-delay: .20s; }
.hero-in > *:nth-child(4) { animation-delay: .28s; }
@keyframes pdHeroIn { to { opacity: 1; transform: none; } }
/* feiner Akzent-Unterstrich, der beim Reveal einläuft (Overline) */
.reveal .overline::after { content: ''; display: block; width: 0; height: 2px; margin-top: .5rem; background: var(--brand); transition: width .6s cubic-bezier(.16,1,.3,1) .15s; }
.reveal.in .overline::after { width: 28px; }

/* --- Hero-Helfer --- */
.hero { padding: var(--s-3xl) 0 var(--s-section); }
.hero h1 { margin-bottom: var(--s-md); }
.hero .lead { margin-bottom: var(--s-lg); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-sm); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-sm); }

/* --- Medien (Foto / Video — optional & graceful; erscheint nur, wenn Datei existiert) --- */
/* Ambient-Video-Hero (web4data): Video/Poster vollflächig, stark abgedunkelt; Text + Produkt-Frame schweben darüber */
.hero--media { position: relative; isolation: isolate; overflow: hidden; background-color: #0c1426; background-size: cover; background-position: center; }
.hero--media > .container { position: relative; z-index: 2; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-media-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(10,16,32,.93) 0%, rgba(10,16,32,.80) 42%, rgba(10,16,32,.50) 100%); }
.hero--media .overline { color: color-mix(in srgb, var(--brand) 35%, #fff); }
.hero--media h1 { color: #fff; }
.hero--media .lead { color: rgba(255,255,255,.84); }
.hero--media .btn-outline { color: #fff; border-color: rgba(255,255,255,.40); }
.hero--media .btn-outline:hover { background: rgba(255,255,255,.10); color: #fff; }

/* Abgedunkeltes Hintergrundbild in einer .section-dark (Rechenzentrum / Hosting DE) */
.section-dark.has-media { position: relative; isolation: isolate; overflow: hidden; }
.section-dark.has-media > .container { position: relative; z-index: 2; }
.section-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .20; }
.section-dark.has-media::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,17,21,.55), rgba(15,17,21,.82)); }

/* Dezente, themenpassende Hintergrund-Glyphen (je Produkt) */
.has-iconfield { position: relative; isolation: isolate; overflow: hidden; }
.has-iconfield > .container { position: relative; z-index: 1; }
.icon-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; color: var(--brand); opacity: .05; }
.icon-field i { position: absolute; line-height: 1; }
@media (max-width: 700px) { .icon-field i:nth-child(n+4) { display: none; } }

/* Redaktionelles Vollbreiten-Foto-Band (Produkt-Kontext) */
.media-band { position: relative; height: clamp(220px, 34vw, 380px); overflow: hidden; isolation: isolate; }
.media-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.media-band-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15,17,21,.62) 0%, rgba(15,17,21,.30) 55%, rgba(15,17,21,.10) 100%); }
.media-band-cap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: var(--s-lg); }
.media-band-cap .overline { color: color-mix(in srgb, var(--brand) 30%, #fff); }
.media-band-cap p { color: #fff; font-size: var(--body-lg); max-width: 34ch; margin-top: .25rem; }

/* Schnittstellen & Kompatibilität */
.integrations { display: grid; gap: var(--s-lg); margin-top: var(--s-lg); }
.intg-tier-label { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--small); font-weight: 600; margin-bottom: .75rem; }
.intg-available { color: #047857; }  /* WCAG-AA-Kontrast (zuvor var(--ok)=3.6:1) */
.intg-prepared { color: #b45309; }
.intg-planned { color: var(--ink-mute); }
.intg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: .75rem; }
.intg-card { display: flex; gap: .75rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-btn); padding: .85rem 1rem; }
.intg-mark { flex: none; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--brand-pill); color: var(--brand); }
.intg-mark i { font-size: 1.2rem; }
.intg-mark img { width: 28px; height: 28px; object-fit: contain; }
.intg-name { font-weight: 600; font-size: var(--small); color: var(--ink); }
.intg-desc { font-size: var(--tiny); color: var(--ink-mute); margin-top: .15rem; line-height: 1.45; }

/* Sticky Sub-Nav-CTA: erst nach dem Hero einblenden (verhindert die doppelte CTA oben) */
.sub-nav .mk-subnav-cta { opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s ease, transform .2s ease; }
.sub-nav.cta-on .mk-subnav-cta { opacity: 1; visibility: visible; transform: none; }
/* Keine CTA-Dopplung: Header-CTA weicht, sobald der Sub-Nav-CTA erscheint */
.mk-actions .btn { transition: opacity .2s ease, visibility .2s ease; }
/* Header-CTA bleibt immer sichtbar (Owner-Feedback) */

/* --- Responsive --- */
@media (max-width: 900px) {
  :root { --s-section: 4.5rem; --s-3xl: 2.5rem; }
  .grid-7-5, .grid-5-7, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: var(--s-xl); }
  .mk-footer .cols { grid-template-columns: 1fr 1fr; }
  .mk-burger { display: inline-flex; }
  /* Mobiles Navigations-Drawer: Burger oeffnet die volle Liste */
  .mk-navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: .4rem var(--gutter) 1rem;
    max-height: calc(100dvh - 80px); overflow-y: auto;
  }
  .mk-header[data-open="1"] .mk-navlinks { display: flex; }
  .mk-navlinks > a:not(.mk-mobile-cta) { padding: .95rem .2rem; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-size: var(--body); font-weight: 500; }
  .mk-switch { position: static; width: 100%; }
  .mk-switch > button { width: 100%; justify-content: space-between; padding: .95rem .2rem; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-size: var(--body); font-weight: 500; }
  .mk-menu {
    position: static; transform: none; opacity: 1; visibility: visible; display: none;
    width: auto; min-width: 0; max-width: none; box-shadow: none; border: 0; background: transparent;
    padding: .25rem 0 .5rem .6rem; grid-template-columns: 1fr;
  }
  .mk-switch[data-open="1"] .mk-menu { display: grid; }
  .mk-menu-item { padding: .6rem .4rem; }
  .mk-actions .btn { display: none; }
  .mk-mobile-cta { display: inline-flex !important; justify-content: center; margin-top: .9rem; }
}
@media (max-width: 560px) {
  .mk-footer .cols { grid-template-columns: 1fr; }
  .trustbar span { border-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-in > *, .frame-body.tab-enter { animation: none !important; opacity: 1 !important; transform: none !important; }
  .reveal .overline::after, .reveal.in .overline::after { display: none !important; }
  html { scroll-behavior: auto; }
}

/* ============ v8: Trust-Badges, Live-Ansicht/Showcase, Produktvideo, Lightbox, SEO-Block ============ */
.trust-badges { display: flex; flex-wrap: wrap; gap: .5rem .6rem; align-items: center; }
.trust-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--small); font-weight: 600; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .42rem .8rem; }
.trust-badge i { color: var(--brand); font-size: 1.05em; }
.trust-cert { height: 40px; width: auto; opacity: .92; }
.section-dark .trust-badge { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.86); }
.section-dark .trust-badge i { color: color-mix(in srgb, var(--brand) 55%, #fff); }
.trust-band { padding: var(--s-lg) 0 0; }

/* Live-Ansicht / Showcase */
.showcase-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s-lg); align-items: start; }
.showcase-shot { margin: 0; }
.showcase-shot .frame { box-shadow: 0 30px 60px -22px rgba(20,30,60,.40); }
.showcase-shot figcaption { margin-top: .65rem; font-size: var(--small); color: var(--ink-mute); display: inline-flex; align-items: center; gap: .35rem; }
.showcase-shot figcaption i { color: var(--brand); }
.showcase-video { position: sticky; top: 90px; }
@media (max-width: 900px) { .showcase-grid { grid-template-columns: 1fr; } .showcase-video { position: static; } }

/* Produktvideo (echt) + ehrlicher Platzhalter */
.prodvideo { position: relative; border-radius: var(--r-shot); overflow: hidden; aspect-ratio: 16 / 10; background-color: #0c1426; background-size: cover; background-position: center; border: 1px solid var(--line); }
.prodvideo-el { width: 100%; height: 100%; display: block; object-fit: cover; }
.prodvideo--placeholder { display: flex; align-items: center; justify-content: center; }
.prodvideo-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,32,.42), rgba(10,16,32,.72)); z-index: 1; }
.prodvideo-play { position: relative; z-index: 2; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(0,0,0,.32); transition: transform .2s; }
.prodvideo--placeholder:hover .prodvideo-play { transform: scale(1.06); }
.prodvideo-play i { font-size: 34px; color: var(--brand); margin-left: 3px; }
.prodvideo-note { position: absolute; z-index: 2; bottom: .85rem; left: .85rem; font-size: var(--tiny); font-weight: 600; color: #fff; background: rgba(0,0,0,.42); border-radius: 999px; padding: .32rem .7rem; display: inline-flex; gap: .35rem; align-items: center; }
.prodvideo-cap { margin-top: .55rem; font-size: var(--small); color: var(--ink-mute); }

/* SEO-Content-Block */
.seo-block { max-width: 80ch; margin: 0 auto var(--s-xl); }
.seo-block h2 { margin: .35rem 0 .75rem; }
.seo-prose { color: var(--ink-soft); line-height: 1.7; font-size: var(--body); }
.seo-prose p { margin-bottom: .9rem; }
.seo-prose ul { margin: .5rem 0 1rem; padding-left: 1.1rem; }
.seo-prose li { margin-bottom: .4rem; color: var(--ink-soft); }
.seo-prose strong { color: var(--ink); }

/* Lightbox */
.mk-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(8,12,22,.93); display: none; align-items: center; justify-content: center; padding: 3vw; cursor: zoom-out; }
.mk-lightbox.open { display: flex; }
.mk-lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.mk-lightbox-close { position: fixed; top: 16px; right: 22px; font-size: 40px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }
[data-zoomable] img { cursor: zoom-in; }

/* Skip-Link (A11y): erst bei Fokus sichtbar */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10001; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; outline: 2px solid #fff; outline-offset: -4px; }

/* Wechsel-/Datenhoheit-Block */
.switch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-md); margin-top: var(--s-lg); }
.switch-card { display: flex; gap: .7rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-shot); padding: 1.1rem; }
.switch-card i { color: var(--brand); font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.switch-card .t { font-weight: 600; color: var(--ink); }
.switch-card .d { font-size: var(--small); color: var(--ink-mute); margin-top: .25rem; line-height: 1.5; }
@media (max-width: 860px) { .switch-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .switch-grid { grid-template-columns: 1fr; } }

/* A11y: In-Text-Links unterscheidbar ohne Farbe (WCAG link-in-text-block) */
.consent a, .consent-banner a, .consent-banner p a, .mk-footer .legal a, .form-note a, .seo-prose a { text-decoration: underline; }

/* ============================================================================
   Ratgeber (Content-Hub /ratgeber + Artikel /ratgeber/<slug>)  — CSS v9
   ============================================================================ */
/* Hero (branded gradient, Text-LCP — kein Bild) */
.rg-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 92%, #000) 0%, var(--brand) 100%); color:#fff; padding: calc(var(--s-2xl) + 2.5rem) 0 var(--s-2xl); }
.rg-hero .overline { color: color-mix(in srgb, var(--brand-fg, #fff) 75%, transparent); }
.rg-hero h1 { color:#fff; max-width: 18ch; margin:.4rem 0 var(--s-md); }
.rg-hero-hub h1 { max-width: 22ch; }
.rg-lead { color: rgba(255,255,255,.86); font-size: var(--body-lg); max-width: 60ch; line-height:1.55; }
.rg-breadcrumb { font-size: var(--small); color: rgba(255,255,255,.7); margin-bottom: var(--s-md); display:flex; align-items:center; gap:.35rem; flex-wrap:wrap; }
.rg-breadcrumb a { color: rgba(255,255,255,.85); text-decoration: underline; }
.rg-breadcrumb a:hover { color:#fff; }
.rg-breadcrumb i { opacity:.6; }
.rg-meta { display:flex; gap:var(--s-md); flex-wrap:wrap; margin-top:var(--s-lg); font-size:var(--small); color: rgba(255,255,255,.8); }
.rg-meta span { display:inline-flex; align-items:center; gap:.4rem; }

/* Artikel-Körper (lesefreundliche Spaltenbreite) */
.rg-body { max-width: var(--max-w-text); padding-top: var(--s-2xl); padding-bottom: var(--s-2xl); }
.rg-intro .seo-prose, .rg-intro { font-size: var(--body-lg); color: var(--ink-soft); }
.rg-intro p { margin: 0 0 var(--s-md); line-height: 1.7; }
.rg-body .seo-block { margin-bottom: var(--s-xl); }
.rg-body .seo-block h2 { font-size: var(--h3); scroll-margin-top: 90px; }
.rg-body .seo-prose { color: var(--ink-soft); line-height: 1.75; }
.rg-body .seo-prose p { margin: 0 0 var(--s-sm); }
.rg-body .seo-prose ul { margin: var(--s-sm) 0; padding-left: 1.25rem; }
.rg-body .seo-prose li { margin: .35rem 0; line-height:1.6; }
.rg-body .seo-prose strong { color: var(--ink); }
.rg-disclaimer { font-size: var(--small); color: var(--ink-faint); border-left: 3px solid var(--line); padding: .5rem 0 .5rem var(--s-md); margin: var(--s-xl) 0; font-style: italic; }

/* Bezogenes Produkt */
.rg-related { display:flex; gap:var(--s-lg); align-items:center; background: var(--stone-50); border:1px solid var(--line); border-radius: var(--r-card); padding: var(--s-lg); margin: var(--s-xl) 0; border-top:3px solid var(--brand); }
.rg-related-mark .sq-lg { flex:0 0 auto; }
.rg-related-body h3 { margin:.15rem 0 .35rem; }
.rg-related-body p { color: var(--ink-soft); margin:0 0 var(--s-md); }
.rg-related-body .overline { color: var(--brand); }

/* Weitere Ratgeber */
.rg-more { margin-top: var(--s-2xl); border-top:1px solid var(--line); padding-top: var(--s-xl); }
.rg-more > h2 { font-size: var(--h3); margin-bottom: var(--s-md); }
.rg-more-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--s-md); }
.rg-more-card { display:flex; flex-direction:column; gap:.5rem; padding: var(--s-md); border:1px solid var(--line); border-radius: var(--r-card); background:#fff; transition: border-color .15s, transform .15s; }
.rg-more-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.rg-more-card .overline { font-size: var(--tiny); color: var(--ink-faint); }
.rg-more-title { font-weight:600; color: var(--ink); line-height:1.35; font-size: var(--small); }
.rg-more-link { margin-top:auto; color: var(--brand); font-size: var(--small); font-weight:600; display:inline-flex; align-items:center; gap:.3rem; }

/* Hub-Grid */
.rg-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--s-lg); padding: var(--s-2xl) 0; }
.rg-card { display:flex; flex-direction:column; gap:.65rem; padding: var(--s-lg); border:1px solid var(--line); border-radius: var(--r-card); background:#fff; box-shadow: var(--shadow-shot); transition: transform .15s, border-color .15s, box-shadow .15s; border-top:3px solid var(--brand); }
.rg-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.rg-card h2 { font-size: var(--h4); line-height:1.3; color: var(--ink); margin:0; }
.rg-card p { color: var(--ink-soft); font-size: var(--small); line-height:1.6; margin:0; }
.rg-card-cat { display:inline-flex; align-items:center; gap:.45rem; font-size: var(--tiny); font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--brand); }
.rg-card-cat .dot { width:7px; height:7px; border-radius:50%; background: var(--brand); }
.rg-card-foot { margin-top:auto; padding-top:.4rem; display:flex; justify-content:space-between; align-items:center; font-size: var(--small); color: var(--ink-faint); }
.rg-card-link { color: var(--brand); font-weight:600; display:inline-flex; align-items:center; gap:.3rem; }

/* Hub-CTA-Band + Kontakt */
.rg-cta-band { display:flex; justify-content:space-between; align-items:center; gap: var(--s-lg); flex-wrap:wrap; background: var(--stone-50); border:1px solid var(--line); border-radius: var(--r-card); padding: var(--s-xl); }
.rg-cta-band h2 { font-size: var(--h3); margin:0 0 .25rem; }
.rg-cta-band p { color: var(--ink-soft); margin:0; }
.rg-contact { padding: var(--s-2xl) 0; }
.rg-leadwrap { max-width: var(--max-w-narrow); margin: var(--s-lg) auto 0; }

@media (max-width: 900px) { .rg-grid, .rg-more-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .rg-grid, .rg-more-grid { grid-template-columns: 1fr; } .rg-related { flex-direction:column; align-items:flex-start; } }

/* Ratgeber-Vergleichstabellen (CSS v10) — 3 Spalten, mobil horizontal scrollbar */
.rg-body .seo-prose table { width: 100%; border-collapse: collapse; margin: var(--s-md) 0; font-size: var(--small); }
.rg-body .seo-prose th, .rg-body .seo-prose td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--line); line-height: 1.5; }
.rg-body .seo-prose thead th { background: var(--stone-50); color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--brand); }
.rg-body .seo-prose tbody tr:hover { background: var(--stone-50); }
.rg-body .seo-prose td:first-child { font-weight: 600; color: var(--ink); }
.rg-body .seo-prose th:nth-child(2), .rg-body .seo-prose td:nth-child(2) { color: var(--brand); font-weight: 600; }
@media (max-width: 640px) { .rg-body .seo-prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: normal; } }

/* --- ClockData Shop (Preis-Rechner + Tarifkarten) --- */
.shop { margin-top: var(--s-lg); }
.shop-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-lg); margin-bottom: var(--s-md); }
.shop-seats-label { display: block; font-size: var(--small); font-weight: 600; color: var(--ink-soft); margin-bottom: .4rem; }
.shop-seats { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-btn); overflow: hidden; background: #fff; }
.shop-seats input { width: 84px; text-align: center; border: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); -moz-appearance: textfield; }
.shop-seats input::-webkit-outer-spin-button, .shop-seats input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.shop-step { width: 44px; border: 0; background: var(--stone-50); color: var(--ink); font-size: 1.25rem; cursor: pointer; line-height: 1; }
.shop-step:hover { background: var(--stone-100); }
.shop-cycle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-btn); overflow: hidden; background: #fff; }
.shop-cycle button { border: 0; background: none; padding: .7rem 1.1rem; font: inherit; font-size: var(--small); font-weight: 600; color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.shop-cycle button.is-active { background: var(--brand); color: #fff; }
.shop-save { font-size: var(--tiny); font-weight: 700; color: var(--ok); }
.shop-cycle button.is-active .shop-save { color: #fff; }
.shop-note { font-size: var(--small); color: var(--ink-mute); margin-bottom: var(--s-lg); }
.shop-plans { align-items: stretch; }
.price-card { position: relative; }
.price-badge { display: inline-block; align-self: flex-start; font-size: var(--tiny); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); border-radius: 999px; padding: .2rem .6rem; margin-bottom: .5rem; }
.price-tagline { color: var(--ink-mute); font-size: var(--small); margin-bottom: .5rem; }
.shop-total { margin: .3rem 0 .8rem; padding: .7rem .9rem; background: var(--stone-50); border: 1px solid var(--line-soft); border-radius: var(--r-btn); font-size: var(--small); color: var(--ink-soft); }
.shop-total strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); font-feature-settings: "tnum" 1; }
.shop-gross { font-size: var(--tiny); color: var(--ink-mute); margin-top: .15rem; }
.price-includes { font-size: var(--small); font-weight: 600; color: var(--ink-soft); margin: .2rem 0 .4rem; }
.shop-trial { text-align: center; font-size: var(--small); color: var(--ink-mute); margin-top: var(--s-lg); }

/* --- Mobile-Haertung: Frames scrollbar, Consent umbrechend, Klein-Phone-Gutter --- */
@media (max-width: 640px) {
  .frame-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .consent-banner .btns { flex-wrap: wrap; }
  .consent-banner .btns > * { flex: 1 1 auto; text-align: center; }
  .trustbar { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  :root { --gutter: 1.1rem; }
  .shop-controls { gap: var(--s-md); }
}

.mk-cookie-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.mk-cookie-btn:hover { text-decoration: underline; }

/* --- Informationsdesign-Panels (ersetzen Fake-Mockups) --- */
.feature-panel { border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--r-card); background: var(--stone-50); padding: 1.5rem 1.6rem; }
.feature-panel-eyebrow { display: block; font-family: var(--font-display); font-size: var(--tiny); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); margin-bottom: 1rem; }
.feature-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.feature-facts li { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--body); color: var(--ink); line-height: 1.5; }
.feature-facts li i { color: var(--brand); font-size: 1.2rem; flex: none; margin-top: .05rem; }
.feature-facts .chip { margin-left: auto; align-self: center; }
.feature-text .overline { margin-bottom: var(--s-sm); }

/* Hero-Panel: Kern-Ansichten + Compliance statt Fake-Browser (hell; auf Media-Hero glasig) */
.hero-panel { border: 1px solid var(--line); background: #fff; border-radius: var(--r-card); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-md); }
.hero-panel-head { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: var(--tiny); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-mute); margin-bottom: 1.1rem; }
.hero-panel-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand); }
.hero-panel-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .7rem; }
.hero-panel-list li { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.hero-panel-list li i { color: var(--brand); }
.hero-panel-marks { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.hero-panel-grid { margin: 0 0 1rem; border: 1px solid var(--line-soft); border-radius: var(--r-card); overflow-x: auto; }
.hero-panel-grid .scaffold { font-size: var(--tiny); }
.hero-panel-grid .scaffold th, .hero-panel-grid .scaffold td { padding: .5rem .8rem; }
.hero-panel-grid .scaffold tr:last-child td { border-bottom: 0; }
.hero-panel-tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.1rem; }
.hero-panel-tabs span { font-size: var(--tiny); font-weight: 600; color: var(--ink-mute); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .6rem; }
.hero-panel-tabs span.on { color: var(--brand); border-color: currentColor; background: var(--brand-pill); }
.hero-panel-marks span { font-size: var(--tiny); font-weight: 600; color: var(--ink-soft); background: var(--stone-100); border: 1px solid var(--line); border-radius: 4px; padding: .2rem .5rem; }
.hero--media .hero-panel { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.07); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: none; }
.hero--media .hero-panel-head { color: rgba(255,255,255,.72); }
.hero--media .hero-panel-dot { background: color-mix(in srgb, var(--brand) 55%, #fff); }
.hero--media .hero-panel-list li { color: #fff; }
.hero--media .hero-panel-list li i { color: color-mix(in srgb, var(--brand) 45%, #fff); }
.hero--media .hero-panel-grid { border-color: rgba(255,255,255,.18); background: rgba(10,16,28,.35); }
.hero--media .hero-panel-grid .scaffold th { color: rgba(255,255,255,.6); border-bottom-color: rgba(255,255,255,.22); }
.hero--media .hero-panel-grid .scaffold td { color: rgba(255,255,255,.82); border-bottom-color: rgba(255,255,255,.12); }
.hero--media .hero-panel-grid .scaffold td.m { color: #fff; }
.hero--media .hero-panel-grid .scaffold .pill { background: rgba(255,255,255,.92); color: var(--brand); }
.hero--media .hero-panel-tabs span { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.28); }
.hero--media .hero-panel-tabs span.on { color: #fff; border-color: #fff; background: rgba(255,255,255,.14); }
.hero--media .hero-panel-marks { border-top-color: rgba(255,255,255,.14); }
.hero--media .hero-panel-marks span { color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }

/* Portal text-forward */
.portal-block { max-width: var(--max-w-text); }
.portal-facts { list-style: none; margin: var(--s-md) 0 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 620px) { .portal-facts { grid-template-columns: 1fr 1fr; } }
.portal-facts li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); }
.portal-facts li i { color: var(--brand); margin-top: .1rem; flex: none; }


/* ===== Standards-/Schnittstellen-Karussell (Marquee) ===== */
.mk-marquee-sec { padding: var(--s-xl) 0; border-bottom: 1px solid var(--line-soft); }
.mk-marq-eyebrow { font-family: var(--font-display); font-size: var(--tiny); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); margin-bottom: 1.1rem; }
.mk-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mk-marquee-track { display: flex; align-items: center; gap: 3rem; width: max-content; animation: mkMarquee 34s linear infinite; }
.mk-marquee:hover .mk-marquee-track { animation-play-state: paused; }
.mk-marq-item { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ink-mute); white-space: nowrap; letter-spacing: -.01em; }
.mk-marq-item::before { content: '—'; margin-right: 3rem; color: var(--line); }
@keyframes mkMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .mk-marquee { -webkit-mask-image: none; mask-image: none; }
  .mk-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; }
  .mk-marq-item::before { display: none; }
}

/* ===== Plattform-Familie (Cross-Produkt-Karten) ===== */
.fam-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: var(--s-lg); }
@media (min-width: 720px) { .fam-grid { grid-template-columns: repeat(3, 1fr); } }
.fam-card { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.fam-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.fam-tx { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fam-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.fam-blurb { font-size: var(--small); color: var(--ink-mute); }
.fam-card > i { color: var(--ink-faint); transition: transform .2s ease, color .2s ease; }
.fam-card:hover > i { color: var(--brand); transform: translateX(3px); }
.fam-all { margin-top: var(--s-lg); }

/* ===== Footer: Ressourcen-Spalte (5 Spalten) ===== */
@media (min-width: 900px) { .mk-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }


/* ===== Skalierung fuer breite/hochaufloesende Screens (verhindert "verlorenen" Content) ===== */
@media (min-width: 1600px) {
  :root { --max-w: 1360px; --max-w-narrow: 1040px; --max-w-text: 800px; }
}
@media (min-width: 2000px) {
  html { font-size: 17.5px; }
  :root { --max-w: 1520px; --max-w-narrow: 1160px; --max-w-text: 860px; }
}
@media (min-width: 2560px) {
  html { font-size: 19px; }
  :root { --max-w: 1680px; --max-w-narrow: 1280px; --max-w-text: 920px; }
}

/* ===== Cookie-Einstellungen-Button: als schlichter Footer-Link statt Browser-Button ===== */
.mk-cookie-btn { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: rgba(255,255,255,.62); cursor: pointer; text-align: left; }
.mk-cookie-btn:hover { color: #fff; text-decoration: underline; }
