/* ==========================================================================
   ALPHATANK.DE — "Precision Solar" Design System
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --navy: #1a1d23;
  --navy-light: #2b2b2b;
  --teal: #15779b;
  --teal-dark: #11607d;
  --teal-light: #1a8db8;
  --amber: #f0a500;
  --amber-light: #ffc233;
  --amber-glow: rgba(240, 165, 0, 0.15);

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-50: #f3f4f6;
  --gray-100: #e5e7eb;
  --gray-200: #d1d5db;
  --gray-300: #9ca3af;
  --gray-400: #6b7280;
  --gray-500: #4b5563;
  --gray-600: #374151;
  --text-primary: #1a1d23;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-on-dark: #e5e7eb;
  --text-on-dark-muted: #9ca3af;

  /* Typography */
  --font-display: 'Big Shoulders Display', 'Impact', sans-serif;
  --font-body: 'Outfit', 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 80px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.15);
  --shadow-teal: 0 4px 30px rgba(21, 119, 155, 0.3);
  --shadow-amber: 0 4px 30px rgba(240, 165, 0, 0.2);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--teal-dark);
}

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
}

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

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section--dark {
  background-color: var(--navy);
  color: var(--text-on-dark);
}

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

.section--dark p {
  color: var(--text-on-dark-muted);
}

.section--gray {
  background-color: var(--gray-50);
}

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

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

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-sm);
}

.section--dark .section-header .label {
  color: var(--amber);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

/* --- Diagonal Section Divider --- */
.section--angled {
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  padding: calc(var(--space-4xl) + 3rem) 0;
}

@media (max-width: 768px) {
  .section--angled {
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
    padding: calc(var(--space-3xl) + 2rem) 0;
  }
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.site-header--transparent {
  background-color: transparent;
}

.site-header--scrolled {
  background-color: rgba(26, 29, 35, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 1001;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* --- Navigation --- */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-desktop a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--white);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--amber);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-cta:hover {
  background: var(--amber-light);
  color: var(--navy) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-amber);
}

/* --- Mobile Navigation --- */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 6px;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 24px; }

.nav-toggle.active span:nth-child(1) {
  top: 17px;
  transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  top: 17px;
  transform: rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal) var(--ease-out);
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.nav-mobile.active a {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile.active a:nth-child(1) { transition-delay: 100ms; }
.nav-mobile.active a:nth-child(2) { transition-delay: 150ms; }
.nav-mobile.active a:nth-child(3) { transition-delay: 200ms; }
.nav-mobile.active a:nth-child(4) { transition-delay: 250ms; }
.nav-mobile.active a:nth-child(5) { transition-delay: 300ms; }
.nav-mobile.active a:nth-child(6) { transition-delay: 350ms; }
.nav-mobile.active a:nth-child(7) { transition-delay: 400ms; }

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .nav-mobile { display: flex; }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 29, 35, 0.9) 0%,
    rgba(26, 29, 35, 0.6) 40%,
    rgba(21, 119, 155, 0.3) 100%
  );
}

/* Solar grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-lg);
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.hero h1 .accent {
  color: var(--amber);
}

.hero-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

.btn--amber {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}

.btn--amber:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-amber);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

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

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--gray-100);
}

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

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(26, 29, 35, 0.4));
}

.service-card-body {
  padding: var(--space-xl);
}

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

.service-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--amber);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  transition: gap var(--duration-fast) var(--ease-out);
}

.service-card-link:hover {
  gap: var(--space-md);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* --- Project Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(26, 29, 35, 0.7));
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 1;
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-caption span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Feature / USP Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.feature-item {
  text-align: center;
  padding: var(--space-xl);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: var(--amber-glow);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section--dark .feature-icon {
  background: rgba(240, 165, 0, 0.12);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--amber);
}

.feature-item h4 {
  margin-bottom: var(--space-sm);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--space-5xl) 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto var(--space-2xl);
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--amber-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* --- Contact Info --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--amber-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--amber);
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  text-transform: none;
  letter-spacing: 0;
}

.contact-info-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-info-item a {
  color: var(--teal);
  font-weight: 500;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  background: var(--gray-100);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: var(--text-on-dark-muted);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

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

.footer-col h4 {
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  padding: var(--space-xs) 0;
  transition: color var(--duration-fast) var(--ease-out),
              padding-left var(--duration-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--amber);
  padding-left: var(--space-sm);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
  padding: 0;
}

.footer-social a:hover {
  background: var(--amber);
  padding-left: 0;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--text-on-dark-muted);
}

.footer-social a:hover svg {
  color: var(--navy);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom-links a {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--amber);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.page-hero .hero-grid {
  opacity: 0.03;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: var(--text-on-dark-muted);
  font-size: 1.1rem;
  max-width: 600px;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  margin-bottom: var(--space-lg);
}

.page-hero .breadcrumb a {
  color: var(--text-on-dark-muted);
}

.page-hero .breadcrumb a:hover {
  color: var(--amber);
}

.page-hero .breadcrumb span {
  color: var(--amber);
}

.page-hero .breadcrumb .sep {
  color: var(--text-on-dark-muted);
  opacity: 0.4;
}

/* --- Content Sections (inner pages) --- */
.content-section {
  padding: var(--space-3xl) 0;
}

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

.content-grid--reverse {
  direction: rtl;
}

.content-grid--reverse > * {
  direction: ltr;
}

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

.content-image img {
  width: 100%;
  height: auto;
}

.content-text h2 {
  margin-bottom: var(--space-md);
}

.content-text h3 {
  margin-bottom: var(--space-sm);
}

.content-text ul {
  margin: var(--space-md) 0;
}

.content-text ul li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-xl);
  position: relative;
  color: var(--text-secondary);
}

.content-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 2px;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .content-grid--reverse {
    direction: ltr;
  }
}

/* --- Pricing Cards (Videoueberwachung) --- */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 2px solid var(--gray-100);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.pricing-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--teal);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-full);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  margin: var(--space-md) 0;
}

.pricing-price .currency {
  font-size: 1.2rem;
  vertical-align: super;
}

/* --- B2B Steps --- */
.steps-list {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.step-item {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  counter-increment: step;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
}

.step-content h4 {
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: var(--space-xs);
}

/* --- Impressum / Legal --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-3xl) 0;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--gray-100);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: var(--space-md);
}

.legal-content a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* --- Utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mt-xl { margin-top: var(--space-xl); }

/* --- Print --- */
@media print {
  .site-header,
  .nav-mobile,
  .hero-grid,
  .cta-glow {
    display: none;
  }
  body {
    font-size: 12pt;
    color: #000;
  }
}
