/* ==========================================================================
   F&F Webagentur - Core CSS & Global Design System
   Felix & Felix Webagentur
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Silkscreen:wght@400;700&family=Syne:wght@600;700;800&family=VT323&display=swap');

:root {
  /* Brand Core */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Distinctive Style Typography System */
  --font-style-3d: 'Syne', sans-serif;
  --font-style-minimal-serif: 'Instrument Serif', Georgia, serif;
  --font-style-minimal-sans: 'Plus Jakarta Sans', sans-serif;
  --font-style-retro-ui: 'Silkscreen', monospace;
  --font-style-retro-term: 'VT323', monospace;
  --font-style-bento: 'Bricolage Grotesque', -apple-system, sans-serif;

  /* Backward Compatibility */
  --font-retro: 'Silkscreen', 'VT323', monospace;

  /* Modern Agency Color System - Bright High-End Luxury */
  --bg-light: #ffffff;
  --bg-light-alt: #f8fafc;
  --bg-light-pearl: #f1f5f9;
  --bg-card: #ffffff;
  --text-dark: #090d16;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Legacy variable mappings for safety */
  --bg-dark: #ffffff;
  --bg-dark-card: #ffffff;
  --text-light: #090d16;

  /* Vibrant Accent Palette */
  --primary-indigo: #4f46e5;
  --primary-indigo-dark: #4338ca;
  --primary-indigo-light: #6366f1;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 60%, #4338ca 100%);
  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
  --accent-violet: #7c3aed;
  --accent-amber: #d97706;
  --accent-purple: #9333ea;
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-glass: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(79, 70, 229, 0.25);

  /* Minimal Style Variables */
  --min-bg: #ffffff;
  --min-card-bg: #f8fafc;
  --min-text: #090d16;
  --min-muted: #64748b;
  --min-border: #e2e8f0;

  /* Retro Style Variables */
  --retro-bg: #008080;
  --retro-win-bg: #c0c0c0;
  --retro-win-text: #000000;
  --retro-win-title: #000080;

  /* Bento Variables */
  --bento-bg: #f8fafc;
  --bento-card: #ffffff;
  --bento-accent: #090d16;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Keyword Highlighting Utility Classes
   ========================================================================== */
.hl-indigo {
  color: #4f46e5 !important;
  font-weight: 700;
}

.hl-emerald {
  color: #059669 !important;
  font-weight: 700;
}

.hl-blue {
  color: #0284c7 !important;
  font-weight: 700;
}

.hl-purple {
  color: #7c3aed !important;
  font-weight: 700;
}

.hl-amber {
  color: #d97706 !important;
  font-weight: 700;
}

.hl-luxury-serif {
  font-family: var(--font-style-minimal-serif);
  font-style: italic;
  font-weight: 400;
  color: #090d16;
  padding: 0 4px;
}

.hl-gradient-indigo {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.hl-gradient-emerald {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-light);
  color: var(--text-body);
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Global Header & Navbar (Frosted Light Glass)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s ease, opacity 0.4s ease, var(--transition-smooth);
}

.site-header.header-hidden-start {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Clean Modern Glass Scroll Hint */
.hero-start-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.hint-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.hint-text {
  font-family: var(--font-style-3d);
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.hint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  animation: hintBounce 2s infinite ease-in-out;
}

@keyframes hintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  margin: 0 auto;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast, 0.2s ease);
}

.brand-logo-link:hover {
  opacity: 0.85;
}

.brand-logo-box {
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

.brand-logo-box:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.brand-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #090d16;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(79, 70, 229, 0.08);
  color: #4f46e5;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(79, 70, 229, 0.22);
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.main-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  transition: color 0.2s ease;
  position: relative;
}

.main-nav-links a:hover {
  color: #090d16;
}

.main-nav-links a.btn-header-cta,
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 9999px;
  background: var(--primary-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(165, 180, 252, 0.3) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.main-nav-links a.btn-header-cta:hover,
.btn-header-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 50%, #6366f1 100%) !important;
  color: #ffffff !important;
  border-color: rgba(199, 210, 254, 0.5) !important;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.55);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #090d16;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-toggle:hover,
.mobile-toggle:active,
.mobile-toggle.open {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.3);
  color: #4f46e5;
}

/* ==========================================================================
   Floating Style Navigator (Switch between styles)
   ========================================================================== */
.floating-style-nav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.4s ease, opacity 0.4s ease, var(--transition-smooth);
}

.floating-style-nav.nav-hidden-start {
  transform: translate(-50%, 50px);
  opacity: 0;
  pointer-events: none;
}

.style-nav-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  padding: 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.style-pill {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 9999px;
  color: #475569;
  background: transparent;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.style-pill:hover {
  color: #090d16;
  background: #f1f5f9;
}

.style-pill.active {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(165, 180, 252, 0.25);
}

/* Distinct Style Typography Micro-Previews on Pills */
.style-pill[data-target="style-animation-hero"] {
  font-family: var(--font-style-3d);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.style-pill[data-target="style-minimal-section"] {
  font-family: var(--font-style-minimal-serif);
  font-style: italic;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
}

.style-pill[data-target="style-retro-section"] {
  font-family: var(--font-style-retro-ui);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

.style-pill[data-target="style-bento-section"] {
  font-family: var(--font-style-bento);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   General Section Transitions & Headings
   ========================================================================== */
.style-section {
  position: relative;
  min-height: 100vh;
  transition: background-color 0.5s ease, color 0.5s ease;
  overflow-x: clip;
}

.section-pitch-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  max-width: 780px;
  margin-bottom: 40px;
}

/* ==========================================================================
   About F&F (Felix & Felix) Section
   ========================================================================== */
.about-section {
  padding: 120px 0;
  background: radial-gradient(circle at 15% 35%, rgba(79, 70, 229, 0.04) 0%, transparent 55%),
              radial-gradient(circle at 85% 65%, rgba(2, 132, 199, 0.04) 0%, transparent 50%),
              #ffffff;
  border-top: 1px solid #e2e8f0;
  position: relative;
  z-index: 10;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-header .tag {
  color: #4f46e5;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.about-header h2 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #090d16;
}

.about-story {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 32px;
}

.founders-badge-row {
  display: flex;
  gap: 24px;
}

.founder-card {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.founder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.08);
}

.founder-avatar-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 16px;
}

/* Differenzierte, moderne Gründer-Profile */
.founder-card:first-child .founder-avatar-placeholder {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: 1px solid rgba(199, 210, 254, 0.4);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
}

.founder-card:last-child .founder-avatar-placeholder {
  background: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
  border: 1px solid rgba(186, 230, 253, 0.4);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.founder-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #090d16;
  margin-bottom: 4px;
}

.founder-role {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

/* Editorial Values Grid (High-End Agency Standard - No Cheap Icon Boxes) */
.editorial-values-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.editorial-value-card {
  position: relative;
  padding: 24px 28px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
  overflow: hidden;
}

.editorial-value-card:hover {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.06);
}

.value-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.value-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}

.editorial-value-card:nth-child(2) .value-num {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.editorial-value-card:nth-child(3) .value-num {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.value-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  text-transform: uppercase;
}

.editorial-value-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #090d16;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.editorial-value-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.value-text p {
  color: #475569;
  font-size: 0.95rem;
}

/* ==========================================================================
   Project Configurator Section
   ========================================================================== */
.configurator-section {
  padding: 120px 0;
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.05) 0%, transparent 65%), #f8fafc;
  position: relative;
  z-index: 10;
  border-top: 1px solid #e2e8f0;
}

.configurator-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.config-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #090d16;
  margin: 32px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.config-step-title:first-child {
  margin-top: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
  border: 1px solid rgba(199, 210, 254, 0.3);
}

.cfg-grid-styles,
.cfg-grid-scope {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.cfg-style-card,
.cfg-scope-card {
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

/* Fraxbit Mouse-Spotlight Glow on Configurator Cards */
.cfg-style-card::after,
.cfg-scope-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(79, 70, 229, 0.08),
    transparent 45%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.cfg-style-card:hover::after,
.cfg-scope-card:hover::after {
  opacity: 1;
}

.cfg-style-card:hover,
.cfg-scope-card:hover {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.08);
}

.cfg-style-card.active,
.cfg-scope-card.active {
  background: rgba(79, 70, 229, 0.04);
  border-color: #4f46e5;
  box-shadow: 0 0 24px rgba(79, 70, 229, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Style Preview Thumbnails (Bespoke Human Design instead of generic AI SVGs) */
.cfg-style-preview {
  position: relative;
  width: 100%;
  height: 66px;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070a13;
  transition: transform 0.3s ease;
}

.cfg-style-card:hover .cfg-style-preview {
  transform: scale(1.02);
}

/* 1. Animation Thumbnail: Dark glow laptop screen */
.preview-animation {
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.28) 0%, #060912 80%);
}
.cfg-mini-canvas {
  width: 64px;
  height: 40px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(165, 180, 252, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.35);
}
.cfg-mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 8px #818cf8;
}
.cfg-mini-line {
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
}

/* 2. Minimal Thumbnail: Swiss typography aesthetic */
.preview-minimal {
  background: #f8fafc;
  color: #0f172a;
}
.cfg-mini-serif {
  font-family: var(--font-style-minimal-serif);
  font-style: italic;
  font-size: 2rem;
  font-weight: 400;
  color: #0f172a;
  line-height: 1;
  margin-right: 12px;
}
.cfg-mini-swiss-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cfg-mini-swiss-lines span {
  display: block;
  width: 40px;
  height: 2px;
  background: #64748b;
  border-radius: 1px;
}

/* 3. Retro Thumbnail: Windows 95 pixel window */
.preview-retro {
  background: #008080;
  font-family: var(--font-style-retro-ui);
}
.cfg-mini-window-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: #000080;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 0 4px;
}
.cfg-mini-window-bar span {
  width: 8px;
  height: 8px;
  background: #c0c0c0;
  border: 1px solid #ffffff;
}
.cfg-mini-pixel-text {
  font-family: var(--font-style-retro-ui);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.05em;
}

/* 4. Bento Thumbnail: 2x2 Clean Grid */
.preview-bento {
  background: #090d1a;
}
.cfg-mini-bento-grid {
  display: grid;
  grid-template-columns: 28px 28px;
  gap: 5px;
}
.cfg-mini-bento-grid span {
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cfg-mini-bento-grid span:nth-child(1) {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
}
.cfg-mini-bento-grid span:nth-child(2) {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
}

/* Scope Card Badges */
.cfg-scope-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cfg-scope-pill {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.cfg-scope-pill.popular {
  background: rgba(79, 70, 229, 0.1);
  border-color: rgba(79, 70, 229, 0.3);
  color: #4f46e5;
}

.cfg-scope-duration {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.cfg-card-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #090d16;
  margin-bottom: 6px;
}

/* Distinct Style Typography in Configurator Cards */
.cfg-style-card[data-style="animation"] .cfg-card-title {
  font-family: var(--font-style-3d);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cfg-style-card[data-style="minimal"] .cfg-card-title {
  font-family: var(--font-style-minimal-serif);
  font-style: italic;
  font-size: 1.18rem;
  font-weight: 400;
}

.cfg-style-card[data-style="retro"] .cfg-card-title {
  font-family: var(--font-style-retro-ui);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.cfg-style-card[data-style="bento"] .cfg-card-title {
  font-family: var(--font-style-bento);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cfg-card-desc {
  font-size: 0.85rem;
  color: #64748b;
}

.cfg-grid-addons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.cfg-addon-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transform: translate3d(0, 0, 0) scale(1);
  transition: background-color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              transform 0.2s ease;
  user-select: none;
  -webkit-user-select: none;
}

.cfg-addon-label:hover {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transform: translate3d(0, 0, 0) scale(1) !important;
}

.cfg-addon-label input {
  width: 20px;
  height: 20px;
  accent-color: #4f46e5;
  cursor: pointer;
  flex-shrink: 0;
}

.cfg-addon-info {
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.cfg-addon-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #090d16;
}

.cfg-addon-price {
  font-size: 0.82rem;
  color: #4f46e5;
  font-weight: 600;
}

/* Configurator Result Banner */
.config-result-bar {
  margin-top: 40px;
  padding: 28px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.config-result-meta {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.result-item .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 4px;
}

.result-item .value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #090d16;
}

.result-item .value#cfg-price-display {
  color: #4f46e5;
}

.result-item .badge {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #090d16;
}

.btn-cfg-submit {
  padding: 16px 32px;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 9999px;
  background: var(--primary-gradient);
  color: #ffffff;
  border: 1px solid rgba(165, 180, 252, 0.3);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-cfg-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 50%, #6366f1 100%);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.55);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 120px 0;
  background: radial-gradient(circle at 80% 25%, rgba(79, 70, 229, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 15% 75%, rgba(124, 58, 237, 0.04) 0%, transparent 55%),
              #ffffff;
  position: relative;
  z-index: 10;
  border-top: 1px solid #e2e8f0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
}

.contact-info h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #090d16;
}

.contact-direct-links {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: var(--transition-smooth);
}

.contact-pill:hover {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.05);
  transform: translateX(6px);
}

.contact-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

/* Farbige Icon-Akzente für Direktkontakte */
.contact-direct-links .contact-pill:nth-child(1) .contact-pill-icon {
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
  border: 1px solid rgba(79, 70, 229, 0.25);
}

.contact-direct-links .contact-pill:nth-child(2) .contact-pill-icon {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.contact-direct-links .contact-pill:nth-child(3) .contact-pill-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #16a34a;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.contact-pill-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #090d16;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #090d16;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: #4f46e5;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.btn-form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: #ffffff;
  border: 1px solid rgba(165, 180, 252, 0.3);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 50%, #6366f1 100%);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.55);
}

/* ==========================================================================
   SEO & Performance Exzellenz Section
   ========================================================================== */
.seo-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, rgba(5, 150, 105, 0.04) 0%, transparent 65%), #f8fafc;
  position: relative;
  z-index: 10;
  border-top: 1px solid #e2e8f0;
}

.seo-compact-card {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 16px 40px -15px rgba(0, 0, 0, 0.05);
}

.seo-compact-header {
  text-align: center;
}

.seo-compact-lead {
  font-size: 1.06rem;
  line-height: 1.7;
  color: #475569;
  margin: 16px auto 0;
  max-width: 720px;
}

.seo-highlight-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(5, 150, 105, 0.04);
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: 18px;
  padding: 24px 28px;
  margin: 32px 0 28px;
}

.seo-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.seo-highlight-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #090d16;
  margin-bottom: 6px;
}

.seo-highlight-text p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.seo-benefits-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.seo-benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.seo-benefit-pill:hover {
  border-color: rgba(5, 150, 105, 0.3);
  background: rgba(5, 150, 105, 0.05);
}

@media (max-width: 768px) {
  .seo-compact-card {
    padding: 32px 20px;
    border-radius: 20px;
  }
  .seo-highlight-box {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }
  .seo-benefit-pill {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.04) 0%, transparent 60%), #ffffff;
  position: relative;
  z-index: 10;
  border-top: 1px solid #e2e8f0;
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(79, 70, 229, 0.3);
}

.faq-item.active {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 700;
  color: #090d16;
  background: none;
  cursor: pointer;
}

.faq-item.active .faq-question {
  color: #4f46e5;
}

.faq-icon {
  font-size: 1.4rem;
  color: #4f46e5;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 28px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding: 0 28px 24px;
}

.site-footer {
  padding: 60px 0 100px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand-wrap .brand-logo-link {
  text-decoration: none;
}

.footer-copyright {
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.4;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #4f46e5;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 36px 0 40px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-brand-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
#toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-notification {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification .toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-notification.visible {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Adaptations & Mobile Smartphone Optimization
   ========================================================================== */
@media (max-width: 960px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .main-nav-links {
    display: none;
  }

  .site-header .main-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 16px 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    gap: 2px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .site-header .main-nav-links.open li {
    width: 100%;
  }

  .site-header .main-nav-links.open li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 1rem;
    font-weight: 600;
    color: #090d16;
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .site-header .main-nav-links.open li a:hover,
  .site-header .main-nav-links.open li a:active {
    background: #f1f5f9;
    color: #4f46e5;
  }

  .site-header .main-nav-links.open li a.btn-header-cta {
    margin-top: 10px;
    justify-content: center;
    padding: 13px;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
  }

  .mobile-toggle {
    display: flex;
  }

  .floating-style-nav {
    width: calc(100% - 32px);
    max-width: 520px;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px 8px;
    gap: 6px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .floating-style-nav::-webkit-scrollbar {
    display: none;
  }
  .floating-style-nav .style-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on form inputs */
  input, textarea, select {
    font-size: 16px !important;
  }

  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding: 0 16px;
  }

  section {
    padding: 64px 0;
  }

  /* Style Navigator on Mobile Phones */
  .floating-style-nav {
    bottom: 12px;
    padding: 5px 6px;
    border-radius: 16px;
  }
  .floating-style-nav .style-nav-label {
    display: none;
  }
  .floating-style-nav .style-pill {
    padding: 6px 11px;
    font-size: 0.76rem;
  }

  /* Floating Portfolio Pill: Elevated above style nav to prevent overlap */
  .floating-portfolio-pill {
    bottom: 68px !important;
    right: 14px !important;
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
  }

  /* Configurator Mobile Optimization */
  .cfg-grid-styles,
  .cfg-grid-scope,
  .cfg-grid-addons {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .config-result-bar {
    padding: 20px 16px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    border-radius: 16px !important;
  }

  .config-result-meta {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .result-item:first-child {
    grid-column: span 2;
  }

  .btn-cfg-submit {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    font-size: 0.94rem !important;
  }

  /* Contact & Form Mobile */
  .contact-form-card {
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }

  .contact-direct-links {
    grid-template-columns: 1fr !important;
  }

  /* Section Titles & Pitch Banners */
  .section-title {
    font-size: clamp(1.85rem, 6.5vw, 2.3rem) !important;
    line-height: 1.15 !important;
  }

  .section-lead {
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
  }

  .section-pitch-banner {
    font-size: 0.72rem !important;
    padding: 5px 12px !important;
  }
}

/* ==========================================================================
   Staggered Fly-In Animation with Skeleton / Wireframe Transformation
   ========================================================================== */
@keyframes skeletonShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ==========================================================================
   Clean Side Slide-In Animation System (From the Side)
   ========================================================================== */
.stagger-item,
.minimal-card.stagger-item,
.ba-comparison-wrapper.stagger-item,
.ba-header.stagger-item,
.ba-slider-container.stagger-item,
.retro-window.stagger-item,
.bento-card.stagger-item,
.founder-card.stagger-item,
.editorial-value-card.stagger-item,
.cfg-style-card.stagger-item,
.cfg-scope-card.stagger-item,
.contact-form-card.stagger-item,
.seo-highlight-box.stagger-item {
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s ease-out,
              box-shadow 0.35s ease,
              border-color 0.35s ease !important;
  transition-delay: calc(var(--stagger-i, 0) * 0.08s) !important;
  will-change: transform, opacity, filter;
}

/* Direction Classes for Side Sliding */
.slide-from-left {
  --slide-x: -90px;
}

.slide-from-right {
  --slide-x: 90px;
}

/* Initial Unrevealed State: Shifted horizontally with soft optical focus */
.stagger-item:not(.is-revealed) {
  opacity: 0 !important;
  transform: translate3d(var(--slide-x, -90px), 0, 0) scale(0.98) !important;
  filter: blur(5px) !important;
  pointer-events: none !important;
}

/* Revealed State: Perfectly aligned at natural position */
.stagger-item.is-revealed {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  filter: blur(0px) !important;
  pointer-events: auto !important;
}

/* Snappy immediate response on hover: zero delay across all items */
.stagger-item:hover,
.stagger-item.is-revealed:hover {
  transition-delay: 0s !important;
}

/* Hover States for Cards when revealed (snappy & smooth) */
.minimal-card.stagger-item.is-revealed:hover,
.bento-card.stagger-item.is-revealed:hover,
.cfg-style-card.stagger-item.is-revealed:hover,
.cfg-scope-card.stagger-item.is-revealed:hover,
.editorial-value-card.stagger-item.is-revealed:hover,
.founder-card.stagger-item.is-revealed:hover {
  transform: translateY(-6px) scale(1) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease !important;
  transition-delay: 0s !important;
}

/* Step 3 Configurator Add-on Option Cards: 100% rock-solid, ZERO jitter */
.cfg-addon-label.stagger-item.is-revealed:hover {
  transform: translate3d(0, 0, 0) scale(1) !important;
  background: #ffffff !important;
  border-color: rgba(79, 70, 229, 0.45) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
  transition: background-color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease !important;
  transition-delay: 0s !important;
}

/* Mobile responsive slide offset */
@media (max-width: 768px) {
  .slide-from-left {
    --slide-x: -45px;
  }
  .slide-from-right {
    --slide-x: 45px;
  }
}

/* Content visibility */
.stagger-item > * {
  transition: opacity 0.4s ease-out;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .stagger-item {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Persistent Floating Portfolio Button
   ========================================================================== */
.floating-portfolio-pill {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  color: #090d16 !important;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s ease,
              color 0.28s ease;
  cursor: pointer;
  user-select: none;
}

.floating-portfolio-pill:hover {
  transform: translateY(-3px) scale(1.02);
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.15);
  color: #4f46e5 !important;
}

.floating-portfolio-pill:active {
  transform: translateY(-1px) scale(0.99);
}

.portfolio-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f46e5;
  box-shadow: 0 0 8px rgba(79, 70, 229, 0.6);
  flex-shrink: 0;
  animation: pillPulse 2.5s infinite ease-in-out;
}

@keyframes pillPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.75;
  }
}

.portfolio-pill-text {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.portfolio-pill-arrow {
  color: #4f46e5;
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.floating-portfolio-pill:hover .portfolio-pill-arrow {
  transform: translate(2px, -2px);
  color: #4f46e5;
}

@media (max-width: 768px) {
  .floating-portfolio-pill {
    bottom: 84px;
    right: 16px;
    padding: 9px 16px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Portfolio Page Styles (portfolio.html)
   ========================================================================== */
.portfolio-page-wrapper {
  padding-top: 130px;
  padding-bottom: 110px;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #090d16;
  text-decoration: none;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.btn-back-home:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #4f46e5;
  transform: translateX(-2px);
}

.portfolio-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.portfolio-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.22);
  color: #4f46e5;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.portfolio-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 20px;
  color: #090d16;
}

.portfolio-subtitle {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* Portfolio Interactive Filter Bar */
.portfolio-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #090d16;
}

.filter-tab.active {
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.4);
  color: #4f46e5;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.12);
}

/* Distinct Style Typography on Filter Tabs */
.filter-tab[data-filter="schlicht"] {
  font-family: var(--font-style-minimal-serif);
  font-style: italic;
  font-size: 0.98rem;
}
.filter-tab[data-filter="3d"] {
  font-family: var(--font-style-3d);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.filter-tab[data-filter="bento"] {
  font-family: var(--font-style-bento);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.filter-tab[data-filter="retro"] {
  font-family: var(--font-style-retro-ui);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

.filter-tab-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  opacity: 0.7;
}

/* ==========================================================================
   Portfolio Work-In-Progress (WIP) Premiere Showcase
   ========================================================================== */
.portfolio-wip-section {
  max-width: 1040px;
  margin: 0 auto 72px;
}

.portfolio-wip-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 20px 48px -12px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-wip-card:hover {
  box-shadow: 0 24px 56px -12px rgba(15, 23, 42, 0.12);
}

@media (max-width: 920px) {
  .portfolio-wip-card {
    grid-template-columns: 1fr;
  }
}

.portfolio-wip-visual {
  background: radial-gradient(circle at 30% 20%, #172033 0%, #090d16 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-right: 1px solid #e2e8f0;
}

@media (max-width: 920px) {
  .portfolio-wip-visual {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    min-height: 350px;
  }
}

.wip-browser-bar {
  height: 38px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.wip-browser-dots {
  display: flex;
  gap: 5px;
}

.wip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.wip-browser-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-grow: 1;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wip-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.wip-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulseDot 1.8s infinite;
}

.wip-stage-body {
  flex-grow: 1;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* Blueprint Grid Mockup */
.wip-blueprint-grid {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(99, 102, 241, 0.35);
  border-radius: 14px;
  padding: 20px;
  position: relative;
}

.wip-mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.wip-mockup-logo-skeleton {
  width: 74px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
}

.wip-mockup-nav-skeleton {
  display: flex;
  gap: 8px;
}

.wip-mockup-nav-skeleton span {
  width: 36px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.wip-mockup-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
  text-align: center;
}

.wip-mockup-pill-skeleton {
  width: 96px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.35);
  margin-bottom: 12px;
}

.wip-mockup-title-skeleton {
  width: 78%;
  height: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.15) 100%);
  margin-bottom: 8px;
}

.wip-mockup-title-skeleton.sub {
  width: 52%;
  height: 12px;
  background: rgba(255, 255, 255, 0.16);
  margin-bottom: 14px;
}

.wip-mockup-btn-skeleton {
  width: 110px;
  height: 24px;
  border-radius: 6px;
  background: #2563eb;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.5);
}

.wip-mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.wip-mockup-card-item {
  height: 46px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.wip-mockup-card-item.active {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

/* Floating Status Overlay */
.wip-floating-status {
  margin-top: 18px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.wip-status-icon {
  font-size: 1.25rem;
  float: left;
  margin-right: 12px;
}

.wip-status-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.wip-status-sub {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.wip-status-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  overflow: hidden;
}

.wip-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #34d399);
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}

/* Accompanying Content Column */
.portfolio-wip-details {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px) {
  .portfolio-wip-details {
    padding: 24px 18px;
  }
}

.wip-details-title {
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.22;
  margin: 10px 0 14px;
}

.wip-details-text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 22px;
}

/* Steps list */
.wip-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.wip-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

.wip-step-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.wip-step-item.completed .wip-step-bullet {
  background: #dcfce7;
  color: #15803d;
}

.wip-step-item.in-progress {
  background: #eff6ff;
  border-color: #bfdbfe;
}
.wip-step-item.in-progress .wip-step-bullet {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.wip-step-item.pending .wip-step-bullet {
  background: #f1f5f9;
  color: #94a3b8;
}

.wip-step-info {
  display: flex;
  flex-direction: column;
}

.wip-step-info strong {
  font-size: 0.86rem;
  color: #0f172a;
  font-weight: 600;
  line-height: 1.3;
}

.wip-step-info span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

/* Callout Box */
.wip-callout-box {
  margin-top: auto;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
}

.wip-callout-header strong {
  font-size: 0.92rem;
  color: #0f172a;
}

.wip-callout-desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748b;
  margin: 6px 0 14px;
}

.wip-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

@media (max-width: 640px) {
  .portfolio-filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    padding-left: 2px;
    padding-right: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .portfolio-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Project Card */
.project-card {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.32s ease,
              box-shadow 0.32s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08), 0 0 20px rgba(79, 70, 229, 0.08);
}

/* Mockup Preview Container */
.project-preview {
  height: 220px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.preview-browser-header {
  height: 32px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 12px;
}

.preview-browser-dots {
  display: flex;
  gap: 5px;
}

.preview-browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.preview-browser-url {
  flex-grow: 1;
  max-width: 240px;
  height: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-canvas-content {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

/* Project Card Content */
.project-card-body {
  padding: 26px 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.project-category-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4f46e5;
}

.project-year-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #94a3b8;
}

.project-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #090d16;
  margin-bottom: 8px;
}

/* Distinct Style Typography for Project Card Titles */
.project-card[data-category="schlicht"] .project-title {
  font-family: var(--font-style-minimal-serif);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.project-card[data-category="3d"] .project-title {
  font-family: var(--font-style-3d);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.project-card[data-category="bento"] .project-title {
  font-family: var(--font-style-bento);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project-card[data-category="retro"] .project-title {
  font-family: var(--font-style-retro-ui);
  font-size: 1.12rem;
  letter-spacing: 0.04em;
}

.portfolio-serif-highlight {
  font-family: var(--font-style-minimal-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: -0.01em;
  color: #4f46e5;
}

.project-description {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Metric Pills */
.project-metrics-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #475569;
}

.project-metric-pill.highlight {
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.25);
  color: #059669;
}

/* Card Action Footer */
.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.btn-project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #090d16;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
}

.btn-project-link:hover {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
  transform: translateY(-2px);
}

.btn-project-link svg {
  transition: transform 0.2s ease;
}

.btn-project-link:hover svg {
  transform: translate(2px, -2px);
}

/* Developer / Admin Hint Box */
.portfolio-admin-hint {
  max-width: 900px;
  margin: 0 auto 48px;
  padding: 16px 22px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.04);
  border: 1px dashed rgba(79, 70, 229, 0.25);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.portfolio-admin-hint-icon {
  color: #4f46e5;
  flex-shrink: 0;
  margin-top: 2px;
}

.portfolio-admin-hint-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
}

.portfolio-admin-hint-text strong {
  color: #090d16;
}

/* Portfolio CTA Banner */
.portfolio-cta-banner {
  border-radius: 24px;
  padding: 56px 40px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.portfolio-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #090d16;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.portfolio-cta-desc {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.portfolio-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 9999px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #090d16;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
}

.btn-secondary-glass:hover {
  background: #ffffff;
  border-color: #94a3b8;
  transform: translateY(-2px);
  color: #090d16;
}

/* ==========================================================================
   Legal Pages (impressum.html, etc.) – Sleek Editorial Layout
   ========================================================================== */
.legal-page-wrapper {
  padding-top: 110px;
  padding-bottom: 70px;
  background: #f8fafc;
}

.legal-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  padding: 40px 44px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: #4f46e5;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.legal-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #090d16;
  line-height: 1.15;
  margin-bottom: 8px;
}

.legal-intro {
  font-size: 0.96rem;
  color: #64748b;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
  line-height: 1.5;
}

.legal-section {
  margin-bottom: 22px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

/* Address Card */
.legal-address-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  line-height: 1.55;
  color: #1e293b;
  font-size: 0.95rem;
}

.legal-address-card .legal-company-name {
  font-weight: 700;
  color: #090d16;
  margin-bottom: 4px;
}

.legal-address-card .legal-address-line {
  color: #475569;
}

/* Contact Grid */
.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.legal-contact-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.legal-contact-pill:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.legal-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(79, 70, 229, 0.08);
  color: #4f46e5;
  flex-shrink: 0;
}

.legal-contact-info {
  display: flex;
  flex-direction: column;
}

.legal-contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  color: #64748b;
  font-weight: 600;
}

.legal-contact-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
}

/* Prose Sections (EU Dispute, Liability, Copyright) */
.legal-prose-section {
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.legal-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 10px 0;
}

.legal-text:last-child {
  margin-bottom: 0;
}

.legal-text a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
  word-break: break-all;
}

.legal-text a:hover {
  text-decoration: underline;
}

/* TOC (Inhaltsverzeichnis) */
.legal-toc {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.legal-toc-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  color: #64748b;
  margin-bottom: 12px;
}

.legal-toc-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-toc-list li a {
  font-size: 0.88rem;
  color: #334155;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.legal-toc-list li a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* Subheadings & Bullet Lists */
.legal-subsection-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e293b;
  margin: 16px 0 8px;
  letter-spacing: -0.01em;
}

.legal-bullet-list {
  margin: 8px 0 14px;
  padding-left: 20px;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
}

.legal-bullet-list li {
  margin-bottom: 4px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .legal-page-wrapper {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .legal-container {
    padding: 0 14px;
  }
  .legal-card {
    padding: 24px 16px;
    border-radius: 16px;
  }
  .legal-title {
    font-size: 1.75rem;
    margin-bottom: 6px;
  }
  .legal-intro {
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
  }
  .legal-section {
    margin-bottom: 18px;
  }
  .legal-section-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .legal-address-card {
    padding: 14px 16px;
    font-size: 0.9rem;
  }
  .legal-contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .legal-contact-pill {
    padding: 10px 14px;
  }
  .legal-prose-section {
    padding-top: 16px;
  }
  .legal-text {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}


