/* ============================================================
   useit.ch GmbH — Design System
   Gestaltung und Struktur: clicdesign ag, Kehrsatz
   Stand: 22.09.2026

   Eigenstaendiges Stylesheet. Keine Abhaengigkeiten, keine externen
   Aufrufe. Die Schriften liegen daneben im Ordner fonts/.

   Einbinden im Child-Theme:
     wp_enqueue_style('useit', get_stylesheet_directory_uri() . '/useit-styles.css');
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --c-bg: var(--wp--preset--color--hintergrund, #FAFAF7);
  --c-surface: var(--wp--preset--color--flaeche, #F3F1EC);
  --c-surface-2: var(--wp--preset--color--flaeche-2, #EAE7E0);
  --c-ink: var(--wp--preset--color--ink, #1A1A18);
  --c-text-sec: var(--wp--preset--color--text-sek, #6B6862);
  --c-text-ter: #9A9690;
  --c-border: var(--wp--preset--color--linie, #E2DFD9);
  --c-border-strong: #C9C5BD;
  --c-accent: var(--wp--preset--color--akzent, #E85D2F);
  --c-accent-dark: var(--wp--preset--color--akzent-dunkel, #C04A22);
  --c-accent-light: var(--wp--preset--color--akzent-hell, #FBE8DF);
  --c-primary: var(--c-ink);
  --c-secondary: #6B6862;
  --c-success: #2D7A4F;
  --c-success-light: #E3F1E8;
  --c-warning: #B8731A;
  --c-warning-light: #FBF0E0;
  --c-error: #B91C1C;
  --c-error-light: #FCE7E7;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Radius */
  --r-none: 0; --r-sm: 0; --r-md: 0; --r-lg: 0;

  /* Shadows */
  --shadow-subtle: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-medium: 0 4px 12px rgba(0,0,0,0.08);

  /* Layout */
  --max-w: 1400px;
  --gutter: 24px;
  --cols: 4;
}


/* ===== SCHRIFTGROESSEN ===== */
/* Stufen der Typo-Hierarchie. clamp() skaliert zwischen Handy und Desktop. */
.text-display-xl { font-size: clamp(48px, 8vw, 120px); line-height: 0.92; letter-spacing: -0.04em; }
.text-display { font-size: clamp(40px, 6vw, 88px); line-height: 0.95; letter-spacing: -0.035em; }
.text-h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.text-h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.025em; }
.text-h3 { font-size: clamp(22px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.02em; }
.text-h4 { font-size: clamp(18px, 2.5vw, 24px); line-height: 1.25; letter-spacing: -0.015em; }
.text-h5 { font-size: clamp(16px, 2vw, 20px); line-height: 1.3; letter-spacing: -0.01em; }
.text-lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.text-body-lg { font-size: 18px; line-height: 1.65; }
.text-body { font-size: 16px; line-height: 1.65; }
.text-body-sm { font-size: 14px; line-height: 1.6; }
.text-caption { font-size: 12px; line-height: 1.5; }
.text-eyebrow { font-size: 11px; line-height: 1; letter-spacing: 0.08em; }

/* ===== HILFSKLASSEN ===== */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font-family: 'Roboto', sans-serif; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--c-accent); color: white; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ===== 4-COLUMN GRID ===== */
.grid4 {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}
.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }

/* ===== HEADER / NAV ===== */
.sg-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: border-color 0.3s ease;
  overflow: visible;
}
.sg-header.scrolled { border-bottom-color: var(--c-border-strong); }
.sg-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 124px;
  position: relative;
}
.sg-logo {
  display: flex; align-items: center;
  position: absolute; left: 32px; top: 0;
  /* Breite = genau eine Spalte des 4er-Grids (25% des Containers minus Padding-
     und Gutter-Anteil). Die Hoehe setzt das Bild selbst, sonst entstehen oben
     und unten schwarze Balken. */
  width: clamp(140px, calc(25% - 34px), 316px);
  height: auto;
  transition: width 0.35s cubic-bezier(0.22,1,0.36,1);
  overflow: visible;
  z-index: 2;
}
.sg-header.scrolled .sg-logo { width: clamp(112px, calc(16% - 22px), 200px); }
.sg-logo-mark {
  background: var(--c-ink); color: white;
  width: 100%; height: auto;
  display: block;
  overflow: visible;
}
.sg-logo-image { width: 100%; height: auto; display: block; }
.sg-footer-logo { width: 180px; height: auto; display: block; }
.sg-nav {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 8px; flex-wrap: nowrap;
  position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
}
.sg-nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 24px; font-weight: 700; letter-spacing: -0.06em;
  line-height: 1; padding: 12px 10px; color: var(--c-ink);
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: var(--r-sm);
}
.sg-nav a:hover { color: var(--c-accent); background: transparent; }
.sg-nav a.active { color: var(--c-ink); }
.sg-nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Roboto', sans-serif;
  font-size: 24px; font-weight: 700; letter-spacing: -0.06em;
  line-height: 1; padding: 12px 10px; color: var(--c-ink);
  transition: color 0.2s ease; cursor: pointer; background: none; border: 0;
  border-radius: var(--r-sm);
}
button.sg-nav-link { font-family: 'Roboto', sans-serif; }
.sg-nav-link:hover { color: var(--c-accent); }
.sg-nav-tech { position: relative; }
.sg-nav-tech .sg-nav-link svg { transition: transform 0.25s ease; }
.sg-nav-tech.open .sg-nav-link svg { transform: rotate(180deg); }
.sg-mega-menu {
  position: absolute; top: 100%;
  /* 3px Versatz + 1px Rahmen + 28px Innenabstand = 32px — damit sitzen die
     vier Spalten des Menues exakt auf den vier Spalten des Seitenrasters. */
  left: 3px; right: 3px;
  background: var(--c-bg); border: 1px solid var(--c-border);
  box-shadow: 0 16px 40px rgba(26,26,24,0.12);
  padding: 16px 28px 22px;
  display: block;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 110;
}
.sg-mega-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.sg-mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px var(--gutter); }
.sg-mega-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 0; font-family: 'Roboto', sans-serif; font-size: 15px; font-weight: 500;
  color: var(--c-ink); border-bottom: 1px solid var(--c-border);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.sg-mega-grid a:hover { color: var(--c-accent); padding-left: 6px; }
.sg-mega-grid a svg { opacity: 0; transition: opacity 0.2s ease; }
.sg-mega-grid a:hover svg { opacity: 1; }
.sg-nav .nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 65px; margin-left: 14px; padding: 0 22px;
  background: var(--c-accent); color: white;
  font-size: 23px; font-weight: 700;
}
.sg-nav .nav-cta:hover { background: var(--c-accent-dark); color: white; }
/* Raster-Overlay ist eingeschaltet — der Knopf zeigt das auch farblich,
   bisher aenderte sich nur das Icon. */
.sg-nav .nav-cta.active { background: var(--c-ink); color: white; }
.sg-nav .nav-cta.active:hover { background: var(--c-ink); }
.sg-menu-btn {
  display: none; justify-self: end; width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: transparent; color: var(--c-ink);
  border: 1px solid var(--c-ink); padding: 0; border-radius: var(--r-sm);
  position: absolute; right: 32px; top: 50%; transform: translateY(-50%);
}
.sg-menu-btn svg { width: 22px; height: 22px; }

/* ===== BACK TO TOP ===== */
.sg-back-to-top {
  position: fixed; right: 32px; bottom: 32px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-ink); color: white; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26,26,24,0.18);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s ease;
}
.sg-back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sg-back-to-top:hover { background: var(--c-accent); transform: translateY(-2px); }
.sg-back-to-top svg { width: 22px; height: 22px; transition: transform 0.25s ease; }
.sg-back-to-top:hover svg { transform: translateY(-3px); }
@media (max-width: 640px) {
  .sg-back-to-top { right: 20px; bottom: 20px; width: 46px; height: 46px; }
}

/* ===== GRID OVERLAY ===== */
.sg-grid-overlay {
  position: fixed; inset: 0; z-index: 95; pointer-events: none;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.sg-grid-overlay.visible { opacity: 1; visibility: visible; }
.sg-grid-col {
  background: rgba(34, 211, 238, 0.07);
  border-left: 1px solid rgba(34, 211, 238, 0.22);
  border-right: 1px solid rgba(34, 211, 238, 0.22);
  height: 100%;
}
@media (max-width: 1180px) {
  .sg-grid-overlay { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sg-grid-overlay { grid-template-columns: 1fr; padding: 0 20px; }
}

/* ===== SECTION SHELL ===== */
.sg-section { padding: var(--sp-9) 0; border-top: 1px solid var(--c-border); }
.sg-section.dark { background: var(--c-ink); color: #F0EDE7; border-color: #2A2A28; }
.sg-section.surface { background: var(--c-surface); }
.sg-section-label {
  font-family: 'Roboto', sans-serif;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 700; color: var(--c-accent); margin-bottom: var(--sp-3);
}
.sg-section-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1; letter-spacing: -0.06em;
  margin: 0 0 var(--sp-2);
}
.sg-section-desc { font-size: 15px; color: var(--c-text-sec); max-width: 560px; line-height: 1.6; letter-spacing: -0.06em; margin: 0; }
.sg-section-title, h1, h2, h3, h4, h5 { letter-spacing: -0.06em; font-weight: 700; }
.sg-section-title.font-medium, h1.font-medium, h2.font-medium, h3.font-medium, h4.font-medium, h5.font-medium { font-weight: 800 !important; }
p.font-display.font-medium { font-weight: 800; }
.lead-text { letter-spacing: -0.06em; }
.sg-nav .nav-cta { background: var(--c-accent); color: white; padding-left: 20px; padding-right: 20px; }
.sg-nav .nav-cta:hover { background: var(--c-accent-dark); color: white; }
.sg-section.dark .sg-section-desc { color: #9A9690; }
.sg-section.dark .sg-section-label { color: var(--c-accent); }

/* ===== TYPOGRAPHY ===== */
.font-display { font-family: 'Roboto', sans-serif; }
.font-mono { font-family: 'Roboto', sans-serif; }
.text-eyebrow { font-family: 'Roboto', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--c-accent); }
.text-accent { color: var(--c-accent); }
.text-sec { color: var(--c-text-sec); }
.text-ter { color: var(--c-text-ter); }
.lead-text { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--c-text-sec); }
.narrow { max-width: 520px; }
.prose-p { font-size: 16px; line-height: 1.7; color: var(--c-text-sec); margin: 0; }
.prose-p + .prose-p { margin-top: 12px; }

/* Links */
.lnk { color: var(--c-ink); position: relative; transition: color 0.2s; }
.lnk:hover { color: var(--c-accent); }
.lnk-underline { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 0.3s ease; }
.lnk-underline:hover { background-size: 100% 1px; }
.lnk-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.lnk-arrow svg { transition: transform 0.25s ease; }
.lnk-arrow:hover svg { transform: translateX(4px); }
.lnk-external { display: inline-flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--c-border-strong); padding-bottom: 1px; transition: border-color 0.2s, color 0.2s; }
.lnk-external:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* Blockquote */
.blockquote { border-left: 2px solid var(--c-accent); padding-left: 24px; font-family: 'Roboto', sans-serif; font-size: clamp(20px, 2.5vw, 28px); line-height: 1.4; font-weight: 400; font-style: italic; color: var(--c-ink); margin: 0; }
.pull-quote { font-family: 'Roboto', sans-serif; font-size: clamp(28px, 4vw, 48px); line-height: 1.15; font-weight: 400; letter-spacing: -0.02em; color: var(--c-ink); margin: 0; }
.pull-quote .text-accent { font-style: italic; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Roboto', sans-serif; font-weight: 600; font-size: 14px;
  padding: 12px 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
  white-space: nowrap; cursor: pointer; position: relative; overflow: hidden;
}
.btn svg { transition: transform 0.25s ease; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-primary { background: var(--c-ink); color: white; }
.btn-primary:hover { background: var(--c-accent); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: var(--c-border-strong); cursor: not-allowed; transform: none; }
.btn-secondary { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-border); }
.btn-secondary:hover { background: var(--c-surface-2); border-color: var(--c-border-strong); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--c-ink); border-color: var(--c-border-strong); }
.btn-outline:hover { border-color: var(--c-ink); background: var(--c-ink); color: white; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--c-ink); }
.btn-ghost:hover { background: var(--c-surface); }
.btn-text { background: transparent; color: var(--c-ink); padding: 8px 0; border-radius: 0; position: relative; }
.btn-text::after { content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 1px; background: var(--c-ink); transform-origin: right; transition: transform 0.3s ease; }
.btn-text:hover::after { transform: scaleX(0); }
.btn-text:hover { color: var(--c-accent); }
.btn-icon { background: var(--c-ink); color: white; padding: 12px; width: 44px; height: 44px; }
.btn-icon:hover { background: var(--c-accent); }
.btn-arrow-r:hover svg { transform: translateX(4px); }
.btn-arrow-l:hover svg { transform: translateX(-4px); }
.btn-fill-anim { position: relative; z-index: 1; }
.btn-fill-anim::before { content: ''; position: absolute; inset: 0; background: var(--c-accent); transform: translateY(100%); transition: transform 0.3s ease; z-index: -1; }
.btn-fill-anim:hover { color: white; }
.btn-fill-anim:hover::before { transform: translateY(0); }

/* ===== CHIPS / TAGS / BADGES ===== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-radius: 0;
  border: 1px solid var(--c-border); background: transparent;
  transition: all 0.2s ease; cursor: default;
}
.chip:hover { border-color: var(--c-ink); }
.chip-neutral { background: var(--c-surface); }
.chip-accent { background: var(--c-accent-light); border-color: transparent; color: var(--c-accent-dark); }
.chip-dark { background: var(--c-ink); color: white; border-color: transparent; }
.chip-success { background: var(--c-success-light); border-color: transparent; color: var(--c-success); }
.chip-warning { background: var(--c-warning-light); border-color: transparent; color: var(--c-warning); }
.chip-error { background: var(--c-error-light); border-color: transparent; color: var(--c-error); }
.chip-active { background: var(--c-ink); color: white; border-color: transparent; }
.chip-inactive { opacity: 0.4; cursor: not-allowed; }
.chip-removable button { background: none; border: 0; padding: 0; display: flex; opacity: 0.5; transition: opacity 0.2s; }
.chip-removable button:hover { opacity: 1; }
.chip-number { font-family: 'Roboto', sans-serif; font-size: 11px; padding: 4px 8px; border-radius: 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 8px; border-radius: 0; font-family: 'Roboto', sans-serif; }
.badge-dot { width: 6px; height: 6px; border-radius: 0; }

/* ===== CARDS ===== */
.card { background: white; border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; transition: all 0.3s ease; }
.card-hover:hover { border-color: var(--c-border-strong); box-shadow: var(--shadow-medium); transform: translateY(-2px); }
.card-body { padding: 24px; }
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s ease; }
.card-img-wrap { overflow: hidden; position: relative; }
.card-hover:hover .card-img { transform: scale(1.05); }
.card-dark { background: var(--c-ink); color: #F0EDE7; border-color: transparent; }
.card-accent { background: var(--c-accent); color: white; border-color: transparent; }
.card-accent .text-sec { color: rgba(255,255,255,0.8); }
.card-minimal { background: transparent; border: 1px solid var(--c-border); }
.card-horizontal { display: grid; grid-template-columns: 1fr 1fr; }
.card-horizontal .card-img-wrap { height: 100%; }
.card-horizontal .card-img { height: 100%; aspect-ratio: auto; }
.card-num { font-family: 'Roboto', sans-serif; font-size: 64px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--c-accent); }
.card-quote-mark { font-family: 'Roboto', sans-serif; font-size: 48px; line-height: 1; color: var(--c-accent); }

/* ===== LISTS ===== */
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li { padding: 12px 0; border-top: 1px solid var(--c-border); font-size: 15px; display: flex; align-items: center; gap: 12px; }
.list-clean li:last-child { border-bottom: 1px solid var(--c-border); }
.list-bullet { list-style: none; padding: 0; margin: 0; }
.list-bullet li { padding: 6px 0; font-size: 15px; position: relative; padding-left: 20px; }
.list-bullet li::before { content: '•'; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }
.list-check li { padding-left: 24px; position: relative; }
.list-check li::before { content: '✓'; position: absolute; left: 0; color: var(--c-success); font-weight: 700; }
.list-arrow li { padding-left: 24px; position: relative; }
.list-arrow li::before { content: '→'; position: absolute; left: 0; color: var(--c-accent); }
.list-num { list-style: none; padding: 0; margin: 0; counter-reset: item; }
.list-num li { padding: 12px 0; border-top: 1px solid var(--c-border); font-size: 15px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; counter-increment: item; }
.list-num li:last-child { border-bottom: 1px solid var(--c-border); }
.list-num li::before { content: counter(item, decimal-leading-zero); font-family: 'Roboto', sans-serif; font-size: 12px; color: var(--c-accent); padding-top: 2px; }
.list-big-num { list-style: none; padding: 0; margin: 0; counter-reset: bigitem; }
.list-big-num li { padding: 24px 0; border-top: 1px solid var(--c-border); display: grid; grid-template-columns: 60px 1fr; gap: 20px; counter-increment: bigitem; }
.list-big-num li:last-child { border-bottom: 1px solid var(--c-border); }
.list-big-num li::before { content: counter(bigitem, decimal-leading-zero); font-family: 'Roboto', sans-serif; font-size: 36px; font-weight: 500; color: var(--c-accent); line-height: 1; }

/* ===== ACCORDION ===== */
.acc-item { border-top: 1px solid var(--c-border); }
.acc-item:last-child { border-bottom: 1px solid var(--c-border); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; background: none; border: 0; text-align: left; font-size: 16px; font-weight: 500; color: var(--c-ink); transition: color 0.2s; }
.acc-btn:hover { color: var(--c-accent); }
.acc-btn .acc-icon { transition: transform 0.3s ease; flex-shrink: 0; margin-left: 16px; }
.acc-item.open .acc-btn .acc-icon,
.acc-block.open .acc-btn .acc-icon { transform: rotate(45deg); }
/* minmax(0, ...) statt nur 0fr: eine fr-Spur hat sonst ein automatisches
   Minimum in Hoehe des Inhalts, und die Innenpolsterung von .acc-inner
   liesse den geschlossenen Block 20px hoch stehen. */
.acc-content { display: grid; grid-template-rows: minmax(0, 0fr); overflow: hidden; transition: grid-template-rows 0.35s ease; }
.acc-content > .acc-inner { min-height: 0; }
.acc-item.open .acc-content,
.acc-block.open .acc-content { grid-template-rows: minmax(0, 1fr); }
.acc-inner { padding: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--c-text-sec); }
.acc-block { border: 1px solid var(--c-border); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; }
.acc-block .acc-btn { padding: 20px 24px; }
.acc-block .acc-inner { padding: 0 24px 20px; }
.acc-block .acc-item { border: 0; }
.acc-block.open { border-color: var(--c-border-strong); }

/* ===== TABS ===== */
.tabs-bar { display: flex; gap: 0; border-bottom: 1px solid var(--c-border); }
.tab-btn { padding: 12px 20px; background: none; border: 0; font-size: 14px; font-weight: 500; color: var(--c-text-sec); border-bottom: 2px solid transparent; transition: all 0.2s; margin-bottom: -1px; }
.tab-btn:hover { color: var(--c-ink); }
.tab-btn.active { color: var(--c-ink); border-bottom-color: var(--c-accent); }
.tabs-underline .tab-btn { border-bottom-width: 1px; }
.tabs-underline .tab-btn.active { border-bottom-width: 2px; border-bottom-color: var(--c-ink); }
.tabs-pill { display: flex; gap: 8px; }
.tabs-pill .tab-btn { border-radius: 0; border-bottom: 0; padding: 8px 16px; }
.tabs-pill .tab-btn.active { background: var(--c-ink); color: white; }
.tab-panel { padding-top: 24px; }

/* ===== FORMS ===== */
.field-group { margin-bottom: 24px; }
.field-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--c-ink); }
.field-input {
  width: 100%; padding: 12px 16px; font-size: 15px; font-family: inherit;
  background: white; border: 1px solid var(--c-border); border-radius: var(--r-sm);
  transition: border-color 0.2s, box-shadow 0.2s; color: var(--c-ink);
}
.field-input:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(232,93,47,0.1); }
.field-input.error { border-color: var(--c-error); }
.field-input:disabled { background: var(--c-surface); color: var(--c-text-ter); cursor: not-allowed; }
.field-error { font-size: 12px; color: var(--c-error); margin-top: 4px; }
.field-hint { font-size: 12px; color: var(--c-text-ter); margin-top: 4px; }
textarea.field-input { resize: vertical; min-height: 100px; }
select.field-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236B6862' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field-check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.field-check input { width: 18px; height: 18px; accent-color: var(--c-accent); }
.field-radio { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.field-radio input { width: 18px; height: 18px; accent-color: var(--c-accent); }
/* inline-block ist noetig: auf ein <label> mit display:inline wirken
   Breite und Hoehe nicht, der Schieber blieb dadurch 0px breit. */
.toggle { position: relative; display: inline-block; vertical-align: middle; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--c-border-strong); border-radius: 0; transition: 0.3s; cursor: pointer; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: white; border-radius: 0; transition: 0.3s; }
.toggle input:checked + .toggle-slider { background: var(--c-accent); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ===== STATS ===== */
.stat-big { font-family: 'Roboto', sans-serif; font-size: clamp(48px, 6vw, 80px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.stat-big .stat-suffix { color: var(--c-accent); }
.stat-label { font-family: 'Roboto', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-text-sec); margin-top: 8px; }

/* ===== ALERTS ===== */
.alert { display: flex; gap: 12px; padding: 16px 20px; border-radius: var(--r-md); font-size: 14px; line-height: 1.5; }
.alert-info { background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-ink); }
.alert-success { background: var(--c-success-light); color: #1B5638; }
.alert-warning { background: var(--c-warning-light); color: #8A5510; }
.alert-error { background: var(--c-error-light); color: #8B1414; }

/* ===== MISC UI ===== */
.divider { height: 1px; background: var(--c-border); border: 0; margin: 0; }
.divider-label { display: flex; align-items: center; gap: 16px; font-family: 'Roboto', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-text-ter); }
.divider-label::before, .divider-label::after { content: ''; flex: 1; height: 1px; background: var(--c-border); }
.progress-track { height: 4px; background: var(--c-surface-2); border-radius: 0; overflow: hidden; }
.progress-fill { height: 100%; background: var(--c-accent); border-radius: 0; transition: width 0.5s ease; }
.tooltip-wrap { position: relative; display: inline-flex; }
.tooltip-wrap .tooltip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--c-ink); color: white; padding: 6px 12px; border-radius: var(--r-sm); font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.tooltip-wrap:hover .tooltip { opacity: 1; }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 200; }
.modal-box { background: white; border-radius: var(--r-lg); padding: 32px; max-width: 480px; width: 90%; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.step-line { display: flex; gap: 0; }
.step-line .step-item { flex: 1; position: relative; padding-right: 24px; }
.step-line .step-item::after { content: ''; position: absolute; top: 14px; right: 0; left: 28px; height: 1px; background: var(--c-border); }
.step-line .step-item:last-child::after { display: none; }
.step-dot { width: 28px; height: 28px; border-radius: 0; border: 1px solid var(--c-border-strong); display: flex; align-items: center; justify-content: center; font-family: 'Roboto', sans-serif; font-size: 11px; font-weight: 500; margin-bottom: 12px; background: white; }
.step-dot.active { background: var(--c-accent); color: white; border-color: var(--c-accent); }
.step-dot.done { background: var(--c-ink); color: white; border-color: var(--c-ink); }
.timeline-item { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 24px 0; border-top: 1px solid var(--c-border); }
.timeline-item:last-child { border-bottom: 1px solid var(--c-border); }
.timeline-year { font-family: 'Roboto', sans-serif; font-size: 32px; font-weight: 500; color: var(--c-accent); }
.avatar { border-radius: 50% !important; object-fit: cover; border: 2px solid white; }
.avatar-group { display: flex; }
.avatar-group .avatar { margin-left: -8px; }
.avatar-group .avatar:first-child { margin-left: 0; }
.play-btn { width: 64px; height: 64px; border-radius: 0; background: rgba(255,255,255,0.9); display: flex; align-items: center; justify-content: center; transition: transform 0.25s, background 0.25s; }
.play-btn:hover { transform: scale(1.1); background: white; }
.play-btn svg { margin-left: 3px; }
.img-caption { font-family: 'Roboto', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-text-ter); margin-top: 8px; }
.img-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; }
.img-overlay span { background: var(--c-ink); color: white; padding: 6px 12px; font-size: 12px; font-weight: 500; }
.corner-label { position: absolute; top: 12px; left: 12px; background: var(--c-ink); color: white; padding: 4px 8px; font-family: 'Roboto', sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== TABLE ===== */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; padding: 14px 16px; border-bottom: 2px solid var(--c-ink); font-family: 'Roboto', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-text-sec); }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.tbl tr:hover td { background: var(--c-surface); }
.tbl-zebra tr:nth-child(even) td { background: var(--c-surface); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both; }
.stagger > * { animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) both; }
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .col-1, .col-2, .col-3, .col-4 { grid-column: span 2; }
  .sg-header-inner { height: 96px; }
  .sg-nav { display: none; }
  .sg-nav.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--c-bg); border-bottom: 1px solid var(--c-border);
    flex-direction: column; align-items: stretch; padding: 12px 32px 20px; gap: 0;
    box-shadow: 0 12px 24px rgba(26,26,24,0.08);    /* ueber das ueberhaengende Logo legen, sonst verdeckt es den ersten Eintrag */
    z-index: 3;
  }
  .sg-nav.open a { padding: 16px 0; width: 100%; border-bottom: 1px solid var(--c-border); font-size: 22px; }
  .sg-nav.open .nav-cta { justify-content: space-between; margin: 16px 0 0; padding: 18px 20px; min-height: 60px; }
  .sg-nav.open .sg-nav-link { padding: 16px 0; width: 100%; border-bottom: 1px solid var(--c-border); font-size: 22px; justify-content: space-between; }
  .sg-nav.open .sg-nav-link.nav-cta { margin: 16px 0 0; padding: 18px 20px; min-height: 60px; background: var(--c-accent); color: white; }
  .sg-nav-tech { width: 100%; }
  .sg-nav.open .sg-nav-tech .sg-nav-link { width: 100%; }
  .sg-mega-menu { position: static; box-shadow: none; border: 0; border-top: 1px solid var(--c-border); padding: 12px 0 16px; left: 0; right: 0; grid-template-columns: 1fr; gap: 0; }
  .sg-mega-grid { grid-template-columns: 1fr; gap: 0; }
  .sg-mega-grid a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--c-border); }
  .sg-menu-btn { display: flex; }
  .card-horizontal { grid-template-columns: 1fr; }
  .step-line { flex-direction: column; }
  .step-line .step-item::after { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 640px) {
  .grid4 { grid-template-columns: 1fr; padding: 0 20px; gap: 16px; }
  .col-1, .col-2, .col-3, .col-4 { grid-column: span 1; }
  .sg-header-inner { padding: 0 20px; height: 80px; }
  .sg-logo { left: 20px; }
  .sg-nav.open { padding-left: 20px; padding-right: 20px; }
  .sg-menu-btn { width: 44px; height: 44px; }
  .sg-section { padding: 64px 0; }
  .sg-section-inner { padding: 0 20px; }
  .card-horizontal { grid-template-columns: 1fr; }
  .platforms-grid, .about-content { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   TYPOGRAFIE — Roboto, lokal eingebunden (clicdesign, 08/2026)

   Roboto Condensed war zwar geladen, wurde aber von keiner Regel
   verwendet. Ersetzt durch die Variable-Font-Version von Roboto:
   je eine Datei aufrecht/kursiv, deckt 300 bis 800 stufenlos ab.

   H3 und groesser : 800, Laufweite -60 (= -0.06em)
   H4 / H5         : 800, Laufweite unveraendert
   Versal-Labels   : 700 und gesperrt (Originalwerte des Systems)
   Fliesstext      : 300, Laufweite unveraendert
   Bedienelemente  : Originalgewichte (Navigation 700, Buttons 600 ...)
   ============================================================ */


/* @font-face: in theme.json (settings.typography.fontFamilies) registriert */

/* Grundschrift: Roboto ueberall, Fliesstext 300 */
html, body { font-family: 'Roboto', sans-serif; font-weight: 300; }
body, body * { font-family: 'Roboto', sans-serif; }

/* Ueberschriften ab H3: 800 mit -60 */
body h1, body h2, body h3,
.font-display,
.text-display-xl, .text-display,
.text-h1, .text-h2, .text-h3,
.sg-section-title {
  font-weight: 800 !important;
  letter-spacing: -0.06em !important;
}

/* H4 und kleiner: fett, aber ohne Laufweiten-Aenderung.
   Negative Laufweite ist eine Korrektur fuer grosse Grade — unter rund
   30px kehrt sich das um, da braucht Text eher mehr Luft als weniger. */
body h4, body h5, body h6,
.text-h4, .text-h5, .text-h6,
.font-display.text-h4, .font-display.text-h5, .font-display.text-h6 {
  font-weight: 800 !important;
  letter-spacing: normal !important;
}

/* Lead und Zitate gehoeren zum Fliesstext */
.lead-text, .text-lead, .sg-section-desc { letter-spacing: normal !important; }
.blockquote, .pull-quote { font-weight: 300; }

/* ============================================================
   Footer-Unterzeile haelt Abstand zum fixierten Nach-oben-Button
   ============================================================ */
#footer .col-4:last-child { padding-right: 100px; }
@media (max-width: 1180px) { #footer .col-4:last-child { padding-right: 86px; } }
@media (max-width: 640px)  { #footer .col-4:last-child { padding-right: 78px; } }

/* ============================================================
   ERGAENZUNGEN NACH FEEDBACK (09/2026)
   Topbar · volle Breite · Erklaervideos · Beispielseiten
   ============================================================ */

:root {
  --max-w-text: 720px;    /* Lesebreite */
  --max-w-bleed: 1920px;  /* volle Breite: bis an den Browserrand, hoechstens so breit */
}

/* Anker nicht unter dem klebenden Header verstecken (beim Scrollen ohne Topbar) */
section[id], footer[id] { scroll-margin-top: 124px; }

/* ----- Topbar: Support-Werkzeuge ----- */
/* Nur ganz oben sichtbar: Der Header klebt bei top:-40px, die Topbar rollt
   also beim Scrollen natuerlich aus dem Bild — ohne JavaScript und ohne
   Sprung im Layout. */
.sg-header { top: -40px; }
.sg-topbar { background: var(--c-ink); color: #F0EDE7; position: relative; z-index: 4; }
.sg-topbar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px; height: 40px;
  display: flex; align-items: stretch; justify-content: space-between;
}
.sg-topbar a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; letter-spacing: normal; white-space: nowrap;
  color: #F0EDE7; transition: background 0.2s ease, color 0.2s ease;
}
.sg-topbar a.sg-topbar-phone { color: #9A9690; }
.sg-topbar a.sg-topbar-phone:hover { color: white; }
.sg-topbar-tools { display: flex; margin-right: -16px; }
.sg-topbar-tools a { padding: 0 16px; border-left: 1px solid #34342F; }
.sg-topbar-tools a:hover { background: var(--c-accent); color: white; }
.sg-topbar-demo .sg-topbar-inner { padding: 0 0 0 16px; }
.sg-topbar-demo .sg-topbar-tools { margin-right: 0; }

/* ----- Navigation: aktuelle Seite, Fuss im Mega-Menue ----- */
.sg-nav-link.current, .sg-nav a.sg-nav-link.current { color: var(--c-accent); }
/* Doppelklasse, damit margin/padding nicht von .sg-mega-grid in wordpress.css
   genullt werden — sonst liegt die Linie auf den Unterstreichungen der letzten Zeile. */
.sg-mega-grid.sg-mega-foot { margin-top: 12px; padding-top: 12px; border-top: 0; }
.sg-mega-grid.sg-mega-foot a { color: var(--c-accent); font-weight: 600; border-bottom: 0; }

/* ----- Support-Band ueber dem Footer ----- */
.sg-support-card { display: block; color: inherit; }
.sg-support-card .lnk-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.sg-support-card:hover .lnk-arrow { color: var(--c-accent); }

/* ----- Volle Breite ----- */
.bleed { max-width: var(--max-w-bleed); margin-left: auto; margin-right: auto; }
.bleed-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.bleed-pad { padding-top: var(--sp-9); padding-bottom: var(--sp-9); }
.bleed-img { width: 100%; aspect-ratio: 21/9; max-height: 640px; object-fit: cover; }
.bleed-slot { margin-bottom: var(--sp-7); }
.bleed-slot-after { margin-top: var(--sp-8); }
.bleed-demo { background: var(--c-accent-light); border-top: 1px solid var(--c-accent); border-bottom: 1px solid var(--c-accent); color: var(--c-accent-dark); }
.bleed-demo .bleed-inner { padding-top: var(--sp-6); padding-bottom: var(--sp-6); }
.btn-bleed-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.45); }
.btn-bleed-outline:hover { background: white; color: var(--c-ink); transform: translateY(-1px); }

/* ----- Erklaervideos ----- */
.video-poster {
  position: relative; display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden;
  background: var(--c-ink); border: 0; padding: 0; cursor: pointer;
}
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.video-poster:hover img, .video-card:hover .video-poster img { transform: scale(1.04); }
.video-poster-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,24,0) 45%, rgba(26,26,24,0.55)); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--c-ink); }
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-poster:hover .video-play, .video-card:hover .video-play { background: var(--c-accent); color: white; }
.video-play-sm { width: 48px; height: 48px; }
.video-duration {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px;
  background: rgba(26,26,24,0.85); color: white; font-size: 12px; font-weight: 500; padding: 4px 8px;
}
.video-card { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
.video-card:hover .text-h4 { color: var(--c-accent); }
.video-player { background: #0E0E0D; color: white; aspect-ratio: 16/9; display: flex; flex-direction: column; width: 100%; }
.video-player-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: var(--sp-6); }
.video-player-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: rgba(255,255,255,0.06); font-size: 12px; }
.video-player-bar button { background: none; border: 0; color: white; display: flex; padding: 4px; }
.video-player-bar button:hover { color: var(--c-accent); }
.video-player-track { flex: 1; height: 4px; background: rgba(255,255,255,0.2); overflow: hidden; }
.video-player-fill { height: 100%; width: 6%; background: var(--c-accent); animation: videoProgress 40s linear forwards; }
.video-player-fill.paused { animation-play-state: paused; }
@keyframes videoProgress { from { width: 6%; } to { width: 100%; } }
@keyframes videoFade { from { opacity: 0; } to { opacity: 1; } }
.video-lightbox {
  position: fixed; inset: 0; z-index: 210; background: rgba(14,14,13,0.88);
  display: flex; align-items: center; justify-content: center; padding: 24px; animation: videoFade 0.2s ease;
}
.video-lightbox-box { width: min(1080px, 100%); }
.video-link {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 6px 0;
  font-size: 15px; font-weight: 500; color: var(--c-ink); cursor: pointer; text-align: left;
}
.video-link-icon { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; background: var(--c-ink); color: white; transition: background 0.2s; flex-shrink: 0; }
.video-link:hover { color: var(--c-accent); }
.video-link:hover .video-link-icon { background: var(--c-accent); }
.video-link .font-mono { font-size: 13px; }

/* ----- Raster: Zellen duerfen schmaler werden als ihr Inhalt ----- */
/* Ohne min-width:0 drueckt nicht umbrechender Inhalt (Tab-Leisten, grosse
   Schrift) die ganze Spalte breiter als den Bildschirm. */
.grid4 > * { min-width: 0; }

/* ----- Typografie-Zeilen (vorher feste Pixelspalten inline) ----- */
.type-scale-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--sp-6); align-items: baseline; }
.type-weight-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 220px; gap: var(--sp-5); align-items: baseline; }

/* ----- Musterkiste: Einstieg zu den Beispielseiten ----- */
.hero-pages-intro { margin-top: var(--sp-8); padding-top: var(--sp-4); border-top: 2px solid var(--c-ink); }
.hero-page {
  margin-top: var(--sp-8); position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  gap: 6px; min-height: 140px; padding: var(--sp-5); padding-right: var(--sp-8); color: inherit;
}
.hero-page-arrow { position: absolute; top: var(--sp-5); right: var(--sp-5); color: var(--c-accent); transition: transform 0.25s ease; }
.hero-page:hover .hero-page-arrow { transform: translate(3px, -3px); }

/* ----- Beispielseiten ----- */
.page-banner { background: var(--c-accent-light); border-bottom: 1px solid rgba(232,93,47,0.25); color: var(--c-accent-dark); font-size: 14px; }
/* rechtsbuendig: links ragt das Logo in die Leiste */
.page-banner-inner { max-width: var(--max-w); margin: 0 auto; padding: 10px 32px; display: flex; align-items: center; justify-content: flex-end; gap: 8px var(--sp-6); flex-wrap: wrap; }
.page-banner strong { font-weight: 700; }
.page-banner-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; }
.page-banner-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.page-hero { border-top: 0; }
.page-hero-actions { display: flex; gap: var(--sp-3); align-items: flex-end; justify-content: flex-end; flex-wrap: wrap; }
.page-chapters li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; }
.page-tabs { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.page-tabs::-webkit-scrollbar { display: none; }
/* margin-bottom 0: das -1px der Basis-Tabs erzeugt sonst einen senkrechten Scrollbalken */
.page-tabs .tab-btn { font-size: 16px; padding: 14px 24px; white-space: nowrap; margin-bottom: 0; }
.page-filter { margin-bottom: var(--sp-4); }
.page-filter .tabs-pill { flex-wrap: wrap; }
.page-filter .tab-btn { font-size: 15px; background: var(--c-surface); }
.page-filter-count { font-size: 12px; opacity: 0.65; margin-left: 4px; }
.page-project { display: flex; flex-direction: column; }
.page-project .card-body { flex: 1; display: flex; flex-direction: column; }
.page-project .card-body > div:last-child { margin-top: auto; }
.page-bleed-section { padding: 0; border-top: 0; }

/* Element-Beschriftung (Schalter in der Hinweisleiste) */
.page.show-el [data-el]:not([data-el=""]) { position: relative; outline: 1px dashed rgba(232,93,47,0.8); outline-offset: 6px; }
.page.show-el [data-el]:not([data-el=""])::before {
  content: attr(data-el); position: absolute; left: -6px; top: -6px; transform: translateY(-100%); z-index: 6;
  background: var(--c-accent); color: white; font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  padding: 3px 8px; white-space: nowrap; pointer-events: none;
}
.page.show-el .card[data-el]:not([data-el=""])::before,
.page.show-el .bleed[data-el]:not([data-el=""])::before { left: 8px; top: 8px; transform: none; }
.page.show-el .bleed[data-el] { outline-offset: -1px; }

@media (max-width: 1180px) {
  section[id], footer[id] { scroll-margin-top: 96px; }
  .hero-pages-intro, .hero-page { margin-top: 0; }
  .hero-pages-intro { margin-top: var(--sp-7); }
  .page-hero-actions { justify-content: flex-start; }
  .page-featured { grid-template-columns: 1fr; }
  .page-banner-long { display: none; }
  .type-weight-row { grid-template-columns: 160px minmax(0, 1fr); }
  .type-weight-row > :last-child { grid-column: 2; }
}
@media (max-width: 640px) {
  section[id], footer[id] { scroll-margin-top: 80px; }
  .sg-topbar-inner { padding: 0; }
  .sg-topbar a.sg-topbar-phone { display: none; }
  .sg-topbar-tools { flex: 1; margin-right: 0; }
  .sg-topbar-tools a { flex: 1; justify-content: center; padding: 0 8px; font-size: 13px; }
  .sg-topbar-tools a:first-child { border-left: 0; }
  .sg-topbar-long { display: none; }
  .sg-topbar-demo .sg-topbar-inner { padding: 0; }
  .bleed-inner { padding: 0 20px; }
  .bleed-pad { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
  .page-banner-inner { padding: 10px 20px; }
  .page-banner-long { display: none; }
  .video-player-stage { padding: var(--sp-4); }
  .video-player-stage .text-h3 { font-size: 18px; }
  .type-scale-row, .type-weight-row { grid-template-columns: minmax(0, 1fr); gap: var(--sp-2); }
  .type-weight-row > :last-child { grid-column: auto; }
}
