/* ==========================================================================
   WODNIOK.DE - Modern Multi-App Design System (Floorball Clock, CookVegan, Trainertool)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-active: rgba(0, 210, 255, 0.4);
  --border-green: rgba(16, 185, 129, 0.4);
  --border-red: rgba(198, 1, 25, 0.45);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Brand & Theme Accents */
  --accent-cyan: #00d2ff;
  --accent-blue: #3b82f6;
  --accent-orange: #ff7a00;
  --accent-coral: #ff4b4b;
  --accent-crimson: #c60119;
  --accent-emerald: #10b981;
  --accent-sage: #34d399;
  --accent-amber: #f59e0b;
  
  --gradient-brand: linear-gradient(135deg, #00d2ff 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #ff7a00 0%, #ff4b4b 100%);
  --gradient-vegan: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  --gradient-trainer: linear-gradient(135deg, #c60119 0%, #e11d48 50%, #9f1239 100%);
  --gradient-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);
  
  /* Layout & Spacing */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(0, 210, 255, 0.25);
  --shadow-glow-orange: 0 0 25px rgba(255, 122, 0, 0.25);
  --shadow-glow-green: 0 0 25px rgba(16, 185, 129, 0.25);
  --shadow-glow-red: 0 0 25px rgba(198, 1, 25, 0.35);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(0, 210, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(16, 185, 129, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(198, 1, 25, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #67e8f9;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-orange {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-green {
  background: var(--gradient-vegan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-red {
  background: var(--gradient-trainer);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 210, 255, 0.25);
  margin-bottom: 1rem;
}

.badge-orange {
  background: rgba(255, 122, 0, 0.1);
  color: var(--accent-orange);
  border-color: rgba(255, 122, 0, 0.25);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

.badge-red {
  background: rgba(198, 1, 25, 0.15);
  color: #ff4b4b;
  border-color: rgba(198, 1, 25, 0.35);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.site-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.35);
}

.site-logo:hover {
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #0b0f19;
  font-weight: 700;
  box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover {
  color: #0b0f19;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.45);
}

.btn-green {
  background: var(--gradient-vegan);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-glow-green);
}

.btn-green:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.45);
}

.btn-red {
  background: var(--gradient-trainer);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-glow-red);
}

.btn-red:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(198, 1, 25, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* Official Apple App Store Badge Guidelines Compliance */
.app-store-badge-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  vertical-align: middle;
  transition: transform 0.2s ease, opacity 0.2s ease;
  margin: 0.25rem 0;
  background: #000000;
  border-radius: 7px;
}

.app-store-badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.app-store-badge-img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 7px;
}

.app-store-badge-sm .app-store-badge-img {
  height: 40px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* Hero Section */
.hero {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h4 {
  font-size: 1.5rem;
  color: #fff;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Visual Media & App Showcase Styling */
.app-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-screenshot-hero {
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-subtle);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), var(--shadow-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-height: 520px;
  width: auto;
  object-fit: contain;
}

.app-screenshot-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), var(--shadow-glow-cyan);
}

.app-icon-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.app-icon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.app-icon-card.green::before {
  background: var(--gradient-vegan);
}

.app-icon-card.red::before {
  background: var(--gradient-trainer);
}

.app-icon-img {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  margin: 0 auto 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}

.app-icon-img:hover {
  transform: scale(1.04);
}

.app-showcase-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: center;
}

.app-card-icon-thumb {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* Screenshot Gallery */
.screenshots-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
  width: 100%;
}

.screenshot-gallery-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.screenshot-gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.screenshot-gallery-item.green-hover:hover {
  border-color: var(--border-green);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow-green);
}

.screenshot-gallery-item.red-hover:hover {
  border-color: var(--border-red);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow-red);
}

.screenshot-img-box {
  width: 100%;
  height: 400px;
  background: #060911;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.75rem;
  cursor: zoom-in;
}

.screenshot-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.screenshot-gallery-item {
  cursor: pointer;
}

.screenshot-gallery-item:hover .screenshot-img-box img {
  transform: scale(1.03);
}

.screenshot-caption {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  border-top: 1px solid var(--border-subtle);
  background: rgba(17, 24, 39, 0.9);
}

/* Lightbox / Fullscreen Image Zoom Viewer */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  padding: 1.5rem;
  cursor: zoom-out;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  position: relative;
  max-width: 94vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-out;
}

.lightbox-modal.active .lightbox-container {
  transform: scale(1);
}

.lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 210, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: zoom-out;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  background: rgba(11, 15, 25, 0.9);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10000;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* Platform Tabs Navigation */
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: 1.5rem 0 2rem;
}

.platform-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.25s ease;
}

.platform-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.platform-tab-btn.active {
  background: var(--gradient-brand);
  color: #0b0f19;
  border-color: transparent;
  box-shadow: var(--shadow-glow-cyan);
  font-weight: 700;
}

.platform-screenshots-panel {
  display: none;
  animation: fadeIn 0.35s ease forwards;
}

.platform-screenshots-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Linux / Windows Banner Box */
.desktop-os-callout {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-top: 3.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.desktop-os-content {
  flex: 1;
  min-width: 280px;
}

.desktop-os-content h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.desktop-os-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.desktop-os-action {
  flex-shrink: 0;
}

/* Smartphone Mockup Frame (Live Web Demo on Index Hero) */
.phone-mockup-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.phone-frame {
  position: relative;
  width: 362px;
  height: 780px;
  max-width: 100%;
  background: #0b0f19;
  border-radius: 50px;
  border: 10px solid #1e293b;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(0, 210, 255, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame:hover {
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(0, 210, 255, 0.28),
    inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.phone-top-bar {
  height: 24px;
  background: #080c14;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.phone-speaker-slit {
  width: 52px;
  height: 4px;
  background: #334155;
  border-radius: 4px;
}

.phone-camera-lens {
  width: 6px;
  height: 6px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 50%;
}

.phone-screen {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  background: #0F1115;
  overflow: hidden;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
}

.phone-screen iframe {
  /* Native iPhone 16 Pro Logical Resolution (402 x 845 pt) */
  width: 402px;
  height: 845px;
  border: none;
  display: block;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
  
  /* Zoom / Scale factor: maps 402px into 342px container (scale 0.85) */
  transform: scale(0.85);
  transform-origin: top left;
}

.phone-bottom-bar {
  height: 18px;
  background: #080c14;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.phone-home-indicator {
  width: 100px;
  height: 4px;
  background: #475569;
  border-radius: 4px;
}

.phone-demo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 362px;
  max-width: 100%;
  margin-top: 1rem;
  padding: 0 0.5rem;
  font-size: 0.82rem;
}

.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent-emerald);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.live-pulse-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulse 2s infinite;
}

.phone-demo-expand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.phone-demo-expand-link:hover {
  color: var(--accent-cyan);
}

.phone-demo-note {
  width: 362px;
  max-width: 100%;
  margin-top: 0.65rem;
  padding: 0 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: center;
}

.phone-demo-note strong {
  color: #cbd5e1;
}

@media (max-width: 768px) {
  .phone-frame {
    width: 340px;
    height: 730px;
    border-radius: 44px;
  }
  .phone-screen iframe {
    width: 402px;
    height: 845px;
    transform: scale(0.796);
  }
  .phone-demo-caption {
    width: 340px;
  }
}

@media (max-width: 400px) {
  .phone-frame {
    width: 300px;
    height: 650px;
    border-radius: 38px;
    border-width: 8px;
  }
  .phone-screen iframe {
    width: 402px;
    height: 845px;
    transform: scale(0.706);
  }
  .phone-demo-caption {
    width: 300px;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: rgba(17, 24, 39, 0.4);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  font-size: 1.1rem;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--shadow-glow-cyan);
}

.feature-card.green-hover:hover {
  border-color: var(--border-green);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--shadow-glow-green);
}

.feature-card.red-hover:hover {
  border-color: var(--border-red);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--shadow-glow-red);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.feature-icon.green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.25);
}

.feature-icon.red {
  background: rgba(198, 1, 25, 0.15);
  color: #ff4b4b;
  border-color: rgba(198, 1, 25, 0.35);
}

.feature-icon.orange {
  background: rgba(255, 122, 0, 0.1);
  color: var(--accent-orange);
  border-color: rgba(255, 122, 0, 0.2);
}

.feature-icon.coral {
  background: rgba(255, 75, 75, 0.1);
  color: var(--accent-coral);
  border-color: rgba(255, 75, 75, 0.2);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* User Manual / Handbuch Layout */
.manual-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}

.manual-sidebar {
  position: sticky;
  top: 6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

.manual-sidebar h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.manual-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.manual-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.manual-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.manual-nav a.active {
  background: rgba(0, 210, 255, 0.15);
  color: var(--accent-cyan);
  font-weight: 600;
  border-left: 3px solid var(--accent-cyan);
}

.manual-nav a.active-green {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  font-weight: 600;
  border-left: 3px solid var(--accent-emerald);
}

.manual-nav a.active-red {
  background: rgba(198, 1, 25, 0.2);
  color: #ff4b4b;
  font-weight: 600;
  border-left: 3px solid #ff4b4b;
}

.manual-content {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.manual-section {
  scroll-margin-top: 6.5rem;
}

.manual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-top: 1.25rem;
}

.step-block {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: var(--gradient-brand);
  color: #0b0f19;
  font-weight: 800;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  padding: 0;
  overflow: visible;
}

.step-number.text-badge {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  min-width: 52px;
  width: auto;
  padding: 0 8px;
  border-radius: 10px;
}

.step-number.green {
  background: var(--gradient-vegan);
  color: #fff;
}

.step-number.red {
  background: var(--gradient-trainer);
  color: #fff;
}

.step-details {
  flex: 1;
}

.step-details h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.step-details p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* Callout Boxes */
.callout {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border-left: 4px solid;
  background: rgba(255, 255, 255, 0.03);
}

.callout-info {
  border-color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.06);
}

.callout-warning {
  border-color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.08);
}

.callout-tip {
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
}

.callout-red {
  border-color: var(--accent-crimson);
  background: rgba(198, 1, 25, 0.08);
}

.callout h5 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: #fff;
}

.callout p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* App Showcase Section */
.app-hero-showcase {
  background: radial-gradient(circle at center, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.app-hero-showcase.green {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  border-color: var(--border-green);
}

.app-hero-showcase.red {
  background: radial-gradient(circle at center, rgba(198, 1, 25, 0.15) 0%, transparent 70%);
  border-color: var(--border-red);
}

/* Contact / Profile Card */
.profile-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0b0f19;
  box-shadow: var(--shadow-glow-cyan);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #070a12;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 300px;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
}

/* Legal Content Page Styling */
.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

.legal-content p, .legal-content li {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .app-showcase-row {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  
  .manual-layout {
    grid-template-columns: 1fr;
  }
  
  .manual-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .screenshots-gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .legal-content {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Floorball Clock - Live Web Demo Embed Section & Styles
   ========================================================================== */

.btn-orange {
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-glow-orange);
}

.btn-orange:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 122, 0, 0.45);
}

.demo-window-frame {
  background: #111827;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 210, 255, 0.15);
  overflow: hidden;
  margin: 0 auto;
  max-width: 1100px;
}

.demo-window-header {
  background: #1a2234;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-window-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.demo-window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.demo-window-dot.close { background: #ff5f56; }
.demo-window-dot.minimize { background: #ffbd2e; }
.demo-window-dot.maximize { background: #27c93f; }

.demo-window-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.demo-window-actions {
  display: flex;
  gap: 0.5rem;
}

.demo-window-btn {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.demo-window-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.demo-iframe-wrapper {
  position: relative;
  width: 100%;
  height: 680px;
  background: #0F1115;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
}

.demo-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
}

@media (max-width: 768px) {
  .demo-iframe-wrapper {
    height: 520px;
  }
}

.demo-features-hint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.demo-hint-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.demo-hint-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.demo-hint-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #fff;
}

.demo-hint-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}
