/* ============================================================
   Spritzschutzglas — main.css
   Base + components for Phase 1 (header, hero, footer).
   Visual styling matches the approved demo; selectors are
   namespaced with the ssg- prefix to avoid plugin collisions.
   ============================================================ */

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark);
  background: var(--char);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--display); }

:focus-visible {
  outline: 2px solid var(--coral-bright);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Skip link (accessibility) ---------- */
.ssg-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
}
.ssg-skip-link:focus {
  left: 16px;
  top: 16px;
  padding: 12px 18px;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-sm);
}

/* ---------- Container ---------- */
.ssg-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.ssg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.ssg-btn-primary {
  padding: 16px 30px;
  background: var(--coral);
  color: #fff;
}
.ssg-btn-primary:hover {
  background: var(--coral-bright);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.ssg-btn-outline {
  padding: 16px 26px;
  background: transparent;
  color: var(--on-dark);
  border: 1.5px solid var(--char-line);
}
.ssg-btn-outline:hover { border-color: var(--on-dark); }
.ssg-btn-outline svg { transition: transform var(--t-fast); }
.ssg-btn-outline:hover svg { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.ssg-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 26, 24, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--char-line-soft);
}
.ssg-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Brand mark (3 swatches + wordmark, or custom logo) */
.ssg-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.ssg-brand--logo img { height: 46px; width: auto; }
.ssg-brand-swatches { display: flex; gap: 3px; }
.ssg-brand-swatches span {
  width: 8px;
  height: 22px;
  border-radius: 2px;
}
.ssg-brand-swatches span:nth-child(1) { background: var(--brand-swatch-1); }
.ssg-brand-swatches span:nth-child(2) { background: var(--brand-swatch-2); }
.ssg-brand-swatches span:nth-child(3) { background: var(--brand-swatch-3); }

/* Primary navigation */
.ssg-nav {
  display: flex;
  align-items: center;
  font-size: 14.5px;
  font-weight: 500;
}
.ssg-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}
.ssg-nav-menu a {
  color: var(--on-dark-mut);
  transition: color var(--t-fast);
}
.ssg-nav-menu a:hover,
.ssg-nav-menu .current-menu-item > a,
.ssg-nav-menu .current_page_item > a { color: var(--on-dark); }

/* Header CTA */
.ssg-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.ssg-header-cta:hover {
  background: var(--coral-bright);
  transform: translateY(-1px);
}

.ssg-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile menu toggle (hidden on desktop) */
.ssg-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--char-line);
  border-radius: var(--r-sm);
}
.ssg-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.ssg-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ssg-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ssg-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.ssg-mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(28, 26, 24, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.ssg-mobile-nav[hidden] { display: none; }
.ssg-mobile-menu {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.ssg-mobile-menu li { border-bottom: 1px solid var(--char-line-soft); }
.ssg-mobile-menu a {
  display: block;
  padding: 16px 4px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--on-dark);
}
.ssg-mobile-cta {
  margin-top: 18px;
  justify-content: center;
}
body.ssg-nav-open { overflow: hidden; }

/* ============================================================
   HERO — split: copy + kitchen image with static caption strip
   ============================================================ */
.ssg-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 32px 60px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.ssg-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-bright);
  margin-bottom: 26px;
}
.ssg-hero-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--coral);
}
.ssg-hero-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--on-dark);
  margin-bottom: 24px;
}
.ssg-hero-title .ssg-colored {
  background: linear-gradient(100deg, var(--coral) 0%, var(--coral-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--coral); /* fallback for non-supporting browsers */
}
.ssg-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--on-dark-mut);
  max-width: 460px;
  margin-bottom: 36px;
}
.ssg-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 44px;
}
.ssg-hero-specs {
  display: flex;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--char-line);
}
.ssg-hero-spec strong {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: -0.01em;
}
.ssg-hero-spec span {
  font-size: 13px;
  color: var(--on-dark-faint);
}

/* Hero visual */
.ssg-hero-visual { position: relative; }
.ssg-hero-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--char-3);
  box-shadow: var(--sh-lg);
  position: relative;
}
.ssg-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ssg-hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--on-dark-faint);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(231,111,81,0.10), transparent 60%),
    var(--char-3);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.ssg-hero-swatch-strip {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(28, 26, 24, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-md);
  padding: 18px 22px;
  border: 1px solid var(--char-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ssg-hero-caption-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ssg-hero-caption-label {
  font-size: 12px;
  color: var(--on-dark-faint);
  font-family: var(--display);
  letter-spacing: 0.04em;
}
.ssg-hero-caption-value {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--on-dark);
  letter-spacing: -0.01em;
}
.ssg-hero-caption-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral-bright);
  background: var(--coral-soft);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

/* ============================================================
   GENERIC PAGE / POSTS (page.php, index.php)
   ============================================================ */
.ssg-page-header {
  border-bottom: 1px solid var(--char-line-soft);
  padding: 64px 0 40px;
}
.ssg-page-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--on-dark);
}
.ssg-page-description { color: var(--on-dark-mut); margin-top: 10px; }

.ssg-section { padding: 56px 0 80px; }

.ssg-entry-content { max-width: 760px; }
.ssg-entry-content > * + * { margin-top: 1.1em; }
.ssg-entry-content h2,
.ssg-entry-content h3 {
  font-family: var(--display);
  color: var(--on-dark);
  letter-spacing: -0.02em;
  margin-top: 1.6em;
}
.ssg-entry-content h2 { font-size: 1.7rem; }
.ssg-entry-content h3 { font-size: 1.3rem; }
.ssg-entry-content p,
.ssg-entry-content li { color: var(--on-dark-mut); }
.ssg-entry-content a { color: var(--coral-bright); text-decoration: underline; }
.ssg-entry-content img { border-radius: var(--r-md); }
.ssg-featured-image { margin-bottom: 28px; }
.ssg-featured-image img { border-radius: var(--r-lg); }

.ssg-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.ssg-post-card {
  background: var(--char-2);
  border: 1px solid var(--char-line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ssg-post-thumbnail img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ssg-post-content { padding: 22px 24px 26px; }
.ssg-post-title {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.ssg-post-title a { color: var(--on-dark); }
.ssg-post-title a:hover { color: var(--coral-bright); }
.ssg-post-meta { font-size: 13px; color: var(--on-dark-faint); margin-bottom: 12px; }
.ssg-post-excerpt { color: var(--on-dark-mut); font-size: 15px; }
.ssg-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--coral-bright);
  font-weight: 600;
  font-size: 14px;
}
.ssg-pagination {
  display: flex;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.ssg-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--char-line);
  border-radius: var(--r-sm);
  color: var(--on-dark-mut);
}
.ssg-pagination .page-numbers.current,
.ssg-pagination .page-numbers:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.ssg-no-content { color: var(--on-dark-mut); }

/* ============================================================
   FOOTER
   ============================================================ */
.ssg-footer {
  background: var(--char);
  color: var(--on-dark-mut);
  padding: 70px 32px 36px;
  border-top: 1px solid var(--char-line);
}
.ssg-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--char-line-soft);
}
.ssg-footer-brand {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.ssg-footer-brand--logo img { height: 44px; width: auto; }
.ssg-footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 320px;
}
.ssg-footer-col h2 {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 18px;
}
.ssg-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
}
.ssg-footer-links a {
  color: var(--on-dark-mut);
  transition: color var(--t-fast);
}
.ssg-footer-links a:hover { color: var(--coral-bright); }
.ssg-footer-bottom {
  max-width: var(--max);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--on-dark-faint);
}
.ssg-footer-bottom p { margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .ssg-hero {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .ssg-hero-visual { max-width: 520px; }
  .ssg-footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .ssg-nav { display: none; }
  .ssg-header-cta { display: none; }
  .ssg-menu-toggle { display: flex; }
  .ssg-hero { padding: 44px 20px 36px; }
  .ssg-hero-specs { gap: 20px; flex-wrap: wrap; }
  .ssg-container { padding: 0 20px; }
  .ssg-footer { padding: 56px 20px 32px; }
  .ssg-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .ssg-footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

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

/* ============================================================
   PHASE 2 — Homepage content sections
   Color picker (#farben) · Glass options (#optionen) ·
   Process (#ablauf) · FAQ (#faq)
   Ported from the approved demo, namespaced ssg-.
   ============================================================ */

/* ---------- Shared section heading ---------- */
.ssg-section-head { text-align: center; margin-bottom: 50px; }
.ssg-section-eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}
.ssg-section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 640px;
  margin: 0 auto 18px;
}
.ssg-section-sub {
  font-size: 17px;
  max-width: 540px;
  margin: 0 auto;
}

/* ============================================================
   COLOR PICKER (#farben) — the signature section (light band)
   ============================================================ */
.ssg-colors {
  background: var(--cream);
  color: var(--on-light);
  padding: 90px 32px;
}
.ssg-colors-inner { max-width: var(--max); margin: 0 auto; }
.ssg-colors .ssg-section-title { color: var(--on-light); }
.ssg-colors .ssg-section-sub { color: var(--on-light-mut); }
.ssg-colors .ssg-section-eyebrow { color: var(--coral-text); }

.ssg-color-preview {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  margin-top: 50px;
  align-items: stretch;
}
.ssg-preview-pane {
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 420px;
  position: relative;
  background: var(--swatch-color, var(--coral));
  transition: background var(--t-base);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.ssg-preview-pane::before {
  /* glossy glass reflection — opacity driven by finish (--gloss) */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 100%);
  opacity: var(--gloss, 1);
  transition: opacity var(--t-base);
  pointer-events: none;
}
.ssg-preview-tag {
  position: relative;
  background: rgba(28, 26, 24, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  padding: 16px 22px;
  color: #fff;
}
.ssg-preview-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}
.ssg-preview-code {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--display);
}

.ssg-swatch-panel {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 30px;
  border: 1px solid rgba(28, 26, 24, 0.08);
}
.ssg-swatch-panel h3 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--on-light);
  margin-bottom: 6px;
}
.ssg-swatch-panel > p {
  font-size: 13px;
  color: var(--on-light-mut);
  margin-bottom: 22px;
}
.ssg-swatch-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.ssg-swatch {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--swatch-color, #ccc);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  padding: 0;
}
.ssg-swatch:hover { transform: scale(1.08); }
.ssg-swatch.is-active {
  border-color: var(--on-light);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--on-light);
}
.ssg-finish-row {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(28, 26, 24, 0.08);
}
.ssg-finish-pill {
  flex: 1;
  padding: 11px;
  text-align: center;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  color: var(--on-light);
  transition: all var(--t-fast);
}
.ssg-finish-pill.is-active {
  border-color: var(--coral);
  background: var(--coral-soft);
  color: var(--coral-text);
}

/* ============================================================
   GLASS OPTIONS (#optionen) — dark, 4 cards
   ============================================================ */
.ssg-options {
  padding: 90px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.ssg-options .ssg-section-title { color: var(--on-dark); }
.ssg-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 50px;
}
.ssg-opt-card {
  background: var(--char-2);
  border: 1px solid var(--char-line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: transform var(--t-base), border-color var(--t-base);
}
.ssg-opt-card:hover {
  border-color: var(--coral);
  transform: translateY(-4px);
}
.ssg-opt-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--coral-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coral-bright);
  margin-bottom: 22px;
}
.ssg-opt-card h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  color: var(--on-dark);
  margin-bottom: 9px;
  letter-spacing: -0.01em;
}
.ssg-opt-card p {
  font-size: 14px;
  color: var(--on-dark-mut);
  line-height: 1.6;
}

/* ============================================================
   PROCESS (#ablauf) — 4 steps, lifted band
   ============================================================ */
.ssg-process {
  background: var(--char-2);
  padding: 90px 32px;
  border-top: 1px solid var(--char-line);
  border-bottom: 1px solid var(--char-line);
}
.ssg-process .ssg-section-title { color: var(--on-dark); }
.ssg-process-inner { max-width: var(--max); margin: 0 auto; }
.ssg-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 50px;
}
.ssg-step { position: relative; }
.ssg-step-num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 700;
  color: var(--char-3);
  line-height: 1;
  margin-bottom: 16px;
}
.ssg-step:first-child .ssg-step-num { color: var(--coral); }
.ssg-step h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  color: var(--on-dark);
  margin-bottom: 9px;
}
.ssg-step p {
  font-size: 14px;
  color: var(--on-dark-mut);
  line-height: 1.55;
}

/* ============================================================
   FAQ (#faq) — accessible accordion
   ============================================================ */
.ssg-faq {
  padding: 90px 32px;
  max-width: 820px;
  margin: 0 auto;
}
.ssg-faq .ssg-section-title { color: var(--on-dark); }
.ssg-faq-item {
  background: var(--char-2);
  border: 1px solid var(--char-line);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.ssg-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  text-align: left;
  padding: 24px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  color: var(--on-dark);
}
.ssg-faq-q-text { flex: 1; }
.ssg-faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--coral-soft);
  color: var(--coral-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  transition: transform var(--t-fast);
}
.ssg-faq-item.is-open .ssg-faq-icon { transform: rotate(45deg); }
.ssg-faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base);
}
.ssg-faq-item.is-open .ssg-faq-a-wrap { grid-template-rows: 1fr; }
.ssg-faq-a-inner { overflow: hidden; }
.ssg-faq-a {
  padding: 0 28px 24px;
  margin: 0;
  font-size: 15px;
  color: var(--on-dark-mut);
  line-height: 1.65;
}

/* ============================================================
   PHASE 2 — responsive
   ============================================================ */
@media (max-width: 1024px) {
  .ssg-color-preview { grid-template-columns: 1fr; gap: 28px; }
  .ssg-preview-pane { min-height: 300px; }
  .ssg-options-grid { grid-template-columns: repeat(2, 1fr); }
  .ssg-process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 26px; }
}

@media (max-width: 640px) {
  .ssg-colors,
  .ssg-options,
  .ssg-process,
  .ssg-faq { padding: 56px 20px; }
  .ssg-swatch-grid { grid-template-columns: repeat(4, 1fr); }
  .ssg-options-grid { grid-template-columns: 1fr; }
  .ssg-process-grid { grid-template-columns: 1fr; }
  .ssg-faq-q { padding: 20px; font-size: 16px; }
  .ssg-faq-a { padding: 0 20px 20px; }
}

/* ============================================================
   PHASE 3 — Price configurator (#konfigurator)
   ============================================================ */
.ssg-configurator {
  background: var(--char-2);
  padding: 90px 32px;
  border-top: 1px solid var(--char-line);
  border-bottom: 1px solid var(--char-line);
}
.ssg-config-inner { max-width: var(--max); margin: 0 auto; }
.ssg-configurator .ssg-section-title { color: var(--on-dark); }
.ssg-configurator .ssg-section-sub { color: var(--on-dark-mut); }
.ssg-config-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  margin-top: 50px;
  align-items: stretch;
}
.ssg-config-form {
  background: var(--char);
  border: 1px solid var(--char-line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.ssg-config-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 14px;
}
.ssg-config-field-label .ssg-hint {
  font-family: var(--body);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--on-dark-faint);
}
.ssg-config-size {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ssg-config-input { position: relative; }
.ssg-config-input input {
  width: 100%;
  padding: 15px 48px 15px 16px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  color: var(--on-dark);
  background: var(--char-3);
  border: 1.5px solid var(--char-line);
  border-radius: var(--r-sm);
  outline: none;
  transition: border var(--t-fast);
}
.ssg-config-input input:focus { border-color: var(--coral); }
.ssg-config-input .ssg-unit {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  font-size: 13px;
  color: var(--on-dark-faint);
  pointer-events: none;
}
.ssg-config-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ssg-config-pill {
  padding: 14px 18px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  background: var(--char-3);
  border: 1.5px solid var(--char-line);
  border-radius: var(--r-sm);
  color: var(--on-dark-mut);
  transition: all var(--t-fast);
  cursor: pointer;
}
.ssg-config-pill:hover { border-color: var(--on-dark-faint); color: var(--on-dark); }
.ssg-config-pill.is-active {
  background: var(--coral);
  border-color: var(--coral);
  color: #1c1a18;
}
.ssg-config-pill small {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 2px;
}
.ssg-config-pill.is-active small { opacity: 1; color: #1c1a18; }
.ssg-config-colors {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.ssg-config-color {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--swatch-color, #ccc);
  box-shadow: inset 0 0 0 1px rgba(245, 240, 232, 0.22);
  transition: all var(--t-fast);
  padding: 0;
}
.ssg-config-color:hover { transform: scale(1.1); }
.ssg-config-color.is-active {
  border-color: var(--on-dark);
  box-shadow: inset 0 0 0 1px rgba(245, 240, 232, 0.22), 0 0 0 2px var(--char), 0 0 0 4px var(--on-dark);
}

/* estimate panel */
.ssg-config-estimate {
  background: linear-gradient(150deg, var(--char-3) 0%, var(--char) 100%);
  border: 1px solid var(--char-line);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.ssg-estimate-label {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 8px;
}
.ssg-estimate-price {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--on-dark);
  line-height: 1.05;
  margin-bottom: 4px;
}
.ssg-estimate-price .ssg-currency { color: var(--coral-bright); }
.ssg-estimate-note {
  font-size: 13px;
  color: var(--on-dark-faint);
  margin-bottom: 26px;
  line-height: 1.5;
}
.ssg-estimate-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--char-line);
  border-bottom: 1px solid var(--char-line);
  margin-bottom: 24px;
}
.ssg-estimate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.ssg-estimate-row .ssg-er-label { color: var(--on-dark-mut); }
.ssg-estimate-row .ssg-er-value {
  font-family: var(--display);
  font-weight: 500;
  color: var(--on-dark);
}
.ssg-estimate-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.ssg-estimate-cta .ssg-btn { width: 100%; justify-content: center; }
.ssg-estimate-disclaimer {
  font-size: 12px;
  color: var(--on-dark-faint);
  text-align: center;
  line-height: 1.5;
  margin-top: 6px;
}

/* ============================================================
   PHASE 3 — Quote form (#angebot)
   ============================================================ */
.ssg-quote {
  max-width: var(--max);
  margin: 90px auto;
  padding: 0 32px;
}
.ssg-quote-card {
  background: linear-gradient(135deg, #c64f2b 0%, #a83a18 100%);
  border-radius: var(--r-xl);
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ssg-quote-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.ssg-quote-content { position: relative; z-index: 1; }
.ssg-quote-eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.ssg-quote-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 18px;
}
.ssg-quote-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  max-width: 440px;
}
.ssg-quote-features {
  display: flex;
  gap: 22px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.ssg-quote-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.ssg-quote-feature svg { flex-shrink: 0; }

/* form panel */
.ssg-quote-form {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--sh-lg);
}
.ssg-field { margin-bottom: 16px; }
.ssg-field:last-of-type { margin-bottom: 0; }
.ssg-field label {
  display: block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  color: var(--on-light);
  margin-bottom: 7px;
}
.ssg-field .ssg-req { color: var(--coral-text); }
.ssg-input,
.ssg-select,
.ssg-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--on-light);
  background: var(--cream);
  border: 1.5px solid rgba(28, 26, 24, 0.12);
  border-radius: var(--r-sm);
  outline: none;
  transition: border var(--t-fast);
}
.ssg-textarea { resize: vertical; min-height: 84px; }
.ssg-input:focus,
.ssg-select:focus,
.ssg-textarea:focus { border-color: var(--coral); }
.ssg-input::placeholder,
.ssg-textarea::placeholder { color: var(--on-light-mut); }
.ssg-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ssg-file-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--cream);
  border: 1.5px dashed rgba(28, 26, 24, 0.22);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border var(--t-fast);
}
.ssg-file-label:hover { border-color: var(--coral); }
.ssg-file-label svg { color: var(--coral-text); flex-shrink: 0; }
.ssg-file-text {
  font-size: 13px;
  color: var(--on-light-mut);
  line-height: 1.4;
}
.ssg-file-text strong {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  color: var(--on-light);
}
.ssg-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.ssg-file-input:focus-visible + .ssg-file-label { border-color: var(--coral); outline: 2px solid var(--coral); outline-offset: 2px; }
.ssg-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0;
}
.ssg-consent input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--coral); }
.ssg-consent label {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 400;
  color: var(--on-light-mut);
  line-height: 1.5;
  margin: 0;
}
.ssg-consent a { color: var(--coral-text); text-decoration: underline; }
.ssg-quote-form .ssg-btn-primary { width: 100%; justify-content: center; }
.ssg-form-note {
  font-size: 12px;
  color: var(--on-light-mut);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
/* honeypot — visually + a11y hidden, still in DOM for bots */
.ssg-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* submission feedback */
.ssg-form-message {
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.ssg-form-message--success {
  background: #e6f4ea;
  color: #1d6b3a;
  border: 1px solid #b7dfc3;
}
.ssg-form-message--error {
  background: #fdeae6;
  color: #a3260f;
  border: 1px solid #f3c4ba;
}

/* ============================================================
   PHASE 3 — responsive
   ============================================================ */
@media (max-width: 1024px) {
  .ssg-config-layout { grid-template-columns: 1fr; }
  .ssg-config-estimate { margin-top: 4px; }
  .ssg-quote-card { grid-template-columns: 1fr; gap: 36px; padding: 44px 32px; }
}
@media (max-width: 640px) {
  .ssg-configurator { padding: 56px 20px; }
  .ssg-config-form { padding: 24px; }
  .ssg-config-estimate { padding: 28px; }
  .ssg-quote { padding: 0 20px; }
  .ssg-quote-card { padding: 32px 22px; }
  .ssg-quote-form { padding: 24px; }
  .ssg-field-row { grid-template-columns: 1fr; }
}

/* ============================================================
   PHASE 4 — Cookie / privacy notice
   ============================================================ */
.ssg-cookie-notice {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(20px);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  background: var(--char-2);
  border: 1px solid var(--char-line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  opacity: 0;
  transition: opacity var(--t-base), transform var(--t-base);
}
.ssg-cookie-notice.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ssg-cookie-text {
  flex: 1;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--on-dark-mut);
}
.ssg-cookie-text a {
  color: var(--coral-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ssg-cookie-accept {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .ssg-cookie-notice {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    bottom: 12px;
    padding: 16px 18px;
  }
  .ssg-cookie-accept { width: 100%; }
}

/* ============================================================
   PHASE 4 — 404 page
   ============================================================ */
.ssg-error-404 {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 32px 120px;
  text-align: center;
}
.ssg-error-code {
  font-family: var(--display);
  font-size: clamp(5rem, 16vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--coral);
  margin: 0;
}
.ssg-error-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-dark);
  margin: 8px 0 16px;
}
.ssg-error-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark-mut);
  max-width: 520px;
  margin: 0 auto 32px;
}
.ssg-error-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.ssg-error-links {
  display: flex;
  gap: 8px 28px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--char-line);
}
.ssg-error-links a {
  font-family: var(--display);
  font-size: 14px;
  color: var(--on-dark-mut);
  transition: color var(--t-fast);
}
.ssg-error-links a:hover { color: var(--coral-bright); }
