/* ==========================================================================
   punktdichte - Modern Responsive Stylesheet
   Focus: TYPO3 Web Development, Digital Media, Project Management
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens & Multi-Theme System
   -------------------------------------------------------------------------- */

/* --- Theme 1: Atelier / Bauhaus (Default) --- */
:root,
[data-theme="atelier"] {
  --theme-id: 'atelier';
  --theme-label: 'Atelier (Modern)';

  /* Colors */
  --color-primary: #0f172a;       /* Deep slate/navy */
  --color-primary-light: #1e293b; /* Charcoal slate */
  --color-primary-dark: #090d16;
  
  --color-accent: #ff8700;        /* TYPO3 signature warm orange */
  --color-accent-hover: #e07700;
  --color-accent-glow: rgba(255, 135, 0, 0.16);
  
  --color-secondary: #0ea5e9;     /* Tech sky blue */
  --color-secondary-hover: #0284c7;

  --color-text-main: #334155;     /* Slate-700 body text */
  --color-text-muted: #64748b;    /* Slate-500 secondary text */
  --color-text-light: #94a3b8;    /* Slate-400 */
  --color-text-inverse: #ffffff;
  
  --color-bg-body: #ffffff;
  --color-bg-subtle: #f8fafc;     /* Slate-50 */
  --color-bg-card: #ffffff;
  --color-bg-dark: #0f172a;
  
  --color-border: #e2e8f0;        /* Slate-200 */
  --color-border-dark: #334155;
  --color-success: #10b981;
  --color-error: #ef4444;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.75rem;
  --space-3xl: 5.5rem;

  /* Layout & Sharp Corners (No rounded boxes) */
  --container-max: 1200px;
  --header-height: 76px;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-full: 0px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 30px -6px rgba(15, 23, 42, 0.14), 0 8px 10px -4px rgba(15, 23, 42, 0.06);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --- Theme 2: Berlin Mono (Studio Tech / Dark Monospace) --- */
[data-theme="mono"] {
  --theme-id: 'mono';
  --theme-label: 'Berlin Mono (Tech)';

  /* Colors */
  --color-primary: #f0f6fc;
  --color-primary-light: #21262d;
  --color-primary-dark: #010409;
  
  --color-accent: #00f2fe;        /* Neon cyan */
  --color-accent-hover: #4facfe;
  --color-accent-glow: rgba(0, 242, 254, 0.18);
  
  --color-secondary: #58a6ff;     /* Terminal blue */
  --color-secondary-hover: #1f6feb;

  --color-text-main: #c9d1d9;     /* Soft high-contrast text */
  --color-text-muted: #8b949e;
  --color-text-light: #6e7681;
  --color-text-inverse: #0d1117;
  
  --color-bg-body: #0d1117;       /* Dark canvas */
  --color-bg-subtle: #161b22;     /* Sub-surface */
  --color-bg-card: #1c2128;       /* Card surface */
  --color-bg-dark: #010409;
  
  --color-border: #30363d;        /* Crisp dark border */
  --color-border-dark: #484f58;
  --color-success: #3fb950;
  --color-error: #f85149;

  /* Typography */
  --font-sans: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-display: 'JetBrains Mono', ui-monospace, monospace;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale - Compact, technical precision */
  --space-xs: 0.2rem;
  --space-sm: 0.4rem;
  --space-md: 0.85rem;
  --space-lg: 1.25rem;
  --space-xl: 1.85rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.7);
}

/* --- Theme 3: Warm Swiss (Editorial Paper & Craft) --- */
[data-theme="paper"] {
  --theme-id: 'paper';
  --theme-label: 'Warm Paper (Editorial)';

  /* Colors */
  --color-primary: #292524;       /* Warm espresso */
  --color-primary-light: #44403c;
  --color-primary-dark: #1c1917;
  
  --color-accent: #c2410c;        /* Terracotta / Rust */
  --color-accent-hover: #9a3412;
  --color-accent-glow: rgba(194, 65, 12, 0.14);
  
  --color-secondary: #0d9488;     /* Earthy Teal */
  --color-secondary-hover: #0f766e;

  --color-text-main: #44403c;     /* Stone 700 */
  --color-text-muted: #78716c;    /* Stone 500 */
  --color-text-light: #a8a29e;
  --color-text-inverse: #ffffff;
  
  --color-bg-body: #fbf9f4;       /* Artisanal paper */
  --color-bg-subtle: #f3efe6;     /* Warm linen */
  --color-bg-card: #ffffff;
  --color-bg-dark: #1c1917;
  
  --color-border: #e7e0d3;        /* Warm parchment border */
  --color-border-dark: #57534e;
  --color-success: #15803d;
  --color-error: #b91c1c;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale - Generous editorial book layout */
  --space-xs: 0.3rem;
  --space-sm: 0.65rem;
  --space-md: 1.25rem;
  --space-lg: 1.85rem;
  --space-xl: 2.75rem;
  --space-2xl: 4.5rem;
  --space-3xl: 7rem;

  --shadow-sm: 0 1px 3px rgba(41, 37, 36, 0.04);
  --shadow-md: 0 4px 8px rgba(41, 37, 36, 0.06);
  --shadow-lg: 0 12px 20px rgba(41, 37, 36, 0.08);
  --shadow-xl: 0 20px 30px rgba(41, 37, 36, 0.1);
}

/* --- Theme 4: Nordic Minimal (Crisp Sky & Gallery Air) --- */
[data-theme="nordic"] {
  --theme-id: 'nordic';
  --theme-label: 'Nordic Sky (Minimal)';

  /* Colors */
  --color-primary: #0f172a;       /* Clean Navy */
  --color-primary-light: #1e293b;
  --color-primary-dark: #020617;
  
  --color-accent: #2563eb;        /* Electric Cobalt */
  --color-accent-hover: #1d4ed8;
  --color-accent-glow: rgba(37, 99, 235, 0.14);
  
  --color-secondary: #06b6d4;     /* Crisp Cyan */
  --color-secondary-hover: #0891b2;

  --color-text-main: #1e293b;     /* Slate 800 */
  --color-text-muted: #475569;    /* Slate 600 */
  --color-text-light: #64748b;
  --color-text-inverse: #ffffff;
  
  --color-bg-body: #f1f5f9;       /* Bright cool grey */
  --color-bg-subtle: #e2e8f0;     /* Cool slate sub */
  --color-bg-card: #ffffff;
  --color-bg-dark: #0f172a;
  
  --color-border: #cbd5e1;        /* Crisp cool border */
  --color-border-dark: #334155;
  --color-success: #059669;
  --color-error: #dc2626;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale - Airy modern gallery spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.55rem;
  --space-md: 1.15rem;
  --space-lg: 1.65rem;
  --space-xl: 2.5rem;
  --space-2xl: 4.25rem;
  --space-3xl: 6.25rem;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 8px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.09);
  --shadow-xl: 0 20px 32px rgba(15, 23, 42, 0.12);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .service-title,
.about-lead, .gallery-title {
  font-family: var(--font-display);
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

/* Accessibility Focus Outline */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. Container & Section Primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.section-header {
  margin-bottom: var(--space-2xl);
  max-width: 720px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: var(--color-accent-glow);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   4. Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 135, 0, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 135, 0, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. Site Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: background-color var(--transition-normal);
}

.header-container {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
}

.brand-logo .highlight {
  color: var(--color-accent);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.4rem 0.2rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.nav-btn {
  background-color: var(--color-accent);
  color: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-link.nav-btn::after {
  display: none;
}

.nav-link.nav-btn:hover {
  background-color: var(--color-accent-hover);
}

/* Header Controls: Theme, Language & Mobile Toggle */
.header-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Theme Switcher */
.theme-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.28rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-btn:hover,
.theme-btn:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-accent);
}

.theme-btn .theme-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.theme-btn .theme-flip-badge {
  font-size: 0.65rem;
  opacity: 0.75;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 0.35rem;
  margin-left: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.theme-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xl);
  min-width: 220px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

.theme-dropdown[hidden] {
  display: none !important;
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
}

.theme-option:last-child {
  border-bottom: none;
}

.theme-option:hover,
.theme-option:focus-visible {
  background: var(--color-bg-subtle);
  color: var(--color-accent);
}

.theme-option.active {
  background: var(--color-accent-glow);
  color: var(--color-accent);
  font-weight: 700;
}

.theme-opt-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.15rem 0.35rem;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  color: #ffffff;
  background-color: var(--color-accent);
}

.lang-btn:hover:not(.active) {
  color: #ffffff;
}

.lang-divider {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  padding: 0;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 0;
  transition: all var(--transition-normal);
}

.mobile-toggle.open .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, #1e293b 100%);
  color: #ffffff;
  padding-top: calc(var(--space-3xl) + 1rem);
  padding-bottom: calc(var(--space-3xl) + 1rem);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 135, 0, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: var(--space-lg);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 135, 0, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 135, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 135, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 135, 0, 0);
  }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-usps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-xl);
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #e2e8f0;
  font-weight: 500;
}

.usp-icon {
  color: var(--color-accent);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   7. About Us Section
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--color-bg-body);
}

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.portrait-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: var(--color-primary-light);
}

.portrait-img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  display: block;
}

.portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 70%, transparent 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.portrait-caption strong {
  font-size: 1.15rem;
  color: #ffffff;
}

.portrait-caption span {
  font-size: 0.85rem;
  color: var(--color-accent);
}

.about-lead {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.about-text-col p {
  font-size: 1.05rem;
  color: var(--color-text-main);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.highlight-card {
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.highlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.highlight-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.highlight-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   8. Core Services Section
   -------------------------------------------------------------------------- */
.services-section {
  background-color: var(--color-bg-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.service-card.featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.service-card.highlight-card-service {
  background: linear-gradient(180deg, #ffffff 0%, #fffbf5 100%);
  border-color: rgba(255, 135, 0, 0.4);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-accent-glow);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.service-tag-badge {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: var(--color-bg-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.service-card.highlight-card-service .service-tag-badge {
  color: var(--color-accent);
  background: var(--color-accent-glow);
  border-color: rgba(255, 135, 0, 0.3);
}

.service-title {
  font-size: 1.4rem;
  font-weight: 750;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.service-desc {
  font-size: 0.98rem;
  color: var(--color-text-main);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.service-features {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 1.25rem;
}

.service-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   9. Media Production & Sound Design
   -------------------------------------------------------------------------- */
.media-audio-section {
  background-color: var(--color-primary);
  color: #ffffff;
}

.media-audio-section .section-title {
  color: #ffffff;
}

.media-audio-section .section-desc {
  color: #cbd5e1;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.media-card {
  background-color: var(--color-primary-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-secondary);
}

.media-card-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(14, 165, 233, 0.15);
  color: var(--color-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.media-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: #ffffff;
}

.media-card p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. Portfolio & Showcase Gallery
   -------------------------------------------------------------------------- */
.portfolio-section {
  background-color: var(--color-bg-body);
}

.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-text-light);
}

.filter-btn.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--color-primary-light);
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gallery-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover .gallery-thumb img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  transition: opacity var(--transition-fast);
}

.gallery-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.gallery-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.gallery-zoom-icon {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-fast);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   11. Studio & Office Impression
   -------------------------------------------------------------------------- */
.office-section {
  background-color: var(--color-bg-subtle);
}

.office-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.office-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.office-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.office-content p {
  font-size: 1.05rem;
  color: var(--color-text-main);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.office-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

.office-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   12. Contact Section & Validated Form
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--color-bg-body);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info-card {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: #ffffff;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-detail-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 135, 0, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.detail-link, .detail-text {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.detail-link:hover {
  color: var(--color-accent);
}

.contact-promise-box {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.contact-promise-box strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.contact-promise-box p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Contact Form Card */
.contact-form-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--color-text-main);
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-control.invalid {
  border-color: var(--color-error);
  background-color: #fffaf0;
}

.form-error {
  font-size: 0.8rem;
  color: var(--color-error);
  margin-top: 0.3rem;
  min-height: 1rem;
}

.privacy-check .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.privacy-check input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
}

.privacy-check a {
  color: var(--color-accent);
  text-decoration: underline;
}

.form-status {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.footer-brand {
  max-width: 400px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-lg);
}

.footer-nav {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.legal-link-btn {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-decoration: underline;
  padding: 0;
  transition: color var(--transition-fast);
}

.legal-link-btn:hover {
  color: #ffffff;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: var(--space-md);
}

/* --------------------------------------------------------------------------
   14. Lightbox Modal
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.lightbox-modal[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 2001;
  max-width: 900px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  animation: modalFadeIn 200ms ease;
}

.lightbox-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2002;
  transition: background-color var(--transition-fast);
}

.lightbox-close:hover {
  background-color: var(--color-accent);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
}

.lightbox-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background-color: #090d16;
}

.lightbox-caption {
  padding: var(--space-lg);
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.5;
  background-color: var(--color-primary-light);
}

/* --------------------------------------------------------------------------
   15. Legal Modal (Impressum / Privacy)
   -------------------------------------------------------------------------- */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.legal-modal[hidden] {
  display: none !important;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
}

.legal-modal-dialog {
  position: relative;
  z-index: 2001;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalFadeIn 200ms ease;
}

.legal-modal-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
}

.legal-modal-close {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.legal-modal-close:hover {
  background-color: var(--color-bg-subtle);
  color: var(--color-primary);
}

.legal-modal-body {
  padding: var(--space-xl);
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-main);
}

.legal-modal-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.legal-modal-body h4:first-child {
  margin-top: 0;
}

.legal-modal-body p {
  margin-bottom: var(--space-sm);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* --------------------------------------------------------------------------
   16. Responsive Breakpoints
   -------------------------------------------------------------------------- */
/* Tablet & Medium Screens (< 1024px) */
@media (max-width: 1023px) {
  :root {
    --space-3xl: 4.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .portrait-wrapper {
    max-width: 440px;
    margin: 0 auto;
  }

  .office-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* Smartphone & Small Screens (< 768px) */
@media (max-width: 767px) {
  :root {
    --header-height: 68px;
    --space-2xl: 2.5rem;
    --space-3xl: 3.5rem;
    --space-xl: 1.75rem;
  }

  .theme-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .theme-btn .theme-flip-badge {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-primary-dark);
    padding: var(--space-xl) var(--space-lg);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
    width: 100%;
  }

  .nav-link {
    font-size: 1.2rem;
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  .nav-link.nav-btn {
    text-align: center;
    margin-top: var(--space-md);
  }

  .services-grid,
  .media-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-highlights {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .hero-usps {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
  }

  .footer-nav {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* Reduced Motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
