/* ==========================================================================
   Young Web Solutions (YWS) — Design System & Stylesheet
   Stil: Weißer Hintergrund, präzise Typografie, YWS-Logo-Farbwelt (Navy & Grün)
   ========================================================================== */

:root {
  /* YWS Brand Colors (extracted from Logo) */
  --yws-navy: #133A56;
  --yws-navy-dark: #0B2538;
  --yws-navy-light: #1E4E70;
  --yws-navy-tint: #F0F5F9;

  --yws-green: #4D9E45;
  --yws-green-dark: #3B8234;
  --yws-green-light: #64B65B;
  --yws-green-tint: #F2F9F1;

  /* Pure White Canvas & Neutrals */
  --bg-white: #FFFFFF;
  --bg-subtle: #F9FBFC;
  --text-main: #132939;
  --text-muted: #526675;
  --text-light: #7B8E9D;
  --border-light: #E4ECF2;
  --border-hover: #C5D6E3;

  /* Shadows & Radius */
  --shadow-xs: 0 2px 6px rgba(19, 58, 86, 0.04);
  --shadow-sm: 0 6px 20px rgba(19, 58, 86, 0.06);
  --shadow-md: 0 14px 36px rgba(19, 58, 86, 0.09);
  --shadow-lg: 0 24px 54px rgba(19, 58, 86, 0.13);
  --shadow-green: 0 12px 28px rgba(77, 158, 69, 0.22);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container-max: 1180px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-white);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  background-color: var(--bg-white);
  position: relative;
}

.section--subtle-border {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.section-header--left {
  margin-left: 0;
  text-align: left;
}

/* Circuit Badge inspired by YWS Logo nodes */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yws-green-dark);
  background-color: var(--yws-green-tint);
  border: 1px solid rgba(77, 158, 69, 0.22);
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}

.eyebrow__node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--yws-green);
  background: var(--bg-white);
  position: relative;
}

.eyebrow__node::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 6px;
  height: 2px;
  background: var(--yws-green);
  transform: translateY(-50%);
}

h1, h2, h3, h4 {
  color: var(--yws-navy);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
  hyphens: auto;
}

.h1-display {
  font-size: clamp(2.35rem, 4.5vw, 3.6rem);
  margin-bottom: 1.35rem;
}

.h2-title {
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  margin-bottom: 1rem;
}

.h3-title {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.lead {
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.text-green {
  color: var(--yws-green);
}

.text-navy {
  color: var(--yws-navy);
}

/* ==========================================================================
   Navigation Header (Pure White with subtle bottom line)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-xs);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

/* Visual separation between Main Pages and On-Page Section Links */
.nav-group-pages {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--yws-navy-tint);
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.nav-link--page {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--yws-navy);
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}

.nav-link--page:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--yws-green-dark);
}

.nav-link--page.is-active {
  background: var(--yws-navy);
  color: #FFFFFF;
  box-shadow: var(--shadow-xs);
}

.nav-divider {
  width: 1px;
  height: 24px;
  background-color: var(--border-hover);
  margin: 0 0.75rem;
}

.nav-group-sections {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-link--section {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.3rem 0;
  position: relative;
}

.nav-link--section::before {
  content: '↓';
  font-size: 0.75rem;
  color: var(--yws-green);
  font-weight: 700;
}

.nav-link--section:hover {
  color: var(--yws-navy);
}

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

/* Far-right always-visible "Über mich" main page button */
.nav-about-right {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--yws-navy);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--yws-navy);
  background: var(--bg-white);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-about-right:hover {
  background: var(--yws-navy-tint);
  color: var(--yws-green-dark);
  border-color: var(--yws-green);
}

.nav-about-right.is-active {
  background: var(--yws-navy);
  color: #FFFFFF;
  border-color: var(--yws-navy);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  cursor: pointer;
  color: var(--yws-navy);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.85rem 1.55rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: normal;
  text-align: center;
  max-width: 100%;
}

.btn--primary {
  background-color: var(--yws-green);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(77, 158, 69, 0.25);
}

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

.btn--navy {
  background-color: var(--yws-navy);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(19, 58, 86, 0.18);
}

.btn--navy:hover {
  background-color: var(--yws-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(19, 58, 86, 0.26);
}

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

.btn--outline:hover {
  border-color: var(--yws-navy);
  background-color: var(--yws-navy-tint);
}

.btn--sm {
  padding: 0.62rem 1.2rem;
  font-size: 0.88rem;
}

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

/* ==========================================================================
   Hero Section & Interactive Before/After Showcase
   ========================================================================== */

.hero,
.page-header-banner {
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-white);
  background-image: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.88) 45%, rgba(248, 250, 252, 0.45) 80%, rgba(230, 244, 236, 0.30) 100%),
    url('assets/hero-banner.jpg');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-light);
}

/* Subtle decorative circuit line in background */
.hero-circuit-bg {
  position: absolute;
  top: 20px;
  right: -60px;
  width: 520px;
  height: 520px;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.trust-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2.5px solid var(--yws-green);
  background-color: var(--bg-white);
  flex-shrink: 0;
}

/* Interactive Transformation Card */
.showcase-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.showcase-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-hover);
}

.browser-dots span:nth-child(1) { background: #FF6B6B; }
.browser-dots span:nth-child(2) { background: #FFD166; }
.browser-dots span:nth-child(3) { background: var(--yws-green); }

.mode-switch {
  display: inline-flex;
  background: var(--yws-navy-tint);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.mode-switch__btn {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.mode-switch__btn.is-active {
  background: var(--bg-white);
  color: var(--yws-navy);
  box-shadow: var(--shadow-xs);
}

.mode-switch__btn.is-active[data-view="before"] {
  background: #C53030;
  color: #FFFFFF;
}

.mode-switch__btn.is-active[data-view="after"] {
  background: var(--yws-green);
  color: #FFFFFF;
}

.preview-stage {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.15rem;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  background: var(--bg-white);
  box-sizing: border-box;
}

.preview-stage.is-before {
  background: var(--bg-white);
  border-color: var(--border-light);
  padding: 1.15rem;
  min-height: 315px;
}

/* ==========================================================================
   Modern Browser Simulation (Nachher / Neu)
   ========================================================================== */
.modern-browser {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 225px;
  min-height: 225px;
  max-height: 225px;
  box-sizing: border-box;
}

.modern-browser__titlebar {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-browser__dots {
  display: flex;
  gap: 4px;
}

.modern-browser__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.modern-browser__dots span:nth-child(1) { background: #FF5F56; }
.modern-browser__dots span:nth-child(2) { background: #FFBD2E; }
.modern-browser__dots span:nth-child(3) { background: #27C93F; }

.modern-browser__address {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 0.67rem;
  color: var(--text-muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.modern-browser__body {
  padding: 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 100%);
  position: relative;
  overflow: hidden;
}

.modern-browser__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
}

.modern-browser__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.modern-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: #B45309;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 0.16rem 0.5rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.modern-browser__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.2rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.modern-browser__desc {
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modern-browser__cta {
  margin-top: 0.35rem;
}

.modern-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #EA580C 0%, #D97706 100%);
  color: #FFFFFF;
  font-size: 0.67rem;
  font-weight: 700;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.28);
  user-select: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modern-preview-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.35);
}

.modern-browser__media {
  flex-shrink: 0;
  width: 108px;
  height: 116px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.modern-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Retro Browser Simulation (Vorher / Bestand aus den 2000ern)
   ========================================================================== */
.retro-browser {
  border: 2px outset #FFFFFF;
  background: #ECE9D8;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 225px;
  min-height: 225px;
  max-height: 225px;
  box-sizing: border-box;
}

.retro-browser__titlebar {
  background: linear-gradient(90deg, #0A246A 0%, #3A93FF 50%, #0A246A 100%);
  color: #FFFFFF;
  padding: 3px 6px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.retro-browser__title {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.retro-browser__controls span {
  display: inline-block;
  width: 13px;
  height: 13px;
  line-height: 11px;
  background: #ECE9D8;
  color: #000000;
  border: 1px outset #FFFFFF;
  font-size: 8px;
  font-family: sans-serif;
  font-weight: bold;
  text-align: center;
}

.retro-browser__address {
  background: #ECE9D8;
  border-top: 1px solid #FFFFFF;
  border-bottom: 1px solid #ACA899;
  padding: 2px 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: Tahoma, sans-serif;
  font-size: 0.66rem;
  color: #333333;
}

.retro-browser__url {
  background: #FFFFFF;
  border: 1px inset #7F9DB9;
  padding: 1px 4px;
  flex: 1;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.66rem;
  color: #222222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.retro-browser__body {
  background: #FFFDF4;
  padding: 7px 8px;
  font-family: 'Times New Roman', Times, serif;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.retro-marquee {
  background: #FFFFB0;
  border: 1px dashed #D97706;
  color: #B45309;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  padding: 2px 4px;
  margin-bottom: 5px;
  letter-spacing: 0.2px;
}

.retro-content-box {
  border: 2px inset #D0CFC5;
  background: #FFFFFF;
  padding: 5px 6px;
  text-align: center;
}

.retro-hero-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #800000;
  margin-bottom: 2px;
  letter-spacing: 0.2px;
}

.retro-text {
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.74rem;
  color: #333333;
  line-height: 1.3;
  margin-bottom: 4px;
}

.retro-counter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: Tahoma, sans-serif;
  font-size: 0.66rem;
  color: #555555;
  flex-wrap: wrap;
}

.retro-counter {
  background: #000000;
  color: #00FF00;
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 4px;
  border: 1px solid #333333;
  letter-spacing: 1.5px;
}

.retro-win-btn {
  background: #ECE9D8;
  color: #000000;
  border: 2px outset #FFFFFF;
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 1px 5px;
  cursor: pointer;
}

.retro-win-btn:active {
  border-style: inset;
}

.preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.24rem 0.6rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 0.6rem;
}

.preview-badge--old {
  background: #FFE8E8;
  color: #B83232;
}

.preview-badge--new {
  background: var(--yws-green-tint);
  color: var(--yws-green-dark);
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.9rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.metric-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.35rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  height: 112px;
  min-height: 112px;
  max-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.metric-box__val {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--yws-navy);
}

.metric-box__val--good {
  color: var(--yws-green-dark);
}

.metric-box__val--bad {
  color: #DC2626;
}

.metric-box--bad {
  background: #FFFFFF;
  border-color: #FECACA;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.05);
}

.metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
}

.metric-icon--good {
  background: var(--yws-green-tint);
  color: var(--yws-green-dark);
}

.metric-icon--bad {
  background: #FEE2E2;
  color: #DC2626;
}

.metric-box__label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* ==========================================================================
   Feature / Philosophy Grid (Roof + Circuit Concept)
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pillar-card__media {
  width: 100%;
  height: 165px;
  overflow: hidden;
  position: relative;
  background: #F1F5F9;
}

.pillar-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-card__media img {
  transform: scale(1.04);
}

.pillar-card__media--handshake img,
.pillar-card:hover .pillar-card__media--handshake img {
  object-position: center 72%;
  transform: none;
}

.pillar-card__content {
  padding: 1.6rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yws-green), var(--yws-navy));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--yws-green-tint);
  color: var(--yws-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

/* Profile Image Card in ueber-uns.html */
.profile-image-wrap {
  width: 100%;
  height: 275px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.4rem;
  border: 1px solid var(--border-light);
  position: relative;
  background: #F1F5F9;
}

.profile-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.profile-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.85) 100%);
  color: #FFFFFF;
  padding: 1.2rem 1rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 600;
}

/* Tech Showcase Banner */
.tech-showcase-banner {
  margin-top: 3.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.tech-showcase-image {
  height: 100%;
  min-height: 260px;
  background: #F1F5F9;
  overflow: hidden;
}

.tech-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-showcase-content {
  padding: 2.2rem 2.4rem;
}

.tech-showcase-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.tech-tag {
  display: flex;
  align-items: center;
  background: var(--yws-navy-tint);
  color: var(--yws-navy);
  border: 1px solid rgba(26, 42, 74, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.7rem;
  padding: 0.55rem 0.75rem;
}

.pillar-card:nth-child(2) .pillar-icon {
  background: var(--yws-navy-tint);
  color: var(--yws-navy);
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ==========================================================================
   Pricing / Packages Cards (3 Core Packages)
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.package-card {
  scroll-margin-top: 6rem;
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition);
}

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

.package-card--featured {
  border: 2px solid var(--yws-green);
  box-shadow: var(--shadow-lg);
}

.package-card.is-recommended-highlight {
  outline: 3px solid var(--yws-green);
  outline-offset: 4px;
}

.package-ribbon {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--yws-green);
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(77, 158, 69, 0.3);
}

.package-tier {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yws-green-dark);
  margin-bottom: 0.4rem;
  display: block;
}

.package-name {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--yws-navy);
  margin-bottom: 0.4rem;
}

.package-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  min-height: 3rem;
  margin-bottom: 1.5rem;
}

.package-price-box {
  padding: 1.35rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.6rem;
}

.package-price-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.package-price {
  font-size: 2.55rem;
  font-weight: 800;
  color: var(--yws-navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.package-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.package-vat {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.88rem;
  margin-bottom: 2.2rem;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.45;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yws-green-tint);
  color: var(--yws-green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 800;
}

.package-ideal {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  border-left: 3px solid var(--yws-navy);
}

.package-card--featured .package-ideal {
  border-left-color: var(--yws-green);
  background: var(--yws-green-tint);
  color: var(--yws-navy);
}

/* ==========================================================================
   Interactive Package Finder ("Welches Paket passt zu Ihnen?")
   ========================================================================== */

.finder-box {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 4rem;
}

.finder-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.finder-option {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.finder-option:hover {
  border-color: var(--yws-green);
  background: var(--yws-green-tint);
}

.finder-option.is-selected {
  border-color: var(--yws-green);
  background: var(--yws-green-tint);
  box-shadow: var(--shadow-xs);
}

.finder-option__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--yws-navy);
}

.finder-option__desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.finder-result {
  margin-top: 1.4rem;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--yws-navy-tint);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-xs);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.1rem 1.35rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.94rem;
}

.comparison-table th {
  background: var(--bg-subtle);
  color: var(--yws-navy);
  font-weight: 800;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
  text-align: center;
  width: 20%;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background-color: var(--bg-subtle);
}

/* ==========================================================================
   Process Steps (3-Step Workflow)
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--yws-navy);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  border: 3px solid var(--yws-green-tint);
}

/* ==========================================================================
   Contact & Package Inquiry Form
   ========================================================================== */

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

.contact-info-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.6rem;
}

.contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.contact-list__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--yws-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yws-navy);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.82rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

select.form-control {
  min-width: 0;
  padding-right: 2rem;
}

select.form-control option {
  padding-right: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--yws-green);
  box-shadow: 0 0 0 3px rgba(77, 158, 69, 0.15);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.form-checkbox input {
  margin-top: 0.25rem;
  accent-color: var(--yws-green);
}

.form-checkbox a {
  color: var(--yws-navy);
  text-decoration: underline;
}

.form-feedback {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--yws-green-tint);
  border: 1px solid var(--yws-green);
  color: var(--yws-navy);
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 1rem;
}

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

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.3rem 1.5rem;
  text-align: left;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--yws-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--yws-green-dark);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yws-navy-tint);
  color: var(--yws-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform var(--transition), background var(--transition);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--yws-green);
  color: #FFFFFF;
}

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

.faq-answer__inner {
  padding: 0 1.5rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Legal Pages (Impressum, Datenschutz, AGB)
   ========================================================================== */

.legal-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5.5rem;
}

.legal-container h1 {
  font-size: clamp(1.65rem, 5.5vw, 2.35rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.legal-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-xs);
}

.legal-notice-banner {
  background: var(--yws-green-tint);
  border: 1px solid rgba(77, 158, 69, 0.3);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--yws-navy);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-light);
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0.5rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.45rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.placeholder-tag {
  background: #FFF7E0;
  color: #8A5A00;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.88em;
  border: 1px dashed #E0B243;
}

/* ==========================================================================
   Footer (Clean White with Navy/Green Accents)
   ========================================================================== */

.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2.2rem;
}

.footer-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
  margin-top: 1rem;
}

.footer-title {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yws-navy);
  margin-bottom: 1.1rem;
}

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

.footer-links a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--yws-green-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   Guarantee Banner & About Page Styles
   ========================================================================== */

.guarantee-banner {
  background: var(--yws-green-tint);
  border: 1.5px solid rgba(77, 158, 69, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
}

.guarantee-banner--with-media {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: stretch;
}

.guarantee-banner__media {
  height: 100%;
  min-height: 180px;
  background: var(--bg-light);
  overflow: hidden;
}

.guarantee-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guarantee-banner__body {
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  flex: 1;
}

.guarantee-banner__badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bg-white);
  border: 2px solid var(--yws-green);
  color: var(--yws-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}

.guarantee-banner__content {
  flex: 1;
}


.text-nowrap {
  white-space: nowrap;
}

.about-grid .h1-display {
  font-size: clamp(1.85rem, 5vw, 3.5rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.profile-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
}

.profile-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}

.profile-fact {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.profile-fact__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.profile-fact__value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--yws-navy);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 980px) {
  .hero,
  .page-header-banner {
    background-image: 
      linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 55%, rgba(230, 244, 236, 0.50) 100%),
      url('assets/hero-banner.jpg');
    background-position: center top;
  }

  .hero-grid,
  .contact-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .guarantee-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pillars-grid,
  .pricing-grid,
  .steps-grid,
  .finder-options {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.1rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-group-pages {
    flex-direction: row;
    align-items: center;
    width: auto;
    max-width: 100%;
  }

  .nav-link--page {
    white-space: nowrap;
  }

  .nav-group-sections {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.15rem;
    width: 100%;
  }

  .nav-divider {
    width: 100%;
    height: 1px;
    margin: 0.35rem 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .legal-card {
    padding: 1.75rem;
  }

  .tech-showcase-banner {
    grid-template-columns: 1fr;
  }

  .tech-showcase-image {
    height: 220px;
    min-height: 220px;
  }

  .tech-showcase-content {
    padding: 1.8rem 1.4rem;
  }

  .guarantee-banner--with-media {
    grid-template-columns: 1fr;
  }

  .guarantee-banner--with-media .guarantee-banner__media {
    height: 190px;
    min-height: 190px;
  }

  .guarantee-banner--with-media .guarantee-banner__body {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.6rem 1.4rem;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 640px) {
  .profile-card {
    padding: 1.6rem 1.25rem;
  }

  .profile-facts {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .profile-fact {
    padding: 0.85rem 1.1rem;
  }
}

@media (max-width: 520px) {
  .showcase-card {
    padding: 1rem 0.75rem;
  }

  .preview-stage,
  .preview-stage.is-before {
    padding: 0.85rem 0.65rem;
    min-height: 335px;
  }

  .modern-browser,
  .retro-browser {
    height: 225px;
    min-height: 225px;
    max-height: 225px;
    box-sizing: border-box;
  }

  .modern-browser__main {
    gap: 8px;
  }

  .modern-browser__media {
    width: 82px;
    height: 96px;
    border-radius: 6px;
  }

  .modern-browser__title {
    font-size: 0.78rem;
    line-height: 1.22;
    margin-bottom: 0.15rem;
  }

  .modern-browser__desc {
    font-size: 0.64rem;
    line-height: 1.28;
    margin-bottom: 0.2rem;
    -webkit-line-clamp: 3;
  }

  .modern-preview-badge {
    font-size: 0.54rem;
    padding: 0.12rem 0.42rem;
    white-space: nowrap;
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .modern-preview-btn {
    font-size: 0.62rem;
    padding: 0.22rem 0.6rem;
  }

  .preview-metrics {
    gap: 0.35rem;
    margin-top: 0.75rem;
  }

  .metric-box {
    padding: 0.45rem 0.2rem;
    height: 92px;
    min-height: 92px;
    max-height: 92px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .metric-box__val {
    font-size: 0.82rem;
    gap: 0.2rem;
  }

  .metric-box__label {
    font-size: 0.62rem;
    line-height: 1.15;
  }

  .metric-icon {
    width: 14px;
    height: 14px;
    font-size: 0.58rem;
  }
}



/* Additional Services Subtle Note */
.additional-services-note {
  background: var(--bg-white);
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  box-shadow: var(--shadow-xs);
}

.additional-services-note strong {
  color: var(--yws-navy);
}

.additional-services-note .service-note-icon {
  font-size: 1.25rem;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .additional-services-note {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.1rem;
  }
}

/* ==========================================================================
   Optional Addon Services Grid
   ========================================================================== */

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.addon-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

.addon-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.addon-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.addon-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--yws-green-tint);
  color: var(--yws-green-dark);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.addon-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--yws-navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.addon-benefit {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.addon-benefit strong {
  color: var(--text-body);
}

.addon-details {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  margin-top: auto;
  border: 1px solid var(--border-light);
}

.addon-details strong {
  color: var(--yws-navy);
}

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

@media (max-width: 640px) {
  .addons-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .addon-card {
    padding: 1.3rem;
  }
}

/* ==========================================================================
   Solutions & Offerings Grid (4 Core Solutions)
   ========================================================================== */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.2rem;
}

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

@media (max-width: 640px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.solution-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

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

.solution-card__badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yws-green-dark);
  background: rgba(30, 150, 80, 0.09);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.solution-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(14, 30, 54, 0.04);
  color: var(--yws-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.solution-card:hover .solution-card__icon {
  background: var(--yws-navy);
  color: #ffffff;
}

.solution-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--yws-navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.solution-card__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.solution-card__footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-light);
}

.solution-card__tag strong {
  color: var(--yws-navy);
}

/* Package price modifier for textual pricing like 'Auf Anfrage' */
.package-price--text {
  font-size: clamp(1.85rem, 2.2vw, 2.25rem) !important;
  letter-spacing: -0.02em;
}

/* Cookie-freier Spam-Schutz Hinweis */
.form-spam-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.95rem;
  line-height: 1.4;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-light);
}

.form-spam-note .spam-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}
