/* ============================================================
   Sonne QM — brand.css (Marke 1.0, November 2026)
   Lädt als LETZTES Stylesheet auf jeder Seite (nach styles.css, home.css,
   modern.css) und setzt die Markenvorgaben aus der Branding-Mappe um:
   - Schriften lokal (/fonts): Plus Jakarta Sans (Überschriften), Inter (Text),
     JetBrains Mono (Daten) – keine Google Fonts mehr.
   - Farben: Teal führt, die Sonne setzt Akzente. Die bisherigen Grüntöne
     (--g900 … --g50) werden auf die Teal-Palette umgelegt.
   - Buttons und Links in Teal tief (#007A8C), dunkle Bänder/Footer in Nacht-Teal.
   Quelle der Werte: Branding-Mappe 09_Code-Umsetzung/sonne-qm-tokens.css
   ============================================================ */

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/PlusJakartaSans-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/PlusJakartaSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/PlusJakartaSans-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/PlusJakartaSans-ExtraBold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/Inter-Light.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Inter-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/Inter-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/Inter-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/Inter-Bold.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/JetBrainsMono-Regular.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/JetBrainsMono-Medium.woff2') format('woff2'); }

:root {
  --sq-teal-50: #E6F6F8; --sq-teal-100: #CCEDF1; --sq-teal-200: #B8E5EC; --sq-teal-400: #33B5C6;
  --sq-teal-500: #009FB5; --sq-teal-600: #007A8C; --sq-teal-700: #00616F; --sq-teal-900: #0E2A30;
  --sq-sun-50: #FEF5E7; --sq-sun-300: #FFCB3D; --sq-sun-500: #F5A623; --sq-sun-700: #9A6206;
  --sq-green-50: #EEF7E6; --sq-green-500: #6BBD2E; --sq-green-600: #61A302; --sq-green-700: #3B7419;
  --sq-red-50: #FDECEC; --sq-red-500: #E05252; --sq-red-700: #B33232;
  --sq-ink: #1F2426; --sq-ink-2: #4B5563; --sq-ink-3: #677079;
  --sq-line: #E3E7EA; --sq-line-soft: #F0F2F3; --sq-canvas: #F7F9FA; --sq-surface: #FFFFFF;
  --sq-primary: var(--sq-teal-600); --sq-primary-hover: var(--sq-teal-700);
  --sq-brand: var(--sq-teal-500); --sq-focus: var(--sq-teal-500);
  --sq-brand-bar: linear-gradient(90deg, var(--sq-teal-500) 0%, var(--sq-green-500) 55%, var(--sq-sun-500) 100%);
  --sq-font-display: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --sq-font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --sq-font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  /* styles.css (Unterseiten ohne .home-Variablen) */
  --green-900: var(--sq-teal-900); --green-700: var(--sq-teal-600); --green-600: var(--sq-teal-600);
  --green-500: var(--sq-teal-500); --green-400: var(--sq-teal-400);
  --teal: var(--sq-teal-500); --teal-700: var(--sq-teal-600);
  --ink: var(--sq-ink); --mist: var(--sq-canvas);
}

/* Gleicher Selektor wie home.css/modern.css – lädt später, gewinnt daher. */
.home {
  --ink: var(--sq-ink);
  --g900: var(--sq-teal-900);
  --g800: #12363D;
  --g700: var(--sq-teal-600);
  --g600: var(--sq-teal-600);
  --g500: var(--sq-teal-500);
  --g400: var(--sq-teal-400);
  --g100: var(--sq-teal-50);
  --g50: #F3FAFB;
  --sun: var(--sq-sun-500);
  --teal: var(--sq-teal-500);
  --teal-700: var(--sq-teal-600);
  --paper: var(--sq-surface);
  --bg: var(--sq-surface);
  --muted: var(--sq-ink-2);
  --faint: var(--sq-ink-3);
  --line: rgba(14, 42, 48, 0.10);
  --line-2: rgba(14, 42, 48, 0.18);
  font-family: var(--sq-font-sans);
}

/* Typografie */
body { font-family: var(--sq-font-sans); }
.home h1, .home h2, .home h3, .home h4,
.home .sec-title, .home .hero-title, .home .price-amount { font-family: var(--sq-font-display); }
.home h1, .home h2 { font-weight: 800; }
.home h3, .home h4 { font-weight: 700; }
.home code, .home kbd, .home .mono { font-family: var(--sq-font-mono); }

/* Buttons: Primär in Teal tief (weiße Schrift 5,0:1), Hover Teal 700 */
.home .btn-primary, .home .cta-button, .home .cta-button.primary, .home .landing-cta.primary, .home .price-cta, .home .btn-accent {
  background: var(--sq-primary) !important; border-color: var(--sq-primary) !important; color: #fff !important;
}
.home .btn-primary:hover, .home .cta-button:hover, .home .price-cta:hover, .home .btn-accent:hover {
  background: var(--sq-primary-hover) !important; border-color: var(--sq-primary-hover) !important;
}
/* Auf dunklen Bändern bleibt der Primärbutton weiß mit Nacht-Teal-Schrift */
.home .band .btn-primary, .home .contact-x .btn-accent, .home .contact-x .btn-primary, .home .testi-cta .btn-primary {
  background: #fff !important; color: var(--sq-teal-900) !important; border-color: #fff !important;
}

/* Links im Fließtext */
/* nur Links im Fließtext (Menü, Footer und Buttons behalten ihre eigenen Farben) */
.home p a:not([class]) { color: var(--sq-primary); text-underline-offset: 2px; }
.home p a:not([class]):hover { color: var(--sq-primary-hover); }

/* Sichtbarer Fokusring */
.home a:focus-visible, .home button:focus-visible, .home input:focus-visible, .home select:focus-visible, .home textarea:focus-visible {
  outline: 2px solid var(--sq-focus); outline-offset: 2px;
}

/* Footer in Nacht-Teal mit Negativ-Logo */
.home .footer-x { background: var(--sq-teal-900); }
.home .footer-x-brand img { height: 44px; width: auto; }

/* Markenstreifen unter der Kopfzeile (Teal → Grün → Sonne) */
.home .site-top { border-bottom: 0; }
.home .site-top::after { content: ""; display: block; height: 3px; background: var(--sq-brand-bar); }
