/* ===================================
   UNBREAK ONE - Landing Page Styles
   Corporate Design Implementation
   =================================== */

/* === GOOGLE FONTS IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* === CSS CUSTOM PROPERTIES (CI Colors & Design Tokens) === */
:root {
  /* Farbpalette */
  --color-petrol-deep: #0A6C74;
  --color-petrol-dark: #084F55;
  --color-graphit: #1A1A1A;
  --color-anthrazit: #2D2D2D;
  --color-white: #FFFFFF;
  --color-hellgrau: #F2F2F2;
  --color-silber: #C8C8C8;

  /* Typografie */
  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing System */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 64px;
  --spacing-xxl: 96px;
  
  /* Header Dimensions */
  --header-height: 84px;

  /* Border & Shadows */
  --border-radius-sm: 4px;
  --border-radius-md: 6px;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.18);
  --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.25);

  /* Grid */
  --grid-columns: 12;
  --grid-gap: 24px;
  --container-max-width: 1200px;
}

/* === RESET & BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-graphit);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--color-graphit);
}

h1 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 40px;
  font-weight: 600;
}

h3 {
  font-size: 28px;
  font-weight: 500;
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* === 12-COLUMN GRID SYSTEM === */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grid-gap);
}

.col-1 {
  grid-column: span 1;
}

.col-2 {
  grid-column: span 2;
}

.col-3 {
  grid-column: span 3;
}

.col-4 {
  grid-column: span 4;
}

.col-5 {
  grid-column: span 5;
}

.col-6 {
  grid-column: span 6;
}

.col-7 {
  grid-column: span 7;
}

.col-8 {
  grid-column: span 8;
}

.col-9 {
  grid-column: span 9;
}

.col-10 {
  grid-column: span 10;
}

.col-11 {
  grid-column: span 11;
}

.col-12 {
  grid-column: span 12;
}

/* === NAVIGATION (STICKY HEADER) === */
/* ===================================
   HEADER - PREMIUM GLASSMORPHISM (Launch-Ready)
   3 States: Initial | Scrolled | Interaction
   GLASSMORPHISM ALWAYS ACTIVE - nur subtile Variationen
   =================================== */

header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  /* State 1: Initial - Subtle Glass (Default auf allen Seiten) */
  background: linear-gradient(180deg, rgba(20, 24, 30, 0.72), rgba(20, 24, 30, 0.65));
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1), 
              inset 0 1px 0 rgba(255, 255, 255, 0.04);
  z-index: 1000;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: auto;
}

header.scrolled {
  /* State 2: Scrolled - Leicht erhöhte Dichte, aber GLASSMORPHISM BLEIBT */
  background: linear-gradient(180deg, rgba(20, 24, 30, 0.85), rgba(20, 24, 30, 0.78));
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* State 3: Navigation Links - Unified Interaction */
header .nav-links a,
header .nav-links button {
  color: rgba(230, 235, 240, 0.88);
  text-decoration: none;
  position: relative;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover - Minimal Petrol Accent */
header .nav-links a:hover,
header .nav-links button:hover {
  color: var(--color-petrol-deep);
}

/* Active State - Clear Visual Marker */
header .nav-links a.active {
  color: var(--color-petrol-deep);
  font-weight: 600;
}

header .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-petrol-deep), var(--color-cyan));
  border-radius: 1px;
  opacity: 1;
}

header .nav-links a:focus-visible,
header .nav-links button:focus-visible {
  outline: 2px solid rgba(0, 255, 220, 0.55);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Burger Menu - Consistent Interaction */
header .burger-menu span {
  width: 28px;
  height: 3px;
  background-color: rgba(230, 235, 240, 0.88);
  border-radius: 2px;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

header .burger-menu:hover span {
  background-color: var(--color-petrol-deep);
}

/* Logo: Keine Zwangsfärbung */
header .nav-logo {
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

header .nav-logo:hover {
  opacity: 0.85;
}

/* Fix 3: Mobile Header - kein Content-Crop */
main {
  min-height: 100vh;
    padding-top: var(--header-height);
}
/* Sauberer Startpunkt für alle Seiten unter Header */
.page-content {
  /* Kein top-padding - Sections beginnen direkt unter Header */
  padding-top: 0;
  min-height: calc(100vh - 80px); /* Header-Höhe abziehen */
}

.page-content > section:first-child {
  /* Erste Section startet direkt unter sticky Header */
  margin-top: 0;
  padding-top: var(--spacing-xl); /* Spacing innerhalb der Section */
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }
  
  main {
    padding-top: var(--header-height);
  }

  .page-content > section:first-child {
    padding-top: var(--spacing-lg); /* Mobile: weniger Spacing */
  }
  
  header .nav-logo {
    max-height: 40px;
}
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-petrol-deep);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
  align-items: center;
}

/* Überschrieben durch header .nav-links a im Header-Bereich */
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm);
  transition: color 0.3s ease;
  white-space: nowrap;
}

/* Mobile Menu Toggle */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--spacing-xs);
}

/* Burger spans: bereits in header .burger-menu span definiert */

/* === BUTTONS - Premium Differentiation === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  text-decoration: none;
}

/* Primary CTA - Shop/Kaufen - Prominent */
.btn-primary {
  background-color: var(--color-petrol-deep);
  color: var(--color-white);
  border-color: var(--color-petrol-deep);
  box-shadow: 0 2px 8px rgba(10, 108, 116, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-petrol-dark);
  box-shadow: 0 4px 16px rgba(10, 108, 116, 0.4);
  transform: translateY(-1px);
}

/* Secondary CTA - Info/Mehr - Subtle */
.btn-secondary {
  background-color: transparent;
  color: var(--color-petrol-deep);
  border-color: var(--color-petrol-deep);
}

.btn-secondary:hover {
  background-color: rgba(10, 108, 116, 0.1);
  border-color: var(--color-petrol-dark);
  color: var(--color-petrol-dark);
}

/* Nav Button - Consistent with Primary */
.btn-nav {
  background-color: var(--color-petrol-deep);
  color: var(--color-white);
  padding: 10px 24px;
  font-size: 15px;
  box-shadow: 0 2px 6px rgba(10, 108, 116, 0.25);
}

.btn-nav:hover {
  background-color: var(--color-petrol-dark);
  box-shadow: 0 3px 10px rgba(10, 108, 116, 0.35);
}

/* === CARDS === */
.card {
  background-color: var(--color-anthrazit);
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  color: var(--color-white);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.card-accent {
  border-top: 3px solid var(--color-petrol-deep);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-sm);
}

.card h3 {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.card p {
  color: var(--color-hellgrau);
  font-size: 16px;
}

/* === SECTIONS === */
section {
  padding: var(--spacing-xxl) 0;
}

.section-light {
  background-color: var(--color-hellgrau);
}

.section-dark {
  background-color: var(--color-graphit);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

/* === HERO SECTION === */
/* === HERO SECTION WITH VIDEO BACKGROUND === */

/* 
  VIDEO-HINTERGRUND IMPLEMENTATION
  ================================
  
  Struktur:
  - #hero: Haupt-Container mit Flexbox-Layout
  - .hero-video-container: Absolute positionierter Video-Container (Fullscreen)
  - .hero-video: Video-Element mit object-fit: cover
  - .hero-video-overlay: Dunkler Gradient-Overlay für Lesbarkeit
  - .container: Content-Layer über Video (z-index: 3)
  
  Responsive Strategie:
  - Desktop (≥1024px): background-1920.mp4 (1920×1080)
  - Mobile (<1024px): background-1280.mp4 (1280×720)
  - Automatische Auswahl via HTML media-Attribut + JavaScript
  
  Performance:
  - object-fit: cover = Video füllt gesamten Bereich ohne Verzerrung
  - will-change: transform = GPU-Beschleunigung
  - IntersectionObserver pausiert Video außerhalb des Viewports
  - Fallback: Linear-Gradient Background bei Ladefehlern
  
  Layer-Hierarchie (z-index):
  1. Video-Container (z-index: 1)
  2. Dark Overlay (z-index: 2)
  3. Text & Content (z-index: 3)
*/

#hero {
  position: relative;
  color: var(--color-white);
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: var(--spacing-xl) 0;
  overflow: hidden;
  /* Fallback Background */
  background: linear-gradient(135deg, var(--color-graphit) 0%, var(--color-petrol-dark) 100%);
}

/* Video Container - Fullscreen Background */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Video Element - Cover gesamten Bereich */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  /* Performance-Optimierung */
  will-change: transform;
}

/* Dark Overlay - Verbessert Textlesbarkeit */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
  /* Sanfter Gradient für natürlichen Look */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

/* Content Layer - Über Video und Overlay */
#hero .container {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Hero Content Fade-In Animation */
@keyframes heroContentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero .hero-content {
  max-width: 900px;
  animation: heroContentFadeIn 1.2s ease-out 0.8s both;
}

#hero h1 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

#hero .subheadline {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: var(--spacing-lg);
  color: var(--color-hellgrau);
}

#hero ul {
  list-style: none;
  margin-bottom: var(--spacing-lg);
  text-align: left;
  display: inline-block;
}

#hero ul li {
  padding: var(--spacing-xs) 0;
  padding-left: 32px;
  position: relative;
  font-size: 18px;
  text-align: left;
}

#hero ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-petrol-deep);
  font-weight: 700;
  font-size: 20px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-buttons .btn {
  max-width: 420px;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* === PRODUCT OVERVIEW SECTION === */
/* Anthrazit = Marke/Produktpräsentation */
#produkt {
  background-color: var(--color-anthrazit) !important;
  color: var(--color-white);
}

#produkt h2,
#produkt h3 {
  color: var(--color-white);
}

#produkt p {
  color: rgba(230, 235, 240, 0.88);
}

#produkt .grid {
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.product-item {
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-light);
}

.product-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: var(--spacing-md) 0;
}

.product-item h3 {
  color: var(--color-petrol-deep);
}

.product-item ul {
  list-style: none;
  padding-left: 0;
}

.product-item ul li {
  padding: var(--spacing-xs) 0;
  padding-left: 24px;
  position: relative;
}

.product-item ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-petrol-deep);
  font-size: 20px;
}

/* === EINSATZBEREICHE SECTION === */
/* Anthrazit = Marke/Use Cases */
#einsatzbereiche {
  background-color: var(--color-anthrazit) !important;
  color: var(--color-white);
}

#einsatzbereiche h2,
#einsatzbereiche h3 {
  color: var(--color-white);
}

#einsatzbereiche p {
  color: rgba(230, 235, 240, 0.88);
}

#einsatzbereiche .grid {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.bereich-card {
  /* Glassmorphism auf Anthrazit-Hintergrund */
  background-color: rgba(30, 35, 45, 0.6);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-sm);
  text-align: center;
  transition: all 0.3s ease;
  border-top: 3px solid var(--color-petrol-deep);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bereich-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.bereich-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-sm);
}

.bereich-card h3 {
  color: var(--color-white);
  font-size: 22px;
  margin-bottom: var(--spacing-sm);
}

.bereich-card p {
  color: var(--color-hellgrau);
  font-size: 15px;
}

.bereich-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-sm);
  background-color: var(--color-silber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

/* === GASTRO HERO SECTION === */
.gastro-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/gastro-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Dunkles Overlay für bessere Textlesbarkeit */
.gastro-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(10, 108, 116, 0.4) 100%);
  z-index: 1;
}

/* Content Container */
.gastro-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
  padding: var(--spacing-xl) var(--spacing-md);
}

.gastro-hero h1 {
  color: var(--color-white);
  font-size: 56px;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gastro-hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  color: var(--color-hellgrau);
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.gastro-hero .btn {
  margin-top: var(--spacing-sm);
}

/* === GASTRO SECTION === */

#gastro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

#gastro img {
  width: 100%;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-medium);
}

.gastro-content h3 {
  color: var(--color-petrol-deep);
  margin-top: var(--spacing-md);
}

.gastro-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--spacing-lg);
}

.gastro-content ul li {
  padding: var(--spacing-xs) 0;
  padding-left: 32px;
  position: relative;
}

.gastro-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-petrol-deep);
  font-weight: 700;
}

/* === TECHNIK SECTION === */
#technik {
  background-color: var(--color-graphit);
  color: var(--color-white);
}

#technik .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

#technik h3 {
  color: var(--color-petrol-deep);
  border-bottom: 2px solid var(--color-petrol-deep);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

#technik ul {
  list-style: none;
  padding-left: 0;
}

#technik ul li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-anthrazit);
}

#technik ul li strong {
  color: var(--color-petrol-deep);
  display: block;
  margin-bottom: 4px;
}

/* === ANWENDUNG SECTION === */
#anwendung {
  background-color: var(--color-hellgrau);
}

#anwendung .grid {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.step-card {
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-sm);
  text-align: center;
  box-shadow: var(--shadow-light);
}

.step-number {
  width: 56px;
  height: 56px;
  background-color: var(--color-petrol-deep);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto var(--spacing-md);
}

.step-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  margin: var(--spacing-sm) 0;
}

.step-card h3 {
  color: var(--color-petrol-deep);
  margin-bottom: var(--spacing-sm);
}

/* === SHOP TEASER (removed legacy #shop section, now uses /shop page) === */

/* === CONTACT & FOOTER === */
/* Kontakt Section - 1:1 Gastro-Hero Pattern */
#kontakt {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/Kontakt.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: var(--spacing-xxl) 0;
  color: var(--color-white);
}

/* Dark Overlay - Verbessert Textlesbarkeit */
.kontakt-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(10, 108, 116, 0.35) 100%);
  z-index: 1;
}

/* Content Layer - Über Overlay */
#kontakt .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.kontakt-content {
  max-width: 800px;
}

.kontakt-content h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.kontakt-content p {
  color: var(--color-white);
}

.kontakt-content a {
  color: var(--color-white);
  font-size: 20px;
  font-weight: 500;
  text-decoration: underline;
}

.kontakt-content a:hover {
  color: var(--color-hellgrau);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.social-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-white);
  color: var(--color-petrol-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--color-petrol-deep);
  color: var(--color-white);
  transform: scale(1.1);
}

footer {
  background-color: var(--color-graphit);
  color: var(--color-silber);
  text-align: center;
  padding: var(--spacing-lg) 0;
  font-size: 14px;
}

footer a {
  color: var(--color-silber);
  text-decoration: underline;
}

footer a:hover {
  color: var(--color-white);
}

/* === UTILITY CLASSES === */
.text-center {
  text-align: center;
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* === TABLET (768px - 1199px) === */
@media (max-width: 1199px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  section {
    padding: var(--spacing-xl) 0;
  }

  #hero .container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  #produkt .grid {
    grid-template-columns: 1fr;
  }

  #einsatzbereiche .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #gastro .container {
    grid-template-columns: 1fr;
  }

  #technik .container {
    grid-template-columns: 1fr;
  }

  #anwendung .grid {
    grid-template-columns: 1fr;
  }
}

/* === MOBILE (≤ 767px) === */
@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  section {
    padding: var(--spacing-lg) 0;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  /* Mobile Navigation */
  nav {
    padding: var(--spacing-sm);
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    /* Gleiches Glassmorphism wie Desktop Header */
    background: linear-gradient(180deg, rgba(20, 24, 30, 0.95), rgba(20, 24, 30, 0.88));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--spacing-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    gap: 0;
    z-index: 999;
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a {
    display: block;
    padding: var(--spacing-sm) 0;
    width: 100%;
    /* Hellgrau Text, Petrol Hover (konsistent mit Desktop) */
    color: rgba(230, 235, 240, 0.88) !important;
  }

  .nav-links a:hover {
    color: var(--color-petrol-deep) !important;
  }

  .burger-menu {
    display: flex;
  }

  /* Hero Mobile - Consistent Height */
  #hero {
    min-height: 70vh;
    padding: var(--spacing-lg) 0;
  }

  #hero .hero-content {
    max-width: 100%;
    padding: 0 var(--spacing-sm);
    /* Animation auch auf Mobile */
    animation: heroContentFadeIn 1.2s ease-out 0.8s both;
  }

  #hero .subheadline {
    font-size: 18px;
  }

  /* Video auf Mobile optimieren */
  .hero-video {
    /* Mobile: Nutze 1280px Version automatisch */
    object-fit: cover;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  /* Cards Mobile */
  #einsatzbereiche .grid {
    grid-template-columns: 1fr;
  }

  .shopping-bar {
    flex-direction: column;
  }

  .shopping-bar .btn {
    width: 100%;
  }

  /* Gastro Hero Mobile */
  .gastro-hero {
    min-height: 50vh;
  }

  .gastro-hero h1 {
    font-size: 36px;
  }

  .gastro-hero-subtitle {
    font-size: 18px;
  }
}

/* Gastro Hero 2-Column Layout CSS */
/* Add this to your styles.css after the .bereich-icon section (around line 500) */

.gastro-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/gastro-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: var(--spacing-xxl) 0;
}

.gastro-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(10, 108, 116, 0.35) 100%);
  z-index: 1;
}

.gastro-hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
  color: var(--color-white);
}

.gastro-hero-left {
  padding-right: var(--spacing-lg);
}

.gastro-hero-left h1 {
  color: var(--color-white);
  font-size: 56px;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.1;
}

.gastro-hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  color: var(--color-hellgrau);
  margin-bottom: var(--spacing-lg);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

.gastro-hero-left .btn {
  margin-top: var(--spacing-sm);
}

.gastro-hero-right {
  background-color: rgba(45, 45, 45, 0.75);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-sm);
  backdrop-filter: blur(8px);
  border-left: 4px solid var(--color-petrol-deep);
}

.gastro-hero-right h3 {
  color: var(--color-white);
  font-size: 28px;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.gastro-benefits {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--spacing-lg);
}

.gastro-benefits li {
  padding: var(--spacing-sm) 0;
  padding-left: 32px;
  position: relative;
  color: var(--color-hellgrau);
  font-size: 16px;
  line-height: 1.6;
}

.gastro-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-petrol-deep);
  font-weight: 700;
  font-size: 20px;
}

.gastro-hero-right .btn {
  width: 100%;
}

/* Responsive - add to mobile section @media (max-width: 767px) */
@media (max-width: 767px) {
  .gastro-hero {
    min-height: 60vh;
  }

  .gastro-hero-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .gastro-hero-left {
    padding-right: 0;
    text-align: center;
  }

  .gastro-hero-left h1 {
    font-size: 36px;
  }

  .gastro-hero-subtitle {
    font-size: 18px;
  }

  .gastro-hero-right {
    border-left: none;
    border-top: 4px solid var(--color-petrol-deep);
  }
}

/* NEUE PRODUKT-SEKTION CSS - 2-Spalten-Layout */

/* Product Row - 2 Spalten Layout */
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  margin-bottom: var(--spacing-xxl);
  padding: var(--spacing-lg) 0;
}

/* Alternating Layout - Bild links, Text rechts */
.product-row-reverse {
  direction: ltr;
}

.product-row-reverse .product-image {
  order: 1;
}

.product-row-reverse .product-text {
  order: 2;
}

/* Product Text */
.product-text {
  padding: var(--spacing-md);
}

.product-text h3 {
  color: var(--color-white);
  font-size: 32px;
  margin-bottom: var(--spacing-md);
}

.product-text p {
  font-size: 18px;
  color: rgba(230, 235, 240, 0.88);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.product-text ul {
  list-style: none;
  padding-left: 0;
  margin-top: var(--spacing-md);
}

.product-text ul li {
  padding: var(--spacing-xs) 0;
  padding-left: 32px;
  position: relative;
  font-size: 16px;
  color: rgba(230, 235, 240, 0.88);
}

.product-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-petrol-deep);
  font-weight: 700;
  font-size: 20px;
}

/* GLASSMORPHISM PRODUCT IMAGE DESIGN */

/* Product Image - Premium Glassmorphism Container */
.product-image {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg,
            rgba(10, 108, 116, 0.05) 0%,
            rgba(255, 255, 255, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(200, 200, 200, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    min-height: 400px;
    transition: all 0.3s ease;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%,
            rgba(10, 108, 116, 0.03) 0%,
            transparent 70%);
    border-radius: 12px;
    pointer-events: none;
}

.product-image:hover {
    transform: translateY(-8px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(10, 108, 116, 0.3);
}

.product-image img {
    max-width: 85%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.product-image:hover img {
    filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.2));
    transform: scale(1.05);
}

/* Mobile anpassungen */
@media (max-width: 767px) {
    .product-image {
        min-height: 300px;
        padding: var(--spacing-md);
    }

    .product-image img {
        max-width: 90%;
        max-height: 300px;
    }
}

/* Tablet Responsive */
@media (max-width: 1199px) {
  .product-row {
    gap: var(--spacing-lg);
  }

  .product-text h3 {
    font-size: 28px;
  }
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .product-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }

  .product-row-reverse .product-image,
  .product-row-reverse .product-text {
    order: unset;
  }

  /* Auf Mobile: Immer erst Bild, dann Text */
  .product-image {
    order: 1;
  }

  .product-text {
    order: 2;
    padding: var(--spacing-sm);
  }

  .product-text h3 {
    font-size: 24px;
    text-align: center;
  }
}
  /* Mobile: Bildgr��e anpassen f�r Konsistenz */
  .product-image img {
    height: 300px;
  }
/* TECH SECTION - 2-SPALTEN LAYOUT MIT GLASSMORPHISM */

.tech-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: var(--spacing-xl);
    align-items: start;
}

/* Linke Spalte - Bilder */
.tech-images {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: sticky;
    top: 100px;
}

.tech-image-container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg,
            rgba(10, 108, 116, 0.08) 0%,
            rgba(255, 255, 255, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(200, 200, 200, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    min-height: 300px;
    transition: all 0.3s ease;
}

.tech-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%,
            rgba(10, 108, 116, 0.04) 0%,
            transparent 70%);
    border-radius: 12px;
    pointer-events: none;
}

.tech-image-container:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(10, 108, 116, 0.3);
}

.tech-image-container img {
    max-width: 85%;
    max-height: 350px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.12));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.tech-image-container:hover img {
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.18));
}

/* Rechte Spalte - Text */
.tech-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.tech-block {
    background-color: transparent;
}

.tech-block h3 {
    color: var(--color-white);
    border-bottom: 2px solid var(--color-petrol-deep);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.tech-block ul {
    list-style: none;
    padding-left: 0;
}

.tech-block ul li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-hellgrau);
}

.tech-block ul li strong {
    color: var(--color-petrol-deep);
    display: block;
    margin-bottom: 4px;
}

/* Tablet Responsive */
@media (max-width: 1199px) {
    .tech-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .tech-images {
        position: static;
        flex-direction: row;
        gap: var(--spacing-md);
    }

    .tech-image-container {
        flex: 1;
        min-height: 250px;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .tech-content {
        gap: var(--spacing-md);
    }

    .tech-images {
        flex-direction: column;
    }

    .tech-image-container {
        min-height: 200px;
        padding: var(--spacing-md);
    }

    .tech-image-container img {
        max-width: 90%;
        max-height: 250px;
    }

    .tech-text {
        gap: var(--spacing-lg);
    }
}
/* === FINALE TECH SECTION LÖSUNG === */
/* Einfach, sauber, innerhalb des normalen Containers */

#technik .tech-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 48px;
    align-items: start;
}

#technik .tech-images {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#technik .tech-image-container {
    padding: 20px;
    background: linear-gradient(135deg, rgba(10, 108, 116, 0.08) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(200, 200, 200, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#technik .tech-image-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

#technik .tech-image-container img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.12));
}

#technik .tech-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

#technik .tech-block h3 {
    color: var(--color-white);
    border-bottom: 2px solid var(--color-petrol-deep);
    padding-bottom: 12px;
    margin-bottom: 24px;
}

#technik .tech-block ul {
    list-style: none;
    padding-left: 0;
}

#technik .tech-block ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-hellgrau);
}

#technik .tech-block ul li strong {
    color: var(--color-petrol-deep);
    display: block;
    margin-bottom: 4px;
}

/* Responsive */
@media (max-width: 1199px) {
    #technik .tech-content {
        grid-template-columns: 1fr;
    }

    #technik .tech-images {
        flex-direction: row;
    }

    #technik .tech-text {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    #technik .tech-images {
        flex-direction: column;
    }

    #technik .tech-text {
        grid-template-columns: 1fr;
    }
}
/* TECH SECTION - VOLLE BREITE OHNE CONTAINER */

#technik {
    padding: 80px 0;
}

#technik h2 {
    padding: 0 40px 60px 40px;
}

#technik .tech-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
