/* wetBLOC Static Website Styles */
/* Based on Tailwind CSS classes converted to standard CSS */

/* CSS Variables */
:root {
  --primary: #1a3a5c;
  --primary-dark: #0d1a26;
  --secondary: #4a9b8e;
  --secondary-light: #5ab3a5;
  --light-bg: #f8f9fa;
  --dark-bg: #1a1a2e;
  --dark-alt: #16213e;
  --dark-footer: #0f0f1a;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* List Utilities */
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Gradients */
.gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.gradient-border-top {
  position: relative;
  text-align: left;
  max-width: 100%;
  margin: 0 0 5rem;
  padding: 5rem 6rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 252, 0.98) 100%);
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(18, 81, 174, 0.12), 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 81, 174, 0.15);
  overflow: hidden;
}

.gradient-border-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1251ae 0%, #438d87 100%);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

/* Typography */
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Inline Refactor Helpers */
.logo-img { height: 2.5rem; width: auto; }
.btn-sm { padding: 0.5rem 1.5rem; font-size: 0.875rem; }
.btn-full { margin-top: 1.5rem; width: 100%; }
.mobile-menu-inner { padding: 1.5rem; }

:root { --header-height: 5rem; --top-bar-height: 2.25rem; --header-total: 7.25rem; }
.page-hero { padding-top: var(--header-total); overflow: hidden; }
.page-hero-alt { margin-top: var(--header-total); padding-top: 0; overflow: hidden; }
.page-hero__overlay { background-color: rgba(0, 0, 0, 0.5); }
.page-hero__content { padding-top: 4rem; }
.text-shadow { text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); }
.page-hero__subtitle {
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 3rem;
}
.text-white-90 { opacity: 0.9; }

.pill-gradient {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.icon-box {
  background: #e8f0f2;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-box-lg { width: 4rem; height: 4rem; }
.step-index {
  color: #cbd5e1;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.media-frame {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}
.media-img { width: 100%; height: 100%; object-fit: cover; }

/* Wirkprinzip Page: Scientific Evidence Visuals */
.wirkprinzip-infografik-image {
  width: 100%;
  display: block;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

.wirkprinzip-extension-figure {
  margin: 1.75rem 0 1.5rem;
  padding: 0.75rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.wirkprinzip-extension-image {
  display: block;
  width: 100%;
  border-radius: 0.75rem;
}

.scientific-evidence-block {
  background:
    radial-gradient(circle at 95% 10%, rgba(79, 155, 169, 0.16), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.scientific-evidence-header {
  position: relative;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(18, 81, 174, 0.12);
}

.scientific-evidence-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  background: rgba(79, 155, 169, 0.14);
  color: var(--primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.scientific-evidence-kicker::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.scientific-evidence-card {
  position: relative;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.07);
}

.scientific-evidence-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  background: linear-gradient(90deg, rgba(18, 81, 174, 0.85), rgba(79, 155, 169, 0.8));
}

.scientific-evidence-chip {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(18, 81, 174, 0.08);
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scientific-evidence-detail {
  padding: 1.75rem 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(79, 155, 169, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(238, 247, 248, 0.82) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.scientific-evidence-figure {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 8px 25px rgba(17, 24, 39, 0.06);
}

.scientific-evidence-figure:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 81, 174, 0.28);
  box-shadow: 0 18px 35px rgba(17, 24, 39, 0.12);
}

.wirkprinzip-proof-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.wirkprinzip-proof-caption {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .scientific-evidence-card {
    padding: 1.5rem;
  }

  .scientific-evidence-detail {
    padding: 1.25rem 1.5rem;
  }

  .wirkprinzip-proof-image {
    height: 190px;
  }

  .wirkprinzip-main-figure {
    margin-right: -1rem;
    margin-left: -1rem;
    padding: 0.5rem;
  }

  .wirkprinzip-extension-figure {
    width: calc(100% + 4rem);
    margin: 1.5rem -2rem 1.25rem;
    padding: 0.5rem;
  }
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

.table-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.comparison-table thead tr {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}
.comparison-table th,
.comparison-table td { padding: 1rem; }
.cell-left { text-align: left; font-weight: 600; }
.cell-center { text-align: center; }
.cell-header { font-weight: 600; }
.cell-label { font-weight: 500; }
.row-divider { border-bottom: 1px solid #e5e7eb; }
.row-alt { background: #f9fafb; }
.cell-green { color: #10b981; }
.cell-amber { color: #f59e0b; }
.cell-red { color: #ef4444; }

.callout-accent { border-left: 4px solid #4f9ba9; }
.callout-accent .icon-box { flex-shrink: 0; }
@media (max-width: 767px) {
  .callout-accent .flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.callout-danger {
  background: #fee;
  border-left: 4px solid #e53e3e;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}
.callout-success {
  background: #e8f5e9;
  border-left: 4px solid #6fb3a8;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.badge-step {
  background: linear-gradient(135deg, #4f9ba9 0%, #6fb3a8 100%);
  color: var(--white);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Abgrenzungen Cards (Mobile) */
@media (max-width: 767px) {
  .abgrenzungen-card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .abgrenzungen-card {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

.list-row { display: flex; gap: 0.5rem; }
.list-icon-danger { color: #e53e3e; flex-shrink: 0; }
.text-accent { color: #6fb3a8; }
.text-accent-strong { color: #6fb3a8; font-weight: 600; }

/* Backgrounds */
.bg-white { background-color: var(--white); }
.bg-light-bg { background-color: var(--light-bg); }
.bg-dark-bg { background-color: var(--dark-bg); }
.bg-dark-alt { background-color: var(--dark-alt); }
.bg-dark-footer { background-color: var(--dark-footer); }
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-gray-50 { background-color: var(--gray-100); }
.bg-gray-100 { background-color: var(--gray-100); }

/* Spacing */
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-32 { padding-bottom: 2rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-20 { padding-top: 5rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-20 { margin-top: 5rem; }
.mt-12 { margin-top: 3rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Layout */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.hidden { display: none; }
.show-mobile { display: none; }
.hide-mobile { display: inline; }

@media (max-width: 767px) {
  .show-mobile { display: inline; }
  .hide-mobile { display: none; }
}

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-20 { top: 5rem; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Dimensions */
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.min-h-screen { min-height: 100vh; }
.min-h-\[500px\] { min-height: 500px; }
.min-h-\[600px\] { min-height: 600px; }

.max-w-xs { max-width: 20rem; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }

/* Borders */
.border { border: 1px solid var(--gray-200); }
.border-b { border-bottom: 1px solid var(--gray-200); }
.border-t { border-top: 1px solid var(--gray-200); }
.border-l-4 { border-left: 4px solid; }
.border-primary { border-color: var(--primary); }
.border-secondary { border-color: var(--secondary); }
.border-gray-100 { border-color: var(--gray-100); }
.border-gray-200 { border-color: var(--gray-200); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }

/* Border Radius */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* Object Fit */
.object-cover { object-fit: cover; }

/* Aspect Ratio */
.aspect-\[4\/3\] { aspect-ratio: 4/3; }

/* Opacity */
.opacity-0 { opacity: 0; }

/* Transitions */
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease; }
.transition-shadow { transition: box-shadow 0.3s ease; }
.transition-transform { transition: transform 0.2s ease; }

/* Hover Effects */
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.hover\:bg-gray-100:hover { background-color: var(--gray-100); }
.hover\:text-white:hover { color: var(--white); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(4px); }

/* Focus States */
.focus\:ring-2:focus { outline: none; box-shadow: 0 0 0 2px var(--primary); }
.focus\:border-transparent:focus { border-color: transparent; }

/* Backdrop */
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* Tables */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1rem 1.5rem; text-align: left; }
th { font-weight: 600; }
tbody tr:nth-child(even) { background-color: var(--gray-100); }

/* Forms */
input, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
  border-color: transparent;
}

textarea { resize: none; }

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

input[type="checkbox"] {
  width: auto;
  margin-right: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

.btn-primary:hover { opacity: 0.9; }

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

.btn-white:hover { background-color: var(--gray-100); }

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover { background-color: rgba(255, 255, 255, 0.1); }

.btn-full-mobile {
  width: 100%;
}

@media (min-width: 1024px) {
  .btn-full-mobile {
    width: auto;
  }
}

/* Header & Navigation */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--white);
  transition: all 0.3s ease;
}

.header-wrapper.scrolled { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

.top-bar {
  height: 2.25rem;
  display: flex;
  align-items: center;
  background-color: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.top-bar .lang-switcher {
  gap: 0.75rem;
}

.top-bar .lang-flag svg {
  width: 20px;
  height: 14px;
  border: 1px solid var(--gray-300);
}

@media (max-width: 1023px) {
  .top-bar {
    height: 2rem;
  }
}

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

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--primary); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.2s ease;
}

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

.nav-link-partner {
  padding: 0.45rem 1rem;
  border: 1px solid var(--primary);
  border-radius: 9999px;
  background-color: var(--white);
  color: var(--primary);
}

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

.nav-link-partner:hover {
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  background-color: var(--gray-100);
}

@media (min-width: 1024px) {
  .header .container > .flex.items-center.justify-between.h-20 {
    justify-content: flex-start;
  }

  .desktop-nav {
    margin-left: auto;
  }

  .desktop-nav .nav-link-partner {
    margin-left: 0.75rem;
  }

  .desktop-cta {
    margin-left: 0.75rem;
  }
}

/* Language switcher flags */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.lang-flag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 2px;
  overflow: visible;
  transition: opacity 0.2s, transform 0.15s;
  text-decoration: none;
  color: inherit;
}
.lang-flag:hover {
  opacity: 0.9;
  transform: scale(1.08);
}
.lang-flag.lang-current {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
.lang-flag svg {
  display: block;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  transform: translateY(1px);
}
.lang-code {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #4b5563;
}

/* Mobile Menu */
.mobile-menu-btn { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .desktop-cta { display: none; }
  .mobile-menu-btn { display: block; }
  
  .mobile-menu {
    display: block;
    position: fixed;
    top: 5rem;
    right: 0;
    bottom: 0;
    width: 280px;
    background-color: var(--white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 50;
    overflow-y: auto;
  }
  
  .mobile-menu.open { transform: translateX(0); }
  
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
  }
  
  .mobile-menu-overlay.open { display: block; }
  
  .mobile-nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s ease;
  }
  
  .mobile-nav-link:hover { color: var(--primary); }

  .mobile-nav-link-partner {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1rem;
    text-align: center;
    border-bottom: 0;
    border: 1px solid var(--primary);
    border-radius: 9999px;
    background-color: var(--white);
    color: var(--primary);
  }

  .mobile-menu .btn.btn-primary {
    display: flex;
    width: 100%;
    margin-top: 1.5rem;
  }

  .mobile-menu a.mobile-nav-link[href="kontakt.html"] {
    display: none;
  }

  .mobile-nav-link-partner:hover {
    color: var(--primary-dark);
    background-color: var(--gray-100);
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: var(--header-total);
  overflow: hidden;
}

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

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--white);
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #499489;
  line-height: 1.25;
}

.hero-card {
  background: linear-gradient(135deg, rgba(26, 58, 92, 0.95) 0%, rgba(74, 155, 142, 0.95) 100%);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 28rem;
}

.hero-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero-card p {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  line-height: 1.625;
}

/* Feature Cards */
.feature-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--white);
}

/* === Inline-Style-Ersatz Helper Classes === */
/* Siehe refactor-inline-styles.md – Pilot wissen.html (2026-04-11) */

/* Header: Logo-Groesse + kompakter CTA-Button */
.header-logo { height: 2.5rem; width: auto; }
.btn-nav { padding: 0.5rem 1.5rem; font-size: 0.875rem; }

/* SVG-Strichfarbe (inline SVGs) */
.svg-primary { color: var(--primary); }
.svg-secondary { color: var(--secondary); }

/* Icon-Box Groessenvarianten (Ergaenzung zu .icon-box / .icon-box-lg) */
.icon-box-sm { width: 2.75rem; height: 2.75rem; }

/* Feature-Icon kleinere Variante (Ergaenzung zu .feature-icon 4rem) */
.feature-icon-sm { width: 3rem; height: 3rem; }

/* Dezente Tile (Praxisbezug-Kacheln) */
.tile-muted {
  background: #f9fafb;
  border: 1px solid var(--gray-200);
}

/* Weicher Karten-Schatten (3er-Grid "Unser Ansatz") */
.shadow-card { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05); }

/* Callout Accent mit Teal-Background (Erweiterung zu .callout-accent Border) */
.callout-accent-bg { background: rgba(79, 155, 169, 0.08); }

/* Kontrast-Panel-Paar ("wo/wie") */
.contrast-panel-subtle {
  background: linear-gradient(135deg, rgba(26, 58, 92, 0.04), rgba(74, 155, 142, 0.04));
  border: 1px solid rgba(26, 58, 92, 0.1);
}
.contrast-panel-bold {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}
.contrast-panel-label { opacity: 0.8; }

/* Arrow-Bullet in Akzentfarbe (vor Listentexten) */
.arrow-accent {
  color: var(--secondary);
  line-height: 1;
}

/* Check-Liste: Reihen mit Haken-Icon (Voraussetzungen, Vorteile) */
.list-check { display: flex; gap: 0.75rem; }
.list-check > svg { flex-shrink: 0; margin-top: 0.25rem; }

/* Button mit Inline-Icon (Pfeil o.ae.) */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Bild als Karte mit abgerundeten Ecken + weichem Schatten */
.img-rounded-shadow {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Erfolgsstory-Karte (Testimonial mit dekorativem Quote-Mark) */
.story-card { position: relative; }
.story-card__mark {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: #e5e7eb;
}
.story-card__text {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
}
.story-card__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.story-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* Kontakt-Formular: Feedback-Boxen (initial versteckt, JS toggled) */
.form-success {
  display: none;
  background-color: #d1fae5;
  border: 2px solid #10b981;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}
.form-success__icon {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  color: #10b981;
  margin-bottom: 1rem;
}
.form-success__text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #065f46;
  line-height: 1.6;
}
.form-error {
  display: none;
  background-color: #fee2e2;
  border: 2px solid #ef4444;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}
.form-error__text {
  font-size: 1rem;
  font-weight: 600;
  color: #991b1b;
}

/* Kontakt-Formular: Labels, Consent, Honeypot */
.form-label-hidden { display: none; }
.form-label-required { color: #ef4444; }
.form-group-label {
  margin-bottom: 1.25rem;
  display: block;
  font-weight: 600;
  color: #374151;
}
.form-checkbox { width: auto; }
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-consent {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f3f4f6;
  border-radius: 0.5rem;
}
.form-consent p {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.625;
}

/* Links: Primary-Farbe mit Unterstreichung */
.link-primary {
  color: var(--primary);
  text-decoration: underline;
}

/* Kontaktwege: Icon-Box (3rem, dezenter Hintergrund) */
.contact-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: rgba(26, 58, 92, 0.1);
  margin-bottom: 1rem;
}

/* Info-Callout: Panel mit linker Akzent-Border */
.info-callout {
  background-color: rgba(26, 58, 92, 0.05);
  border-radius: 1rem;
  padding: 3rem 2rem;
  border-left: 4px solid var(--primary);
  margin-top: 2rem;
  margin-bottom: 8rem;
}
.info-callout__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background-color: var(--primary);
  flex-shrink: 0;
}

/* Dezente obere Trennlinie */
.border-top-subtle { border-top: 1px solid rgba(26, 58, 92, 0.1); }

/* Legal-Kartentitel (Impressum, Datenschutz: h2 mit Primary-Unterstrich) */
.legal-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

/* Margin-Utility 20px (zwischen Legal-Karten) */
.mb-5 { margin-bottom: 1.25rem; }

/* ueber-wetbloc Helpers */
.callout-gray-secondary {
  background: #f3f4f6;
  border-left: 4px solid var(--secondary);
}
.icon-box-gradient-lg {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 1rem;
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-outline-light:hover { background: var(--primary); color: #fff; }
.text-white-80 { opacity: 0.8; }
.cta-gradient { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }

/* index.html Helpers */
.order-1 { order: 1; }
.order-2 { order: 2; }
.info-box-dark {
  background-color: rgba(22, 33, 62, 0.5);
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.audience-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background-color: rgba(26, 58, 92, 0.1);
  margin-bottom: 1.5rem;
}
.audience-icon-box-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
  margin-bottom: 1.5rem;
}

/* Section Styles */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* Problem/Solution Sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .split-section { grid-template-columns: 1fr 1fr; }
}

.split-image {
  position: relative;
  min-height: 350px;
}

.split-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 3rem 1.5rem;
}

@media (min-width: 1024px) {
  .split-content { padding: 4rem 3rem; }
}

/* Problem Items */
.problem-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(75, 85, 99, 0.5);
}

.problem-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.problem-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: rgba(74, 155, 142, 0.2);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Benefit Items */
.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
}

/* Target Audience Cards */
.audience-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.audience-card.partner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

.audience-card.partner h3,
.audience-card.partner li {
  color: var(--white);
}

.audience-card.partner li {
  opacity: 0.9;
}

/* Partnerstruktur Card */
.partnerstruktur-card-wrap {
  display: flex;
}

@media (min-width: 768px) {
  .partnerstruktur-card-wrap { height: 100%; }
  .partnerstruktur-card { align-self: flex-start; height: calc(100% - 2rem); }
}

/* Netzwerk Copy Cards */
.netzwerk-copy {
  display: grid;
  gap: 1rem;
  text-align: left;
}

@media (min-width: 768px) {
  .netzwerk-copy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.netzwerk-copy-card {
  background-color: #f9fafb;
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* Testimonial Cards */
.testimonial-card {
  position: relative;
  border-radius: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  overflow: hidden;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--secondary-light);
  color: var(--secondary-light);
}

.testimonial-quote {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-author p:first-child {
  color: var(--white);
  font-weight: 600;
}

.testimonial-author p:last-child {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 4rem 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact-info {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border-top: 1px solid rgba(18, 81, 174, 0.12);
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: -6rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(18, 81, 174, 0.12) 0%, rgba(18, 81, 174, 0) 72%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 2.5rem;
  width: auto;
}

.footer p {
  color: #0f4ca7;
  font-size: 0.875rem;
  line-height: 1.625;
}

.footer h3 {
  color: #1251ae;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #0f4ca7;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #7fc445;
}

.footer-nav-card {
  padding: 0.25rem 0;
  --footer-nav-cols: 2;
  --footer-nav-col-gap: 0.9rem;
}

.footer-nav-label {
  margin: 0 0 0.6rem;
  color: #0f4ca7;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links-main li {
  margin-bottom: 0;
}

.footer-links-main {
  display: grid;
  grid-template-columns: repeat(var(--footer-nav-cols), minmax(0, 1fr));
  column-gap: var(--footer-nav-col-gap);
  row-gap: 0.22rem;
  width: 100%;
}

.footer-links-main a {
  display: block;
  padding: 0.2rem 0;
  color: #0f4ca7;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.footer-links-main a:hover {
  color: #0a3f8e;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

.footer-links-legal {
  display: grid;
  grid-template-columns: repeat(var(--footer-nav-cols), minmax(0, 1fr));
  column-gap: var(--footer-nav-col-gap);
  row-gap: 0.22rem;
  width: 100%;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(18, 81, 174, 0.16);
}

.footer-links-legal li {
  margin: 0;
}

.footer-links-legal a {
  display: block;
  padding: 0.2rem 0;
  color: rgba(15, 76, 167, 0.8);
  font-size: 0.82rem;
}

.footer-links-legal a:hover {
  color: #0a3f8e;
}

@media (min-width: 768px) {
  .footer-nav-card { --footer-nav-cols: 3; }
}

.footer-copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(18, 81, 174, 0.2);
  text-align: center;
}

.footer-copyright p {
  color: rgba(18, 81, 174, 0.7);
  font-size: 0.875rem;
}

/* Sub Navigation */
.sub-nav {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 40;
}

.sub-nav.sticky {
  position: sticky;
  top: 5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sub-nav nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.sub-nav button {
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s ease;
}

.sub-nav button:hover {
  background-color: var(--gray-100);
}

.sub-nav button.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
}

/* Process Steps */
.process-step {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.process-step:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.process-step-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.process-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .process-step-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .process-step-header > div {
    width: 100%;
  }
}

/* Feature Cards Grid */
.feature-grid-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-grid-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Comparison Table */
.comparison-table {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.comparison-table th {
  background-color: var(--primary);
  color: var(--white);
}

.comparison-table th.highlight {
  background-color: var(--secondary);
  position: relative;
}

.comparison-table td.highlight {
  background-color: rgba(74, 155, 142, 0.05);
  color: var(--secondary);
  font-weight: 500;
}

/* FAQ Accordion */
.faq-item {
  background-color: var(--white);
  border-radius: 0.75rem;
  border: 1px solid var(--gray-200);
  overflow: hidden;
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: var(--gray-50);
}

.faq-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.faq-question-text {
  flex-grow: 1;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-900);
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem 4rem;
  color: var(--gray-700);
  line-height: 1.625;
}

/* Info Box */
.info-box {
  background-color: rgba(74, 155, 142, 0.1);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 4px solid var(--secondary);
}

/* Alert Box */
.alert-box {
  background-color: rgba(239, 68, 68, 0.05);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.alert-box h4 {
  color: #dc2626;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-box li {
  color: var(--gray-600);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Success Box */
.success-box {
  background-color: rgba(34, 197, 94, 0.05);
  border-radius: 0.75rem;
  padding: 1rem;
  border-left: 4px solid var(--secondary);
}

.success-box h4 {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.success-box p {
  color: var(--gray-700);
  font-size: 0.875rem;
  line-height: 1.625;
}

/* Reference Cards */
.reference-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.reference-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.reference-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3), transparent);
}

.reference-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.reference-card-content h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.reference-card-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* Stats Cards */
.stat-card {
  background-color: var(--primary);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.stat-card-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.stat-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  line-height: 1.625;
}

/* Value Cards */
.value-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.value-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  margin-bottom: 1rem;
}

.value-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--white);
}

/* Step Cards */
.step-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  justify-items: center;
}

@media (min-width: 1024px) {
  .step-cards-container {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    justify-items: stretch;
  }
}

.step-card {
  background-color: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .step-card {
    max-width: none;
  }
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem auto;
}

/* Testimonial Quote Cards */
.quote-card {
  background-color: var(--light-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
}

.quote-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.quote-card p {
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.quote-author {
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.quote-author p:first-child {
  font-weight: 600;
  color: var(--gray-900);
}

.quote-author p:last-child {
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Application Cards */
.app-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.app-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.app-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3), transparent);
}

.app-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
}

.app-card-content h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.app-card-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

/* Hero with Masonry Animation */
.hero-masonry {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-masonry-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #cccccc 0%, #666666 100%);
}

.hero-masonry-svg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-masonry-svg svg {
  width: 100%;
  height: 100%;
}

.mortar-line-blue {
  stroke: var(--primary);
  stroke-width: 2;
  opacity: 0.3;
}

.mortar-line-green {
  stroke: var(--secondary);
  stroke-width: 2;
  opacity: 0.3;
}

.hero-masonry-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
}

.hero-masonry-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-masonry-content p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Responsive */
@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 2rem; }
  .hero-masonry-content h1 { font-size: 4rem; }
  .hero-masonry-content p { font-size: 1.75rem; }
  .section-title { font-size: 3rem; }
  
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-xl { font-size: 1.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .sm\:p-8 { padding: 2rem; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:col-span-2 { grid-column: span 2; }
  .lg\:col-span-1 { grid-column: span 1; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:text-left { text-align: left; }
  .lg\:text-center { text-align: center; }
  .lg\:order-1 { order: 1; }
  .lg\:order-2 { order: 2; }
  .lg\:justify-self-end { justify-self: end; }
  
  .lg\:text-4xl { font-size: 2.25rem; }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:pb-40 { padding-bottom: 3rem; }
  .lg\:p-12 { padding: 3rem; }
  .lg\:p-16 { padding: 4rem; }
  .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:mb-16 { margin-bottom: 4rem; }
  
  .lg\:min-h-\[600px\] { min-height: 600px; }
  .lg\:min-h-\[700px\] { min-height: 700px; }
  
  .hero { min-height: 700px; }
  .hero-title { font-size: 3.75rem; }
  .hero-subtitle { font-size: 2.5rem; }
}

/* Kontakt Intro Spacing */
.kontakt-intro-spacing { padding-bottom: 1rem; }
@media (min-width: 1024px) {
  .kontakt-intro-spacing { padding-bottom: 2rem; }
}

/* Erfolgsstories Section Spacing */
.erfolgsstories-spacing { padding-top: 3rem; }
@media (min-width: 1024px) {
  .erfolgsstories-spacing { padding-top: 4rem; }
}

/* Referenzen Intro Spacing */
.referenzen-intro-spacing { padding-bottom: 1.5rem; }
@media (min-width: 1024px) {
  .referenzen-intro-spacing { padding-bottom: 2.5rem; }
}

/* Referenzen Video */
.referenzen-clip-section {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(1200px 420px at 50% 0%, rgba(74, 155, 142, 0.08), rgba(74, 155, 142, 0) 65%),
    var(--light-bg);
}

.referenzen-clip-shell {
  width: min(100vw, 1600px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3.2vw, 2.75rem);
}

.referenzen-video-header {
  margin: 0 auto clamp(0.85rem, 2.2vw, 1.4rem);
  max-width: min(100%, 980px);
  padding: clamp(0.85rem, 2vw, 1.2rem) clamp(1rem, 2.4vw, 1.45rem);
  border-radius: clamp(0.8rem, 1.8vw, 1.15rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 249, 248, 0.98) 100%);
  border: 1px solid rgba(26, 58, 92, 0.12);
  box-shadow: 0 14px 30px -20px rgba(15, 29, 45, 0.42);
}

.referenzen-video-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.referenzen-video-headline {
  margin: 0.35rem 0 0;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  line-height: 1.35;
  color: var(--gray-900);
  font-weight: 700;
}

.referenzen-video-card {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: clamp(1rem, 2.3vw, 1.75rem);
  background-color: #0b1827;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 35px 70px -30px rgba(10, 24, 38, 0.55);
}

.referenzen-video-media {
  display: block;
  width: 100%;
  min-height: clamp(240px, 55vw, 600px);
  max-height: 78vh;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #09121d;
}

.referenzen-video-fallback {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background-color: rgba(9, 18, 29, 0.88);
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1.4;
}

.referenzen-video-fallback a {
  color: #8fd0c6;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .referenzen-clip-section {
    padding: 2.5rem 0 3rem;
  }

  .referenzen-video-header {
    margin-bottom: 0.9rem;
    padding: 0.85rem 0.95rem;
  }

  .referenzen-video-headline { font-size: 1rem; }
  .referenzen-video-media { min-height: 220px; }
  .referenzen-video-fallback { font-size: 0.8125rem; }
}

/* FAQ Intro Section Spacing */
.faq-intro-spacing { padding-bottom: 2rem; }
@media (min-width: 1024px) {
  .faq-intro-spacing { padding-bottom: 3rem; }
}

/* FAQ spacing before CTA */
.faq-before-cta-spacing { padding-bottom: 3rem; }
@media (min-width: 1024px) {
  .faq-before-cta-spacing { padding-bottom: 4rem; }
}

/* Anwendung Section Spacing */
.anwendung-spacing { padding-top: 1.5rem; }
@media (min-width: 1024px) {
  .anwendung-spacing { padding-top: 2.5rem; }
}

/* Funktionsweise Section Spacing */
.funktionsweise-spacing { padding-bottom: 2rem; }
@media (min-width: 1024px) {
  .funktionsweise-spacing { padding-bottom: 3rem; }
}

/* Systemvergleich Section Spacing */
.systemvergleich-spacing { padding-bottom: 1.25rem; }
@media (min-width: 1024px) {
  .systemvergleich-spacing { padding-bottom: 1.25rem; }
}

/* Zusatzkriterien Section Spacing */
.zusatzkriterien-spacing { padding-bottom: 0; }
@media (min-width: 1024px) {
  .zusatzkriterien-spacing { padding-bottom: 0; }
}

/* Wissen-Seite: reduziertes Section-Padding (halbiert gegenueber py-16 lg:py-24) */
.wissen-section-tight {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 1024px) {
  .wissen-section-tight {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-fade-in-left { animation: fadeInLeft 0.6s ease forwards; }
.animate-fade-in-right { animation: fadeInRight 0.6s ease forwards; }

/* Stagger delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Print styles */
@media print {
  .header, .sub-nav, .footer, .mobile-menu-btn { display: none !important; }
  body { font-size: 12pt; }
  .container { max-width: 100%; }
}

/* Polish localization safeguards for longer text */
html[lang="pl"] body {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

html[lang="pl"] p,
html[lang="pl"] li,
html[lang="pl"] h1,
html[lang="pl"] h2,
html[lang="pl"] h3,
html[lang="pl"] h4,
html[lang="pl"] h5,
html[lang="pl"] .btn,
html[lang="pl"] .nav-link,
html[lang="pl"] .mobile-nav-link {
  hyphens: auto;
  overflow-wrap: anywhere;
}

html[lang="pl"] .btn {
  white-space: normal;
  text-align: center;
}
