/* ==========================================================================
   DOMINIK WAGNER — PERCUSSION & KULTURMANAGEMENT
   Design System: ECM Records Minimalist Purity × Apple macOS 27 Liquid Glass
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Helvetica Neue", Inter, sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, monospace;
  
  /* Brand Copper Accent (derived from original logo) */
  --accent-copper: #b6682e;
  --accent-copper-hover: #c97b3d;
  --accent-copper-glow: rgba(182, 104, 46, 0.28);
  --accent-copper-subtle: rgba(182, 104, 46, 0.12);

  /* Easing curves (Apple Fluid Spring) */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: 0.18s var(--ease-smooth);
  --transition-normal: 0.32s var(--ease-spring);
  --transition-slow: 0.6s var(--ease-spring);
}

/* Dark Theme (Default) - Deep Obsidian Liquid Glass & ECM Atmospheric Space */
[data-theme="dark"] {
  --bg-canvas: #090a0d;
  --bg-canvas-gradient: radial-gradient(ellipse 90% 75% at 50% 20%, #151821 0%, #0a0b0e 70%, #060709 100%);
  --text-primary: #f6f7f9;
  --text-secondary: #9ea5b3;
  --text-muted: #646b7a;
  
  /* macOS Liquid Glass Surfaces */
  --glass-bg: rgba(22, 26, 34, 0.62);
  --glass-bg-hover: rgba(30, 36, 48, 0.72);
  --glass-bg-active: rgba(38, 46, 62, 0.85);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-hover: rgba(255, 255, 255, 0.24);
  --glass-specular: inset 0 1px 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.4);
  --glass-specular-active: inset 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --glass-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.65), 0 2px 8px 0 rgba(0, 0, 0, 0.4);
  --glass-blur: blur(28px) saturate(190%);

  /* Modal Window */
  --window-bg: rgba(18, 22, 30, 0.82);
  --window-header: rgba(25, 30, 42, 0.7);
  --window-border: rgba(255, 255, 255, 0.15);
  --window-shadow: 0 35px 80px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);

  /* Form Elements */
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.12);
  --input-border-focus: var(--accent-copper);
  --input-text: #ffffff;
  --input-placeholder: rgba(255, 255, 255, 0.35);

  /* Ambient Caustics */
  --orb-1-color: radial-gradient(circle, rgba(182, 104, 46, 0.14) 0%, transparent 68%);
  --orb-2-color: radial-gradient(circle, rgba(62, 92, 138, 0.18) 0%, transparent 72%);
  --orb-3-color: radial-gradient(circle, rgba(120, 80, 160, 0.12) 0%, transparent 70%);
  --logo-halo: radial-gradient(circle at center, rgba(182, 104, 46, 0.12) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 70%);
}

/* Light Theme - Pure Milk Titanium Glass & Pristine ECM Canvas */
[data-theme="light"] {
  --bg-canvas: #f8f9fc;
  --bg-canvas-gradient: radial-gradient(ellipse 95% 85% at 50% 15%, #ffffff 0%, #f4f6fa 60%, #e9edf4 100%);
  --text-primary: #171c21;
  --text-secondary: #586171;
  --text-muted: #8892a4;
  
  /* macOS Liquid Glass Surfaces */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-hover: rgba(255, 255, 255, 0.88);
  --glass-bg-active: rgba(245, 248, 252, 0.95);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-border-hover: rgba(255, 255, 255, 0.95);
  --glass-specular: inset 0 1px 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 1px 0 rgba(0, 0, 0, 0.04);
  --glass-specular-active: inset 0 1px 2px 0 rgba(0, 0, 0, 0.08);
  --glass-shadow: 0 14px 34px -10px rgba(45, 55, 72, 0.16), 0 2px 6px 0 rgba(45, 55, 72, 0.05);
  --glass-blur: blur(28px) saturate(190%);

  /* Modal Window */
  --window-bg: rgba(255, 255, 255, 0.86);
  --window-header: rgba(248, 250, 253, 0.75);
  --window-border: rgba(255, 255, 255, 0.95);
  --window-shadow: 0 32px 75px -12px rgba(25, 35, 55, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);

  /* Form Elements */
  --input-bg: rgba(240, 243, 248, 0.75);
  --input-border: rgba(0, 0, 0, 0.09);
  --input-border-focus: var(--accent-copper);
  --input-text: #171c21;
  --input-placeholder: rgba(23, 28, 33, 0.4);

  /* Ambient Caustics */
  --orb-1-color: radial-gradient(circle, rgba(182, 104, 46, 0.11) 0%, transparent 68%);
  --orb-2-color: radial-gradient(circle, rgba(140, 175, 220, 0.2) 0%, transparent 72%);
  --orb-3-color: radial-gradient(circle, rgba(200, 190, 230, 0.15) 0%, transparent 70%);
  --logo-halo: radial-gradient(circle at center, rgba(182, 104, 46, 0.08) 0%, rgba(200, 215, 235, 0.25) 50%, transparent 75%);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  background-image: var(--bg-canvas-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color var(--transition-slow), color var(--transition-normal);
  user-select: none;
  -webkit-user-select: none;
}

/* --------------------------------------------------------------------------
   3. Ambient Liquid Glass Caustics (Fluid Mesh)
   -------------------------------------------------------------------------- */
.ambient-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.caustic-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  will-change: transform, opacity;
  transition: opacity var(--transition-slow);
}

.orb-1 {
  width: 70vw;
  height: 70vw;
  max-width: 850px;
  max-height: 850px;
  top: -15%;
  left: 20%;
  background: var(--orb-1-color);
  animation: floatOrb1 26s infinite alternate ease-in-out;
}

.orb-2 {
  width: 65vw;
  height: 65vw;
  max-width: 800px;
  max-height: 800px;
  bottom: -20%;
  right: -10%;
  background: var(--orb-2-color);
  animation: floatOrb2 32s infinite alternate ease-in-out;
}

.orb-3 {
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  bottom: 25%;
  left: -15%;
  background: var(--orb-3-color);
  animation: floatOrb3 22s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-60px, 40px, 0) scale(1.08); }
  100% { transform: translate3d(50px, -30px, 0) scale(0.94); }
}

@keyframes floatOrb2 {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(50px, -50px, 0) scale(1.1); }
  100% { transform: translate3d(-40px, 30px, 0) scale(0.95); }
}

@keyframes floatOrb3 {
  0% { transform: translate3d(0, 0, 0) scale(0.95); }
  50% { transform: translate3d(40px, 60px, 0) scale(1.05); }
  100% { transform: translate3d(-30px, -20px, 0) scale(1); }
}

/* Subtle Film Grain (ECM Organic Aesthetic) */
.ambient-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. Header & Top-Right macOS Liquid Capsule
   -------------------------------------------------------------------------- */
.mac-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 50;
  pointer-events: none; /* children re-enable pointer */
}

.liquid-capsule {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  padding: 5px 6px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-specular), var(--glass-shadow);
  border-radius: 9999px;
  transition: all var(--transition-normal);
  animation: capsuleEntrance 0.8s var(--ease-spring);
}

.liquid-capsule:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-1px);
}

@keyframes capsuleEntrance {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.glass-btn {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
  position: relative;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

[data-theme="light"] .glass-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.glass-btn:active {
  transform: scale(0.94);
}

.glass-btn.icon-only {
  width: 32px;
  height: 32px;
  padding: 0;
}

.capsule-divider {
  width: 1px;
  height: 18px;
  background: var(--glass-border);
  margin: 0 3px;
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.lang-text {
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}

/* Theme Icon transitions */
[data-theme="dark"] .moon-icon {
  display: none;
}
[data-theme="dark"] .sun-icon {
  display: block;
}

[data-theme="light"] .sun-icon {
  display: none;
}
[data-theme="light"] .moon-icon {
  display: block;
}

#theme-toggle:hover .icon {
  transform: rotate(24deg) scale(1.1);
}

/* --------------------------------------------------------------------------
   5. Hero Section: ECM Records Minimalist Purity (Logo ONLY)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  min-height: calc(100vh - 120px);
  min-height: calc(100dvh - 120px);
}

.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 720px;
  padding: 2.5rem;
  transition: transform 0.4s var(--ease-spring);
  animation: heroLogoFade 1.2s var(--ease-spring);
}

@keyframes heroLogoFade {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.logo-halo {
  position: absolute;
  width: 130%;
  height: 160%;
  background: var(--logo-halo);
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
  transition: all var(--transition-slow);
}

.hero-brand-logo {
  width: 100%;
  max-width: 640px;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
  transition: filter var(--transition-normal), transform var(--transition-fast);
}

[data-theme="dark"] .logo-light {
  display: none !important;
}

[data-theme="dark"] .logo-dark {
  display: block !important;
  filter: drop-shadow(0 14px 35px rgba(0, 0, 0, 0.45));
}

[data-theme="light"] .logo-dark {
  display: none !important;
}

[data-theme="light"] .logo-light {
  display: block !important;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.08));
}

.logo-container:hover .hero-brand-logo {
  filter: drop-shadow(0 16px 36px var(--accent-copper-glow));
}

/* --------------------------------------------------------------------------
   6. Footer: macOS Liquid Glass Dock
   -------------------------------------------------------------------------- */
.mac-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.5rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
  pointer-events: none;
}

.liquid-dock {
  pointer-events: auto;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-specular), var(--glass-shadow);
  border-radius: 9999px;
  padding: 7px 18px;
  transition: all var(--transition-normal);
  animation: dockEntrance 0.9s var(--ease-spring);
  max-width: 95vw;
}

.liquid-dock:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-specular), 0 20px 48px -10px rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
}

@keyframes dockEntrance {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dock-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.dock-link {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dock-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

[data-theme="light"] .dock-link:hover {
  background: rgba(0, 0, 0, 0.05);
}

.dock-link:active {
  transform: scale(0.96);
}

/* Primary Contact link highlighted subtle distinction */
.contact-trigger {
  color: var(--text-primary);
  font-weight: 600;
}

/* Secondary Legal Links: Impressum & Datenschutz intentionally smaller */
.legal-dock-link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.68;
  padding: 5px 9px;
  color: var(--text-muted);
}

.legal-dock-link:hover {
  opacity: 1;
  color: var(--text-secondary);
}

.contact-trigger .dock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-copper);
  box-shadow: 0 0 8px var(--accent-copper);
  display: inline-block;
  animation: pulseDot 3.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 0.7;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 12px var(--accent-copper);
  }
}

.dock-separator {
  color: var(--text-muted);
  font-size: 0.6rem;
  opacity: 0.6;
  user-select: none;
}

/* --------------------------------------------------------------------------
   7. Modals: macOS 27 Liquid Glass Windows
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}

.modal-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mac-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.94);
  width: 90vw;
  max-width: 680px;
  max-height: 86vh;
  max-height: 86dvh;
  background: var(--window-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--window-border);
  box-shadow: var(--glass-specular), var(--window-shadow);
  border-radius: 18px;
  z-index: 101;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-spring), transform 0.32s var(--ease-spring);
}

.mac-modal.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Window Chrome (macOS Title Bar & Traffic Lights) */
.window-chrome {
  background: var(--window-header);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
}

.traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  outline: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease;
}

.traffic-btn:hover {
  transform: scale(1.1);
}

.traffic-btn.close-btn {
  background: #ff5f57;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.traffic-btn.min-btn {
  background: #febc2e;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  cursor: default;
}

.traffic-btn.max-btn {
  background: #28c840;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
  cursor: default;
}

.close-btn::before, .close-btn::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 1.5px;
  background: #800000;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.close-btn::before { transform: rotate(45deg); }
.close-btn::after { transform: rotate(-45deg); }

.traffic-lights:hover .close-btn::before,
.traffic-lights:hover .close-btn::after {
  opacity: 0.8;
}

.window-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

/* Window Content Body */
.window-body {
  padding: 2rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--glass-border) transparent;
  user-select: text;
  -webkit-user-select: text;
}

.window-body::-webkit-scrollbar {
  width: 6px;
}

.window-body::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 9999px;
}

/* Modal Intro */
.modal-intro {
  margin-bottom: 1.5rem;
}

.modal-heading {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.modal-subtext {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Direct Contact Quick Pill (Bot-Cloaked) */
.direct-contact-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent-copper-subtle);
  border: 1px solid rgba(182, 104, 46, 0.35);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 1.75rem;
  gap: 12px;
}

.pill-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
  flex-wrap: wrap;
}

.mail-mini-icon {
  width: 17px;
  height: 17px;
  color: var(--accent-copper);
}

.direct-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.protected-email-field {
  display: inline-flex;
  align-items: center;
}

.cloaked-hint {
  color: var(--accent-copper);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px dashed rgba(182, 104, 46, 0.5);
  transition: all var(--transition-fast);
}

.cloaked-hint:hover {
  color: var(--accent-copper-hover);
  border-bottom-style: solid;
}

.uncloaked-email {
  color: var(--accent-copper);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.uncloaked-email:hover {
  text-decoration: underline;
  color: var(--accent-copper-hover);
}

.copy-email-btn {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.copy-email-btn:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.copy-email-btn .copied-badge {
  display: none;
  color: #28c840;
}

.copy-email-btn.is-copied .copy-text {
  display: none;
}

.copy-email-btn.is-copied .copied-badge {
  display: inline;
}

/* Anti-Bot Honeypot Shield */
.hp-shield {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  z-index: -100 !important;
}

/* Form Footer & Security Badge */
.security-privacy-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 220px;
}

.bot-shield-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #28c840;
  letter-spacing: 0.02em;
}

.shield-mini-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Inline Reveal in Impressum & Datenschutz */
.btn-reveal-inline {
  background: transparent;
  border: none;
  outline: none;
  color: var(--accent-copper);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px dashed rgba(182, 104, 46, 0.4);
  background: var(--accent-copper-subtle);
  transition: all var(--transition-fast);
}

.btn-reveal-inline:hover {
  background: rgba(182, 104, 46, 0.2);
  color: var(--accent-copper-hover);
  border-style: solid;
}

/* Anti-Spam Shake Animation */
@keyframes botRejectShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.form-rejected {
  animation: botRejectShake 0.4s ease-in-out;
}

/* Liquid Form */
.liquid-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.glass-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--input-text);
  outline: none;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glass-input::placeholder {
  color: var(--input-placeholder);
}

.glass-input:focus {
  border-color: var(--input-border-focus);
  box-shadow: 0 0 0 3px var(--accent-copper-glow);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .glass-input:focus {
  background: #ffffff;
}

.glass-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-secondary);
  pointer-events: none;
}

.glass-select option {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
}

.glass-textarea {
  resize: vertical;
  min-height: 95px;
  line-height: 1.5;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.privacy-notice {
  font-size: 0.76rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

.submit-btn {
  background: var(--accent-copper);
  color: #ffffff;
  border: none;
  outline: none;
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--accent-copper-glow);
  transition: all var(--transition-fast);
}

.submit-btn:hover {
  background: var(--accent-copper-hover);
  box-shadow: 0 6px 20px var(--accent-copper-glow);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: scale(0.96);
}

.send-arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.submit-btn:hover .send-arrow-icon {
  transform: translateX(3px);
}

/* Form Success Banner */
.form-success-message {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(40, 200, 64, 0.12);
  border: 1px solid rgba(40, 200, 64, 0.35);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 1rem;
  animation: bannerFade 0.4s var(--ease-spring);
}

@keyframes bannerFade {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

.success-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #28c840;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.success-icon-wrap svg {
  width: 14px;
  height: 14px;
}

.success-text-wrap strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.success-text-wrap p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   8. Legal Modals Content (Impressum & Datenschutz)
   -------------------------------------------------------------------------- */
.legal-window-body {
  max-height: 75vh;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.legal-badge {
  font-size: 0.82rem;
  color: var(--accent-copper);
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.legal-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--glass-border);
}

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

.legal-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal-section p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

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

.legal-link {
  color: var(--accent-copper);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-link:hover {
  text-decoration: underline;
  color: var(--accent-copper-hover);
}

.legal-list {
  margin: 0.5rem 0 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-list li {
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   9. Responsive Breakpoints & Accessibility
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .mac-header {
    padding: 1rem 1.25rem;
  }

  .mac-footer {
    padding: 1rem 1rem 1.5rem;
  }

  .liquid-dock {
    padding: 6px 14px;
    border-radius: 24px;
  }

  .dock-content {
    gap: 6px 10px;
  }

  .dock-link {
    font-size: 0.78rem;
    padding: 4px 8px;
  }

  .legal-dock-link {
    font-size: 0.65rem;
    padding: 3px 6px;
  }

  .dock-separator {
    display: none;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .logo-container {
    padding: 1rem;
  }

  .hero-brand-logo {
    max-width: 90vw;
  }

  .mac-modal {
    width: 95vw;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 14px;
  }

  .window-body {
    padding: 1.25rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .caustic-orb {
    animation: none !important;
  }
}
