/*
Theme Name: florian-gahn
Theme URI: https://florian-gahn.de
Author: Florian Gahn
Description: Custom-Theme für florian-gahn.de — 1:1-Nachbau der React/Tailwind-Site (Lovable). Design-Tokens aus src/index.css, Blog-Styles aus src/styles/blog.css. Kein Page-Builder, kein SEO-Plugin; Title/Meta/Canonical/OG/JSON-LD macht das Theme.
Version: 1.0.0
Requires PHP: 8.1
Text Domain: florian-gahn
*/

/* ============================================================
   Fonts — lokal gehostet (kein Google Fonts, DSE Ziff. 9).
   WOFF2 aus @fontsource (latin + latin-ext, unicode-range).
   ============================================================ */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/inter-latin-300-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/inter-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/inter-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/inter-latin-ext-300-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/inter-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('assets/fonts/inter-latin-ext-800-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/lora-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/lora-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/lora-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/lora-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/lora-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/lora-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/lora-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/lora-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/space-mono-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/space-mono-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/space-mono-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/space-mono-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ============================================================
   Design-Tokens (src/index.css) — Light default, .dark auf <html>
   ============================================================ */
:root {
  --background: 209 40% 96%;
  --foreground: 222 47% 11%;
  --card: 210 40% 98%;
  --card-foreground: 222 47% 11%;
  --primary: 200 98% 39%;
  --primary-foreground: 204 100% 97%;
  --secondary: 215 24% 26%;
  --secondary-foreground: 210 40% 98%;
  --muted: 215 20% 65%;
  --muted-foreground: 222 47% 11%;
  --accent: 210 40% 98%;
  --accent-foreground: 215 19% 34%;
  --border: 212 26% 83%;
  --ring: 200 98% 39%;
  --radius: 0.5rem;
  --destructive: 0 72% 50%;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.2);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
  --shadow-card: 0 2px 12px 0 rgb(0 0 0 / 0.05);
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  /* Text-Farben des Blog-Renderers (Tailwind-Grays) */
  --tw-gray-50: #f9fafb; --tw-gray-100: #f3f4f6; --tw-gray-200: #e5e7eb;
  --tw-gray-300: #d1d5db; --tw-gray-400: #9ca3af; --tw-gray-500: #6b7280;
  --tw-gray-600: #4b5563; --tw-gray-700: #374151; --tw-gray-800: #1f2937;
  --tw-gray-900: #111827;
  --tw-blue-50: #eff6ff; --tw-blue-400: #60a5fa; --tw-blue-500: #3b82f6; --tw-blue-600: #2563eb;
}
.dark {
  --destructive: 0 84% 60%;
  --background: 222 47% 11%;
  --foreground: 210 40% 98%;
  --card: 217 32% 17%;
  --card-foreground: 210 40% 98%;
  --primary: 198 93% 59%;
  --primary-foreground: 204 80% 15%;
  --secondary: 212 26% 83%;
  --secondary-foreground: 228 84% 4%;
  --muted: 215 16% 46%;
  --muted-foreground: 210 40% 98%;
  --accent: 228 84% 4%;
  --accent-foreground: 215 20% 65%;
  --border: 215 19% 34%;
  --ring: 198 93% 59%;
  --glass-bg: rgba(0, 0, 0, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; border-color: hsl(var(--border)); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
/* hidden-Attribut gewinnt IMMER: jede display-Regel (.post-grid, .btn …)
   überschreibt sonst das UA-display:none — Home-Toggle-Teaser stand offen
   (6 statt 3 Karten, Buttons wirkungslos; gefunden 04.08.2026). */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
.site-main { min-height: 60vh; }

.icon { width: 1.25rem; height: 1.25rem; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-xs { width: 0.75rem; height: 0.75rem; }

.container-lg { width: 100%; margin-inline: auto; padding-inline: 1.5rem; max-width: 80rem; }
.container { width: 100%; margin-inline: auto; padding-inline: 1rem; }
.article-container { max-width: 56rem; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; padding: 0 1rem; border-radius: 0.375rem;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-sm);
  transition: background-color 0.15s ease;
}
.btn-primary:hover { background: hsl(var(--primary) / 0.9); }

/* ============================================================
   Navigation (Navigation.tsx)
   ============================================================ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}
/* Eingeloggt: WP-Admin-Bar (fixed, 32px bzw. 46px mobil) liegt sonst über der Nav. */
body.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-nav { top: 46px; }
}
.site-nav.is-scrolled, .site-nav.menu-open {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
.nav-brand { font-weight: 600; font-size: 1.125rem; color: hsl(var(--foreground)); transition: opacity 0.3s; }
.nav-brand:hover { opacity: 0.7; }
.nav-links { display: none; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 0.75rem; font-weight: 500; color: hsl(var(--muted-foreground)); opacity: 0.85; transition: all 0.3s; }
.nav-link:hover { color: hsl(var(--foreground)); opacity: 0.8; }
.nav-link.is-active { color: hsl(var(--foreground)); opacity: 1; }
.nav-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 0.375rem; }
.nav-mobile-toggle .icon-close { display: none; }
.menu-open .nav-mobile-toggle .icon-menu { display: none; }
.menu-open .nav-mobile-toggle .icon-close { display: block; }
.nav-mobile-menu {
  position: absolute; left: 0; right: 0; top: 3.5rem;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
}
.nav-mobile-list { display: flex; flex-direction: column; gap: 0.25rem; padding: 1.5rem 0; }
.nav-mobile-link { font-size: 0.875rem; font-weight: 500; padding: 0.75rem 1rem; border-radius: 0.5rem; color: hsl(var(--muted-foreground)); }
.nav-mobile-link:hover { color: hsl(var(--foreground)); background: hsl(var(--accent) / 0.3); }
.nav-mobile-link.is-active { color: hsl(var(--foreground)); background: hsl(var(--accent) / 0.5); }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-mobile-toggle, .nav-mobile-menu { display: none; }
}

/* ============================================================
   Footer (Footer.tsx)
   ============================================================ */
.site-footer { background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); margin-top: 8rem; }
.site-footer-inner { padding-top: 5rem; padding-bottom: 5rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand { font-weight: 600; font-size: 1rem; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.75rem; color: hsl(var(--muted-foreground)); opacity: 0.75; line-height: 1.625; }
.footer-heading { font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.025em; margin-bottom: 1.5rem; color: hsl(var(--muted-foreground)); opacity: 0.75; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a, .footer-legal a { font-size: 0.75rem; color: hsl(var(--muted-foreground)); opacity: 0.8; transition: all 0.3s; }
.footer-links a:hover, .footer-legal a:hover { color: hsl(var(--foreground)); opacity: 0.7; }
.footer-social { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.footer-social a { padding: 0.75rem; border-radius: 0.5rem; color: hsl(var(--muted-foreground)); opacity: 0.8; transition: all 0.3s; }
.footer-social a:hover { color: hsl(var(--foreground)); background: hsl(var(--accent) / 0.3); }
.footer-cv-link { font-size: 0.75rem; color: hsl(var(--muted-foreground)); opacity: 0.6; line-height: 1.625; transition: all 0.3s; }
.footer-cv-link:hover { color: hsl(var(--foreground)); opacity: 1; text-decoration: underline; }
.footer-certs { border-top: 1px solid hsl(var(--border)); padding: 2.5rem 0; }
.footer-certs-heading { text-align: center; }
.footer-certs-badges { display: flex; justify-content: center; align-items: center; gap: 1.5rem; }
.footer-certs-badges img { height: 3.5rem; width: auto; transition: opacity 0.3s; }
.footer-certs-badges img:hover { opacity: 0.7; }
.footer-bottom { border-top: 1px solid hsl(var(--border)); padding-top: 3rem; display: flex; flex-direction: column; align-items: center; font-size: 0.75rem; color: hsl(var(--muted-foreground)); opacity: 0.85; }
.footer-legal { display: flex; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .footer-legal { margin-top: 0; }
}

/* ============================================================
   Blog-Übersicht /blog (Blog.tsx)
   ============================================================ */
.blog-index { padding-top: 6rem; min-height: 100vh; }
.blog-index-hero { padding: 3rem 0; background: hsl(var(--muted) / 0.3); }
.blog-index-hero-inner { max-width: 48rem; margin-inline: auto; text-align: center; }
.blog-index-hero h1 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.blog-index-hero p { font-size: 1.25rem; line-height: 1.75rem; color: hsl(var(--muted-foreground)); opacity: 0.85; }
@media (min-width: 768px) { .blog-index-hero h1 { font-size: 3rem; line-height: 1.1; } }
.blog-index-filter { padding: 2rem 0; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.filter-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.filter-btn {
  padding: 0.5rem 1.5rem; border-radius: 9999px; font-weight: 500;
  background: hsl(var(--muted)); color: hsl(var(--foreground));
  transition: var(--transition-smooth);
}
.filter-btn:hover { background: hsl(var(--muted) / 0.8); }
.filter-btn.is-active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.blog-index-grid { padding: 5rem 0; }
.post-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .post-grid { grid-template-columns: repeat(2, 1fr); } .post-grid-3.related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .post-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.post-grid-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 0; color: hsl(var(--muted-foreground)); opacity: 0.85; }

/* Blog-Karte (BlogCard.tsx) */
.post-card { display: block; height: 100%; }
.post-card-inner {
  background: hsl(var(--card)); border: 1px solid hsl(var(--border));
  border-radius: var(--radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  transition: var(--transition-slow);
}
.post-card:hover .post-card-inner { transform: translateY(-0.25rem); box-shadow: var(--shadow-lg); }
.post-card-figure { margin: 0; }
.post-card-media { aspect-ratio: 16 / 9; overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-placeholder { width: 100%; height: 100%; background: hsl(var(--muted)); }
.post-card-imgnote { font-size: 10px; color: hsl(var(--muted-foreground)); opacity: 0.75; padding: 0.375rem 1.5rem 0; }
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card-category { font-size: 0.75rem; font-weight: 500; color: hsl(var(--muted-foreground)); opacity: 0.8; text-transform: uppercase; letter-spacing: 0.025em; }
.post-card-title {
  font-size: 1.25rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.025em;
  margin: 0.5rem 0 0.75rem; color: hsl(var(--card-foreground));
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-excerpt {
  font-size: 0.875rem; line-height: 1.625; color: hsl(var(--muted-foreground)); opacity: 0.85;
  margin-bottom: 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-meta { display: flex; align-items: center; font-size: 0.75rem; color: hsl(var(--muted-foreground)); opacity: 0.8; margin-top: auto; gap: 0.25rem; }
.post-card-sep { margin: 0 0.5rem; }

/* ============================================================
   Einzelartikel (BlogPostDynamic.tsx + src/styles/blog.css)
   ============================================================ */
.blog-page {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  min-height: 100vh;
  color: #1a1a1a;
}
.blog-page.dark {
  background: linear-gradient(180deg, #0b0b10, #0e0e15 30%, #0b0b10 100%);
  color: #e5e7eb;
}

.blog-hero {
  background: radial-gradient(1200px 400px at 20% 0%, rgba(122,162,255,0.08), transparent),
              radial-gradient(800px 300px at 90% 10%, rgba(103,232,249,0.06), transparent);
  padding: 8rem 0 3rem;
}
.blog-page.dark .blog-hero {
  background: radial-gradient(1200px 400px at 20% 0%, rgba(122,162,255,0.15), transparent),
              radial-gradient(800px 300px at 90% 10%, rgba(103,232,249,0.12), transparent);
}
.blog-kicker {
  display: inline-block; padding: 0.375rem 0.75rem; font-size: 0.875rem; font-weight: 600;
  letter-spacing: 0.025em; border-radius: 9999px;
  background: rgba(122,162,255,0.15); color: #2563eb; border: 1px solid rgba(122,162,255,0.3);
}
.blog-page.dark .blog-kicker { background: rgba(122,162,255,0.2); color: #e0edff; border-color: rgba(122,162,255,0.4); }
.blog-title {
  font-size: 2.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.025em;
  margin: 1.5rem 0; color: var(--tw-gray-900);
}
.blog-page.dark .blog-title { color: #fff; }
.blog-excerpt { font-size: 1.125rem; line-height: 1.625; max-width: 48rem; color: var(--tw-gray-700); }
.blog-page.dark .blog-excerpt { color: var(--tw-gray-300); }
@media (min-width: 768px) {
  .blog-title { font-size: 3rem; line-height: 1.15; }
  .blog-excerpt { font-size: 1.25rem; }
}
.blog-main { padding-bottom: 5rem; }

.blog-featured { margin-bottom: 2rem; border-radius: 0.75rem; overflow: hidden; }
.blog-featured img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.blog-featured figcaption { font-size: 0.75rem; margin-top: 0.5rem; color: var(--tw-gray-500); }
.blog-page.dark .blog-featured figcaption { color: var(--tw-gray-500); }

.blog-backrow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.blog-backlink { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--tw-gray-600); transition: color 0.2s; }
.blog-backlink:hover { color: var(--tw-gray-900); }
.blog-page.dark .blog-backlink { color: var(--tw-gray-400); }
.blog-page.dark .blog-backlink:hover { color: #fff; }

/* Panels (blog.css .blog-panel) — Gruppen aus dem Import-Markup */
.blog-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-radius: 1rem; padding: 1.5rem; margin: 1.25rem 0;
  color: var(--tw-gray-900);
}
.blog-page.dark .blog-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  color: var(--tw-gray-100);
}
.blog-tldr {
  border-left: 4px solid #67e8f9;
  background: rgba(103,232,249,0.1);
  border-radius: 0.5rem;
}
.blog-page.dark .blog-tldr { background: rgba(103,232,249,0.12); }

/* Abstände im Panel (Live: space-y-4, Medien my-6).
   ACHTUNG: WP rendert Gruppen ohne layout-Attribut mit einem
   Legacy-<div class="wp-block-group__inner-container"> — die Blöcke sind
   also KEINE direkten Kinder von .blog-panel. Beide Ebenen abdecken. */
.blog-panel > * + *,
.blog-panel > .wp-block-group__inner-container > * + * { margin-top: 1rem; }
.blog-panel > .wp-block-image, .blog-panel > .wp-block-table,
.blog-panel > .code-block, .blog-panel > .wp-block-code,
.blog-panel > .wp-block-quote,
.blog-panel > .wp-block-group__inner-container > .wp-block-image,
.blog-panel > .wp-block-group__inner-container > .wp-block-table,
.blog-panel > .wp-block-group__inner-container > .code-block,
.blog-panel > .wp-block-group__inner-container > .wp-block-code,
.blog-panel > .wp-block-group__inner-container > .wp-block-quote { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.blog-panel > :first-child,
.blog-panel > .wp-block-group__inner-container > :first-child { margin-top: 0; }
.blog-panel > :last-child,
.blog-panel > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.blog-panel > .wp-block-group__inner-container { margin-top: 0; }

/* Überschriften + Fließtext im Panel */
.blog-panel h2.wp-block-heading {
  font-size: 1.5rem; line-height: 2rem; font-weight: 700;
  margin-bottom: 1.25rem; color: var(--tw-gray-900);
}
.blog-tldr h2.wp-block-heading { margin-bottom: 1rem; }
.blog-panel h3.wp-block-heading {
  font-size: 1.25rem; line-height: 1.75rem; font-weight: 700;
  margin-top: 2rem; margin-bottom: 1rem; color: var(--tw-gray-900);
}
.blog-page.dark .blog-panel h2.wp-block-heading,
.blog-page.dark .blog-panel h3.wp-block-heading { color: #fff; }
@media (min-width: 768px) {
  .blog-panel h2.wp-block-heading { font-size: 1.875rem; line-height: 2.25rem; }
  .blog-panel h3.wp-block-heading { font-size: 1.5rem; line-height: 2rem; }
}
.blog-panel p, .blog-panel li { font-size: 1rem; line-height: 1.625; color: var(--tw-gray-800); }
.blog-page.dark .blog-panel p, .blog-page.dark .blog-panel li { color: var(--tw-gray-200); }
@media (min-width: 768px) {
  .blog-panel p, .blog-panel li { font-size: 1.125rem; line-height: 1.75; }
  .blog-tldr p, .blog-tldr li { font-size: 1rem; line-height: 1.625; }
}
.blog-tldr p, .blog-tldr li { font-size: 1rem; line-height: 1.625; }

/* Links im Content (Live: text-blue-600 / dark text-blue-400) */
.blog-panel a:not(.blog-toc-link) { color: var(--tw-blue-600); font-weight: 500; }
.blog-panel a:not(.blog-toc-link):hover { text-decoration: underline; }
.blog-page.dark .blog-panel a:not(.blog-toc-link) { color: var(--tw-blue-400); }

/* Bullet-Listen (Live: list-none mit blauem •) */
.blog-panel ul.wp-block-list { list-style: none; padding: 0; }
.blog-panel ul.wp-block-list > li { position: relative; padding-left: 1.25rem; }
.blog-panel ul.wp-block-list > li + li { margin-top: 0.75rem; }
.blog-panel ul.wp-block-list > li::before {
  content: '•'; position: absolute; left: 0; top: 0;
  color: var(--tw-blue-600); font-weight: 700; font-size: 1.125rem; line-height: inherit;
}
.blog-page.dark .blog-panel ul.wp-block-list > li::before { color: var(--tw-blue-400); }

/* Nummerierte Listen (bewusster Fix ggü. Live-Fließtext) */
.blog-panel ol.wp-block-list:not(.blog-steps) { padding-left: 1.5rem; }
.blog-panel ol.wp-block-list:not(.blog-steps) > li + li { margin-top: 0.75rem; }

/* Step-Listen in Subsections (blog.css .blog-step/.blog-step-num) */
.blog-panel ol.blog-steps { list-style: none; padding: 0; counter-reset: fg-step; }
.blog-panel ol.blog-steps > li {
  counter-increment: fg-step;
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 1rem; border-radius: 0.75rem; margin: 0.75rem 0;
  background: rgba(122,162,255,0.08); border: 1px solid rgba(122,162,255,0.2);
  color: #1a1a1a;
}
.blog-panel ol.blog-steps > li::before {
  content: counter(fg-step);
  flex-shrink: 0; width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px; font-weight: 700; font-size: 0.875rem;
  background: rgba(122,162,255,0.2); border: 1px solid rgba(122,162,255,0.3);
  color: #2563eb;
}
.blog-page.dark .blog-panel ol.blog-steps > li {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: var(--tw-gray-100);
}
.blog-page.dark .blog-panel ol.blog-steps > li::before {
  background: rgba(122,162,255,0.25); border-color: rgba(122,162,255,0.4); color: #e0edff;
}

/* Bilder im Content */
.blog-panel .wp-block-image { border-radius: 0.75rem; overflow: hidden; }
.blog-panel .wp-block-image img { width: 100%; border-radius: 0.75rem; cursor: pointer; transition: opacity 0.2s; }
.blog-panel .wp-block-image img:hover { opacity: 0.9; }
.blog-panel .wp-block-image figcaption { font-size: 0.75rem; margin-top: 0.5rem; color: var(--tw-gray-500); }

/* Tabellen (shadcn-Look aus dem Live-Renderer) */
.wp-block-table { border: 1px solid hsl(var(--border)); border-radius: 0.5rem; overflow-x: auto; }
.blog-page.dark .wp-block-table { border-color: var(--tw-gray-700); }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 0.875rem; caption-side: bottom; }
.wp-block-table th {
  height: 3rem; padding: 0 1rem; text-align: left; vertical-align: middle;
  font-weight: 600; color: var(--tw-gray-900);
  background: hsl(var(--muted) / 0.5);
}
.blog-page.dark .wp-block-table th { color: #fff; background: rgba(31,41,55,0.5); }
.wp-block-table td { padding: 1rem; vertical-align: middle; border-top: 1px solid hsl(var(--border)); }
.blog-page.dark .wp-block-table td { color: var(--tw-gray-200); border-color: var(--tw-gray-700); }
.blog-panel .wp-block-table td, .blog-panel .wp-block-table th { font-size: 0.875rem; line-height: 1.5; }

/* Codeblöcke — JS baut Header (Sprache + Kopieren) wie im Live-Renderer */
.code-block { border-radius: 0.5rem; overflow: hidden; background: var(--tw-gray-900); }
.code-block-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 1rem; background: var(--tw-gray-800); border-bottom: 1px solid var(--tw-gray-700);
}
.code-block-lang { font-size: 0.75rem; font-family: var(--font-mono); color: var(--tw-gray-400); text-transform: uppercase; }
.code-block-copy { font-size: 0.75rem; color: var(--tw-gray-400); padding: 0.25rem 0.5rem; border-radius: 0.25rem; transition: all 0.2s; }
.code-block-copy:hover { color: #fff; background: var(--tw-gray-700); }
.wp-block-code { margin: 0; padding: 1rem; overflow-x: auto; background: var(--tw-gray-900); border: 0; border-radius: 0; }
.wp-block-code code {
  color: var(--tw-gray-100); font-family: var(--font-mono);
  font-size: 0.875rem; line-height: 1.625; white-space: pre; display: block;
}
.blog-panel .wp-block-code { border-radius: 0.5rem; } /* Fallback ohne JS */
.blog-panel .code-block .wp-block-code { border-radius: 0; }

/* Blockquotes */
.blog-panel .wp-block-quote {
  border-left: 4px solid var(--tw-blue-500);
  padding: 1rem 1rem 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  background: var(--tw-blue-50); color: var(--tw-gray-900);
}
.blog-page.dark .blog-panel .wp-block-quote {
  border-left-color: var(--tw-blue-400);
  background: rgba(59,130,246,0.1); color: var(--tw-gray-100);
}
.blog-panel .wp-block-quote p + p { margin-top: 0.75rem; }

/* TOC + Tag-Chips (blog.css .blog-toc-link) */
.blog-toc-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.blog-toc-link {
  display: inline-block;
  background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.1);
  padding: 0.5rem 0.75rem; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 500; color: var(--tw-gray-700);
  transition: background-color 0.2s, color 0.2s;
}
.blog-toc-link:hover { background: rgba(122,162,255,0.15); color: var(--tw-blue-600); }
.blog-page.dark .blog-toc-link { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: var(--tw-gray-200); }
.blog-page.dark .blog-toc-link:hover { background: rgba(255,255,255,0.15); color: #fff; }
.blog-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0; }

/* Freiwilliger KI-Transparenzhinweis (EU-Icon + Satz, vor der AuthorBox) */
.blog-ai-disclosure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
  font-size: 0.8125rem;
  color: hsl(var(--muted));
}
.ai-disclosure-icon { width: 1.375rem; height: 1.375rem; flex-shrink: 0; }

/* Callouts + Badges (Atlas-Artikel) */
p.blog-callout {
  border-left: 4px solid #7aa2ff; padding: 0.75rem 1rem;
  background: rgba(122,162,255,0.1); border-radius: 0.5rem;
  margin-top: 1.5rem; color: var(--tw-gray-900);
}
.blog-page.dark p.blog-callout { background: rgba(122,162,255,0.12); color: var(--tw-gray-100); }
.blog-badge { display: inline-block; padding: 0.25rem 0.625rem; font-size: 0.75rem; font-weight: 700; border-radius: 0.375rem; }
.blog-badge-success { background: #22c55e; color: #065f46; }
.blog-badge-warning { background: #f59e0b; color: #78350f; }
.blog-page.dark .blog-badge { color: #0d1117; }
.blog-page.dark .blog-badge-success { background: #7dd87d; }
.blog-page.dark .blog-badge-warning { background: #ffd166; }

/* Slideshow (JS baut Galerie; Fallback: gestapelte Bilder) */
.blog-slideshow { position: relative; }
.blog-slideshow-caption { font-size: 0.75rem !important; color: var(--tw-gray-500) !important; }
.blog-slideshow.is-enhanced .wp-block-image { display: none; margin: 0; }
.blog-slideshow.is-enhanced .wp-block-image.is-current { display: block; }
.slideshow-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.6); color: #fff; border-radius: 9999px; padding: 0.5rem;
  opacity: 0; transition: opacity 0.2s; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.blog-slideshow:hover .slideshow-btn { opacity: 1; }
.slideshow-btn:hover { background: rgba(0,0,0,0.8); }
.slideshow-btn.prev { left: 0.5rem; }
.slideshow-btn.next { right: 0.5rem; }
.slideshow-dots { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.375rem; z-index: 2; }
.slideshow-dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: rgba(255,255,255,0.5); transition: all 0.2s; }
.slideshow-dot.is-current { background: #fff; width: 1rem; }

/* Theme-Switch (BlogThemeSwitch.tsx) */
.blog-theme-switch {
  position: fixed; top: 5rem; right: 1rem; z-index: 50;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: hsl(var(--background)); border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground)); box-shadow: var(--shadow-lg);
}
body.admin-bar .blog-theme-switch { top: calc(5rem + 32px); }
.blog-theme-switch .icon-sun { display: none; }
.dark .blog-theme-switch .icon-sun { display: block; }
.dark .blog-theme-switch .icon-moon { display: none; }

/* Lightbox */
.blog-lightbox {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.9); cursor: pointer;
}
.blog-lightbox[hidden] { display: none; }
.blog-lightbox img { max-width: 90vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; border-radius: 0.5rem; cursor: default; }

/* Werbebanner (AdBanner.tsx) */
.ad-banner { margin: 2rem 0; display: flex; flex-direction: column; align-items: center; }
.ad-banner a { display: block; width: 100%; max-width: 300px; }
.ad-banner img { width: 100%; height: auto; border-radius: 0.75rem; }
.ad-banner-desktop { display: none; }
.ad-banner-caption { font-size: 0.75rem; margin-top: 0.5rem; color: var(--tw-gray-500); text-align: center; }
@media (min-width: 768px) {
  .ad-banner { margin: 2.5rem 0; }
  .ad-banner a { max-width: 728px; }
  .ad-banner-mobile { display: none; }
  .ad-banner-desktop { display: block; }
}

/* Skyscraper (SideAdBanner.tsx): nur >= xl und ausreichende Fensterhöhe */
.side-ad { display: none; }
@media (min-width: 1280px) and (min-height: 681px) {
  .side-ad {
    display: flex; position: fixed; top: 0; bottom: 0; right: 1.5rem; z-index: 30;
    align-items: center; pointer-events: none;
  }
  .side-ad-inner { pointer-events: auto; }
  .side-ad img {
    display: block; width: auto; border-radius: 0.75rem; box-shadow: var(--shadow-lg);
    max-height: min(600px, calc(100vh - 19rem));
  }
  .side-ad-caption { font-size: 0.75rem; margin: 0.5rem 0 0; text-align: center; color: var(--tw-gray-500); }
}
@media (min-width: 1536px) {
  .side-ad { right: calc((100vw - 56rem) / 4 - 6.25rem); }
  .side-ad img { max-height: min(750px, calc(100vh - 19rem)); }
}

/* AuthorBox (AuthorBox.tsx) */
.author-box {
  margin: 3rem 0; border-radius: 1rem; padding: 1.5rem;
  background: linear-gradient(to bottom right, var(--tw-gray-50), #ffffff);
  border: 1px solid var(--tw-gray-200);
}
.blog-page.dark .author-box {
  background: rgba(31, 41, 55, 0.5);
  border-color: var(--tw-gray-700);
}
@media (min-width: 768px) { .author-box { padding: 2rem; } }
.author-box-layout { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .author-box-layout { flex-direction: row; } }
.author-box-avatar { flex-shrink: 0; }
.author-box-avatar img {
  width: 6rem; height: 6rem; border-radius: 9999px; object-fit: cover;
  border: 4px solid hsl(var(--primary) / 0.2);
  box-shadow: var(--shadow-lg);
}
.blog-page.dark .author-box-avatar img { border-color: hsl(var(--primary) / 0.3); }
@media (min-width: 768px) { .author-box-avatar img { width: 8rem; height: 8rem; } }
.author-box-info { flex: 1; }
.author-box-eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 0.25rem; color: hsl(var(--primary));
}
.blog-page.dark .author-box-eyebrow { color: hsl(var(--primary) / 0.8); }
.author-box-name { font-size: 1.25rem; font-weight: 700; color: var(--tw-gray-900); }
.blog-page.dark .author-box-name { color: #fff; }
@media (min-width: 768px) { .author-box-name { font-size: 1.5rem; } }
.author-box-jobtitle { font-size: 0.875rem; font-weight: 500; color: var(--tw-gray-600); margin-bottom: 0.75rem; }
.blog-page.dark .author-box-jobtitle { color: var(--tw-gray-300); }
.author-box-bio { font-size: 0.875rem; line-height: 1.625; margin-bottom: 1rem; color: var(--tw-gray-600); }
.blog-page.dark .author-box-bio { color: var(--tw-gray-300); }
@media (min-width: 768px) { .author-box-bio { font-size: 1rem; } }
.author-box-skills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.author-box-skill {
  font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 9999px; font-weight: 500;
  background: hsl(var(--primary) / 0.1); color: hsl(var(--primary));
}
.blog-page.dark .author-box-skill { background: hsl(var(--primary) / 0.2); }
.author-box-credential {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; padding: 0.375rem 0.75rem; border-radius: 0.5rem; margin-bottom: 1rem;
  background: #fffbeb; color: #b45309; border: 1px solid #fde68a;
}
.blog-page.dark .author-box-credential {
  background: rgba(120, 53, 15, 0.3); color: #fcd34d; border-color: rgba(180, 83, 9, 0.5);
}
.author-box-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.author-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500; padding: 0.5rem 1rem; border-radius: 0.5rem;
  transition: all 0.2s;
}
.author-link-linkedin { background: #0A66C2; color: #fff; }
.author-link-linkedin:hover { background: #004182; }
.author-link-xing { background: #006567; color: #fff; }
.author-link-xing:hover { background: #004D4F; }
.author-link-neutral { background: var(--tw-gray-100); color: var(--tw-gray-700); }
.author-link-neutral:hover { background: var(--tw-gray-200); }
.blog-page.dark .author-link-neutral { background: var(--tw-gray-700); color: #fff; }
.blog-page.dark .author-link-neutral:hover { background: var(--tw-gray-600); }

/* Artikel-Footer + Ähnliche Artikel */
.blog-pagefooter { margin-top: 4rem; font-size: 0.875rem; color: var(--tw-gray-600); }
.blog-page.dark .blog-pagefooter { color: var(--tw-gray-400); }
.blog-related { margin-top: 5rem; }
.blog-related h2 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; margin-bottom: 2rem; color: var(--tw-gray-900); }
.blog-page.dark .blog-related h2 { color: #fff; }
.blog-related .post-grid { grid-template-columns: 1fr; }
@media (min-width: 768px) { .blog-related .post-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   404 (NotFound.tsx) + statische Seiten (Platzhalter)
   ============================================================ */
.notfound { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 0 1.5rem; }
.notfound-inner { max-width: 28rem; text-align: center; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.notfound h1 { font-size: 3rem; font-weight: 700; }
.notfound-sub { font-size: 1.25rem; color: hsl(var(--muted-foreground)); opacity: 0.85; }
.notfound-path { font-size: 0.875rem; color: hsl(var(--muted-foreground)); opacity: 0.85; word-break: break-all; }
.notfound-path code { font-family: var(--font-mono); }

.static-page { padding: 8rem 0 5rem; }
.static-page-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 2rem; }
.static-page-content > * + * { margin-top: 1rem; }

/* ============================================================
   Statische Seiten — Ports der React-Pages (Home/About/Expertise/
   Portfolio/Contact/Facts/Legal). Tailwind-Werte 1:1 als plain CSS.
   ============================================================ */

/* Tailwind-Container hat live bei >=1536px ein 1400px-Cap (tailwind.config).
   ACHTUNG: nicht auf Container mit eigener, engerer max-width anwenden —
   diese Regel steht später im Stylesheet und würde .article-container (56rem,
   Artikel!) und .facts-container sonst auf breiten Monitoren überschreiben. */
@media (min-width: 1536px) {
  .container:not(.article-container):not(.facts-container) { max-width: 1400px; }
}

/* --- Layout-Helfer --- */
.sec-12 { padding: 3rem 0; }
.sec-16 { padding: 4rem 0; }
.sec-20 { padding: 5rem 0; }
.sec-24 { padding: 6rem 0; }
.sec-32 { padding: 8rem 0; }
.sec-muted { background: hsl(var(--muted) / 0.3); }
.sec-muted-20 { background: hsl(var(--muted) / 0.2); }
.sec-solid-muted { background: hsl(var(--muted)); }
.max-2xl { max-width: 42rem; margin-inline: auto; }
.max-3xl { max-width: 48rem; margin-inline: auto; }
.max-4xl { max-width: 56rem; margin-inline: auto; }
.max-5xl { max-width: 64rem; margin-inline: auto; }
.max-6xl { max-width: 72rem; margin-inline: auto; }
.max-7xl { max-width: 80rem; margin-inline: auto; }
.muted { color: hsl(var(--muted-foreground)); }

.g-2, .g-3, .g-2-4, .g-2-3-5, .g-2-4-tight, .results-grid, .steps-grid, .stats-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.g-2-3-5 { grid-template-columns: repeat(2, 1fr); }
.g-2-4-tight { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) {
  .g-2 { grid-template-columns: repeat(2, 1fr); }
  .g-3, .results-grid.g-3 { grid-template-columns: repeat(3, 1fr); }
  .g-2-4 { grid-template-columns: repeat(2, 1fr); }
  .g-2-3-5 { grid-template-columns: repeat(3, 1fr); }
  .g-2-4-tight { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .g-2-4 { grid-template-columns: repeat(4, 1fr); }
  .g-2-3-5 { grid-template-columns: repeat(5, 1fr); }
  .stats-grid { grid-template-columns: repeat(6, 1fr); }
}

.card-b { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); }
.card-s { background: hsl(var(--card)); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.shadow-card { box-shadow: var(--shadow-card); }
.hover-lift { transition: var(--transition-slow); }
.hover-lift:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-lg); }

.apple-subheadline { font-size: 1.875rem; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.apple-body { font-size: 1.125rem; line-height: 1.625; letter-spacing: -0.025em; }
@media (min-width: 768px) {
  .apple-subheadline { font-size: 2.25rem; }
  .apple-body { font-size: 1.25rem; }
}
@media (min-width: 1024px) { .apple-subheadline { font-size: 3rem; } }

.sec-head { text-align: center; margin-bottom: 5rem; }
.sec-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 3rem; text-align: center; }
.sec-title-left { font-size: 1.875rem; font-weight: 700; margin-bottom: 2rem; }

.glass-strong {
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glass-border);
}
.hero-gradient {
  background: linear-gradient(135deg, hsl(240, 10%, 96%), hsl(240, 20%, 94%), hsl(220, 15%, 95%));
  background-size: 200% 200%;
  animation: fgGradientShift 10s ease infinite;
}
@keyframes fgGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.grain-overlay::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.07; pointer-events: none; mix-blend-mode: overlay;
}

/* --- Buttons (shadcn Button-Varianten) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.5rem; padding: 0 1rem; border-radius: 0.375rem;
  font-size: 0.875rem; font-weight: 500;
  transition: all 0.15s ease; cursor: pointer;
}
.btn-lg { height: 2.75rem; padding: 0 2rem; }
.btn-sm { height: 2.25rem; padding: 0 0.75rem; }
.btn-outline { border: 1px solid hsl(var(--border)); background: hsl(var(--background)); }
.btn-outline:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-linkedin { background: #0A66C2; color: #fff; border: 1px solid #0A66C2; }
.btn-linkedin:hover { background: rgba(10, 102, 194, 0.9); }
.btn-ghost:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-primary-full { width: 100%; background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-sm); }
.btn-primary-full:hover { background: hsl(var(--primary) / 0.9); }
.btn-icon { margin-right: 0.5rem; }
.btn-icon-r { margin-left: 0.5rem; }

/* --- Seiten-Gerüst + Hero (About/Expertise/Portfolio/Contact/Facts) --- */
.pg { min-height: 100vh; padding-top: 6rem; }
.pg-hero { padding: 3rem 0; }
.pg-hero-muted { background: hsl(var(--muted) / 0.3); }
.pg-hero-dark { background: linear-gradient(135deg, hsl(224, 14%, 5%) 0%, hsl(224, 12%, 8%) 100%); color: #fff; }
.pg-hero-inner { text-align: center; }
.pg-hero h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.pg-hero p { font-size: 1.25rem; }
.pg-hero-muted p { color: hsl(var(--muted-foreground)); }
.pg-hero-dark p { color: rgba(255, 255, 255, 0.9); }
@media (min-width: 768px) { .pg-hero h1 { font-size: 3rem; } }

/* --- Home: Hero mit Profilkarte --- */
.home-hero { padding: 5rem 0 3rem; position: relative; overflow: hidden; }
/* Cover: CSS-Ersatz für das Three.js-LiquidGradient (Orange F15A22 auf Navy 0a0e27) */
.home-cover { width: 100%; height: 280px; position: relative; overflow: hidden; background: #0a0e27; }
.home-cover::before, .home-cover::after {
  content: ''; position: absolute; inset: -60%;
  background:
    radial-gradient(40% 50% at 30% 40%, rgba(241, 90, 34, 0.85), transparent 70%),
    radial-gradient(35% 45% at 72% 62%, rgba(241, 90, 34, 0.45), transparent 70%);
  filter: blur(40px);
  /* from/to + alternate = sauberes Ping-Pong ohne Sprung; keine Rotation,
     sonst wandern die Kanten der (breiten, flachen) Ebene durchs Bild. */
  animation: fgLiquid 8s ease-in-out infinite alternate;
}
.home-cover::after {
  background: radial-gradient(30% 40% at 60% 30%, rgba(241, 90, 34, 0.55), transparent 70%);
  animation-duration: 11s; animation-delay: -5s; animation-direction: alternate-reverse;
}
@keyframes fgLiquid {
  from { transform: translate3d(-7%, -5%, 0) scale(1); }
  to   { transform: translate3d(7%, 6%, 0) scale(1.18); }
}
/* cover.js ersetzt die CSS-Blobs durch den WebGL-Shader (1:1 wie live);
   ::before/::after bleiben nur als Fallback ohne WebGL/JS aktiv.
   KEIN z-index aufs Canvas — sonst legt es sich über die Profilkarte,
   die mit margin-top:-5rem ins Cover ragt (Avatar wäre halb verdeckt;
   Florians Screenshot 03.08.). Die Fallback-Pseudo-Elemente sind bei
   aktivem WebGL display:none, damit braucht das Canvas keine Stapelhilfe. */
.home-cover-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-cover.has-webgl::before, .home-cover.has-webgl::after { display: none; }

.profile-card {
  max-width: 64rem; margin-inline: auto; position: relative;
  margin-top: -5rem; padding: 2rem;
  border: 1px solid hsl(var(--border)); border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
}
@media (min-width: 768px) { .profile-card { padding: 3rem; } }
.profile-avatar { position: absolute; top: -4rem; left: 2rem; }
@media (min-width: 768px) { .profile-avatar { left: 3rem; } }
.profile-avatar img {
  width: 8rem; height: 8rem; border-radius: 9999px; object-fit: cover;
  border: 4px solid hsl(var(--card)); box-shadow: var(--shadow-xl);
}
@media (min-width: 768px) { .profile-avatar img { width: 10rem; height: 10rem; } }
.profile-body { padding-top: 5rem; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .profile-body { padding-top: 6rem; } }
.profile-headings { display: flex; flex-direction: column; gap: 0.5rem; }
.profile-headings h1 { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
@media (min-width: 768px) { .profile-headings h1 { font-size: 3rem; } }
.profile-sub { font-size: 1.25rem; font-weight: 500; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .profile-sub { font-size: 1.5rem; } }
.profile-chiprow { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.chip-ihk {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.75rem; background: hsl(var(--muted));
  border: 1px solid hsl(var(--border)); border-radius: 9999px;
  font-size: 0.75rem; font-weight: 500; color: hsl(var(--muted-foreground));
  cursor: help; transition: border-color 0.3s;
}
.chip-ihk:hover { border-color: hsl(var(--primary) / 0.5); }
.chip-ihk-icon { color: hsl(var(--primary)); width: 0.875rem; height: 0.875rem; }
.profile-meta { font-size: 0.875rem; color: hsl(var(--muted-foreground)); display: flex; flex-direction: column; gap: 0.5rem; }
.profile-meta p { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.profile-availability { display: flex; align-items: flex-start; gap: 0.5rem; color: #16a34a; font-weight: 600; line-height: 1.375; }
.dot-pulse {
  width: 0.5rem; height: 0.5rem; min-width: 0.5rem; border-radius: 9999px;
  background: #22c55e; margin-top: 0.375rem; flex-shrink: 0;
  animation: fgPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes fgPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.profile-about { padding-top: 1rem; border-top: 1px solid hsl(var(--border)); display: flex; flex-direction: column; gap: 0.75rem; }
.profile-about h2 { font-size: 1.125rem; font-weight: 600; }
.profile-about p { font-size: 1rem; line-height: 1.625; color: hsl(var(--muted-foreground)); max-width: 48rem; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 1.5rem; }

/* --- Home: Stats --- */
.stat-card { background: hsl(var(--card)); padding: 2rem; border-radius: var(--radius); border: 1px solid hsl(var(--border)); text-align: center; transition: var(--transition-smooth); }
.stat-icon { font-size: 3rem; line-height: 1; margin-bottom: 1rem; opacity: 0.5; }
.stat-award { width: 3rem; height: 3rem; margin-inline: auto; }
.stat-value { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 0.5rem; color: hsl(var(--foreground)); }
.stat-card p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); line-height: 1.375; overflow-wrap: break-word; hyphens: auto; }
.stat-card-ihk { cursor: help; }

/* --- Home: Projekt-/Expertise-/Publikations-Karten --- */
.chip { padding: 0.25rem 0.75rem; background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); font-size: 0.75rem; border-radius: 9999px; font-weight: 500; }
.chip-sq { border-radius: 0.25rem; padding: 0.25rem 0.5rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-primary { padding: 0.5rem 1rem; background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); border-radius: 9999px; font-weight: 500; }

.project-card { padding: 2.5rem; height: 100%; display: flex; flex-direction: column; }
.project-card h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 1rem; }
.project-card > p { color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; line-height: 1.625; }
.project-card .chip-row { margin-bottom: 1.5rem; }
.project-more { margin-top: auto; align-self: flex-start; }
.project-more:hover { opacity: 0.7; }

.expertise-card { padding: 2.5rem; }
.expertise-icon { margin-bottom: 1.5rem; opacity: 0.7; }
.icon-lg { width: 2rem; height: 2rem; }
.expertise-icon-primary { color: hsl(var(--primary)); }
.expertise-icon-secondary { color: hsl(var(--secondary)); }
.expertise-icon-green { color: #22c55e; }
.expertise-card h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.expertise-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.expertise-card li { font-size: 0.875rem; color: hsl(var(--muted-foreground)); display: flex; line-height: 1.625; }
.expertise-bullet { color: hsl(var(--foreground)); margin-right: 0.75rem; }

.pub-card { padding: 2.5rem; }
.pub-card h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 1.5rem; }
.pub-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.pub-card a { display: flex; align-items: flex-start; gap: 0.75rem; color: hsl(var(--muted-foreground)); transition: color 0.3s; }
.pub-card a:hover { color: hsl(var(--primary)); }
.pub-card a:hover span { text-decoration: underline; }
.pub-icon { margin-top: 0.25rem; flex-shrink: 0; }

/* --- Home: Blog-Teaser + Kontakt + CTA --- */
.home-more-posts { margin-top: 1.5rem; }
.home-teaser-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 3rem; }

.contact-card { padding: 2.5rem; text-align: center; }
.contact-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 9999px; margin-bottom: 1.5rem; }
.contact-icon-linkedin { background: #0A66C2; color: #fff; }
.contact-icon-mail { background: hsl(var(--foreground)); color: hsl(var(--background)); }
.contact-icon-calendar { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); border: 2px solid #22c55e; }
.contact-card h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.contact-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 2rem; line-height: 1.625; }
.contact-btn-linkedin { background: #0A66C2; color: #fff; height: auto; padding: 0.75rem 1.5rem; }
.contact-btn-linkedin:hover { opacity: 0.9; }
.contact-btn-neutral { border: 1px solid hsl(var(--border)); background: hsl(var(--card)); height: auto; padding: 0.75rem 1.5rem; transition: var(--transition-smooth); }
.contact-btn-neutral:hover { opacity: 0.8; }

.cta-final { text-align: center; }
.cta-final h2 { font-size: 2.25rem; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 1.5rem; color: hsl(var(--foreground)); }
@media (min-width: 768px) { .cta-final h2 { font-size: 3rem; } }
.cta-final p { font-size: 1.125rem; color: hsl(var(--muted-foreground)); line-height: 1.625; }

/* --- About: Timeline (Titel-Gradient = Fix des unsichtbaren Live-Texts) --- */
.timeline { position: relative; }
.timeline-line { display: none; }
.timeline-item { position: relative; padding-left: 2rem; border-left: 2px solid hsl(var(--primary)); }
.timeline-item + .timeline-item { margin-top: 3rem; }
.timeline-dot {
  position: absolute; left: -0.8125rem; top: 0;
  width: 1.5rem; height: 1.5rem; border-radius: 9999px;
  background: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--background));
  display: flex; align-items: center; justify-content: center;
}
.timeline-dot .icon { display: none; }
.timeline-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: hsl(var(--primary) / 0.1); padding: 0.25rem 1rem;
  border-radius: 9999px; margin-bottom: 0.75rem;
  font-size: 0.875rem; font-weight: 600; color: hsl(var(--primary));
}
.timeline-badge .icon-sm { color: hsl(var(--primary)); }
.timeline-card { padding: 1.5rem; border-left: 4px solid hsl(var(--primary)); }
.timeline-card h3 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.timeline-position { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; color: hsl(var(--foreground)); }
.timeline-desc { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.timeline-card blockquote { position: relative; font-style: italic; font-size: 0.875rem; padding-left: 1.5rem; color: hsl(var(--muted-foreground)); }
.timeline-quote-icon { position: absolute; left: 0; top: 0; color: hsl(var(--primary)); }
@media (min-width: 768px) {
  .timeline-line {
    display: block; position: absolute; left: 50%; top: 0;
    transform: translateX(-50%); width: 4px; height: 100%;
    background: linear-gradient(to bottom, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--accent)));
  }
  .timeline-item { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; border-left: 0; padding-left: 0; }
  .timeline-item + .timeline-item { margin-top: 6rem; }
  .timeline-dot {
    position: static; width: 4rem; height: 4rem;
    box-shadow: var(--shadow-xl), 0 0 0 4px hsl(var(--background));
    justify-self: center; grid-row: 1;
  }
  .timeline-dot .icon { display: block; width: 2rem; height: 2rem; color: hsl(var(--primary-foreground)); }
  .timeline-content { grid-row: 1; }
  .timeline-item.is-left .timeline-content { grid-column: 1; text-align: right; padding-right: 2rem; }
  .timeline-item.is-left .timeline-dot { grid-column: 2; }
  .timeline-item.is-right .timeline-dot { grid-column: 1; }
  .timeline-item.is-right .timeline-content { grid-column: 2; padding-left: 2rem; }
}

/* --- About: Persönliches + Mission --- */
.about-card { padding: 2rem; }
.about-facts { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .about-facts { grid-template-columns: repeat(2, 1fr); } }
.about-fact { display: flex; align-items: flex-start; gap: 0.75rem; }
.about-fact-icon { color: hsl(var(--primary)); margin-top: 0.25rem; flex-shrink: 0; }
.about-fact h4 { font-weight: 600; }
.about-fact p { color: hsl(var(--muted-foreground)); }
/* Live-Parität: bg-gradient-primary ist live undefiniert -> Box ohne Hintergrund */
.mission-box { padding: 1.5rem; border-radius: var(--radius); }
.mission-box h3 { font-weight: 600; font-size: 1.25rem; margin-bottom: 0.75rem; color: hsl(var(--primary)); }
.mission-box p { color: hsl(var(--secondary)); }

/* --- Kompetenz-Balken (About kompakt / Expertise groß) --- */
.skills-list { display: flex; flex-direction: column; gap: 2rem; }
.skill-card { padding: 1.5rem; }
.skills-list.large .skill-card { padding: 2rem; }
.skill-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.skill-head h3 { font-size: 1.25rem; font-weight: 700; }
.skills-list.large .skill-head h3 { font-size: 1.5rem; }
.skill-pct { font-size: 1.5rem; font-weight: 700; color: hsl(var(--primary)); }
.skills-list.large .skill-pct { font-size: 1.875rem; }
.skill-track { width: 100%; height: 0.75rem; background: hsl(var(--muted)); border-radius: 9999px; margin-bottom: 1rem; overflow: hidden; }
.skills-list.large .skill-track { height: 1rem; margin-bottom: 1.5rem; }
.skill-fill { height: 100%; border-radius: 9999px; transition: all 1s; }
.skill-items { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.skills-list.large .skill-items { gap: 0.75rem; }
@media (min-width: 768px) { .skill-items { grid-template-columns: repeat(2, 1fr); } }
.skill-item { display: flex; gap: 0.5rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); align-items: center; }
.skills-list.large .skill-item { font-size: 1rem; line-height: 1.5rem; align-items: flex-start; }
.skill-check.accent { color: hsl(var(--accent)); }
.skill-check.primary { color: hsl(var(--primary)); }

/* --- Expertise: Zertifikate + Stack --- */
.cert-card { padding: 1.5rem; text-align: center; }
.cert-icon { width: 3rem; height: 3rem; color: hsl(var(--primary)); margin: 0 auto 1rem; }
.cert-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.cert-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 0.25rem; }
.cert-year { font-size: 0.75rem; font-weight: 600; color: hsl(var(--primary)); }
.stack-card { padding: 1.5rem; }
.stack-card h3 { font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; color: hsl(var(--primary)); }

/* --- Case-Studies (Portfolio + Unterseiten) --- */
.case-header { padding: 2rem 0; }
.case-back { margin-bottom: 1.5rem; }
.case-back .icon-sm { margin-right: 0.5rem; }
.case-h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .case-h1 { font-size: 3rem; } }
.case-sub { font-size: 1.25rem; color: hsl(var(--muted-foreground)); }
.case-card { padding: 2rem; }
.case-h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.case-h2.center { text-align: center; margin-bottom: 2rem; }
.case-h2.no-mb { margin-bottom: 0; }
.case-card-titlerow { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.case-card-titlerow.top { margin-bottom: 0; }
.case-card-titlerow .case-h2 { margin-bottom: 1rem; }
.case-title-icon { width: 2rem; height: 2rem; flex-shrink: 0; margin-top: 0.25rem; }
.case-title-icon.destructive { color: hsl(var(--destructive)); }
.case-title-icon.accent { color: hsl(var(--accent)); }
.case-lead { font-size: 1.125rem; color: hsl(var(--muted-foreground)); }
.case-lead.mt { margin-top: 1rem; }
.challenge-list { list-style: none; padding: 0; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.challenge-list li { display: flex; align-items: flex-start; gap: 0.5rem; }
.challenge-list p { color: hsl(var(--muted-foreground)); }
.learn-bullet { color: hsl(var(--primary)); margin-top: 0.25rem; }
.learn-bullet.destructive { color: hsl(var(--destructive)); }
.step-card { padding: 1.5rem; text-align: center; }
.step-num {
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: hsl(var(--primary) / 0.1); color: hsl(var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.25rem; margin: 0 auto 1rem;
}
.step-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.result-card { padding: 1.5rem; text-align: center; }
.result-icon { width: 2rem; height: 2rem; color: hsl(var(--accent)); margin: 0 auto 0.75rem; }
.result-value { font-size: 1.875rem; font-weight: 700; color: hsl(var(--primary)); margin-bottom: 0.5rem; }
.result-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); overflow-wrap: break-word; }
.learn-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.learn-list li { display: flex; align-items: flex-start; gap: 0.75rem; }
.learn-list p { color: hsl(var(--muted-foreground)); }
.learn-icon { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent)); flex-shrink: 0; margin-top: 0.25rem; }
.solution-blocks { display: flex; flex-direction: column; gap: 1rem; }
.solution-block { border-left: 4px solid hsl(var(--primary)); padding-left: 1rem; }
.solution-block h3 { font-weight: 700; margin-bottom: 0.5rem; }
.solution-block p { color: hsl(var(--muted-foreground)); margin-bottom: 0.5rem; }
.solution-block ul { list-style: none; padding: 0; margin-left: 1rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); display: flex; flex-direction: column; gap: 0.25rem; }
.role-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.role-icon { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent)); flex-shrink: 0; margin-top: 0.25rem; }
.role-item p { color: hsl(var(--muted-foreground)); }
.solution-item { font-size: 1.125rem; }
.seo-perf-card { padding: 1.5rem; margin-top: 2rem; }
.seo-perf-card h3 { font-weight: 700; margin-bottom: 1rem; text-align: center; }
.seo-perf-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.seo-perf-card li { display: flex; justify-content: space-between; align-items: center; }
.seo-perf-label { color: hsl(var(--muted-foreground)); }
.seo-perf-value { font-weight: 700; color: hsl(var(--primary)); }
.proj-teaser { display: block; }
.proj-teaser-card { padding: 1.5rem; cursor: pointer; height: 100%; }
/* Live-Parität: gradient-primary undefiniert -> 8rem hoher leerer Block */
.proj-teaser-cover { height: 8rem; border-radius: var(--radius); margin-bottom: 1rem; }
.proj-teaser-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.proj-teaser-rows { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; margin-bottom: 1rem; }
.proj-teaser-rows p { color: hsl(var(--muted-foreground)); }
.proj-label { font-weight: 600; }
.proj-label.destructive { color: hsl(var(--destructive)); }
.proj-label.primary { color: hsl(var(--primary)); }
.proj-label.accent { color: hsl(var(--accent)); }

/* --- Contact --- */
.contact-page { display: flex; flex-direction: column; gap: 2rem; }
.contact-title { font-size: 1.875rem; font-weight: 700; }
.contact-rows { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-row-icon { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); margin-top: 0.25rem; flex-shrink: 0; }
.contact-row h3 { font-weight: 600; margin-bottom: 0.25rem; }
.contact-row p, .contact-row a { color: hsl(var(--muted-foreground)); transition: var(--transition-smooth); }
.contact-row a:hover { color: hsl(var(--primary)); }
.contact-note { font-size: 0.875rem; }
.contact-note.accent { color: hsl(var(--accent)); }
.contact-note.green { color: #16a34a; }
.contact-cta-cards { display: grid; gap: 1rem; padding-top: 2rem; }
.contact-cta { padding: 1.5rem; }
.contact-cta.primary-border { border-left: 4px solid hsl(var(--primary)); }
.contact-cta.accent-border { border-left: 4px solid hsl(var(--accent)); }
.contact-cta-emoji { font-size: 1.875rem; margin-bottom: 0.5rem; }
.contact-cta h3 { font-weight: 700; margin-bottom: 0.5rem; }
.contact-cta p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 0.75rem; }
.contact-mail-btn { padding-top: 2rem; }

/* --- Facts --- */
.facts-container { max-width: 56rem; }
.facts-h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 2rem; }
@media (min-width: 768px) { .facts-h1 { font-size: 3rem; } }
.facts-summary { display: flex; flex-direction: column; gap: 1rem; line-height: 1.625; color: hsl(var(--foreground) / 0.9); }
.facts-h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 2.5rem; }
.facts-lead { color: hsl(var(--foreground) / 0.8); margin-bottom: 1.5rem; }
.facts-timeline { display: flex; flex-direction: column; gap: 1.5rem; }
.facts-timeline-entry { border-left: 2px solid hsl(var(--primary) / 0.4); padding: 0.5rem 0 0.5rem 1.5rem; }
.facts-period { font-size: 0.875rem; font-family: var(--font-mono); color: hsl(var(--muted-foreground)); margin-bottom: 0.25rem; }
.facts-timeline-entry h3 { font-size: 1.125rem; font-weight: 600; }
.facts-org { font-size: 0.875rem; color: hsl(var(--primary) / 0.8); font-weight: 500; }
.facts-detail { font-size: 0.875rem; color: hsl(var(--foreground) / 0.7); margin-top: 0.25rem; }
.facts-cert { border-radius: 0.75rem; padding: 1.5rem; }
.facts-cert-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.facts-cert-head img { height: 4rem; width: auto; }
.facts-cert-head h3 { font-weight: 600; }
.facts-cert-head p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.facts-cert-text { font-size: 0.875rem; color: hsl(var(--foreground) / 0.7); }
.facts-cert-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: hsl(var(--primary)); margin-top: 0.75rem; }
.facts-cert-link:hover { text-decoration: underline; }
.facts-comp { padding: 1.25rem; }
.facts-comp h3 { font-weight: 600; margin-bottom: 0.25rem; }
.facts-comp p { font-size: 0.875rem; color: hsl(var(--foreground) / 0.7); }
.facts-pubs { display: flex; flex-direction: column; gap: 0.75rem; }
.facts-pub { display: flex; align-items: center; justify-content: space-between; padding: 1rem; gap: 1rem; }
.facts-pub h3 { font-weight: 600; }
.facts-pub-type { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.facts-pub-role { font-size: 0.875rem; color: hsl(var(--foreground) / 0.7); text-align: right; }
.facts-result { border-radius: 0.75rem; padding: 1.5rem; text-align: center; }
.facts-metric { font-size: 1.875rem; font-weight: 700; color: hsl(var(--primary)); margin-bottom: 0.5rem; }
.facts-result p { font-size: 0.875rem; color: hsl(var(--foreground) / 0.7); }
.facts-faq { display: flex; flex-direction: column; gap: 1.5rem; }
.facts-faq-item { padding: 1.5rem; }
.facts-faq-item h3 { font-weight: 600; margin-bottom: 0.75rem; }
.facts-faq-item p { font-size: 0.875rem; line-height: 1.625; color: hsl(var(--foreground) / 0.8); }
.facts-profile { display: flex; align-items: center; justify-content: space-between; padding: 1rem; transition: border-color 0.2s; }
.facts-profile:hover { border-color: hsl(var(--primary) / 0.4); }
.facts-profile h3 { font-weight: 600; }
.facts-profile p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.facts-profile-icon { color: hsl(var(--muted-foreground)); flex-shrink: 0; }
.facts-footnote { padding: 2rem 0; border-top: 1px solid hsl(var(--border)); text-align: center; }
.facts-footnote p { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* --- Legal (Datenschutz/Impressum, shadcn-Card-Look) --- */
.legal-page { min-height: 100vh; background: hsl(var(--background)); padding: 4rem 1rem; }
.legal-head { margin-bottom: 2rem; }
.legal-head h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .legal-head h1 { font-size: 3rem; } }
.legal-head p { color: hsl(var(--muted-foreground)); }
.legal-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.legal-card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.legal-card h2 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; padding: 1.5rem; }
.legal-body { padding: 0 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.legal-body.muted p, .legal-body.muted li, .legal-body p.muted { color: hsl(var(--muted-foreground)); }
.legal-body a { color: hsl(var(--primary)); }
.legal-body a:hover { text-decoration: underline; }
.legal-body ul { list-style: disc; padding: 0 0 0 1.5rem; margin-left: 1rem; display: flex; flex-direction: column; gap: 0.25rem; }
.legal-body code { font-family: var(--font-mono); font-size: 0.875em; }
.legal-name { font-weight: 600; font-size: 1.125rem; }
.legal-sep { border: 0; border-top: 1px solid hsl(var(--border)); margin: 1rem 0; width: 100%; }
.legal-contact { display: flex; align-items: center; gap: 0.75rem; }
.legal-icon { color: hsl(var(--primary)); flex-shrink: 0; }
.legal-provider { font-weight: 600; color: hsl(var(--foreground)); margin-bottom: 0.25rem; }
