/* StudioCMS Starter-Theme
   Anpassen: Studio → Design → CSS. Die Farben und Maße oben in :root reichen
   für eine erste Markenanpassung. */

:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;          /* Karten, Felder, Menüs */
  --on-brand: #ffffff;         /* Schrift auf Markenfarbe */
  --header-bg: rgba(255,255,255,.94);
  --error-bg: #fef2f2;
  --error-text: #991b1b;
  --dark: #0f172a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --container: 1160px;
  --narrow: 760px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font);
}

/* Dunkelmodus: gilt nur, wenn die Seite data-theme="dark" trägt (Umschalter, Studio → Design).
   Ein Design setzt dieselben Variablen, um den Dunkelmodus anzupassen. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #60a5fa;
  --brand-dark: #93c5fd;
  --brand-soft: rgba(96, 165, 250, .14);
  --ink: #f1f5f9;
  --text: #cbd5e1;
  --muted: #94a3b8;
  --line: #2a3649;
  --bg: #0b1220;
  --bg-alt: #111a2c;
  --surface: #131c2f;
  --on-brand: #0b1220;
  --header-bg: rgba(11, 18, 32, .94);
  --error-bg: #3b1219;
  --error-text: #fecaca;
  --dark: #060a14;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
}

/* --- Basis --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 1.0625rem/1.65 var(--font); color: var(--text); background: var(--bg); }
img, svg, video { max-width: 100%; height: auto; }
svg { vertical-align: middle; flex-shrink: 0; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }
.accent { color: var(--brand); }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 44em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: calc(var(--narrow) + 48px); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --- Buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font); cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { padding: 8px 16px; font-size: 0.9375rem; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: #0f172a; }
.btn-light:hover { background: #eff6ff; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.link-btn:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

/* --- Header -------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.hdr-logo { font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none !important; }
.hdr-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.hdr-nav > a, .has-sub > a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; color: var(--text); font-weight: 550; text-decoration: none; }
.hdr-nav a:hover, .hdr-nav a.is-active { color: var(--ink); background: var(--bg-alt); }
.has-sub { position: relative; }
.has-sub .sub { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); display: none; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub .has-sub > a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; color: var(--text); text-decoration: none; }
.sub .has-sub > a:hover { background: var(--bg-alt); }
.sub .has-sub > .sub { top: -9px; left: 100%; margin-left: 2px; }
.sub a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--text); text-decoration: none; }
.sub a:hover { background: var(--bg-alt); }
.sub .sub-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 600; color: var(--brand); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.hdr-burger { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.hdr-menu { display: grid; gap: 2px; padding-bottom: 16px; }
.hdr-menu[hidden] { display: none; }
.hdr-menu a { padding: 10px 4px; color: var(--ink); font-weight: 550; border-bottom: 1px solid var(--line); }
.hdr-menu .hdr-menu-sub { padding-left: 20px; font-weight: 450; color: var(--text); }
.hdr-menu .hdr-menu-l2 { padding-left: 38px; }
.hdr-menu .hdr-menu-l3 { padding-left: 56px; }
.hdr-menu .hdr-menu-l4 { padding-left: 74px; }
.hdr-menu .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
.hdr-menu .btn-primary { color: var(--on-brand); }
@media (max-width: 960px) {
  .hdr-nav, .hdr-cta { display: none; }
  .hdr-burger { display: inline-flex; }
  .hdr-actions { margin-left: auto; }
}

/* --- Abschnitte ------------------------------------------------------------ */
.sec { padding: 80px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 36px; max-width: 46em; }
.sec-head.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: none; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 0.875rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.crumbs { padding-top: 20px; font-size: 0.875rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.hero { padding: 110px 0 90px; background: radial-gradient(60rem 30rem at 80% -10%, var(--brand-soft), transparent); }
.hero-inner { max-width: 880px; margin-left: auto; margin-right: auto; text-align: center; }
.hero-inner .lead { margin-left: auto; margin-right: auto; }
.hero-inner .actions { justify-content: center; }
.pagehero { padding: 48px 0 32px; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.split-faq { grid-template-columns: .8fr 1.2fr; }
@media (max-width: 900px) { .split, .split-faq { grid-template-columns: 1fr; gap: 32px; } .sec { padding: 56px 0; } }

/* --- Raster & Karten ------------------------------------------------------- */
.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)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.sec-alt .card { border-color: transparent; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--ink); }
.card-link:hover { border-color: var(--brand); text-decoration: none; }
.svc-card { display: flex; flex-direction: column; color: var(--text); text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.svc-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.svc-card .num { font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.svc-card .more { margin-top: auto; padding-top: 12px; color: var(--brand); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tags span, .tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 0.8125rem; font-weight: 600; }

/* --- Schritte, nummerierte Zeilen, Zitate ---------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 24px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.step-num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; margin-bottom: 14px; }
.numbered { display: grid; gap: 16px; }
.numbered-row { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.numbered-row .num { font-size: 1.6rem; font-weight: 750; color: var(--brand); }
.quote { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 16px; font-size: 1.05rem; color: var(--ink); }
.quote figcaption { color: var(--muted); font-size: 0.9375rem; }
.quote figcaption strong { color: var(--ink); }

/* --- FAQ ---------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--brand); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 18px; }

/* --- Blog --------------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 3 / 2; background: var(--bg-alt); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--muted); margin-bottom: 10px; }
.post-card h3 { margin-bottom: 8px; }
.post-card .more { margin-top: auto; color: var(--brand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 550 0.875rem var(--font); cursor: pointer; }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.post-head { padding: 40px 0 24px; }
.post-meta { color: var(--muted); font-size: 0.9375rem; }
.post-hero img { display: block; width: 100%; border-radius: var(--radius); }
.post-body { padding-top: 40px; }
/* Zusatzangaben: eigene Felder einer Seite (Studio → Einstellungen → Eigene Felder) */
.extra-fields { display: grid; gap: 14px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.extra-fields > div { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 6px 22px; }
.extra-fields dt { font-weight: 600; color: var(--muted); }
.extra-fields dd { margin: 0; }
@media (max-width: 600px) { .extra-fields > div { grid-template-columns: 1fr; } }
.summary { padding: 20px 24px; margin-bottom: 32px; background: var(--brand-soft); border-radius: var(--radius-sm); }
.summary p { margin: 6px 0 0; }
.refs { display: grid; gap: 10px; margin: 40px 0; }
.ref { display: flex; flex-direction: column; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; }
.ref small { font-weight: 400; color: var(--muted); font-size: 0.9375rem; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 24px; margin: 32px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.share-btn { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.share-btn:hover { border-color: var(--ink); }

/* --- Fließtext ------------------------------------------------------------ */
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--brand); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose code { background: var(--bg-alt); padding: 2px 6px; border-radius: 4px; font-size: .9em; }

/* --- Leistung -------------------------------------------------------------- */
.svc-hero { padding-top: 40px; }
.lead-block p { font-size: 1.12rem; color: var(--muted); }
.scope { padding: 28px; background: var(--bg-alt); border-radius: var(--radius); }
.scope ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.scope li { display: flex; gap: 10px; align-items: flex-start; }
.scope li svg { color: var(--brand); margin-top: 5px; }

/* --- Abschluss-Band -------------------------------------------------------- */
.cta-band { background: var(--dark); color: #cbd5e1; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: #93c5fd; }
.cta-inner { max-width: 820px; text-align: center; }
.cta-inner .actions { justify-content: center; }

/* --- Formulare ------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: 1rem var(--font); color: var(--ink); background: var(--surface); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; }
.check input { margin-top: 5px; }
.form-status { padding: 12px 16px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.form-status.is-error { background: var(--error-bg); color: var(--error-text); }
.form-card { padding: 32px; }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-lines li { display: flex; gap: 12px; align-items: center; }
.contact-lines svg { color: var(--brand); }

/* --- Fehlerseiten ---------------------------------------------------------- */
.error-page { padding: 120px 0; text-align: center; }
.error-code { display: block; font-size: 5rem; font-weight: 800; color: var(--brand-soft); -webkit-text-stroke: 2px var(--brand); line-height: 1; margin-bottom: 16px; }
.error-page .lead { margin-left: auto; margin-right: auto; }
.error-page .actions { justify-content: center; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--dark); color: #94a3b8; padding-top: 64px; font-size: 0.9375rem; }
.site-footer a { color: #cbd5e1; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.ftr-logo { font-weight: 800; font-size: 1.15rem; color: #fff !important; display: inline-block; margin-bottom: 12px; }
.ftr-contact { display: grid; gap: 8px; }
.ftr-contact a, .ftr-contact span { display: inline-flex; align-items: center; gap: 8px; }
.ftr-col { display: grid; gap: 10px; align-content: start; }
.ftr-head { color: #fff; font-weight: 650; margin-bottom: 4px; }
.ftr-bottom { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ftr-grid { grid-template-columns: 1fr; } }

/* --- Cookie-Banner --------------------------------------------------------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: center; }
.cookie[hidden] { display: none; }
.cookie-card { width: 100%; max-width: 640px; background: var(--surface); color: var(--text); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(15,23,42,.25); padding: 24px 28px; font-size: 0.9375rem; }
.cookie-card h2 { font-size: 1.15rem; }
.cookie-details { display: grid; gap: 10px; margin: 12px 0; }
.cookie-row { display: flex; gap: 10px; align-items: flex-start; }
.cookie-row input { margin-top: 5px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 16px; }

/* --- Eingebettete Inhalte (erst nach Einwilligung) ------------------------ */
.embed-consent { padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.embed-consent .embed-note { margin: 0 auto 14px; max-width: 560px; }
.embed-consent .embed-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.embed-consent.embed-loaded { padding: 0; border: 0; }
.embed-consent.embed-loaded iframe { display: block; width: 100%; border: 0; border-radius: var(--radius); background: #fff; }
.embed-consent.embed-blocked { font-size: .9rem; }
.cookie-services { color: var(--muted); }
.consent-service { margin: 0 0 18px; }
.consent-service h4 { margin: 0 0 4px; }

/* --- Abschnitts-Baukasten (Landingpage / Standardseite) ------------------- */
.block { padding: 64px 0; }
.block-hero { padding: 96px 0; background: var(--bg-alt); }
.hero-tag { display: inline-block; margin-bottom: 12px; color: var(--brand); font-weight: 650; }
.hero-title { max-width: 18em; }
.hero-text { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.hero-media img { margin-top: 32px; border-radius: var(--radius); }
.rich-block { font-size: 1.06rem; }
.faq-item + .faq-item { margin-top: 12px; }

/* Editor "+": columns and question/answer blocks inside page text */
.cms-cols { display: grid; gap: 28px; margin: 1.6em 0; }
.cms-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cms-cols-1 { grid-template-columns: minmax(0, 1fr); }
.cms-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cms-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cms-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .cms-cols-4, .cms-cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cms-cols-2, .cms-cols-3, .cms-cols-4, .cms-cols-5 { grid-template-columns: 1fr; } }
.prose details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; margin: 10px 0; }
.prose details summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--ink); }
.prose details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }

/* language switcher (header) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-right: 6px; }
.lang-switch a { padding: 5px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: .04em; color: var(--text); text-decoration: none; }
.lang-switch a:hover { background: var(--bg-alt); color: var(--ink); }
.lang-switch a.is-current { background: var(--bg-alt); color: var(--ink); cursor: default; }

/* --- Zugänglichkeit -------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .svc-card:hover, .post-card:hover { transform: none; }
}

/* --- Barrierefreiheits-Leiste (Besucher-Einstellungen; Attribute am <html>, gesetzt von theme/static/theme/a11y.js) ---- */
html[data-a11y-font="1"] { font-size: 112.5%; }
html[data-a11y-font="2"] { font-size: 125%; }
html[data-a11y-font="3"] { font-size: 150%; }
html[data-a11y-readable] { --font: Verdana, Tahoma, "Trebuchet MS", sans-serif; --font-head: var(--font); }
html[data-a11y-spacing] body, html[data-a11y-spacing] p, html[data-a11y-spacing] li { line-height: 1.9; letter-spacing: .03em; word-spacing: .08em; }
html[data-a11y-links] a:not(.btn) { text-decoration: underline !important; text-underline-offset: .15em; }
html[data-a11y-motion="off"] { scroll-behavior: auto; }
html[data-a11y-motion="off"] *, html[data-a11y-motion="off"] *::before, html[data-a11y-motion="off"] *::after {
  transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
html[data-a11y-motion="off"] .svc-card:hover, html[data-a11y-motion="off"] .post-card:hover { transform: none; }
/* hoher Kontrast: schwarz auf weiß invertiert, gelbe Links; überstimmt den Dunkelmodus */
:root[data-a11y-contrast] {
  color-scheme: dark;
  --brand: #ffe14d; --brand-dark: #fff08a; --brand-soft: #1a1a1a;
  --ink: #ffffff; --text: #ffffff; --muted: #ffffff; --line: #ffffff;
  --bg: #000000; --bg-alt: #000000; --surface: #000000; --dark: #000000;
  --on-brand: #000000; --header-bg: #000000;
  --error-bg: #000000; --error-text: #ffb3b3; --shadow: none;
}
:root[data-a11y-contrast] .hero { background: none; }

/* ==== Aus HTML übernommen: Kopfbereich (wird beim nächsten Import ersetzt) ==== */
:root {
  --primary: #e11d48;
  --primary-hover: #be123c;
  
  --primary-text: #dc1c47;
  
  --hero-accent: #f43f5e;
  --dark: #0f172a;
  --light: #f8fafc;
  --card: #ffffff;
  
  --photo-bg: #dde5ef;
  --muted: #64748b;
  --border: #e2e8f0;
  --hero-bg: #0f172a;
  --hero-text: #ffffff;
  --base-font-size: 17px; 
  --radius: 12px;
  --font: 'Geist', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;

  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}
[data-theme="dark"] {
  --light: #090d16;
  --card: #0f172a;
  --dark: #f8fafc;
  --muted: #94a3b8;
  --border: #334155;
  --hero-bg: #05080e;
  --primary-text: #f43f5e;
}
[data-theme="high-contrast"] {
  --light: #000;
  --card: #000;
  --dark: #fff;
  --muted: #fff;
  --border: #fff;
  --primary: #ff0000;
  --primary-text: #ff0000;
  --hero-accent: #ff0000;
  --hero-bg: #000;
}
img { max-width: 100%; }
a { color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
header:not(.page-lead) {
  position: fixed; top: 0; left: 0; width: 100%;
  display: flex; justify-content: center; padding: 20px 0; z-index: 100000;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); transition: all .3s ease;
}
[data-theme="dark"] header:not(.page-lead) { background: rgba(9,13,22,.9); }
[data-theme="high-contrast"] header:not(.page-lead) { background: #000; border-bottom: 2px solid #fff; }
header:not(.page-lead).scrolled { padding: 12px 0; box-shadow: 0 5px 20px rgba(0,0,0,.05); }
.nav-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--dark); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--primary); }
.logo-compact { display: flex; align-items: center; gap: 8px; }
.logo-icon { height: 34px; width: auto; }
.nav-menu { display: flex; align-items: center; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-link { font-size: .95rem; font-weight: 700; color: var(--dark); text-decoration: none; transition: color .2s ease; }
.nav-link:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 15px; }
@media (max-width: 768px) {
  .nav-menu { display: none; }
}
.font-sizer { display: flex; background: rgba(0,0,0,.05); border-radius: 6px; padding: 2px; }
[data-theme="dark"] .font-sizer { background: rgba(255,255,255,.08); }
.font-btn { background: none; border: none; color: var(--dark); width: 28px; height: 28px; font-size: .8rem; font-weight: 700; cursor: pointer; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.font-btn.active { background: var(--primary); color: #fff; }
.lang-switcher { display: flex; gap: 4px; border-left: 1px solid var(--border); padding-left: 15px; }
.lang-btn { background: none; border: none; color: var(--dark); font-size: .8rem; font-weight: 700; cursor: pointer; padding: 2px 6px; border-radius: 4px; text-decoration: none; transition: all .2s; }
.lang-btn.active { color: var(--primary); }
.theme-toggle { background: none; border: none; color: var(--dark); cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s; }
.theme-toggle:hover { background: rgba(0,0,0,.05); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(255,255,255,.08); }
[data-theme="high-contrast"] .theme-toggle { color: #fff; border: 1px solid #fff; }
.menu-trigger { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 100001; }
@media (max-width: 768px) {
  .menu-trigger { display: block; }
  .font-sizer { display: none; }
}
.burger-line { display: block; width: 100%; height: 3px; background: var(--dark); margin-bottom: 5px; transition: all .3s; border-radius: 2px; }
.menu-trigger.active .burger-line:first-child { transform: translateY(8px) rotate(45deg); }
.menu-trigger.active .burger-line:last-child { transform: translateY(0) rotate(-45deg); margin-bottom: 0; }
.menu-overlay { position: fixed; inset: 0; background: rgba(9,13,22,.95); z-index: 100000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s ease; backdrop-filter: blur(10px); }
.menu-overlay.active { opacity: 1; visibility: visible; }
.menu-nav-links { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 25px; }
.menu-nav-link { font-size: 2rem; color: #fff; text-decoration: none; font-weight: 800; }
.menu-nav-link:hover { color: var(--primary); }
.btn-primary {
  background: var(--primary); color: #fff; border: none; padding: var(--space-4) var(--space-6); border-radius: var(--radius-md);
  font-weight: 700; cursor: pointer; box-shadow: 0 5px 15px rgba(225,29,72,.3);
  transition: all .2s ease; text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(225,29,72,.4); background: var(--primary-hover); }
.btn-primary:active { transform: scale(0.97); transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.btn-outline { display: inline-block; padding: var(--space-3) var(--space-5); border: 1.5px solid var(--border); border-radius: var(--radius-md); font-weight: 700; text-decoration: none; color: var(--dark); transition: all .2s; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline:active { transform: scale(0.97); transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (prefers-reduced-motion: reduce) {
  .btn-primary:active, .btn-outline:active {
      transform: none;
      filter: brightness(0.95);
      transition: filter 120ms ease;
    }
}
.link-arrow { color: var(--primary); font-weight: 700; text-decoration: none; }
.section-heading { font-size: 2.2rem; font-weight: 800; margin-bottom: 40px; }
.badge, .hero-tag { color: var(--primary-text); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.diagonal-hero {
  position: relative; background: var(--hero-bg); color: var(--hero-text);
  padding: 120px 0 160px; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  border-bottom: 1px solid var(--border);
}
.hero-container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-text-side { display: flex; flex-direction: column; align-items: flex-start; }
.hero-tag { margin-bottom: 20px; color: var(--hero-accent); }
.hero-container .hero-title { color: var(--hero-text); }
.hero-title { font-size: 4rem; font-weight: 800; max-width: 800px; line-height: 1.05; }
.hero-title span { color: var(--primary); }
.hero-text-side .btn-primary { margin-top: 40px; }
.hero-image-side { position: relative; width: 100%; display: flex; justify-content: center; perspective: 1000px; }
.tilt-card {
  position: relative; z-index: 1; width: 100%; max-width: 460px; aspect-ratio: 4/3; border-radius: 20px;
  overflow: hidden; border: 1.5px solid var(--border); box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
  background: #111827; transform-style: preserve-3d; transition: transform .15s ease-out, box-shadow .3s ease; cursor: pointer;
}
.hero-starfield { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sun-wrap {
  position: absolute; top: 50%; left: 50%; width: 165%; max-width: 780px; aspect-ratio: 1;
  transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
}
.sun-wrap .sun {
  position: absolute; top: 50%; left: 50%; width: 64%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); opacity: .9;
  background: radial-gradient(circle at center,
    rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 14%,
    rgba(253,230,138,.55) 34%, rgba(125,211,252,.28) 60%, transparent 78%);
  filter: blur(38px);
}
@media (prefers-reduced-motion: no-preference) {
  .sun-wrap .sun { animation: sunBreathe 5s ease-in-out infinite; }
}
@keyframes sunBreathe {
  0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}
.hero-starfield .star-spike {
  position: absolute; top: var(--y); left: var(--x); width: var(--size); height: var(--size);
  transform: translate(-50%, -50%); opacity: 0;
  filter: drop-shadow(0 0 4px var(--color, #fff)) drop-shadow(0 0 12px var(--color, #fff));
}
@media (prefers-reduced-motion: no-preference) {
  .hero-starfield .star-spike {
      animation: starSpikeTwinkle var(--dur, 4s) ease-in-out infinite;
      animation-delay: var(--delay, 0s);
    }
}
.hero-starfield .star-spike::before, .hero-starfield .star-spike::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 190%; height: 2%;
  background: linear-gradient(90deg, transparent 0%, var(--color, #fff) 42%, #fff 50%, var(--color, #fff) 58%, transparent 100%);
  transform: translate(-50%, -50%);
}
.hero-starfield .star-spike::after { transform: translate(-50%, -50%) rotate(90deg); }
.hero-starfield .star-spike .spike-core {
  position: absolute; top: 50%; left: 50%; width: 22%; height: 22%; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0%, var(--color, #fff) 45%, transparent 75%);
  filter: drop-shadow(0 0 8px var(--color, #fff)) drop-shadow(0 0 18px var(--color, #fff));
}
@keyframes starSpikeTwinkle {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.7); }
  15%      { opacity: calc(var(--peak, 1) * .3); transform: translate(-50%, -50%) scale(.85); }
  50%      { opacity: var(--peak, 1); transform: translate(-50%, -50%) scale(1.05); }
  85%      { opacity: calc(var(--peak, 1) * .3); transform: translate(-50%, -50%) scale(.9); }
}
.hero-starfield .mini-star { position: absolute; border-radius: 50%; opacity: .08; }
@media (prefers-reduced-motion: no-preference) {
  .hero-starfield .mini-star {
      animation-name: miniStarTwinkle; animation-timing-function: ease-in-out; animation-iteration-count: infinite;
    }
}
@keyframes miniStarTwinkle {
  0%, 100% { opacity: .08; }
  50% { opacity: var(--peak, .6); }
}
.tilt-card:hover { box-shadow: 0 35px 60px -10px rgba(225,29,72,.2); }
.tilt-img { display: block; width: 100%; height: 100%; object-fit: cover; transform: translateZ(20px) scale(1.06); transition: transform .3s ease; }
.tilt-sheen { position: absolute; inset: 0; background: radial-gradient(circle at var(--sheen-x,50%) var(--sheen-y,50%), rgba(255,255,255,.2) 0%, transparent 60%); pointer-events: none; mix-blend-mode: overlay; z-index: 2; }
.tilt-label { position: absolute; bottom: 20px; left: 20px; background: rgba(225,29,72,.95); color: #fff; padding: 8px 16px; font-size: .8rem; border-radius: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; transform: translateZ(35px); box-shadow: 0 5px 15px rgba(0,0,0,.2); }
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-text-side { align-items: center; }
  .hero-title { font-size: 2.6rem; }
}
.showcase-section {
  max-width: 1100px; margin: -60px auto 40px; position: relative; z-index: 10;
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,.03); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.showcase-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; }
.showcase-section p { line-height: 1.7; margin-bottom: 25px; color: var(--muted); }
.slanted-grid { display: flex; width: 100%; height: 300px; gap: 15px; }
.slanted-col { flex: 1; height: 100%; border-radius: 12px; overflow: hidden; position: relative; transition: all .4s cubic-bezier(.16,1,.3,1); border: 1px solid var(--border); cursor: pointer; }
.slanted-col-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s ease; }
.slanted-col:hover { flex: 2.2; border-color: var(--primary); box-shadow: 0 0 20px rgba(225,29,72,.25); }
.slanted-col:hover .slanted-col-bg { transform: scale(1.05); }
.col-label { position: absolute; bottom: 15px; left: 15px; background: rgba(0,0,0,.75); color: #fff; padding: 4px 8px; font-size: .75rem; border-radius: 4px; font-weight: 700; }
@media (max-width: 768px) {
  .showcase-section { grid-template-columns: 1fr; margin-top: 20px; }
}
.diagonal-grid-3 { max-width: 1100px; margin: 60px auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.diagonal-card { border-left: 4px solid var(--primary); background: var(--card); border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: var(--space-5); border-radius: 0 var(--radius-md) var(--radius-md) 0; transition: all .2s ease; }
.diagonal-card:hover { transform: translateX(4px); background: rgba(225,29,72,.02); }
.diagonal-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.diagonal-card p { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 768px) {
  .diagonal-grid-3 { grid-template-columns: 1fr; }
}
.cats-wrap { max-width: 1100px; margin: 60px auto 100px; }
.cats-wrap > h2 { font-size: 2.2rem; font-weight: 800; text-align: center; margin-bottom: 50px; }
.cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cats-item { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-lg); padding: var(--space-5); transition: all .2s ease; }
.cats-item:hover { border-color: var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,.02); }
.cats-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cats-item .num { font-weight: 800; color: var(--primary); }
.cats-glyph { display: inline-flex; width: 44px; height: 44px; color: var(--muted); transition: color .2s ease; }
.cats-glyph-svg { width: 100%; height: 100%; }
.cats-item:hover .cats-glyph, .cats-item:focus-within .cats-glyph { color: var(--primary); }
.cats-icon { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); background: var(--card); flex-shrink: 0; }
.cats-item:hover .cats-icon { border-color: var(--primary); }
.cats-item h3 { font-size: 1.25rem; font-weight: 700; margin: 12px 0 8px; }
.cats-item p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-bottom: 15px; }
.cats-item .btn-primary { padding: var(--space-2) var(--space-4); font-size: .85rem; border-radius: var(--radius-sm); }
@media (max-width: 992px) {
  .cats-grid { grid-template-columns: 1fr; }
  .diagonal-grid-3 { grid-template-columns: 1fr; }
}
.catalog { max-width: 1200px; margin: 60px auto 100px; }
.catalog-toolbar {
  display: flex; align-items: flex-end; gap: var(--space-5); flex-wrap: wrap;
  margin-bottom: var(--space-9); padding: var(--space-4) var(--space-5); background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-md);
}
.select-field {
  display: flex; flex-direction: column; gap: var(--space-1); min-width: 200px;
  transition: opacity 150ms ease;
}
.select-field.is-disabled { opacity: .5; }
.select-field label { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none; font: inherit; font-weight: 700; font-size: .88rem;
  padding: var(--space-3) var(--space-7) var(--space-3) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--light); color: var(--dark); cursor: pointer;
}
.select-wrap select:focus { outline: 2px solid rgba(225,29,72,.3); border-color: var(--primary); }
.select-wrap select:hover:not(:disabled) { border-color: var(--primary); }
.select-wrap select:disabled { cursor: not-allowed; }
.select-chevron { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.result-count { margin-left: auto; font-size: .85rem; color: var(--muted); white-space: nowrap; padding-bottom: 10px; }
.result-count strong { color: var(--dark); font-size: 1.05rem; }
@media (max-width: 640px) {
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .result-count { margin-left: 0; padding-bottom: 0; }
}
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.catalog-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 20px; border: 1px dashed var(--border); border-radius: var(--radius-md); }
.product-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--card); transition: all .2s ease; display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--primary); box-shadow: 0 10px 25px rgba(0,0,0,.05); }
.product-card.is-draft { border-style: dashed; opacity: .85; }
.draft-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: #fde68a; color: #78350f; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-radius: var(--radius-sm); padding: 3px 7px; }
.product-compare-check { position: absolute; top: 10px; right: 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px 7px; font-size: .72rem; font-weight: 700; display: flex; gap: 4px; align-items: center; z-index: 2; }
.product-img-box { position: relative; aspect-ratio: 1 / 1; background: var(--photo-bg); overflow: hidden; }
.product-img-box img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: var(--space-5); mix-blend-mode: darken;
}
.product-info-box { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-brand { color: var(--primary); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.product-brand-logo { display: block; height: 22px; width: auto; max-width: 110px; object-fit: contain; object-position: left center; margin-bottom: 2px; }
.pd-brand-logo { display: block; height: 28px; width: auto; max-width: 160px; object-fit: contain; margin: 0 auto; }
.product-name { font-size: 1.1rem; font-weight: 800; }
.product-specs-summary { list-style: none; font-size: .82rem; color: var(--muted); margin: 6px 0; }
.product-specs-summary li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border); padding: 3px 0; }
.product-card .btn-outline { margin-top: auto; text-align: center; border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); }
.split-layout { display: grid; grid-template-columns: 1.1fr .9fr; min-height: calc(100vh - 80px); }
.left-pane { background: rgba(0,0,0,.01); padding: 60px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid var(--border); position: sticky; top: 80px; height: calc(100vh - 80px); gap: 20px; }
.right-pane { padding: 60px; overflow-y: auto; }
.split-main-image { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; background: var(--photo-bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; }
.split-main-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: var(--space-6); mix-blend-mode: darken; }
.product-img-box.is-fallback img, .split-main-image.is-fallback img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.split-thumbnails { display: flex; gap: 10px; flex-wrap: wrap; }
.split-thumb { width: 60px; height: 60px; border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: zoom-in; background: var(--photo-bg); overflow: hidden; }
.split-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: darken; }
.split-thumb.active { border-color: var(--primary); }
.pd-name { font-size: 2.2rem; font-weight: 800; text-align: center; }
.pd-sub { color: var(--primary); font-weight: 600; }
.pd-crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pd-crumbs a { color: var(--primary-text); text-decoration: none; text-underline-offset: 3px; transition: color .15s ease; }
.pd-crumbs a:hover { text-decoration: underline; }
.pd-crumbs.has-sub a:first-child { color: var(--muted); }
.pd-crumbs.has-sub a:first-child:hover { color: var(--primary-text); }
.pd-crumbs .sep { color: var(--muted); }
.accordion-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.accordion-header { font-size: 1.2rem; font-weight: 700; display: flex; justify-content: space-between; cursor: pointer; }
.accordion-header::after { content: "+"; color: var(--primary); }
.accordion-item.open .accordion-header::after { content: "–"; }
.accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms cubic-bezier(0.23, 1, 0.32, 1);
}
.accordion-item.open .accordion-collapse {
  grid-template-rows: 1fr;
}
.accordion-content {
  padding-top: 15px; font-size: .95rem; line-height: 1.6; color: var(--muted);
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity 250ms cubic-bezier(0.23, 1, 0.32, 1);
}
.accordion-item.open .accordion-content {
  opacity: 1;
}
.rt > * + * { margin-top: .75em; }
.rt ul, .rt ol { padding-left: 1.25em; }
.rt li + li { margin-top: .3em; }
.rt h2, .rt h3, .rt h4 { color: inherit; font-weight: 700; line-height: 1.25; }
.rt h2 { font-size: 1.35rem; }
.rt h3 { font-size: 1.15rem; }
.rt h4 { font-size: 1rem; }
.rt a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ta-left { text-align: left; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-justify { text-align: justify; }
@media (prefers-reduced-motion: reduce) {
  .accordion-collapse { transition: none; }
}
.spec-table-split { width: 100%; border-collapse: collapse; margin-top: 15px; }
.spec-table-split td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.spec-table-split td:first-child { color: var(--primary); font-weight: 600; }
.spec-table-split td:last-child { font-weight: 700; text-align: right; }
@media (max-width: 992px) {
  .split-layout { grid-template-columns: 1fr; }
  .left-pane { position: relative; height: auto; padding: 40px 20px; }
  .right-pane { padding: 40px 20px; }
}
.lightbox {
  position: fixed; inset: 0; z-index: 100002; display: flex; align-items: center; justify-content: center; background: rgba(8,11,18,.94); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 1; visibility: visible;
  transition: opacity 200ms ease, visibility 0s linear 0s;
}
.lightbox[hidden] {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.lb-img {
  max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px; cursor: zoom-in; will-change: transform; touch-action: none; user-select: none;
  scale: 1;
  transition: transform .12s ease, scale 250ms cubic-bezier(0.23, 1, 0.32, 1);
}
.lightbox[hidden] .lb-img {
  scale: 0.96;
}
@media (prefers-reduced-motion: reduce) {
  .lightbox[hidden] .lb-img {
      scale: 1;
    }
}
.lb-img.zoomed { cursor: grab; }
.lb-img.zoomed:active { cursor: grabbing; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; width: 48px; height: 48px; font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-size: .85rem; font-weight: 700; letter-spacing: .05em; }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ref-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ref-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #1e293b, #334155); }
.ref-g { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.ref-band { background: var(--hero-bg); color: #fff; clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%); padding: 120px 0; margin: 40px 0; }
.ref-band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.ref-band-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 8px; }
.ref-band-head p { color: #94a3b8; max-width: 520px; margin-top: 10px; line-height: 1.6; }
.ref-band-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #fff; color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem;
  padding: 11px 20px; border-radius: var(--radius-sm); transition: background .2s ease, color .2s ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.ref-band-btn:hover { background: #fff; color: #0f172a; }
.ref-band-btn:active { transform: scale(.97); }
.ref-strip { display: flex; gap: 12px; height: 380px; }
.ref-col { position: relative; flex: 1; min-width: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  color: #fff; text-decoration: none; outline: none; transition: flex .45s cubic-bezier(0.23, 1, 0.32, 1), border-color .2s ease; }
.ref-col img, .ref-col .ref-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(0.23, 1, 0.32, 1); }
.ref-col::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.1), rgba(15,23,42,.9)); }
.ref-col:hover, .ref-col:focus-visible { flex: 2.4; border-color: var(--primary); }
.ref-col:hover img { transform: scale(1.05); }
.ref-col-text { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; }
.ref-col-text .ref-g { color: #fda4af; }
.ref-col-text h3 { font-size: 1rem; font-weight: 800; line-height: 1.25; margin-top: 4px; }
.ref-col-text p { font-size: .8rem; color: #cbd5e1; margin-top: 2px; max-height: 0; opacity: 0; overflow: hidden; transition: opacity .25s ease .1s; }
.ref-col:hover .ref-col-text p, .ref-col:focus-visible .ref-col-text p { max-height: 2.4em; opacity: 1; }
@media (max-width: 860px), (hover: none) {
  .ref-strip { overflow-x: auto; scroll-snap-type: x mandatory; height: 320px; }
  .ref-col, .ref-col:hover, .ref-col:focus-visible { flex: 0 0 72%; scroll-snap-align: start; }
  .ref-col-text p { max-height: 2.4em; opacity: 1; }
}
.ref-hero { background: var(--hero-bg); color: #fff; padding: 72px 0 120px; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
.ref-crumb { font-size: .85rem; color: #94a3b8; margin-bottom: 14px; }
.ref-crumb a { color: #94a3b8; text-decoration: none; }
.ref-crumb a:hover { color: #fff; }
.ref-hero-title { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 10px; }
.ref-hero-sub { color: #cbd5e1; max-width: 600px; margin-top: 12px; line-height: 1.6; }
.ref-location { display: flex; align-items: center; gap: 8px; color: #cbd5e1; margin-top: 14px; font-weight: 600; }
.ref-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 40px; padding-bottom: 100px; }
.ref-sidebar { position: sticky; top: 110px; }
.ref-side-title { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 800; }
.ref-side-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.ref-side-list button { width: 100%; font: inherit; font-size: .92rem; font-weight: 600; text-align: left; cursor: pointer; background: none; border: 0;
  border-left: 3px solid transparent; padding: 9px 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.ref-side-list button:hover { color: var(--dark); background: var(--card); }
.ref-side-list button[aria-pressed="true"] { color: var(--dark); border-left-color: var(--primary); background: var(--card); }
.ref-side-list .n { font-size: .8rem; color: var(--muted); }
.ref-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ref-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s ease; }
.ref-row[hidden] { display: none; }
a.ref-row:hover { border-color: var(--primary); }
.ref-row-img { width: 100%; height: 100%; min-height: 120px; object-fit: cover; }
.ref-row-text { padding: 16px 18px; align-self: center; min-width: 0; }
.ref-row-text h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.3; margin-top: 4px; }
.ref-row-text p { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.ref-draft { display: inline-block; margin-top: 6px; font-size: .7rem; font-weight: 800; color: #78350f; background: #fde68a; padding: 2px 6px; border-radius: 4px; }
.ref-empty { color: var(--muted); padding: 32px 0; }
.ref-empty[hidden] { display: none; }
@media (max-width: 960px) {
  .ref-layout { grid-template-columns: 1fr; }
  .ref-sidebar { position: static; }
  .ref-side-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .ref-side-list button { width: auto; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
  .ref-side-list button[aria-pressed="true"] { background: var(--dark); color: var(--light); border-color: var(--dark); }
  .ref-list { grid-template-columns: 1fr; }
}
.ref-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 40px; padding-bottom: 100px; }
.ref-detail-media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.ref-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.ref-description { line-height: 1.75; color: var(--muted); margin-bottom: 28px; }
.ref-description p + p { margin-top: 12px; }
.ref-side-heading { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; border-left: 3px solid var(--primary); padding-left: 10px; margin-bottom: 14px; }
.ref-products { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.ref-product { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); color: inherit; text-decoration: none; transition: border-color .2s ease; }
.ref-product:hover { border-color: var(--primary); }
.ref-product img, .ref-product-ph { width: 64px; height: 64px; object-fit: contain; padding: 4px; border-radius: var(--radius-sm); background: var(--photo-bg); display: block; }
.ref-product img { mix-blend-mode: darken; }
.ref-product-text { min-width: 0; }
.ref-product .brand { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ref-product .name { display: block; font-weight: 800; }
.ref-product .go { color: var(--muted); transition: transform .2s cubic-bezier(0.23, 1, 0.32, 1), color .15s ease; }
.ref-product:hover .go { color: var(--primary); transform: translateX(3px); }
@media (max-width: 960px) {
  .ref-detail { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .ref-col, .ref-col img, .ref-col .ref-ph, .ref-product .go { transition: none; }
  .ref-col:hover img, .ref-product:hover .go { transform: none; }
}
.preview-flag { background: #fde68a; color: #78350f; padding: .5rem; text-align: center; font-weight: 700; }
@media (max-width: 640px) {
  .lb-btn { width: 42px; height: 42px; font-size: 1.3rem; }
  .lb-close { top: 12px; right: 12px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
.contact { max-width: 1100px; margin: 80px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact h2 { font-size: 2rem; font-weight: 800; margin-bottom: 15px; }
.contact .lead { color: var(--muted); margin-bottom: 25px; line-height: 1.6; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-item h3 { font-size: .8rem; text-transform: uppercase; color: var(--primary-text); letter-spacing: .05em; }
.contact-item p { color: var(--muted); }
.contact-form-wrapper { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 5px; }
.form-control { width: 100%; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; background: var(--light); color: var(--dark); }
.form-control:focus { outline: 2px solid rgba(225,29,72,.3); border-color: var(--primary); }
textarea.form-control { min-height: 100px; }
.form-status { margin-top: 10px; font-size: .85rem; }
@media (max-width: 768px) {
  .contact { grid-template-columns: 1fr; margin: 50px auto; }
}
footer { background: #0f172a; color: #cbd5e1; margin-top: 80px; }
[data-theme="high-contrast"] footer { border-top: 2px solid #fff; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 60px 24px 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
footer .logo { color: #fff; margin-bottom: 14px; }
.footer-about { line-height: 1.7; font-size: .9rem; opacity: .8; max-width: 340px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 14px; font-size: .95rem; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links-list a { color: #cbd5e1; text-decoration: none; font-size: .9rem; }
.footer-links-list a:hover { color: var(--primary); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; font-size: .8rem; opacity: .7; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.compare-bar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--dark); color: #fff; border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); display: flex; gap: 18px; align-items: center; z-index: 9000; transition: transform .3s ease; box-shadow: 0 15px 40px rgba(0,0,0,.3); }
.compare-bar.active { transform: translateX(-50%) translateY(0); }
.compare-bar-text span { color: var(--primary); font-weight: 800; }
.compare-actions { display: flex; gap: 8px; }
.btn-compare-clear { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); font-weight: 700; font-size: .8rem; cursor: pointer; }
.compare-modal {
  position: fixed; inset: 0; background: rgba(15,23,42,.6); z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.compare-modal.active {
  opacity: 1; visibility: visible;
  transition: opacity 200ms ease, visibility 0s linear 0s;
}
.compare-modal-content {
  background: var(--card); border-radius: var(--radius-md); max-width: 900px; width: 100%; max-height: 85vh; overflow: auto; padding: var(--space-5); position: relative;
  transform: scale(0.96);
  transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1);
}
.compare-modal.active .compare-modal-content {
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .compare-modal-content {
      transform: none;
      transition: none;
    }
}
.close-modal { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--dark); }
.compare-modal-title { font-weight: 800; margin-bottom: 18px; }
.compare-table-wrapper { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: .88rem; }
.compare-table td:first-child { font-weight: 700; color: var(--muted); }
.compare-prod-header img { width: 70px; height: 55px; object-fit: cover; border-radius: 6px; }
.spec-highlight { color: var(--primary); font-weight: 800; }
/* ==== Ende: Kopfbereich ==== */

/* ==== Aus HTML übernommen: Fußbereich (wird beim nächsten Import ersetzt) ==== */
:root {
  --primary: #e11d48;
  --primary-hover: #be123c;
  
  --primary-text: #dc1c47;
  
  --hero-accent: #f43f5e;
  --dark: #0f172a;
  --light: #f8fafc;
  --card: #ffffff;
  
  --photo-bg: #dde5ef;
  --muted: #64748b;
  --border: #e2e8f0;
  --hero-bg: #0f172a;
  --hero-text: #ffffff;
  --base-font-size: 17px; 
  --radius: 12px;
  --font: 'Geist', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;

  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}
[data-theme="dark"] {
  --light: #090d16;
  --card: #0f172a;
  --dark: #f8fafc;
  --muted: #94a3b8;
  --border: #334155;
  --hero-bg: #05080e;
  --primary-text: #f43f5e;
}
[data-theme="high-contrast"] {
  --light: #000;
  --card: #000;
  --dark: #fff;
  --muted: #fff;
  --border: #fff;
  --primary: #ff0000;
  --primary-text: #ff0000;
  --hero-accent: #ff0000;
  --hero-bg: #000;
}
img { max-width: 100%; }
a { color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
header:not(.page-lead) {
  position: fixed; top: 0; left: 0; width: 100%;
  display: flex; justify-content: center; padding: 20px 0; z-index: 100000;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); transition: all .3s ease;
}
[data-theme="dark"] header:not(.page-lead) { background: rgba(9,13,22,.9); }
[data-theme="high-contrast"] header:not(.page-lead) { background: #000; border-bottom: 2px solid #fff; }
header:not(.page-lead).scrolled { padding: 12px 0; box-shadow: 0 5px 20px rgba(0,0,0,.05); }
.nav-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--dark); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--primary); }
.logo-compact { display: flex; align-items: center; gap: 8px; }
.logo-icon { height: 34px; width: auto; }
.nav-menu { display: flex; align-items: center; }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-link { font-size: .95rem; font-weight: 700; color: var(--dark); text-decoration: none; transition: color .2s ease; }
.nav-link:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 15px; }
@media (max-width: 768px) {
  .nav-menu { display: none; }
}
.font-sizer { display: flex; background: rgba(0,0,0,.05); border-radius: 6px; padding: 2px; }
[data-theme="dark"] .font-sizer { background: rgba(255,255,255,.08); }
.font-btn { background: none; border: none; color: var(--dark); width: 28px; height: 28px; font-size: .8rem; font-weight: 700; cursor: pointer; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.font-btn.active { background: var(--primary); color: #fff; }
.lang-switcher { display: flex; gap: 4px; border-left: 1px solid var(--border); padding-left: 15px; }
.lang-btn { background: none; border: none; color: var(--dark); font-size: .8rem; font-weight: 700; cursor: pointer; padding: 2px 6px; border-radius: 4px; text-decoration: none; transition: all .2s; }
.lang-btn.active { color: var(--primary); }
.theme-toggle { background: none; border: none; color: var(--dark); cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s; }
.theme-toggle:hover { background: rgba(0,0,0,.05); }
[data-theme="dark"] .theme-toggle:hover { background: rgba(255,255,255,.08); }
[data-theme="high-contrast"] .theme-toggle { color: #fff; border: 1px solid #fff; }
.menu-trigger { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 100001; }
@media (max-width: 768px) {
  .menu-trigger { display: block; }
  .font-sizer { display: none; }
}
.burger-line { display: block; width: 100%; height: 3px; background: var(--dark); margin-bottom: 5px; transition: all .3s; border-radius: 2px; }
.menu-trigger.active .burger-line:first-child { transform: translateY(8px) rotate(45deg); }
.menu-trigger.active .burger-line:last-child { transform: translateY(0) rotate(-45deg); margin-bottom: 0; }
.menu-overlay { position: fixed; inset: 0; background: rgba(9,13,22,.95); z-index: 100000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all .3s ease; backdrop-filter: blur(10px); }
.menu-overlay.active { opacity: 1; visibility: visible; }
.menu-nav-links { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 25px; }
.menu-nav-link { font-size: 2rem; color: #fff; text-decoration: none; font-weight: 800; }
.menu-nav-link:hover { color: var(--primary); }
.btn-primary {
  background: var(--primary); color: #fff; border: none; padding: var(--space-4) var(--space-6); border-radius: var(--radius-md);
  font-weight: 700; cursor: pointer; box-shadow: 0 5px 15px rgba(225,29,72,.3);
  transition: all .2s ease; text-decoration: none; display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(225,29,72,.4); background: var(--primary-hover); }
.btn-primary:active { transform: scale(0.97); transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.btn-outline { display: inline-block; padding: var(--space-3) var(--space-5); border: 1.5px solid var(--border); border-radius: var(--radius-md); font-weight: 700; text-decoration: none; color: var(--dark); transition: all .2s; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline:active { transform: scale(0.97); transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (prefers-reduced-motion: reduce) {
  .btn-primary:active, .btn-outline:active {
      transform: none;
      filter: brightness(0.95);
      transition: filter 120ms ease;
    }
}
.link-arrow { color: var(--primary); font-weight: 700; text-decoration: none; }
.section-heading { font-size: 2.2rem; font-weight: 800; margin-bottom: 40px; }
.badge, .hero-tag { color: var(--primary-text); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.diagonal-hero {
  position: relative; background: var(--hero-bg); color: var(--hero-text);
  padding: 120px 0 160px; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  border-bottom: 1px solid var(--border);
}
.hero-container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-text-side { display: flex; flex-direction: column; align-items: flex-start; }
.hero-tag { margin-bottom: 20px; color: var(--hero-accent); }
.hero-container .hero-title { color: var(--hero-text); }
.hero-title { font-size: 4rem; font-weight: 800; max-width: 800px; line-height: 1.05; }
.hero-title span { color: var(--primary); }
.hero-text-side .btn-primary { margin-top: 40px; }
.hero-image-side { position: relative; width: 100%; display: flex; justify-content: center; perspective: 1000px; }
.tilt-card {
  position: relative; z-index: 1; width: 100%; max-width: 460px; aspect-ratio: 4/3; border-radius: 20px;
  overflow: hidden; border: 1.5px solid var(--border); box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
  background: #111827; transform-style: preserve-3d; transition: transform .15s ease-out, box-shadow .3s ease; cursor: pointer;
}
.hero-starfield { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sun-wrap {
  position: absolute; top: 50%; left: 50%; width: 165%; max-width: 780px; aspect-ratio: 1;
  transform: translate(-50%, -50%); z-index: 0; pointer-events: none;
}
.sun-wrap .sun {
  position: absolute; top: 50%; left: 50%; width: 64%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%); opacity: .9;
  background: radial-gradient(circle at center,
    rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 14%,
    rgba(253,230,138,.55) 34%, rgba(125,211,252,.28) 60%, transparent 78%);
  filter: blur(38px);
}
@media (prefers-reduced-motion: no-preference) {
  .sun-wrap .sun { animation: sunBreathe 5s ease-in-out infinite; }
}
@keyframes sunBreathe {
  0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}
.hero-starfield .star-spike {
  position: absolute; top: var(--y); left: var(--x); width: var(--size); height: var(--size);
  transform: translate(-50%, -50%); opacity: 0;
  filter: drop-shadow(0 0 4px var(--color, #fff)) drop-shadow(0 0 12px var(--color, #fff));
}
@media (prefers-reduced-motion: no-preference) {
  .hero-starfield .star-spike {
      animation: starSpikeTwinkle var(--dur, 4s) ease-in-out infinite;
      animation-delay: var(--delay, 0s);
    }
}
.hero-starfield .star-spike::before, .hero-starfield .star-spike::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 190%; height: 2%;
  background: linear-gradient(90deg, transparent 0%, var(--color, #fff) 42%, #fff 50%, var(--color, #fff) 58%, transparent 100%);
  transform: translate(-50%, -50%);
}
.hero-starfield .star-spike::after { transform: translate(-50%, -50%) rotate(90deg); }
.hero-starfield .star-spike .spike-core {
  position: absolute; top: 50%; left: 50%; width: 22%; height: 22%; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0%, var(--color, #fff) 45%, transparent 75%);
  filter: drop-shadow(0 0 8px var(--color, #fff)) drop-shadow(0 0 18px var(--color, #fff));
}
@keyframes starSpikeTwinkle {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.7); }
  15%      { opacity: calc(var(--peak, 1) * .3); transform: translate(-50%, -50%) scale(.85); }
  50%      { opacity: var(--peak, 1); transform: translate(-50%, -50%) scale(1.05); }
  85%      { opacity: calc(var(--peak, 1) * .3); transform: translate(-50%, -50%) scale(.9); }
}
.hero-starfield .mini-star { position: absolute; border-radius: 50%; opacity: .08; }
@media (prefers-reduced-motion: no-preference) {
  .hero-starfield .mini-star {
      animation-name: miniStarTwinkle; animation-timing-function: ease-in-out; animation-iteration-count: infinite;
    }
}
@keyframes miniStarTwinkle {
  0%, 100% { opacity: .08; }
  50% { opacity: var(--peak, .6); }
}
.tilt-card:hover { box-shadow: 0 35px 60px -10px rgba(225,29,72,.2); }
.tilt-img { display: block; width: 100%; height: 100%; object-fit: cover; transform: translateZ(20px) scale(1.06); transition: transform .3s ease; }
.tilt-sheen { position: absolute; inset: 0; background: radial-gradient(circle at var(--sheen-x,50%) var(--sheen-y,50%), rgba(255,255,255,.2) 0%, transparent 60%); pointer-events: none; mix-blend-mode: overlay; z-index: 2; }
.tilt-label { position: absolute; bottom: 20px; left: 20px; background: rgba(225,29,72,.95); color: #fff; padding: 8px 16px; font-size: .8rem; border-radius: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; transform: translateZ(35px); box-shadow: 0 5px 15px rgba(0,0,0,.2); }
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-text-side { align-items: center; }
  .hero-title { font-size: 2.6rem; }
}
.showcase-section {
  max-width: 1100px; margin: -60px auto 40px; position: relative; z-index: 10;
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,.03); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.showcase-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; }
.showcase-section p { line-height: 1.7; margin-bottom: 25px; color: var(--muted); }
.slanted-grid { display: flex; width: 100%; height: 300px; gap: 15px; }
.slanted-col { flex: 1; height: 100%; border-radius: 12px; overflow: hidden; position: relative; transition: all .4s cubic-bezier(.16,1,.3,1); border: 1px solid var(--border); cursor: pointer; }
.slanted-col-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s ease; }
.slanted-col:hover { flex: 2.2; border-color: var(--primary); box-shadow: 0 0 20px rgba(225,29,72,.25); }
.slanted-col:hover .slanted-col-bg { transform: scale(1.05); }
.col-label { position: absolute; bottom: 15px; left: 15px; background: rgba(0,0,0,.75); color: #fff; padding: 4px 8px; font-size: .75rem; border-radius: 4px; font-weight: 700; }
@media (max-width: 768px) {
  .showcase-section { grid-template-columns: 1fr; margin-top: 20px; }
}
.diagonal-grid-3 { max-width: 1100px; margin: 60px auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.diagonal-card { border-left: 4px solid var(--primary); background: var(--card); border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: var(--space-5); border-radius: 0 var(--radius-md) var(--radius-md) 0; transition: all .2s ease; }
.diagonal-card:hover { transform: translateX(4px); background: rgba(225,29,72,.02); }
.diagonal-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.diagonal-card p { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 768px) {
  .diagonal-grid-3 { grid-template-columns: 1fr; }
}
.cats-wrap { max-width: 1100px; margin: 60px auto 100px; }
.cats-wrap > h2 { font-size: 2.2rem; font-weight: 800; text-align: center; margin-bottom: 50px; }
.cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cats-item { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-lg); padding: var(--space-5); transition: all .2s ease; }
.cats-item:hover { border-color: var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,.02); }
.cats-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cats-item .num { font-weight: 800; color: var(--primary); }
.cats-glyph { display: inline-flex; width: 44px; height: 44px; color: var(--muted); transition: color .2s ease; }
.cats-glyph-svg { width: 100%; height: 100%; }
.cats-item:hover .cats-glyph, .cats-item:focus-within .cats-glyph { color: var(--primary); }
.cats-icon { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); background: var(--card); flex-shrink: 0; }
.cats-item:hover .cats-icon { border-color: var(--primary); }
.cats-item h3 { font-size: 1.25rem; font-weight: 700; margin: 12px 0 8px; }
.cats-item p { color: var(--muted); font-size: .9rem; line-height: 1.5; margin-bottom: 15px; }
.cats-item .btn-primary { padding: var(--space-2) var(--space-4); font-size: .85rem; border-radius: var(--radius-sm); }
@media (max-width: 992px) {
  .cats-grid { grid-template-columns: 1fr; }
  .diagonal-grid-3 { grid-template-columns: 1fr; }
}
.catalog { max-width: 1200px; margin: 60px auto 100px; }
.catalog-toolbar {
  display: flex; align-items: flex-end; gap: var(--space-5); flex-wrap: wrap;
  margin-bottom: var(--space-9); padding: var(--space-4) var(--space-5); background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-md);
}
.select-field {
  display: flex; flex-direction: column; gap: var(--space-1); min-width: 200px;
  transition: opacity 150ms ease;
}
.select-field.is-disabled { opacity: .5; }
.select-field label { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.select-wrap { position: relative; }
.select-wrap select {
  width: 100%; appearance: none; -webkit-appearance: none; font: inherit; font-weight: 700; font-size: .88rem;
  padding: var(--space-3) var(--space-7) var(--space-3) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--light); color: var(--dark); cursor: pointer;
}
.select-wrap select:focus { outline: 2px solid rgba(225,29,72,.3); border-color: var(--primary); }
.select-wrap select:hover:not(:disabled) { border-color: var(--primary); }
.select-wrap select:disabled { cursor: not-allowed; }
.select-chevron { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.result-count { margin-left: auto; font-size: .85rem; color: var(--muted); white-space: nowrap; padding-bottom: 10px; }
.result-count strong { color: var(--dark); font-size: 1.05rem; }
@media (max-width: 640px) {
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .result-count { margin-left: 0; padding-bottom: 0; }
}
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.catalog-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 20px; border: 1px dashed var(--border); border-radius: var(--radius-md); }
.product-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--card); transition: all .2s ease; display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--primary); box-shadow: 0 10px 25px rgba(0,0,0,.05); }
.product-card.is-draft { border-style: dashed; opacity: .85; }
.draft-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: #fde68a; color: #78350f; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-radius: var(--radius-sm); padding: 3px 7px; }
.product-compare-check { position: absolute; top: 10px; right: 10px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px 7px; font-size: .72rem; font-weight: 700; display: flex; gap: 4px; align-items: center; z-index: 2; }
.product-img-box { position: relative; aspect-ratio: 1 / 1; background: var(--photo-bg); overflow: hidden; }
.product-img-box img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: var(--space-5); mix-blend-mode: darken;
}
.product-info-box { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-brand { color: var(--primary); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.product-brand-logo { display: block; height: 22px; width: auto; max-width: 110px; object-fit: contain; object-position: left center; margin-bottom: 2px; }
.pd-brand-logo { display: block; height: 28px; width: auto; max-width: 160px; object-fit: contain; margin: 0 auto; }
.product-name { font-size: 1.1rem; font-weight: 800; }
.product-specs-summary { list-style: none; font-size: .82rem; color: var(--muted); margin: 6px 0; }
.product-specs-summary li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border); padding: 3px 0; }
.product-card .btn-outline { margin-top: auto; text-align: center; border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); }
.split-layout { display: grid; grid-template-columns: 1.1fr .9fr; min-height: calc(100vh - 80px); }
.left-pane { background: rgba(0,0,0,.01); padding: 60px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid var(--border); position: sticky; top: 80px; height: calc(100vh - 80px); gap: 20px; }
.right-pane { padding: 60px; overflow-y: auto; }
.split-main-image { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; background: var(--photo-bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; }
.split-main-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: var(--space-6); mix-blend-mode: darken; }
.product-img-box.is-fallback img, .split-main-image.is-fallback img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.split-thumbnails { display: flex; gap: 10px; flex-wrap: wrap; }
.split-thumb { width: 60px; height: 60px; border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: zoom-in; background: var(--photo-bg); overflow: hidden; }
.split-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: darken; }
.split-thumb.active { border-color: var(--primary); }
.pd-name { font-size: 2.2rem; font-weight: 800; text-align: center; }
.pd-sub { color: var(--primary); font-weight: 600; }
.pd-crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.pd-crumbs a { color: var(--primary-text); text-decoration: none; text-underline-offset: 3px; transition: color .15s ease; }
.pd-crumbs a:hover { text-decoration: underline; }
.pd-crumbs.has-sub a:first-child { color: var(--muted); }
.pd-crumbs.has-sub a:first-child:hover { color: var(--primary-text); }
.pd-crumbs .sep { color: var(--muted); }
.accordion-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.accordion-header { font-size: 1.2rem; font-weight: 700; display: flex; justify-content: space-between; cursor: pointer; }
.accordion-header::after { content: "+"; color: var(--primary); }
.accordion-item.open .accordion-header::after { content: "–"; }
.accordion-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms cubic-bezier(0.23, 1, 0.32, 1);
}
.accordion-item.open .accordion-collapse {
  grid-template-rows: 1fr;
}
.accordion-content {
  padding-top: 15px; font-size: .95rem; line-height: 1.6; color: var(--muted);
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity 250ms cubic-bezier(0.23, 1, 0.32, 1);
}
.accordion-item.open .accordion-content {
  opacity: 1;
}
.rt > * + * { margin-top: .75em; }
.rt ul, .rt ol { padding-left: 1.25em; }
.rt li + li { margin-top: .3em; }
.rt h2, .rt h3, .rt h4 { color: inherit; font-weight: 700; line-height: 1.25; }
.rt h2 { font-size: 1.35rem; }
.rt h3 { font-size: 1.15rem; }
.rt h4 { font-size: 1rem; }
.rt a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ta-left { text-align: left; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-justify { text-align: justify; }
@media (prefers-reduced-motion: reduce) {
  .accordion-collapse { transition: none; }
}
.spec-table-split { width: 100%; border-collapse: collapse; margin-top: 15px; }
.spec-table-split td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.spec-table-split td:first-child { color: var(--primary); font-weight: 600; }
.spec-table-split td:last-child { font-weight: 700; text-align: right; }
@media (max-width: 992px) {
  .split-layout { grid-template-columns: 1fr; }
  .left-pane { position: relative; height: auto; padding: 40px 20px; }
  .right-pane { padding: 40px 20px; }
}
.lightbox {
  position: fixed; inset: 0; z-index: 100002; display: flex; align-items: center; justify-content: center; background: rgba(8,11,18,.94); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 1; visibility: visible;
  transition: opacity 200ms ease, visibility 0s linear 0s;
}
.lightbox[hidden] {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.lb-img {
  max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px; cursor: zoom-in; will-change: transform; touch-action: none; user-select: none;
  scale: 1;
  transition: transform .12s ease, scale 250ms cubic-bezier(0.23, 1, 0.32, 1);
}
.lightbox[hidden] .lb-img {
  scale: 0.96;
}
@media (prefers-reduced-motion: reduce) {
  .lightbox[hidden] .lb-img {
      scale: 1;
    }
}
.lb-img.zoomed { cursor: grab; }
.lb-img.zoomed:active { cursor: grabbing; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; width: 48px; height: 48px; font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.lb-btn:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-size: .85rem; font-weight: 700; letter-spacing: .05em; }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ref-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ref-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #1e293b, #334155); }
.ref-g { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.ref-band { background: var(--hero-bg); color: #fff; clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%); padding: 120px 0; margin: 40px 0; }
.ref-band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.ref-band-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 8px; }
.ref-band-head p { color: #94a3b8; max-width: 520px; margin-top: 10px; line-height: 1.6; }
.ref-band-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #fff; color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem;
  padding: 11px 20px; border-radius: var(--radius-sm); transition: background .2s ease, color .2s ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1); }
.ref-band-btn:hover { background: #fff; color: #0f172a; }
.ref-band-btn:active { transform: scale(.97); }
.ref-strip { display: flex; gap: 12px; height: 380px; }
.ref-col { position: relative; flex: 1; min-width: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  color: #fff; text-decoration: none; outline: none; transition: flex .45s cubic-bezier(0.23, 1, 0.32, 1), border-color .2s ease; }
.ref-col img, .ref-col .ref-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(0.23, 1, 0.32, 1); }
.ref-col::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,.1), rgba(15,23,42,.9)); }
.ref-col:hover, .ref-col:focus-visible { flex: 2.4; border-color: var(--primary); }
.ref-col:hover img { transform: scale(1.05); }
.ref-col-text { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; }
.ref-col-text .ref-g { color: #fda4af; }
.ref-col-text h3 { font-size: 1rem; font-weight: 800; line-height: 1.25; margin-top: 4px; }
.ref-col-text p { font-size: .8rem; color: #cbd5e1; margin-top: 2px; max-height: 0; opacity: 0; overflow: hidden; transition: opacity .25s ease .1s; }
.ref-col:hover .ref-col-text p, .ref-col:focus-visible .ref-col-text p { max-height: 2.4em; opacity: 1; }
@media (max-width: 860px), (hover: none) {
  .ref-strip { overflow-x: auto; scroll-snap-type: x mandatory; height: 320px; }
  .ref-col, .ref-col:hover, .ref-col:focus-visible { flex: 0 0 72%; scroll-snap-align: start; }
  .ref-col-text p { max-height: 2.4em; opacity: 1; }
}
.ref-hero { background: var(--hero-bg); color: #fff; padding: 72px 0 120px; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
.ref-crumb { font-size: .85rem; color: #94a3b8; margin-bottom: 14px; }
.ref-crumb a { color: #94a3b8; text-decoration: none; }
.ref-crumb a:hover { color: #fff; }
.ref-hero-title { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 10px; }
.ref-hero-sub { color: #cbd5e1; max-width: 600px; margin-top: 12px; line-height: 1.6; }
.ref-location { display: flex; align-items: center; gap: 8px; color: #cbd5e1; margin-top: 14px; font-weight: 600; }
.ref-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 40px; padding-bottom: 100px; }
.ref-sidebar { position: sticky; top: 110px; }
.ref-side-title { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; font-weight: 800; }
.ref-side-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.ref-side-list button { width: 100%; font: inherit; font-size: .92rem; font-weight: 600; text-align: left; cursor: pointer; background: none; border: 0;
  border-left: 3px solid transparent; padding: 9px 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; transition: color .15s ease, background .15s ease, border-color .15s ease; }
.ref-side-list button:hover { color: var(--dark); background: var(--card); }
.ref-side-list button[aria-pressed="true"] { color: var(--dark); border-left-color: var(--primary); background: var(--card); }
.ref-side-list .n { font-size: .8rem; color: var(--muted); }
.ref-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ref-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; color: inherit; text-decoration: none; transition: border-color .2s ease; }
.ref-row[hidden] { display: none; }
a.ref-row:hover { border-color: var(--primary); }
.ref-row-img { width: 100%; height: 100%; min-height: 120px; object-fit: cover; }
.ref-row-text { padding: 16px 18px; align-self: center; min-width: 0; }
.ref-row-text h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.3; margin-top: 4px; }
.ref-row-text p { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.ref-draft { display: inline-block; margin-top: 6px; font-size: .7rem; font-weight: 800; color: #78350f; background: #fde68a; padding: 2px 6px; border-radius: 4px; }
.ref-empty { color: var(--muted); padding: 32px 0; }
.ref-empty[hidden] { display: none; }
@media (max-width: 960px) {
  .ref-layout { grid-template-columns: 1fr; }
  .ref-sidebar { position: static; }
  .ref-side-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .ref-side-list button { width: auto; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
  .ref-side-list button[aria-pressed="true"] { background: var(--dark); color: var(--light); border-color: var(--dark); }
  .ref-list { grid-template-columns: 1fr; }
}
.ref-detail { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 40px; padding-bottom: 100px; }
.ref-detail-media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
.ref-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.ref-description { line-height: 1.75; color: var(--muted); margin-bottom: 28px; }
.ref-description p + p { margin-top: 12px; }
.ref-side-heading { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; border-left: 3px solid var(--primary); padding-left: 10px; margin-bottom: 14px; }
.ref-products { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.ref-product { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); color: inherit; text-decoration: none; transition: border-color .2s ease; }
.ref-product:hover { border-color: var(--primary); }
.ref-product img, .ref-product-ph { width: 64px; height: 64px; object-fit: contain; padding: 4px; border-radius: var(--radius-sm); background: var(--photo-bg); display: block; }
.ref-product img { mix-blend-mode: darken; }
.ref-product-text { min-width: 0; }
.ref-product .brand { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ref-product .name { display: block; font-weight: 800; }
.ref-product .go { color: var(--muted); transition: transform .2s cubic-bezier(0.23, 1, 0.32, 1), color .15s ease; }
.ref-product:hover .go { color: var(--primary); transform: translateX(3px); }
@media (max-width: 960px) {
  .ref-detail { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .ref-col, .ref-col img, .ref-col .ref-ph, .ref-product .go { transition: none; }
  .ref-col:hover img, .ref-product:hover .go { transform: none; }
}
.preview-flag { background: #fde68a; color: #78350f; padding: .5rem; text-align: center; font-weight: 700; }
@media (max-width: 640px) {
  .lb-btn { width: 42px; height: 42px; font-size: 1.3rem; }
  .lb-close { top: 12px; right: 12px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}
.contact { max-width: 1100px; margin: 80px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact h2 { font-size: 2rem; font-weight: 800; margin-bottom: 15px; }
.contact .lead { color: var(--muted); margin-bottom: 25px; line-height: 1.6; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact-item h3 { font-size: .8rem; text-transform: uppercase; color: var(--primary-text); letter-spacing: .05em; }
.contact-item p { color: var(--muted); }
.contact-form-wrapper { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-5); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 5px; }
.form-control { width: 100%; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; background: var(--light); color: var(--dark); }
.form-control:focus { outline: 2px solid rgba(225,29,72,.3); border-color: var(--primary); }
textarea.form-control { min-height: 100px; }
.form-status { margin-top: 10px; font-size: .85rem; }
@media (max-width: 768px) {
  .contact { grid-template-columns: 1fr; margin: 50px auto; }
}
footer { background: #0f172a; color: #cbd5e1; margin-top: 80px; }
[data-theme="high-contrast"] footer { border-top: 2px solid #fff; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 60px 24px 30px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
footer .logo { color: #fff; margin-bottom: 14px; }
.footer-about { line-height: 1.7; font-size: .9rem; opacity: .8; max-width: 340px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 14px; font-size: .95rem; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links-list a { color: #cbd5e1; text-decoration: none; font-size: .9rem; }
.footer-links-list a:hover { color: var(--primary); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; font-size: .8rem; opacity: .7; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.compare-bar { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--dark); color: #fff; border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); display: flex; gap: 18px; align-items: center; z-index: 9000; transition: transform .3s ease; box-shadow: 0 15px 40px rgba(0,0,0,.3); }
.compare-bar.active { transform: translateX(-50%) translateY(0); }
.compare-bar-text span { color: var(--primary); font-weight: 800; }
.compare-actions { display: flex; gap: 8px; }
.btn-compare-clear { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); font-weight: 700; font-size: .8rem; cursor: pointer; }
.compare-modal {
  position: fixed; inset: 0; background: rgba(15,23,42,.6); z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.compare-modal.active {
  opacity: 1; visibility: visible;
  transition: opacity 200ms ease, visibility 0s linear 0s;
}
.compare-modal-content {
  background: var(--card); border-radius: var(--radius-md); max-width: 900px; width: 100%; max-height: 85vh; overflow: auto; padding: var(--space-5); position: relative;
  transform: scale(0.96);
  transition: transform 250ms cubic-bezier(0.23, 1, 0.32, 1);
}
.compare-modal.active .compare-modal-content {
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .compare-modal-content {
      transform: none;
      transition: none;
    }
}
.close-modal { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--dark); }
.compare-modal-title { font-weight: 800; margin-bottom: 18px; }
.compare-table-wrapper { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: .88rem; }
.compare-table td:first-child { font-weight: 700; color: var(--muted); }
.compare-prod-header img { width: 70px; height: 55px; object-fit: cover; border-radius: 6px; }
.spec-highlight { color: var(--primary); font-weight: 800; }
/* ==== Ende: Fußbereich ==== */

/* ==== 3D Enerji: Paket ==== */
.hero-title .ht-a { color: var(--hero-text); }
body { padding-top: 80px; }
.site-header { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.ref-layout { grid-template-columns: minmax(0, 1fr); }
.kp-lead { max-width: 820px; margin: 0 auto 3rem; padding: 0 1rem; }
.kp-lead h1 { margin: .2rem 0 1rem; }
.kp-rich { max-width: 820px; margin: 0 auto; padding: 0 1rem; line-height: 1.75; }
.contact-form-wrapper .field { display: block; margin-bottom: 14px; font-weight: 700; font-size: .85rem; }
.contact-form-wrapper .field input, .contact-form-wrapper .field textarea, .contact-form-wrapper .field select {
  display: block; width: 100%; margin-top: 5px; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; font-weight: 400; background: var(--light); color: var(--dark); }
.contact-form-wrapper .field input:focus, .contact-form-wrapper .field textarea:focus { outline: 2px solid rgba(225,29,72,.3); border-color: var(--primary); }
.contact-form-wrapper .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .contact-form-wrapper .grid-2 { grid-template-columns: 1fr; } }
.contact-form-wrapper .check { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; margin: 6px 0 14px; }
.contact-form-wrapper .btn { width: 100%; }
.contact-form-wrapper .hp { position: absolute; left: -9999px; }
.contact-form-wrapper .form-status.is-error { color: #b42318; }
/* ==== Ende: 3D Enerji ==== */

/* 3D Enerji: Die Sonne im Hero darf die Seite nicht breiter als das Fenster machen (seitliches Verschieben auf schmalen Fenstern). */
.diagonal-hero { overflow: hidden; }

/* Kennzahlen der Startseite (.stat-row) */
.stat-row { max-width: 1100px; margin: 60px auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; padding: 0 24px; }
.stat-value { display: block; font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat-label { display: block; color: var(--muted); font-weight: 600; margin-top: 6px; }

/* Startseite: Fragen (.faq-block, .faq-a) und Aufruf (.cta-block) */
.faq-block { max-width: 820px; margin: 60px auto; padding: 0 24px; }
.faq-a { color: var(--muted); padding-bottom: 18px; line-height: 1.65; }
.faq-a p { margin: 0; }
.cta-block { max-width: 900px; margin: 80px auto; padding: 48px 32px; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: 20px; }
.cta-block h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; }
.cta-block .rt { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
@media (max-width: 600px) { .cta-block { margin: 48px 16px; padding: 32px 20px; } }

/* Bildstellen der Startseite (Bildfelder; ohne gewähltes Bild bleibt die Stelle wie bisher) */
.tilt-img, .slanted-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slanted-img { transition: transform .4s ease; }
.slanted-col:hover .slanted-img { transform: scale(1.05); }
.cats-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 16px; }
.tilt-img[src^="data:"], .slanted-img[src^="data:"], .cats-img[src^="data:"], .ref-col img[src^="data:"] { display: none; }

/* ==== Kategorie-Karten (Baustein catalog_categories): Aussehen der Produktgruppen ==== */
#categories .ct-cats { margin: 0; }
#categories .ct-cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ct-cat { display: flex; flex-direction: column; gap: 0; align-items: flex-start; aspect-ratio: 1 / 1; position: relative; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-lg); padding: var(--space-5); transition: all .2s ease; }
.ct-cat:hover, .ct-cat:focus-within { border-color: var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,.02); }
.ct-cat-icon { display: inline-flex; width: 44px; height: 44px; color: var(--muted); transition: color .2s ease; }
.ct-cat-icon svg { width: 100%; height: 100%; display: block; }
.ct-cat:hover .ct-cat-icon, .ct-cat:focus-within .ct-cat-icon { color: var(--primary); }
.ct-cat-name { font-size: 1.25rem; font-weight: 700; margin: 12px 0 8px; color: inherit; }
.ct-cat-text { color: var(--muted); font-size: .9rem; line-height: 1.5; margin: 0 0 15px; }
.ct-cat-link { margin-top: auto; background: var(--primary); color: #fff; border: none; padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); font-size: .85rem; font-weight: 700; box-shadow: 0 5px 15px rgba(225,29,72,.3); transition: all .2s ease; }
.ct-cat-link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(225,29,72,.4); background: var(--primary-hover); }
@media (max-width: 992px) { #categories .ct-cats-grid { grid-template-columns: 1fr; } }
.ct-cat-for { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 992px) { .ct-cat { aspect-ratio: auto; } }

/* Produktgruppen-Karten: kein Unterstrich bei Hover/Fokus */
.ct-cat-link, .ct-cat-link:hover, .ct-cat-link:focus, .ct-cat:hover .ct-cat-link { text-decoration: none !important; }

/* Kategorie-Karten kompakt: Höhe nach Inhalt, nicht quadratisch */
#categories .ct-cats-grid { gap: 20px; }
#categories .ct-cat, .ct-cat { aspect-ratio: auto; padding: 22px 24px; }
.ct-cat-icon { width: 36px; height: 36px; }
.ct-cat-name { font-size: 1.1rem; margin: 10px 0 6px; }
.ct-cat-text { font-size: .88rem; line-height: 1.45; margin: 0 0 12px; }
.ct-cat-link { margin-top: 4px; }

/* Handy-Menü (Burger + Panel unter der Kopfzeile), nutzt das vorhandene site.js */
.hdr-burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; color: var(--dark); background: none; border: 0; padding: 0; cursor: pointer; }
.hdr-burger:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
#header .hdr-menu { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 80px); overflow-y: auto; padding: 8px 24px 20px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 14px 28px rgba(15,23,42,.10); }
#header .hdr-menu[hidden] { display: none; }
#header .hdr-menu a { display: block; padding: 14px 4px; font-weight: 700; color: var(--dark); border-bottom: 1px solid var(--border); text-decoration: none; }
#header .hdr-menu a[aria-current="page"] { color: var(--primary); }
@media (max-width: 768px) { .hdr-burger { display: inline-flex; } }
@media (min-width: 769px) { .hdr-burger, #header .hdr-menu { display: none !important; } }

/* Katalogkarten: einheitliches quadratisches Bildfeld (das Seiten-CSS "img { height: auto }" schlägt sonst die Modul-Regeln) */
.ct-card-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--photo-bg); }
.ct-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: var(--space-4); mix-blend-mode: darken; }

/* Menüpunkte springen zu Abschnitten der Startseite: die feste Kopfzeile darf die Überschrift nicht verdecken */
#home, #services, #categories, #references, #contact { scroll-margin-top: 90px; }

/* Plakette "Referanslar" im dunklen Band: genug Kontrast (vorher #dc1c47 auf #0f172a = 3,7:1, jetzt 6,6:1) */
.ref-band .badge { color: #fb7185; }

/* ==== Kopfzeile: Logo links, Menü mittig, Aktionen rechts (Schriftgröße, Sprache, Hell/Dunkel, Burger) ==== */
#header .nav-container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
#header .logo { justify-self: start; gap: 10px; }
#header .logo-mark { display: block; height: 40px; width: auto; }
#header .logo-word { color: #e2001a; font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; }
#header .hdr-actions { justify-self: end; margin-left: 0; gap: 10px; }
#header .font-sizer { display: flex; }
#header .font-btn { width: auto; min-width: 30px; padding: 0 7px; }
#header .lang-switch { margin-right: 0; padding-left: 10px; border-left: 1px solid var(--border); }
#header .lang-switch a { color: var(--dark); }
#header .lang-switch a.is-current { background: none; color: var(--primary); }
#header .lang-switch a:hover { background: rgba(0,0,0,.05); color: var(--dark); }
[data-theme="dark"] #header .lang-switch a:hover { background: rgba(255,255,255,.08); }
@media (max-width: 1040px) { #header .font-sizer { display: none; } #header .nav-links { gap: 20px; } }
@media (max-width: 768px) { #header .nav-container { grid-template-columns: 1fr auto; } #header .hdr-menu { grid-column: 1 / -1; } }

/* Kopfzeile im Dunkelmodus: --dark ist dort fast schwarz (nur für Flächen); Schrift und Symbole nehmen --ink */
[data-theme="dark"] #header .nav-link,
[data-theme="dark"] #header .font-btn,
[data-theme="dark"] #header .lang-switch a,
[data-theme="dark"] #header .hdr-burger { color: var(--ink); }
[data-theme="dark"] #header .font-btn.active { color: #fff; }
[data-theme="dark"] #header .lang-switch a.is-current { color: var(--primary-text); }
[data-theme="dark"] #header .hdr-menu { background: var(--surface); border-bottom-color: var(--line); }
[data-theme="dark"] #header .hdr-menu a { color: var(--ink); border-bottom-color: var(--line); }
[data-theme="dark"] #header .hdr-menu a[aria-current="page"] { color: var(--primary-text); }
[data-theme="dark"] #header .lang-switch { border-left-color: var(--line); }

/* Produktseite: Bild nicht abschneiden, Vorschaubilder, Dokumente */
.left-pane { height: auto; min-height: calc(100vh - 80px); align-self: start; justify-content: flex-start; }
.split-main-image { flex: 0 0 auto; }
.split-main-image img, .split-main-image.is-fallback img { object-fit: contain; padding: var(--space-4); mix-blend-mode: normal; filter: drop-shadow(0 10px 18px rgba(15, 23, 42, .18)); }
.split-main-image:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.pd-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 440px; }
.pd-thumb { position: relative; width: 76px; height: 76px; padding: 6px; overflow: hidden; background: var(--photo-bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.pd-thumb picture { display: block; width: 100%; height: 100%; }
.pd-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: normal; }
.pd-thumb:hover, .pd-thumb:focus-visible { border-color: var(--primary); }
.pd-thumb[aria-current="true"] { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.pd-thumbs:not(:has(.pd-thumb + .pd-thumb)) { display: none; }
.pd-docs { list-style: none; margin: 15px 0 0; padding: 0; }
.pd-docs li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.pd-docs a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary-text); text-decoration: none; }
.pd-docs a::before { content: "PDF"; font-size: .68rem; font-weight: 800; letter-spacing: .06em; padding: 3px 6px; border-radius: 4px; background: var(--photo-bg); color: var(--muted); }
.pd-docs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.accordion-item:not(:has(.pd-docs li)) .pd-docs, .accordion-item.pd-docs-wrap:not(:has(.pd-docs li)) { display: none; }
@media (max-width: 992px) { .left-pane { min-height: 0; } }

/* Produktseite: linke Spalte nicht mehr festkleben, wenn der Bildschirm niedrig ist (sonst ragen Vorschaubilder und Name unten heraus); Dokumente nur, wenn es welche gibt */
@media (max-height: 880px) { .left-pane { position: relative; top: 0; } }
.accordion-item:has(.pd-docs):not(:has(.pd-docs li)) { display: none; }

/* Produktseite: Bild passt sich der Fensterhöhe an (Vorschaubilder bleiben sichtbar); auf dem Handy vier Vorschaubilder in einer Zeile */
@media (min-width: 993px) { .split-main-image { max-width: clamp(260px, calc(100vh - 440px), 440px); } }
@media (max-width: 480px) { .pd-thumb { width: 68px; height: 68px; } .pd-thumbs { gap: 8px; } }

/* Katalog-Filter: Suchfeld und Auswahlen als ruhige Karte im Stil der Website */
.ct-filters { gap: 16px 20px; padding: 22px; margin: 0 0 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.ct-filters label:not(.ct-search) { gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .15s ease; }
.ct-filters select, .ct-filters input[type=search] { -webkit-appearance: none; appearance: none; height: 50px; padding: 0 16px; font: 600 .98rem var(--font); letter-spacing: 0; text-transform: none; color: var(--ink); background-color: var(--bg-alt); border: 1.5px solid var(--border); border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.ct-filters select { padding-right: 44px; cursor: pointer; background-repeat: no-repeat; background-position: right 16px center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.ct-filters input[type=search] { height: 58px; padding-left: 52px; font-size: 1.05rem; font-weight: 500; border-radius: var(--radius-md); background-position: 19px center; background-size: 20px 20px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.ct-filters input[type=search]::placeholder { color: var(--muted); font-weight: 500; opacity: 1; }
.ct-filters select:hover, .ct-filters input[type=search]:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); }
.ct-filters select:focus-visible, .ct-filters input[type=search]:focus-visible { outline: none; background-color: var(--surface); border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.ct-filters label:has(select option:checked:not([value=""])) { color: var(--primary-text); }
.ct-filters label:has(select option:checked:not([value=""])) select { border-color: var(--primary); background-color: color-mix(in srgb, var(--primary) 6%, var(--surface)); }
.ct-count { margin: 0 0 20px; font-size: .95rem; font-weight: 600; color: var(--muted); }
@media (max-width: 640px) { .ct-filters { padding: 16px; gap: 14px; margin-bottom: 24px; } .ct-filters input[type=search] { height: 54px; } }

/* Kopfzeile: die Menüliste hatte den Standard-Außenabstand des Browsers (17 px oben und unten) und machte den Kopf 103 statt 80 px hoch;
   die Breadcrumbs unter dem festen Kopf waren dadurch verdeckt */
#header .nav-links { margin: 0; padding: 0; }
#header { padding-top: 18px; padding-bottom: 18px; }

/* Marken-Logos (Katalog 1.7.0): freigestellt, im Dunkelmodus aufgehellt */
.ct-card .ct-brand-logo img { height: 1.9rem; width: auto; max-width: 9rem; object-fit: contain; object-position: left center; }
.pd-brand { display: flex; flex-direction: column; align-items: center; }
.pd-brand img { display: block; height: 2.8rem; width: auto; max-width: 14rem; object-fit: contain; margin: 0 auto 6px; }
.pd-brand img[src^="data:"] { display: none; }
.pd-brand:has(img:not([src^="data:"])) .pd-sub { display: none; }
:root[data-theme="dark"] .ct-brand-logo img,
:root[data-theme="dark"] .pd-brand img { filter: invert(1) hue-rotate(180deg); }

/* Produktbilder in der Übersicht (Katalog 1.7.1): Bilder mit transparentem Grund liegen normal auf dem dunkleren Hintergrund und werfen einen Schatten; Bilder mit weißem Grund bleiben bei darken */
.ct-card-img.is-alpha img { mix-blend-mode: normal; filter: drop-shadow(0 8px 12px rgba(15, 23, 42, .22)); }

/* Startseite, Band Referanslar: Titel weiß und lesbar auf dem Bild */
.ref-col-text h3 { color: #fff; text-shadow: 0 1px 10px rgba(2, 6, 23, .55); }
.ref-col::after { background: linear-gradient(180deg, rgba(15, 23, 42, .05) 30%, rgba(15, 23, 42, .92)); }

/* Referenz-Einzelseite (Referenzen 1.1.0): wie die Produktseite — links Bild und Titel, rechts alle Angaben */
.rf-detail { padding: 0; }
.rf-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; max-width: none; margin: 0; padding: 0; min-height: calc(100vh - 80px); align-items: stretch; }
.rf-left { background: rgba(0, 0, 0, .01); padding: 40px 60px 60px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 20px; border-right: 1px solid var(--border); }
.rf-left .rf-back { align-self: flex-start; margin: 0; }
.rf-left .rf-back a { color: var(--primary); font-weight: 700; text-decoration: none; }
.rf-cover { width: 100%; max-width: 640px; margin: 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--photo-bg); }
.rf-cover img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 0; }
.rf-left h1 { font-size: 2.2rem; font-weight: 800; text-align: center; margin: 0; }
.rf-gallery { width: 100%; max-width: 640px; }
.rf-right { padding: 60px; }
.rf-details-title { font-size: 1.8rem; font-weight: 800; margin: 0 0 12px; }
.rf-facts { margin: 0 0 6px; }
.rf-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.rf-facts dt { color: var(--primary); font-weight: 600; }
.rf-facts dd { margin: 0; font-weight: 700; text-align: right; }
.rf-sec { padding: 22px 0; border-bottom: 1px solid var(--border); }
.rf-sec-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 12px; }
.rf-description { font-size: .95rem; line-height: 1.7; color: var(--muted); }
.rf-products { display: grid; gap: 0; margin: 0; }
.rf-products li { border-bottom: 1px solid var(--border); }
.rf-products li:last-child { border-bottom: 0; }
.rf-products a, .rf-products li > span { padding: 12px 0; gap: 16px; }
.rf-products a:hover b { color: var(--primary-text); }
.rf-product-img { width: 64px; height: 64px; padding: 4px; background: var(--photo-bg); border-radius: var(--radius-sm); object-fit: contain; flex: none; }
.rf-products b { color: var(--ink); font-weight: 700; }
.rf-brand-logo { height: 1.7rem; max-width: 9rem; margin-bottom: 4px; }
:root[data-theme="dark"] .rf-brand-logo { filter: invert(1) hue-rotate(180deg); }
@media (max-width: 992px) {
  .rf-split { grid-template-columns: 1fr; min-height: 0; }
  .rf-left { border-right: 0; padding: 32px 20px; }
  .rf-right { padding: 32px 20px 48px; }
  .rf-left h1 { font-size: 1.8rem; }
}

/* Referenz-Produktliste: das Marken-Logo steht frei, ohne helle Fläche (Hell und Dunkel) */
.rf-products .rf-brand-logo { background: none; border-radius: 0; padding: 0; }

/* Startseite „Hizmetlerimiz“: die Karten sind Links auf die Leistungsseiten */
a.diagonal-card { display: block; color: inherit; text-decoration: none; }
a.diagonal-card:hover { box-shadow: 0 14px 30px rgba(15, 23, 42, .10); }
a.diagonal-card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
a.diagonal-card h3::after { content: " →"; color: var(--primary); font-weight: 700; }

/* Tabellen im Fließtext: seitlich scrollbar auf dem Handy, abgesetzte Kopfzeile, Zeilenköpfe fett */
.prose .table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--border); border-radius: var(--radius-md); -webkit-overflow-scrolling: touch; }
.prose .table-wrap table { margin: 0; min-width: 680px; font-size: .92rem; }
.prose table thead th { background: var(--photo-bg); color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--border); vertical-align: bottom; }
.prose table tbody th { color: var(--ink); font-weight: 700; background: rgba(0, 0, 0, .015); }
.prose table tbody tr:last-child th, .prose table tbody tr:last-child td { border-bottom: 0; }
.prose table td { vertical-align: top; }
.prose h2 { font-size: 1.6rem; font-weight: 800; }

/* Kopfzeile im hellen Modus: dezentes Silber (kein Glanz), grenzt sich von den weißen Seiten ab; Dunkelmodus und hoher Kontrast bleiben */
html:not([data-theme="dark"]):not([data-theme="high-contrast"]) header:not(.page-lead) {
  background: linear-gradient(180deg, rgba(247, 248, 250, .96) 0%, rgba(224, 228, 233, .96) 100%);
  border-bottom: 1px solid #c9ced6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}
html:not([data-theme="dark"]):not([data-theme="high-contrast"]) header:not(.page-lead).scrolled { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 6px 18px rgba(15, 23, 42, .08); }
html:not([data-theme="dark"]):not([data-theme="high-contrast"]) #header .hdr-menu { background: #eef0f3; border-bottom-color: #c9ced6; }

/* Startseite, Hero-Karte: freigestelltes Produktbild passend einpassen; das Etikett ist ein Link zum Katalog */
#tiltCard .tilt-img { object-fit: contain; padding: 18px 18px 46px; background: radial-gradient(ellipse at 50% 55%, rgba(225, 29, 72, .18), transparent 62%); }
a.tilt-label { text-decoration: none; color: #fff; cursor: pointer; transition: box-shadow .2s ease, background .2s ease; }
a.tilt-label:hover, a.tilt-label:focus-visible { background: #e11d48; box-shadow: 0 10px 24px rgba(225, 29, 72, .45); }
a.tilt-label:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Hero-Karte (Feinschliff): das zugeschnittene Produktbild füllt den Rahmen; der Button sitzt mittig und leicht transparent */
#tiltCard .tilt-img { object-fit: cover; padding: 0; background: radial-gradient(ellipse at 50% 60%, rgba(225, 29, 72, .16), transparent 62%); }
.tilt-label { left: 50%; transform: translateX(-50%) translateZ(35px); white-space: nowrap; background: rgba(225, 29, 72, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .22); }
a.tilt-label:hover, a.tilt-label:focus-visible { background: rgba(225, 29, 72, .95); }

/* Hero-Karte: hellerer Hintergrund (Stahlblau), damit sich Karte, Gerät und der dunkle Hero-Bereich voneinander absetzen */
#tiltCard { background: radial-gradient(ellipse at 50% 42%, #3b4a68 0%, #26334d 58%, #1b263b 100%); }
#tiltCard .tilt-img { background: radial-gradient(ellipse at 50% 62%, rgba(225, 29, 72, .18), transparent 60%); }

/* Referenzband ohne Überschrift: Plakette und Knopf in einer Zeile, leerer Text nimmt keinen Platz */
.ref-band-head { align-items: center; margin-bottom: 28px; }
.ref-band-head p:empty { display: none; }

/* Titel über den Kennzahlen: rot, ganz in der Segmentanzeige-Schrift (DSEG14, OFL) */
.stats-title { max-width: 1100px; margin: 60px auto 0; padding: 0 24px; text-align: center; color: var(--primary); font-family: 'DSEG14', var(--font), system-ui, sans-serif; font-size: clamp(1.2rem, 2.6vw, 1.9rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.stats-title + .stat-row { margin-top: 28px; }

/* Kontaktangaben: Symbol-Kachel + Text, bündig mit Überschrift und Einleitung (Beschriftung bleibt für Screenreader) */
.contact-details { padding: 0; margin: 28px 0 0; gap: 22px; }
.contact-item { position: relative; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; align-items: center; }
.contact-item::before { content: ""; grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / 22px 22px no-repeat rgba(225, 29, 72, .1); }
.contact-item:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.contact-item:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e11d48' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
.contact-item h3 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-item > p, .contact-item > .rt { grid-column: 2; margin: 0; }
.contact-item p { line-height: 1.5; }

/* Kontaktangaben: Telefon und E-Mail sind Links (Anruf, Mail) und sehen aus wie der Text */
.contact-item a, .kp-rich address a { color: inherit; text-decoration: none; }
.contact-item a:hover, .contact-item a:focus-visible, .kp-rich address a:hover, .kp-rich address a:focus-visible { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }


/* Fußzeile: Logo silber, Spalten bündig, Copyright und Powered by mittig */
footer .footer-grid { align-items: start; }
footer .logo { gap: 10px; margin-bottom: 14px; text-decoration: none; }
footer .logo-mark { display: block; height: 40px; width: auto; filter: grayscale(1) brightness(2.2) contrast(.95); }
footer .logo-word { font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; background: linear-gradient(180deg, #f1f5f9 0%, #94a3b8 55%, #e2e8f0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer .footer-links-list { padding: 0; margin: 0; }
footer .footer-links-list li { font-size: .9rem; line-height: 1.5; }
footer .footer-title { margin-top: 0; }
footer .footer-bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
footer .footer-bottom p { margin: 0; }
footer .footer-powered { font-size: .8rem; }
footer .footer-powered a { display: inline-flex; align-items: center; gap: 8px; color: #94a3b8; text-decoration: none; }
footer .footer-powered a:hover, footer .footer-powered a:focus-visible { color: #fff; }
footer .footer-powered img { display: block; height: 20px; width: auto; }


/* Kennzahlen: dezente silberne Wellenlinien auf zartem Silberband (nur hinter Titel und Zahlen; Hell, Dunkel, kein Effekt bei hohem Kontrast) */
html { overflow-x: clip; }
.stats-title { position: relative; z-index: 1; }
.stat-row { position: relative; isolation: isolate; }
.stat-row::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: calc(50% - 50vw); width: 100vw; top: -150px; bottom: -40px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 280%22 preserveAspectRatio=%22none%22 fill=%22none%22 stroke=%22%238c96a5%22 stroke-opacity=%22.55%22 stroke-width=%221.2%22%3E%3Cpath d=%22M0 120 C 240 50%2C480 190%2C720 120 S 1200 50%2C1440 120%22 vector-effect=%22non-scaling-stroke%22/%3E%3Cpath d=%22M0 150 C 240 80%2C480 220%2C720 150 S 1200 80%2C1440 150%22 vector-effect=%22non-scaling-stroke%22/%3E%3Cpath d=%22M0 95 C 240 30%2C480 160%2C720 95 S 1200 30%2C1440 95%22 vector-effect=%22non-scaling-stroke%22/%3E%3Cpath d=%22M0 180 C 240 115%2C480 245%2C720 180 S 1200 115%2C1440 180%22 vector-effect=%22non-scaling-stroke%22/%3E%3C/svg%3E") center / 100% 100% no-repeat, linear-gradient(180deg, rgba(226,232,240,.0), rgba(226,232,240,.55) 50%, rgba(226,232,240,.0)); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent); }
:root[data-theme="dark"] .stat-row::before { background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 280%22 preserveAspectRatio=%22none%22 fill=%22none%22 stroke=%22%23cbd5e1%22 stroke-opacity=%22.16%22 stroke-width=%221.2%22%3E%3Cpath d=%22M0 120 C 240 50%2C480 190%2C720 120 S 1200 50%2C1440 120%22 vector-effect=%22non-scaling-stroke%22/%3E%3Cpath d=%22M0 150 C 240 80%2C480 220%2C720 150 S 1200 80%2C1440 150%22 vector-effect=%22non-scaling-stroke%22/%3E%3Cpath d=%22M0 95 C 240 30%2C480 160%2C720 95 S 1200 30%2C1440 95%22 vector-effect=%22non-scaling-stroke%22/%3E%3Cpath d=%22M0 180 C 240 115%2C480 245%2C720 180 S 1200 115%2C1440 180%22 vector-effect=%22non-scaling-stroke%22/%3E%3C/svg%3E") center / 100% 100% no-repeat, linear-gradient(180deg, rgba(148,163,184,0), rgba(148,163,184,.08) 50%, rgba(148,163,184,0)); }
[data-theme="high-contrast"] .stat-row::before { display: none; }


/* Hero-Kurztext: vier Wörter, getrennt durch rote Quadrate (Wörter im Studio einzeln änderbar) */
.hero-tag { display: inline-flex; flex-wrap: wrap; align-items: center; row-gap: .4em; }
.hero-tag > span + span::before { content: ""; display: inline-block; width: .5em; height: .5em; margin: 0 1em; background: var(--primary); vertical-align: middle; }


/* Kennzahlen-Titel: mehr Abstand zwischen „Sayılarla“ und „3D Enerji“ (TR; EN: „3D Enerji“ und „in Numbers“) */
html[lang="tr"] .stats-title .seg { margin-left: .55em; }
html[lang="en"] .stats-title .seg { margin-right: .55em; }


/* Barrierefreiheit: die Schriftgrößen-Leiste A / A+ / A++ im Kopf gehört zum Schalter „Barrierefreiheits-Leiste anzeigen“;
   die eingebaute Kern-Leiste (Knopf und Fenster) bleibt aus, damit es sie nicht doppelt gibt */
.a11y-toggle, .a11y-panel { display: none !important; }


/* Kennzahlen in Digitaluhr-Optik (DSEG14); das Pluszeichen steht hochgestellt und silbern (Skript „stat-plus“ setzt es in <sup>) */
.stat-value { font-family: 'DSEG14', var(--font), system-ui, sans-serif; font-weight: 700; letter-spacing: .06em; font-size: 2.3rem; }
.stat-value .stat-plus { font-family: var(--font), system-ui, sans-serif; font-size: 1em; font-weight: 800; vertical-align: top; position: relative; top: -.45em; margin-left: .1em; letter-spacing: 0; line-height: 1; color: #aab2be; -webkit-text-stroke: .02em #aab2be; }
:root[data-theme="dark"] .stat-value .stat-plus { color: #d5dae3; -webkit-text-stroke-color: #d5dae3; }


/* Startseite, Karte „Isı Pompaları“: freigestelltes Gerät auf weißem Grund, unten Platz für die Beschriftung (auch im Dunkelmodus weiß) */
.slanted-col:first-child, .slanted-col:nth-child(2) { background: #fff; }
.slanted-col:first-child .slanted-img, .slanted-col:nth-child(2) .slanted-img { object-fit: contain; padding: 22px 14px 64px; }
.slanted-col:first-child::after, .slanted-col:nth-child(2)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 70%); pointer-events: none; }
.slanted-col:first-child .col-label, .slanted-col:nth-child(2) .col-label { z-index: 1; }
a.col-label { text-decoration: none; color: #fff; transition: background .2s ease; }
a.col-label:hover, a.col-label:focus-visible { background: var(--primary); }

.slanted-col:nth-child(2) .col-label { max-width: calc(100% - 30px); }


/* Hero: Text beginnt an der linken Kante der weißen Karte darunter (gleiche Breite 1100 px) */
.diagonal-hero .hero-container { max-width: 1148px; }


/* Kopfzeile: Logo links und Aktionen rechts schließen mit der Breite der Inhaltsbereiche (1100 px) ab */
#header .nav-container { max-width: 1148px; }


/* Startseite und Fußbereich: Referenzen, Kontakt und Fußzeile schließen mit derselben Breite ab wie Hero, Kopfzeile und Karten (1100 px Inhalt) */
.ref-wrap, section.contact.container, footer .footer-grid, footer .footer-bottom { max-width: 1148px; }
section.contact.container { padding-left: 24px; padding-right: 24px; }


/* Fußzeile: Kontrast (PageSpeed) – die untere Zeile war durch opacity .7 zu blass */
footer .footer-bottom { opacity: 1; }
footer .footer-bottom p { color: #cbd5e1; }
footer .footer-powered a { color: #cbd5e1; }

/* Logo (Kopf- und Fußzeile): kein Unterstrich bei Hover/Fokus */
.logo, .logo:hover, .logo:focus-visible { text-decoration: none !important; }
