/*
 * tirugo.css — Master Stylesheet
 * Tirugo GmbH · tirugo.ch
 * Build: 2025
 */

/* ===== CUSTOM PROPERTIES ===== */

:root {
  /* Colors */
  --color-primary:     #0d1b2a;
  --color-secondary:   #1e4d78;
  --color-accent:      #f97316;
  --color-accent-dark: #c45d0d;
  --color-red:         #d13535;
  --color-red-dark:    #a82828;
  --color-white:       #ffffff;
  --color-off-white:   #f5f5f7;   /* Apple Gray */
  --color-muted:       #86868b;   /* Apple muted */
  --color-border:      #d2d2d7;   /* Apple border */
  --color-text:        #1d1d1f;   /* Apple body text */
  --color-text-light:  #515154;   /* Apple secondary text */

  /* Spacing (8px grid) */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;
  --space-xxl: 120px;

  /* Nav heights */
  --nav-height:        72px;
  --nav-height-scroll: 60px;

  /* Layout */
  --container-max: 1280px;

  /* Border radius — Apple-style: großzügig gerundet */
  --border-radius:    12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;
  --border-radius-pill: 980px;

  /* Shadows — Apple: weich, diffus */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 72px rgba(0, 0, 0, 0.16);

  /* Transitions — Apple cubic-bezier */
  --ease-apple:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* ===== RESET & BASE ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  margin-top: 0;
}

h1 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

p {
  margin-top: 0;
}

ul, ol {
  margin-top: 0;
}


/* ===== CONTAINER ===== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--space-lg);
  }
}


/* ===== SECTIONS ===== */

.section {
  padding-block: var(--space-xl);
}

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

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

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

.section--white {
  background: white;
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  color: var(--color-text-light);
  max-width: 640px;
}

.section__header {
  margin-bottom: var(--space-lg);
  text-align: center;
}


/* ===== NAVIGATION ===== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(209, 53, 53, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background var(--transition-base), height var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.site-nav.scrolled {
  background: rgba(189, 33, 33, 0.95);
  height: var(--nav-height-scroll);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12), 0 4px 20px rgba(189,33,33,0.35);
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  max-height: 40px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  padding: 8px 14px;
  color: rgba(255,255,255,0.86);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-transform: none;
  background: transparent;
  border: none;
  border-bottom: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: color var(--transition-fast);
}

.nav-item:hover,
.nav-item.active {
  color: white;
}

.nav-phone {
  color: white;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.nav-phone:hover {
  color: var(--color-accent);
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

@media (max-width: 1023px) {
  .nav-list {
    display: none;
  }

  .nav-burger {
    display: flex;
  }
}


/* ===== MEGA-MENU ===== */

.has-mega-menu {
  position: static;
}

.site-nav {
  position: fixed;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(209, 53, 53, 0.92);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  z-index: 999;
}

.has-mega-menu:hover .mega-menu,
.has-mega-menu:focus-within .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mega-menu__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-menu__heading {
  color: var(--color-accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 0;
}

.mega-menu__link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  padding: 4px 0;
  display: block;
  transition: color var(--transition-fast);
}

.mega-menu__link:hover {
  color: white;
}

.mega-menu__full {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  gap: var(--space-md);
}


/* ===== MOBILE NAV DRAWER ===== */

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--color-primary);
  z-index: 1100;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-drawer__overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

.nav-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
}

.nav-drawer__close {
  width: 40px;
  height: 40px;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-family: inherit;
}

.nav-drawer__accordion summary {
  list-style: none;
  padding: 14px var(--space-md);
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer__accordion summary::marker,
.nav-drawer__accordion summary::-webkit-details-marker {
  display: none;
}

.nav-drawer__accordion .drawer-sub {
  padding: 8px 0 8px var(--space-lg);
}

.nav-drawer__accordion .drawer-sub a {
  display: block;
  padding: 8px var(--space-md);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.nav-drawer__accordion .drawer-sub a:hover {
  color: white;
}

.nav-drawer__links a {
  display: block;
  padding: 14px var(--space-md);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition-fast);
}

.nav-drawer__links a:hover {
  color: var(--color-accent);
}

.nav-drawer__phone {
  padding: var(--space-md);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 16px;
}


/* ===== HERO SECTION ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../images/gre_web_file_1980x1020-1.jpg');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

/* Apple-style: dunkel oben, transparent zur Mitte */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(5, 12, 24, 0.92) 0%,
    rgba(13, 27, 42, 0.78) 45%,
    rgba(10, 20, 36, 0.70) 100%
  );
}

/* Subtiler Vignette-Rand unten */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(5, 12, 24, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding-top: var(--nav-height);
  width: 100%;
}

.hero-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: white;
}

.hero h1 .text-accent {
  color: var(--color-accent);
  display: inline-block;
  position: relative;
}

.hero h1 .text-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero-stat {
  padding: var(--space-sm);
  text-align: center;
}

.hero-stat__value {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
}

.hero-stat__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 1;
}

.hero-scroll svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}


/* ===== PAGE HERO (INNENSEITEN) ===== */

.page-hero {
  background: var(--color-primary);
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 48px;
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
}

.page-hero__eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  font-weight: 700;
}

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

.page-hero__sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  max-width: 600px;
  margin: 0;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.3);
}


/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--border-radius-pill);
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    opacity var(--transition-fast);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.38);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: rgba(249,115,22,0.5);
  color: var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.btn--ghost {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: white;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
}

.btn--ghost-dark {
  background: rgba(13,27,42,0.06);
  border-color: rgba(13,27,42,0.2);
  color: var(--color-primary);
}

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

.btn--lg {
  padding: 18px 40px;
  font-size: 17px;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}


/* ===== PRODUCT CARDS ===== */

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-off-white);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
  transform: scale(1.06);
}

.product-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.product-card__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 700;
}

.product-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.product-card__desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  flex: 1;
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-xs);
}

.spec-chip {
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-pill);
  padding: 4px 12px;
  font-size: 12px;
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.product-card__cta {
  margin-top: var(--space-sm);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.product-card__cta:hover {
  gap: 10px;
}


/* ===== SPEC TABLE ===== */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.spec-table tr:nth-child(even) td:first-child,
.spec-table tr:nth-child(even) th {
  background: var(--color-off-white);
}

.spec-table th,
.spec-table td {
  padding: 10px 16px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}

.spec-table th {
  background: var(--color-off-white);
  font-weight: 600;
  color: var(--color-text);
  width: 45%;
}

.spec-table td {
  color: var(--color-text);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}


/* ===== SERVICE CARDS ===== */

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

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

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(249, 115, 22, 0.08);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.service-card__desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  flex: 1;
}


/* ===== PROCESS STEPS (TIMELINE) ===== */

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  position: relative;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.process-step__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
}

.process-step__desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
}


/* ===== USP ICON GRID ===== */

.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 480px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .usp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.usp-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.usp-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(249, 115, 22, 0.08);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
}

.usp-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 4px;
}

.usp-body p {
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.6;
}


/* ===== STATS / COUNTER SECTION ===== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  background: var(--color-primary);
}

.stat-item__value {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ===== PARTNER STRIP ===== */

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.partner-item img {
  max-height: 50px;
  width: auto;
  filter: grayscale(1) opacity(0.6);
  transition: filter var(--transition-base), opacity var(--transition-base);
}

.partner-item:hover img {
  filter: grayscale(0) opacity(1);
}

.partner-item p {
  font-size: 12px;
  color: var(--color-text-light);
  margin: 0;
}


/* ===== ALTERNATING PRODUCT BLOCKS ===== */

.product-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .product-block {
    grid-template-columns: 1fr 1fr;
  }
}

.product-block--reverse .product-block__image {
  order: -1;
}

@media (min-width: 768px) {
  .product-block--reverse .product-block__image {
    order: 1;
  }
}

.product-block__image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
}

.product-block__tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-block h2 {
  margin-bottom: var(--space-sm);
}

.product-block__desc {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.product-block__specs {
  margin-bottom: var(--space-md);
}


/* ===== VARIANT CARDS ===== */

.variants-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

@media (min-width: 1024px) {
  .variants-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.variant-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

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

.variant-card__img {
  aspect-ratio: 4 / 3;
  background: var(--color-off-white);
  overflow: hidden;
}

.variant-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-card__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.variant-card__badge {
  display: inline-block;
  background: var(--color-accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
}

.variant-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.variant-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.variant-card__features li {
  font-size: 14px;
  color: var(--color-text-light);
  padding-left: 20px;
  position: relative;
}

.variant-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.variant-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-xs);
}


/* ===== APPLICATIONS GRID ===== */

.applications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .applications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .applications-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.application-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  background: white;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.application-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.application-item__icon {
  width: 48px;
  height: 48px;
  background: var(--color-off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.application-item__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-secondary);
  fill: none;
}

.application-item__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}


/* ===== COMPARISON TABLE ===== */

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

.compare-table th {
  background: var(--color-primary);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-table th:first-child {
  background: var(--color-secondary);
}

.compare-table td {
  padding: 10px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--color-border);
}

.compare-table tr:nth-child(even) td {
  background: var(--color-off-white);
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--color-text);
  background: white;
}

.compare-table tr:nth-child(even) td:first-child {
  background: var(--color-off-white);
}


/* ===== FORMS ===== */

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

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

.form-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
}

.form-label .required {
  color: var(--color-accent);
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: white;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.form-error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-error.is-visible {
  display: block;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9ab0' fill='none' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-output {
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--border-radius);
  font-size: 14px;
  display: none;
}

.form-output.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-output.error {
  display: block;
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}


/* ===== CONTACT LAYOUT ===== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

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

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

.contact-info__item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(249, 115, 22, 0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
}

.contact-info__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 600;
}

.contact-info__value a {
  color: var(--color-accent);
}


/* ===== TEAM CARDS ===== */

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

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

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  text-align: center;
}

.team-card__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-off-white);
}

.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-card__body {
  padding: var(--space-md);
}

.team-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 4px;
}

.team-card__role {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 600;
}


/* ===== FAQ ACCORDION ===== */

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:first-of-type {
  border-top: 1px solid var(--color-border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-primary);
  list-style: none;
  user-select: none;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--color-accent);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__question {
  color: var(--color-accent);
}

.faq-item__answer {
  padding-bottom: var(--space-md);
  color: var(--color-text-light);
  line-height: 1.75;
}

.faq-item__answer p:first-child {
  margin-top: 0;
}

.faq-item__answer ul {
  padding-left: 1.25rem;
  margin: var(--space-xs) 0;
}

.faq-item__answer li {
  margin-bottom: 4px;
}

.faq-item__answer a {
  color: var(--color-accent);
  text-decoration: none;
}

.faq-item__answer a:hover {
  text-decoration: underline;
}

/* ===== VALUES ICONS ===== */

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--border-radius-lg);
  background: var(--color-off-white);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

.value-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.value-item p {
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.6;
}


/* ===== PARTNER BLOCKS ===== */

.partner-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .partner-block {
    grid-template-columns: 280px 1fr;
  }
}

.partner-block--reverse .partner-block__logo {
  order: -1;
}

@media (min-width: 768px) {
  .partner-block--reverse {
    grid-template-columns: 1fr 280px;
  }
  .partner-block--reverse .partner-block__logo {
    order: 1;
  }
}

.partner-block__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-off-white);
  border-radius: var(--border-radius-lg);
  text-align: center;
}

.partner-block__logo img {
  max-height: 60px;
  max-width: 200px;
  object-fit: contain;
}

.partner-block__logo-link {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
}

.partner-block__content h2 {
  margin-bottom: var(--space-sm);
}

.partner-block__content p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.partner-block__since {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  background: var(--color-off-white);
  padding: 6px 14px;
  border-radius: 100px;
}


/* ===== VIDEO EMBED ===== */

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.video-embed__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-base);
}

.video-embed:hover .video-embed__thumb {
  opacity: 0.8;
}

.video-embed__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(249, 115, 22, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.video-embed:hover .video-embed__play {
  background: var(--color-accent);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-embed__play svg {
  width: 28px;
  height: 28px;
  fill: white;
  margin-left: 4px;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ===== SERVICE BANNER ===== */

.service-banner {
  background: var(--color-secondary);
  color: white;
}

.service-banner__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 768px) {
  .service-banner__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-banner h2 {
  color: white;
  margin-bottom: var(--space-sm);
}

.service-banner p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.service-banner__icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.service-banner__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.service-banner__icon-item svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.service-banner__icon-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}


/* ===== CTA SECTION ===== */

.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #122640 100%);
  color: white;
  text-align: center;
}

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

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  max-width: 480px;
  margin: 0 auto var(--space-lg);
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.cta-section address {
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
  font-size: 14px;
}


/* ===== FOOTER ===== */

.site-footer {
  background: var(--color-primary);
  color: var(--color-muted);
}

.site-footer__main {
  padding-block: var(--space-xl) var(--space-lg);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-brand img {
  max-height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.footer-heading {
  color: white;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 0 0 var(--space-sm);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

address.footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 2;
}

address.footer-address a {
  color: var(--color-muted);
  transition: color var(--transition-fast);
}

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

/* Newsletter Strip */
.footer-newsletter {
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
}

.footer-newsletter p {
  margin: 0;
  font-size: 14px;
  color: white;
  font-weight: 600;
}

.footer-newsletter__form {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 280px;
  max-width: 420px;
}

.footer-newsletter__form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: white;
  flex: 1;
}

.footer-newsletter__form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter__form .form-control:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.15);
}

/* Footer Bottom */
.footer-bottom {
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.3);
}


/* ===== COOKIE BANNER ===== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-primary);
  border-top: 3px solid var(--color-accent);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  flex: 1;
  min-width: 200px;
}

.cookie-banner a {
  color: var(--color-accent);
}


/* ===== SCROLL ANIMATIONS ===== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg {
    animation: none !important;
  }

  .hero-scroll svg {
    animation: none !important;
  }
}


/* ===== SVG ICON SPRITE HELPER ===== */

.icon-sprite {
  display: none;
}

svg.icon {
  display: inline-block;
  vertical-align: middle;
}


/* ===== UTILITIES ===== */

.text-accent  { color: var(--color-accent); }
.text-red     { color: var(--color-red); }
.text-muted   { color: var(--color-muted); }
.text-white   { color: white; }
.text-center  { text-align: center; }
.text-left    { text-align: left; }

.rule-accent {
  border: none;
  height: 3px;
  width: 48px;
  background: var(--color-accent);
  margin: 0 0 var(--space-md);
}

.rule-accent--center {
  margin: 0 auto var(--space-md);
}

.rule-accent--red {
  background: var(--color-red);
}


/* ===== AKTUELLES / NEWS SECTION ===== */

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

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

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

.news-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.news-card--featured {
  border-left: 4px solid var(--color-red);
}

.news-card__header {
  padding: var(--space-md) var(--space-md) 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--color-red);
  color: white;
}

.news-tag--event {
  background: var(--color-red);
}

.news-tag--partner {
  background: var(--color-secondary);
}

.news-date {
  font-size: 12px;
  color: var(--color-muted);
  margin-left: auto;
}

.news-card__body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__title {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-xs);
  line-height: 1.3;
}

.news-card__lead {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.news-card__text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  flex: 1;
}

.news-card__text p {
  margin: 0 0 var(--space-xs);
}

.news-card__text p:last-child {
  margin-bottom: 0;
}

.news-card__footer {
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.news-card__author {
  font-size: 13px;
  color: var(--color-muted);
  font-style: italic;
}

.news-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-card__link:hover {
  color: var(--color-red-dark);
  text-decoration: underline;
}

/* Kleines Sidebar-Karte für kommende Posts */
.news-card--placeholder {
  background: var(--color-off-white);
  border: 2px dashed var(--color-border);
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
  padding: var(--space-lg);
}

.news-card--placeholder p {
  color: var(--color-muted);
  font-size: 14px;
  margin: var(--space-xs) 0 0;
}

.news-card--placeholder .news-placeholder-icon {
  width: 40px;
  height: 40px;
  color: var(--color-border);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm      { gap: var(--space-sm); }
.gap-md      { gap: var(--space-md); }


/* ===== IMAGE PLACEHOLDER ===== */

.img-placeholder {
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


/* ===== PRINT STYLES ===== */

@media print {
  .site-nav,
  .cookie-banner,
  .hero-scroll,
  .cta-section,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  h1, h2, h3 {
    color: #000;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
}

/* =============================================
   PERFORMANCE: content-visibility & CLS fixes
   ============================================= */

/* Sections unterhalb des Hero: Rendering zurückstellen bis sichtbar */
.section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* CLS: Bilder-Wrapper immer mit aspect-ratio absichern */
.product-card__image,
.news-card__image,
.page-hero__image {
  overflow: hidden;
}

/* CLS: Verhindert Shift wenn lazy-Bilder geladen werden */
img[loading="lazy"] {
  content-visibility: auto;
}

/* CLS: Placeholder-Farbe während Bilder laden */
.product-card__image,
.news-card__image {
  background-color: #f0f2f5;
}
