/* ================================================================
   Erik Fischer Praxis
   style.css – Einzige CSS-Datei für alle Seiten
   Schriften: Cormorant Garamond (Display) + Source Serif 4 (Body)
   Thema: Weinrot (Standard) | Lavendel (reserviert) | Petrol (Erik)
================================================================ */

/* ================================================================
   01  DESIGN TOKENS IMPORT
   Alle CSS Custom Properties kommen aus colors_and_type.css.
================================================================ */
@import url('colors_and_type.css');

/* ================================================================
   03  RESET & BASIS
================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  transition: background var(--dur-slow) var(--ease);
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Total Lockdown Wrapper */
.overflow-wrapper {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}

main {
  flex: 1;
}

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

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

ul,
ol {
  list-style: none;
}

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

/* ================================================================
   04  TYPOGRAFIE
================================================================ */
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-5xl));
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: var(--sp-5);
}

h3 {
  font-size: clamp(var(--text-lg), 1.8vw, var(--text-xl));
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: var(--sp-4);
}

h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--color-text);
}

p {
  margin-bottom: var(--sp-4);
}

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

.text-muted {
  color: var(--color-text-muted);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-lg {
  font-size: var(--text-lg);
}

/* ================================================================
   05  LAYOUT HELPERS
================================================================ */
.container {
  width: 100%;
  padding-inline: var(--sp-4);
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    padding-inline: var(--sp-6);
  }
}

@media (min-width: 1024px) {
  /* 10 % Seitenrand links & rechts für den gesamten Inhaltsbereich im 1300px Rahmen */
  .container {
    max-width: 1300px;
    padding-inline: 10%;
  }

  .site-header .header-inner,
  .hero-subpage-inner {
    padding-inline: var(--sp-8);
  }
}

.section {
  padding-block: clamp(2.25rem, 4vw, 4rem);
}

.section-sm {
  padding-block: clamp(1.5rem, 2.5vw, 2.5rem);
}

/* Animate-on-scroll */
.animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
}

.animate.visible {
  opacity: 1;
  transform: none;
}

.animate-delay-1 {
  transition-delay: 100ms;
}

.animate-delay-2 {
  transition-delay: 200ms;
}

.animate-delay-3 {
  transition-delay: 320ms;
}

.animate-delay-4 {
  transition-delay: 440ms;
}

/* ================================================================
   06  BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-button);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  transition: all var(--dur-base) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: 1.5px solid var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-d);
  border-color: var(--color-primary-d);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--cp-100);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* ================================================================
   07  HEADER & NAVIGATION
================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 251, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--dur-slow) var(--ease),
    border-color var(--dur-slow) var(--ease),
    z-index 0s var(--dur-slow);
  /* Bleibt oben solange das Overlay ausfadet */
}

body.nav-mobile-open .site-header {
  z-index: 3000;
  transition: background var(--dur-slow) var(--ease),
    border-color var(--dur-slow) var(--ease),
    z-index 0s 0s;
  /* Sofort hochsetzen beim Öffnen */
}

.theme-lavender .site-header {
  background: rgba(252, 251, 253, 0.94);
}

.theme-petrol .site-header {
  background: rgba(247, 252, 252, 0.94);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: color var(--dur-slow) var(--ease);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.05;
}

.logo-name .logo-em {
  font-style: italic;
  color: var(--color-primary);
}

.logo-sub {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .site-header .logo-sub {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .site-header .logo-sub {
    display: none;
  }
}

/* Desktop Nav */
.main-nav {
  display: none;
}

@media (min-width: 900px) {
  .main-nav {
    display: flex;
    align-items: center;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-link {
  display: block;
  padding: var(--sp-2) var(--sp-2);
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
  border-radius: var(--r-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--sp-3);
  right: var(--sp-3);
  height: 1.5px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--dur-base) var(--ease-out);
  transform-origin: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Nav Dropdown */
.nav-item-dropdown {
  position: relative;
}

/* Hover-Bridge: Verhindert, dass das Dropdown beim rüberfahren mit der Maus zugeht */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.nav-dropdown-toggle {
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  border-radius: var(--r-sm);
  transition: color var(--dur-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-dropdown-toggle:hover {
  color: var(--color-text);
}

.nav-arrow {
  font-style: normal;
  transition: transform var(--dur-base) var(--ease);
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-arrow {
  transform: rotate(90deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + var(--sp-2));
  left: 0;
  min-width: 230px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.nav-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border-radius: var(--r-sm);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.nav-dropdown-link:hover {
  background: var(--cp-100);
  color: var(--color-primary);
}

/* CTA-Button in Nav */
.nav-cta {
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: var(--sp-2) var(--sp-5) !important;
  border-radius: var(--r-button) !important;
  font-size: var(--text-sm) !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  font-weight: 600 !important;
  transition: background var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--color-primary-d) !important;
  transform: translateY(-1px) !important;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 20px;
  padding: 0;
  border-radius: var(--r-sm);
  z-index: 3200;
  /* Ganz oben, über dem Menu */
  position: relative;
}

@media (min-width: 900px) {
  .hamburger {
    display: none;
  }
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease),
    opacity var(--dur-base) var(--ease);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  box-sizing: border-box;
  height: 100dvh;
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  padding: var(--sp-20) var(--sp-6) var(--sp-8);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
  overflow-y: auto;
  z-index: 3100;
  /* Direkt unter Hamburger, aber über Header-Inhalt */
  visibility: hidden;
  display: none;
}

.mobile-nav[aria-hidden="false"] {
  display: flex;
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2900;
  /* Unter dem Header aber über dem Rest der Seite */
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease), visibility var(--dur-slow) var(--ease);
}

.mobile-nav-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.mobile-nav-link {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  border-radius: var(--r-sm);
  transition: background var(--dur-fast), color var(--dur-fast);
}

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

.mobile-nav-sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  padding-left: var(--sp-8);
}

.mobile-nav-cta {
  margin-top: var(--sp-4);
  background: var(--color-primary);
  color: #fff !important;
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 600;
  font-size: var(--text-sm) !important;
  font-family: var(--font-sans) !important;
  border-radius: var(--r-button);
}

.mobile-nav-cta:hover {
  background: var(--color-primary-d) !important;
}

/* ================================================================
   08  HERO & SUBPAGE HERO
================================================================ */
.hero-subpage {
  position: relative;
  min-height: 40dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cp-900);
  color: #fff;
  padding-block: var(--sp-12);
}

@media (min-width: 1024px) {
  .hero-subpage {
    padding-block: var(--sp-20);
  }
}

.hero-subpage .hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, var(--cp-700), transparent),
    radial-gradient(ellipse 40% 40% at 20% 80%, var(--cp-800), transparent);
  opacity: 0.6;
}

.hero-subpage-inner {
  position: relative;
  z-index: 1;
}

.hero-subpage-inner h1 {
  color: #fff;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.hero {
  position: relative;
  min-height: 90dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cp-900);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, var(--cp-700), transparent),
    radial-gradient(ellipse 40% 40% at 20% 80%, var(--cp-800), transparent);
  opacity: 0.6;
}

.hero-spiral {
  position: absolute;
  left: 60%;
  top: 50%;
  transform: translateY(-50%);
  width: min(800px, 80vw);
  height: min(800px, 80vw);
  color: rgba(255, 255, 255, 0.15);
  pointer-events: none;
  animation: rotateSpiral 160s linear infinite;
  /* Physisches Clipping */
  clip-path: inset(0 -100% 0 0);
}

@media (max-width: 768px) {
  .hero-spiral {
    left: 10%;
    width: 100%;
    max-width: 120vw;
    height: auto;
    aspect-ratio: 1;
    opacity: 0.4;
  }
}

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

@keyframes rotateSpiral {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-24);
  max-width: 720px;
}

@media (max-width: 768px) {
  .hero-inner {
    text-align: center;
    padding-block: var(--sp-16) var(--sp-32);
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .hero-eyebrow {
    justify-content: center;
    width: 100%;
  }
}

.hero-eyebrow-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ca);
}

.hero-title {
  color: #fff;
  margin-bottom: var(--sp-6);
  font-weight: 300;
}

.hero-title em {
  font-style: italic;
  color: var(--cp-300);
}

.hero-text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin-bottom: var(--sp-10);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}

@media (max-width: 768px) {
  .hero-actions {
    justify-content: center;
  }
}

.hero-scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scroll-hint 2.4s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3));
}

@keyframes scroll-hint {

  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.8;
    transform: translateX(-50%) translateY(6px);
  }
}

/* ================================================================
   09  TRUST-BAR
================================================================ */
.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--sp-5);
  position: relative;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--sp-4) var(--sp-6);
  justify-content: space-evenly;
  align-items: center;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cp-100);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-lg);
}

/* Nav-Dots standardmaessig fuer Desktop ausblenden */
.trust-bar-dots {
  display: none;
}

/* Mobile & Nicht-Breitbild-Modus (< 1023px) */
@media (max-width: 1023px) {
  .trust-bar {
    padding-block: var(--sp-4) var(--sp-3);
  }

  .trust-bar-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-items: center;
    justify-items: center;
    min-height: 48px;
    padding-inline: var(--sp-4);
  }

  .trust-item {
    grid-area: 1 / 1;
    justify-content: center;
    text-align: center;
    width: 100%;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.45s ease-in-out, transform 0.45s ease-in-out, visibility 0.45s;
    pointer-events: none;
  }

  .trust-item br {
    display: inline;
  }

  /* Fallback ohne JS oder aktives Element */
  .trust-bar-inner:not(.js-rotator-active) .trust-item:first-child,
  .trust-item.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .trust-item.is-leaving {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
  }

  /* Dots Navigation auf Mobile */
  .trust-bar-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--sp-2);
    margin-top: var(--sp-2);
  }

  .trust-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
  }

  .trust-dot.is-active {
    width: 18px;
    border-radius: 4px;
    background: var(--color-primary);
  }
}

@media (prefers-reduced-motion: reduce) {
  @media (max-width: 1023px) {
    .trust-item {
      transform: none !important;
      transition: opacity 0.2s linear, visibility 0.2s linear !important;
    }
  }
}

/* ================================================================
   10  SECTION HEADERS
================================================================ */
.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.section-kicker {
  display: inline-block;
  margin-bottom: var(--sp-2);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 600;
}

.section-header h2 {
  margin-bottom: var(--sp-3);
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ================================================================
   11  ANGEBOTE GRID
================================================================ */
.angebote-section {
  background: var(--cp-100);
}

.angebote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

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

.angebot-card {
  background: var(--color-surface);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  border: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease),
    border-color var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}

.angebot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--cp-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}

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

.angebot-card:hover::before {
  transform: scaleX(1);
}

.angebot-icon {
  position: absolute;
  bottom: -5%;
  right: -5%;
  height: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease);
}

.angebot-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.angebot-card:hover .angebot-icon {
  transform: scale(1.1) rotate(-5deg);
  opacity: 0.15;
}

@media (max-width: 768px) {
  .angebot-icon {
    width: 33%;
    height: auto;
    bottom: -2%;
    right: -2%;
  }
}

.angebot-card h3,
.angebot-card p {
  position: relative;
  z-index: 2;
}

.angebot-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-2);
  /* Extra space since icon is gone from flow */
}

.angebot-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ================================================================
   12  TEAM PREVIEW
================================================================ */
.team-section {
  background: var(--color-surface);
}

.team-grid {
  display: grid;
  gap: var(--sp-8);
}

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

.team-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}

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

.team-card-img {
  height: 280px;
  background: linear-gradient(135deg, var(--cp-700), var(--cp-500));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Julia – Lavendel */
.team-card.julia .team-card-img {
  background: linear-gradient(135deg, hsl(263, 38%, 30%), hsl(263, 38%, 55%));
}

/* Erik – Petrol */
.team-card.erik .team-card-img {
  background: linear-gradient(135deg, hsl(185, 45%, 25%), hsl(185, 45%, 42%));
}

.team-card-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.team-card-body {
  padding: var(--sp-8);
  background: var(--color-surface);
}

.team-card-title {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 500;
}

.team-card-body h3 {
  margin-bottom: var(--sp-1);
  font-size: var(--text-xl);
}

.team-card-quals {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-5);
}

.team-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-6);
}

.team-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.tag {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  border-radius: 100px;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  background: var(--cp-100);
  color: var(--color-primary);
  border: 1px solid var(--cp-200);
}

/* ================================================================
   13  ÜBER UNS / PRAXIS INTRO
================================================================ */
.praxis-section {
  background: var(--color-bg);
}

.praxis-inner {
  display: grid;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 900px) {
  .praxis-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
  }
}

.praxis-visual {
  position: relative;
  display: flex; /* Helps with internal alignment */
  flex-direction: column;
}

.praxis-visual-box {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cp-800) 0%, var(--cp-500) 100%);
  position: relative;
  height: auto; /* Slim for mobile */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
}

.praxis-visual-img {
  border-radius: var(--r-xl);
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.visual-heading {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  margin: 0;
  position: relative;
  z-index: 2;
  line-height: 1.2;
}

.visual-watermark {
  position: absolute;
  bottom: -15%;
  right: -10%;
  height: 85%;
  width: auto;
  opacity: 0.12;
  color: #fff;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 899px) {
  .praxis-visual {
    margin-inline: -1.5rem; /* Bleed to edge (matches container padding) */
    margin-bottom: var(--sp-8);
  }
  .praxis-visual-box {
    border-radius: 0;
    padding-block: var(--sp-12);
  }
  .praxis-visual-img {
    border-radius: 0;
    height: 240px;
  }
  .praxis-quote-badge {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin-top: -1.5rem !important;
    margin-inline: 1.5rem !important;
    align-self: flex-start;
    max-width: calc(100% - 3rem);
    z-index: 5;
  }
  .praxis-inner.reverse > .praxis-visual {
    margin-top: -3rem; /* Compensate for section padding if it's the first element */
  }
}

@media (min-width: 900px) {
  .praxis-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: stretch !important;
  }
  .praxis-visual-box {
    height: 100%; /* Match text height on desktop */
    padding: var(--sp-16);
  }
  .praxis-visual-img {
    height: 100%; /* Match text height on desktop */
  }
  .visual-heading {
    font-size: var(--text-3xl);
  }
}

.praxis-quote-badge {
  position: absolute;
  bottom: -var(--sp-6);
  right: -var(--sp-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  max-width: 240px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .praxis-quote-badge {
    bottom: var(--sp-8);
    right: calc(-1 * var(--sp-12));
  }
}

.praxis-quote-badge blockquote {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: var(--sp-2);
}

.praxis-quote-badge cite {
  font-size: var(--text-xs);
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-style: normal;
}

.praxis-text h2 {
  margin-bottom: var(--sp-4);
}

.praxis-text .lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-6);
  line-height: 1.8;
}

/* ================================================================
   14  CTA BANNER
================================================================ */
.cta-banner {
  background: var(--cp-900);
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.cta-banner-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-lg);
  margin-bottom: var(--sp-8);
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* ================================================================
   15  TEAM PAGE – PROFIL CARDS
================================================================ */
.profil-hero {
  padding-block: var(--sp-24);
  position: relative;
  overflow: hidden;
}

.theme-lavender .profil-hero {
  background: linear-gradient(135deg, hsl(263, 38%, 18%), hsl(263, 38%, 38%));
}

.theme-petrol .profil-hero {
  background: linear-gradient(135deg, hsl(185, 45%, 15%), hsl(185, 45%, 32%));
}

.profil-hero-inner {
  display: grid;
  gap: var(--sp-10);
  align-items: center;
}

@media (min-width: 768px) {
  .profil-hero-inner {
    grid-template-columns: auto 1fr;
  }
}

.profil-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .profil-avatar {
    margin-inline: 0;
  }
}

.profil-meta h1 {
  color: #fff;
  margin-bottom: var(--sp-2);
}

.profil-meta .qualifikation {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}

.profil-meta .profil-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.profil-meta .tag {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.profil-content {
  background: var(--color-bg);
  padding-block: var(--sp-16);
}

.profil-grid {
  display: grid;
  gap: var(--sp-8);
}

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

.profil-main h2 {
  margin-bottom: var(--sp-4);
  font-size: var(--text-3xl);
}

.profil-main h3 {
  font-size: var(--text-xl);
  margin: var(--sp-8) 0 var(--sp-3);
}

.profil-main p {
  color: var(--color-text);
}


.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.sidebar-card h4 {
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-4);
  font-family: var(--font-body);
  font-weight: 500;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.sidebar-list li {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--leading-normal);
  padding-left: var(--sp-4);
  position: relative;
}

.sidebar-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

/* ================================================================
   16  KONTAKT
================================================================ */
.kontakt-section {
  background: var(--color-bg);
}

.kontakt-grid {
  display: grid;
  gap: var(--sp-12);
}

@media (min-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr 1.4fr;
  }
}

.kontakt-info h2 {
  margin-bottom: var(--sp-6);
}

.kontakt-info p {
  color: var(--color-text-muted);
}

.kontakt-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.kontakt-detail:last-child {
  border-bottom: none;
}

.kontakt-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cp-100);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-base);
}

.kontakt-detail-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--sp-1);
}

.kontakt-detail-text span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.kontakt-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-10);
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--sp-2);
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--cp-100);
}

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

.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}

.form-disclaimer a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ================================================================
   17  FOOTER
================================================================ */
.site-footer {
  background-color: var(--cn-950);
  background-image: 
    linear-gradient(
      135deg,
      rgba(14, 10, 16, 0.88) 0%,
      rgba(26, 14, 24, 0.80) 50%,
      rgba(12, 10, 16, 0.92) 100%
    ),
    url('images/footer_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.72);
  padding-block: var(--sp-16) var(--sp-8);
  position: relative;
  overflow: hidden;
}

/* Transparentes Logo2-Wasserzeichen unten rechts im Footer */
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -5%;
  right: -2%;
  width: clamp(380px, 48vw, 680px);
  height: clamp(380px, 48vw, 680px);
  background-image: url('images/logo2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

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

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

.site-footer .logo-mark {
  color: #fff;
}

.site-footer .logo-name {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer .logo-name .logo-em {
  color: var(--ca);
}

.site-footer .logo-sub {
  color: rgba(255, 255, 255, 0.45);
  white-space: normal;
  line-height: 1.45;
  font-size: 0.72rem;
  max-width: 280px;
}

.footer-address {
  margin-top: var(--sp-4);
  font-style: normal;
  font-size: var(--text-sm);
  line-height: 1.8;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--dur-fast);
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-text {
  font-size: var(--text-sm);
  margin-bottom: var(--sp-4);
}

.footer-btn {
  display: inline-block;
  padding: var(--sp-3) var(--sp-6);
  background: var(--cp-600);
  color: #fff;
  border-radius: var(--r-button);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
  transition: background var(--dur-base);
  margin-bottom: var(--sp-3);
}

.footer-btn:hover {
  background: var(--cp-500);
}

.footer-hint {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-legal {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.25);
  max-width: 520px;
  text-align: right;
}

/* ================================================================
   18  FAQ ACCORDION
================================================================ */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: var(--sp-4) 0;
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  text-align: left;
  gap: var(--sp-4);
  transition: color var(--dur-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: grid;
  place-items: center;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}

.faq-icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.faq-item.open .faq-icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}

.faq-answer-inner {
  padding-top: var(--sp-1);
  padding-bottom: var(--sp-5);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
}

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

/* ================================================================
   19  ANGEBOTE PAGE – DETAIL SECTIONS
================================================================ */
.angebot-detail {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  border-bottom: 1px solid var(--color-border);
}

.angebot-detail:last-child {
  border-bottom: none;
}

.angebot-detail-inner {
  display: grid;
  gap: var(--sp-10);
  align-items: center;
}

@media (min-width: 900px) {
  .angebot-detail-inner {
    grid-template-columns: 1fr 1fr;
  }

  .angebot-detail:nth-child(even) .angebot-detail-text {
    order: -1;
  }
}

.angebot-detail-visual {
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--cp-800), var(--cp-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--font-display);
  font-size: 5rem;
  font-style: italic;
}

.angebot-detail-text h2 {
  margin-bottom: var(--sp-4);
}

.angebot-detail-text p {
  color: var(--color-text);
  margin-bottom: var(--sp-5);
}

.angebot-detail-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.angebot-detail-text ul li {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: var(--leading-normal);
  padding-left: var(--sp-6);
  position: relative;
}

.angebot-detail-text ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: var(--text-base);
}

/* ================================================================
   20  UTILITY & ACCESSIBILITY
================================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   17  APPOINTMENT GUIDE (QUIZ-MODAL)
================================================================ */
.guide-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease);
}

.guide-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.guide-modal {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-lg);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--dur-base) var(--ease-out);
}

.guide-modal-overlay.open .guide-modal {
  transform: translateY(0) scale(1);
}

.guide-close {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  color: var(--color-text-muted);
  transition: all var(--dur-fast);
  z-index: 10;
}

.guide-close:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.guide-content {
  padding: var(--sp-10) var(--sp-8);
}

.guide-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.guide-header .section-kicker {
  margin-bottom: var(--sp-2);
}

.guide-header h2 {
  margin-bottom: var(--sp-3);
}

.guide-header p {
  color: var(--color-text-muted);
}

.guide-steps {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}

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

.guide-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: left;
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
}

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

.guide-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--sp-2);
  z-index: 2;
}

.guide-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
  z-index: 2;
}

.guide-card-icon {
  position: absolute;
  bottom: -10%;
  right: -10%;
  height: 60%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.1;
  transition: transform var(--dur-slow) var(--ease);
  z-index: 1;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .guide-card-icon {
    width: 33%;
    height: auto;
    bottom: -5%;
    right: -5%;
  }
}

.guide-card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.guide-card:hover .guide-card-icon {
  transform: scale(1.1) rotate(-5deg);
  opacity: 0.15;
}

.guide-footer {
  margin-top: var(--sp-8);
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
}

/* Result Styles */
.guide-result {
  text-align: center;
  padding: var(--sp-6);
  background: var(--cp-100);
  border-radius: var(--r-lg);
  border: 1px solid var(--cp-200);
}

.guide-result h3 {
  color: var(--color-primary);
  margin-bottom: var(--sp-4);
}

.guide-info-box {
  background: #fff;
  padding: var(--sp-6);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-6);
  text-align: left;
}

.guide-info-box strong {
  color: var(--color-primary);
}

/* ================================================================
   17B ORIENTIERUNGS-WEGWEISER (GALERIE / SLIDER)
================================================================ */
.wegweiser-gallery-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.wegweiser-progress-bar {
  display: flex;
  background: var(--cn-50);
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.wegweiser-progress-bar::-webkit-scrollbar {
  display: none;
}

.wegweiser-tab-btn {
  flex: 1 0 auto;
  min-width: 130px;
  scroll-snap-align: start;
  padding: var(--sp-4) var(--sp-3);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.wegweiser-tab-btn:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.5);
}

.wegweiser-tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--ca);
  background: #fff;
}

.wegweiser-slides-viewport {
  position: relative;
  overflow: hidden;
  transition: height 0.3s ease;
}

.wegweiser-slides-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  align-items: flex-start;
}

.wegweiser-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: var(--sp-8) var(--sp-8);
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .wegweiser-tab-btn {
    min-width: 110px;
    padding: var(--sp-3) var(--sp-2);
    font-size: 0.72rem;
  }

  .wegweiser-slide {
    padding: var(--sp-5) var(--sp-3);
  }

  .wegweiser-controls-bar {
    padding: var(--sp-3) var(--sp-3);
    gap: var(--sp-2);
  }

  .wegweiser-nav-btn {
    padding: var(--sp-2) var(--sp-3);
    font-size: 0.8rem;
  }
}

.wegweiser-slide-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ca);
  background: var(--cp-100);
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}

.wegweiser-slide h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: var(--sp-3);
  color: var(--color-primary);
}

.wegweiser-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) var(--sp-8);
  background: var(--cn-50);
  border-top: 1px solid var(--color-border);
  gap: var(--sp-4);
}

@media (max-width: 640px) {
  .wegweiser-controls-bar {
    padding: var(--sp-4) var(--sp-4);
  }
}

.wegweiser-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--r-md);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

.wegweiser-nav-btn:hover:not(:disabled) {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.wegweiser-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.wegweiser-nav-btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.wegweiser-nav-btn-primary:hover:not(:disabled) {
  background: var(--cp-700);
}

.wegweiser-dots {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.wegweiser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cn-300);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}

.wegweiser-dot.active {
  background: var(--ca);
  transform: scale(1.2);
}

.guide-info-box ul {
  margin-top: var(--sp-4);
  margin-left: var(--sp-4);
  list-style: disc;
}

.guide-info-box li {
  margin-bottom: var(--sp-1);
}

.guide-back-btn {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.guide-back-btn:hover {
  color: var(--color-primary);
}

.guide-freitext {
  padding: 0 var(--sp-8) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.guide-textarea {
  width: 100%;
  min-height: 120px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--cn-200);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: var(--ts);
  color: var(--cn-900);
  background: var(--cn-50);
  resize: vertical;
  transition: border-color var(--dur-fast) var(--ease);
}

.guide-textarea:focus {
  outline: none;
  border-color: var(--cp-500);
}

/* ================================================================
   15  PAGE TRANSITIONS (MOBILE ONLY)
================================================================ */
@media (max-width: 900px) {
  .page-enter {
    animation: slideInFromBottom var(--dur-slow) var(--ease-out) forwards;
    will-change: transform, opacity;
  }

  @keyframes slideInFromBottom {
    from {
      transform: translateY(5vh);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}
/* ================================================================
   15  ANGEBOTE HUB & CARDS
================================================================ */
.angebote-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

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

.hub-card {
  display: flex;
  flex-direction: column;
  padding: var(--sp-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  transition: all var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}

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

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

.hub-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cp-100);
  color: var(--color-primary);
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-6);
  transition: all var(--dur-base) var(--ease);
}

.hub-card:hover .hub-card-icon {
  transform: scale(1.1);
  background: var(--color-primary);
  color: #fff;
}

.hub-card h3 {
  margin-bottom: var(--sp-2);
  font-size: var(--text-xl);
}

.hub-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}

.hub-card-more {
  margin-top: auto;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Breadcrumb Styles */
.breadcrumb {
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cp-300);
  margin-bottom: var(--sp-2);
}

.breadcrumb a {
  color: inherit;
  transition: color var(--dur-fast);
}

.breadcrumb a:hover {
  color: #fff;
}

/* Page Intro Lead */
.lead {
  font-size: var(--text-xl);
  line-height: 1.6;
  font-weight: 300;
}

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



/* ================================================================
   21  UTILITIES & RESPONSIVE REFINEMENTS
================================================================ */
.mobile-only {
  display: block;
}

.desktop-only {
  display: none !important;
}

@media (min-width: 900px) {
  .mobile-only {
    display: none !important;
  }
  .desktop-only {
    display: block !important;
  }
  
  /* Layout Reverse for Split Sections */
  .praxis-inner.reverse > .praxis-visual {
    order: 2;
  }
  
  .praxis-inner.reverse > .praxis-text {
    order: 1;
  }
}

/* ================================================================
   22  PAGE DIVIDER COMPONENTS
================================================================ */
.page-divider {
  padding-block: clamp(3rem, 5vw, 5rem);
  background: var(--cn-50);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-divider-inner {
  max-width: 800px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.page-divider-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

.page-divider h3 {
  font-size: var(--text-3xl);
  color: var(--color-primary);
  margin-bottom: var(--sp-4);
}

.page-divider p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-style: italic;
}

/* Spezifischer Trenner mit Fotohintergrund & mehr Abstand */
.page-divider-perspective {
  margin-top: var(--sp-16);
  margin-bottom: var(--sp-12);
  border-radius: 20px;
  background-color: var(--cp-900);
  background-image: 
    linear-gradient(
      135deg,
      rgba(26, 14, 21, 0.82) 0%,
      rgba(55, 22, 38, 0.65) 50%,
      rgba(26, 14, 21, 0.88) 100%
    ),
    url('images/divider_perspektiven_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.page-divider-perspective h3 {
  color: #ffffff;
}

.page-divider-perspective p {
  color: var(--cp-100);
}

.page-divider-perspective .page-divider-watermark {
  color: #ffffff;
  opacity: 0.08;
}

/* ================================================================
   23  PRICING COMPONENTS & CARDS
================================================================ */
.pricing-advantages {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

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

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

.advantage-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}

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

.advantage-icon {
  width: 44px;
  height: 44px;
  background: var(--cp-100);
  color: var(--color-primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.advantage-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

.advantage-card h3 {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--color-text);
}

.advantage-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
}

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

.pricing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}

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

.pricing-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #ffffff 0%, var(--cp-100) 100%);
}

.pricing-card.featured:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  right: var(--sp-6);
  background: var(--color-primary);
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}

.pricing-header {
  margin-bottom: var(--sp-4);
}

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: 0;
}

.pricing-price-wrap {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--color-border);
}

.pricing-price {
  font-family: var(--font-sans);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.pricing-unit {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--sp-2);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}

.pricing-features li .check-ic {
  width: 20px;
  height: 20px;
  background: var(--cp-100);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-features li .check-ic svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.pricing-footer {
  margin-top: auto;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ================================================================
   27  INTERAKTIVER LEITFADEN & ENTSCHEIDUNGSHILFE
================================================================ */
.triage-box {
  background: var(--cp-100);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--sp-6);
  margin-bottom: 0;
}

.triage-box h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.triage-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.triage-card-item {
  background: #ffffff;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.triage-card-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.triage-card-item.triage-card-urgent {
  background: rgba(168, 28, 28, 0.03);
  border-color: rgba(168, 28, 28, 0.25);
}

.triage-card-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--sp-2);
}

.triage-card-urgent .triage-card-tag {
  color: #a81c1c;
}

.triage-card-item h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}

.triage-card-urgent h3 {
  color: #a81c1c;
}

.triage-card-item p {
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  margin-block: var(--sp-6);
}

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

.scenario-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--dur-base) var(--ease);
}

.scenario-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.scenario-badge {
  display: inline-block;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--cp-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: var(--sp-3);
  align-self: flex-start;
}

.scenario-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--cn-900);
  line-height: 1.3;
  margin-bottom: var(--sp-2);
}

.scenario-card p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

.scenario-card .action-link {
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.scenario-card .action-link:hover {
  text-decoration: underline;
}

/* Comparison Table */
.compare-table-wrapper {
  overflow-x: auto;
  margin-block: var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--color-border);
  background: #ffffff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: var(--text-sm);
}

.compare-table th,
.compare-table td {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--color-border);
}

.compare-table th {
  background: var(--cn-50);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  color: var(--cn-900);
  font-weight: 600;
}

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

.compare-table td.highlight {
  background: var(--cp-100);
  color: var(--color-primary);
  font-weight: 600;
}

/* Mobile Card Layout for Comparison Table */
@media (max-width: 768px) {
  .compare-table-wrapper {
    border: none;
    background: transparent;
    overflow-x: visible;
    margin-block: var(--sp-4);
  }

  .compare-table, 
  .compare-table tbody, 
  .compare-table tr, 
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tr {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--r-lg);
    margin-bottom: var(--sp-4);
    padding: var(--sp-4);
    box-shadow: var(--shadow-sm);
  }

  .compare-table tr:last-child {
    margin-bottom: 0;
  }

  .compare-table td {
    padding: var(--sp-2) 0;
    border-bottom: 1px dashed var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .compare-table td:first-child {
    font-size: var(--text-base);
    color: var(--cn-900);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: var(--sp-2);
    margin-bottom: var(--sp-2);
  }

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

  .compare-table td[data-label]::before {
    content: attr(data-label);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 2px;
  }

  .compare-table td.highlight {
    background: var(--cp-100);
    padding: var(--sp-3);
    border-radius: var(--r-md);
    border: 1px solid var(--cp-200);
    margin-block: var(--sp-2);
  }
}

/* Step Process Line */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-block: var(--sp-6);
}

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

.process-step-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  position: relative;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--sp-3);
}

.process-step-item h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--cn-900);
  margin-bottom: var(--sp-2);
  line-height: 1.3;
}

.process-step-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Step Section Cards for Leitfaden */
.step-section-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  margin-bottom: var(--sp-8);
  box-shadow: var(--shadow-sm);
  position: relative;
}

@media (max-width: 640px) {
  .step-section-card {
    padding: var(--sp-5);
    margin-bottom: var(--sp-6);
  }
}

.step-number-badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--cp-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: var(--sp-4);
}

/* ================================================================
   28  PERSON CARD (index.html Team-Section)
================================================================ */
.person-card-v1 {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--sp-12);
  border: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.person-card-v1:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pc-v1-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 35%;
}
.pc-v1-content {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .person-card-v1 {
    flex-direction: row;
    max-width: 900px;
    margin-inline: auto;
  }
  .pc-v1-img {
    width: 45%;
    height: auto;
    min-height: 250px;
  }
  .pc-v1-content {
    width: 55%;
    padding: var(--sp-6) var(--sp-8);
  }
}
.pc-subtitle {
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsl(185, 45%, 35%);
  margin-bottom: var(--sp-1);
  display: block;
  font-weight: 500;
}
.pc-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--sp-3);
  color: var(--color-text);
  line-height: 1.1;
}
.pc-desc {
  color: var(--color-text-muted);
  margin-bottom: var(--sp-5);
  line-height: 1.6;
  font-size: var(--text-base);
}


/* ================================================================
   30  BOXED LAYOUT & COMPACT HERO DESIGN
================================================================ */

/* Hero-Sektion (Startseite): Kompakt, zentriert & mit Ostsee-Fotohintergrund */
.hero {
  position: relative;
  min-height: clamp(260px, 35vh, 420px);
  padding-block: clamp(1.75rem, 3.5vw, 3rem);
  background-color: var(--cp-900);
  background-image: 
    linear-gradient(
      135deg,
      rgba(26, 14, 21, 0.86) 0%,
      rgba(55, 22, 38, 0.74) 50%,
      rgba(26, 14, 21, 0.90) 100%
    ),
    url('images/hero_praxis.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-bg-pattern {
  opacity: 0.15;
}

.hero-inner {
  text-align: center;
  margin-inline: auto;
  max-width: 820px;
  padding-block: var(--sp-2) var(--sp-4);
}

.hero-eyebrow {
  justify-content: center;
  width: 100%;
  margin-bottom: var(--sp-3);
}

.hero-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--sp-4);
}

.hero-text {
  text-align: center;
  margin-inline: auto;
  max-width: 620px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: var(--sp-6);
}

.hero-actions {
  justify-content: center;
}

.hero-scroll {
  display: none;
}

.hero-spiral {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  width: min(600px, 80vw);
  height: min(600px, 80vw);
}

/* Unterseiten-Hero ebenfalls schlanker halten & mit Fotohintergrund versehen */
.hero-subpage {
  position: relative;
  min-height: clamp(220px, 28vh, 360px);
  padding-block: var(--sp-10);
  background-color: var(--cp-900);
  background-image: 
    linear-gradient(
      135deg,
      rgba(26, 14, 21, 0.84) 0%,
      rgba(55, 22, 38, 0.70) 50%,
      rgba(26, 14, 21, 0.88) 100%
    ),
    url('images/hero_subpage_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero-subpage {
    padding-block: var(--sp-12);
  }
}

/* --------------------------------------------------------------
   Desktop Boxed Layout (>= 1024px)
-------------------------------------------------------------- */
@media (min-width: 1024px) {

  body {
    background-color: #f7f6f3;
  }

  main {
    background-color: #ffffff;
    max-width: 1300px;
    margin-inline: auto;
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
  }

  .site-header {
    top: 1rem;
    max-width: 1300px;
    width: calc(100% - 3rem);
    margin-inline: auto;
    border-radius: 16px;
    border: 1px solid rgba(220, 215, 208, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    background: rgba(253, 252, 251, 0.95);
    backdrop-filter: blur(16px);
  }

  .header-inner {
    height: 84px;
  }

  .site-header .logo-mark,
  .site-footer .logo-mark {
    width: 52px;
    height: 52px;
  }

  .site-header .logo-mark svg,
  .site-header .logo-mark img,
  .site-footer .logo-mark svg,
  .site-footer .logo-mark img {
    width: 52px;
    height: 52px;
    object-fit: contain;
  }

  .site-header .logo-name,
  .site-footer .logo-name {
    font-size: clamp(1.65rem, 3.2vw, 2.3rem);
  }

  .site-header .logo-sub,
  .site-footer .logo-sub {
    font-size: 0.74rem;
  }

  .nav-link,
  .nav-dropdown-toggle {
    font-size: 0.98rem;
    font-weight: 500;
  }

  .nav-cta {
    padding: 0.45rem 0.9rem !important;
    font-size: 0.94rem !important;
  }

  .theme-lavender .site-header {
    background: rgba(252, 251, 253, 0.95);
  }

  .theme-petrol .site-header {
    background: rgba(247, 252, 252, 0.95);
  }

  .site-header.scrolled {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.09);
    border-color: rgba(200, 195, 185, 0.9);
  }

  .cta-banner {
    max-width: 1220px;
    margin-inline: auto;
    margin-block: 2rem 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    background-color: var(--cp-900);
    background-image: 
      linear-gradient(
        135deg,
        rgba(26, 14, 21, 0.85) 0%,
        rgba(55, 22, 38, 0.72) 50%,
        rgba(26, 14, 21, 0.90) 100%
      ),
      url('images/cta_banner_bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .site-footer {
    max-width: 1300px;
    width: calc(100% - 3rem);
    margin-inline: auto;
    margin-bottom: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }

}

/* ================================================================
   24  ANGEBOTE SECTION BACKGROUND (FARB-AURA & PARALLAX LOGO)
================================================================ */
.angebote-section,
.section-bg-test {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

/* Große sanfte Farb-Aura (Gradient Light Blobs) - Mobile & Base */
.angebote-section::before,
.angebote-section::after,
.section-bg-test::before,
.section-bg-test::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.angebote-section::before,
.section-bg-test::before {
  top: -5%;
  left: -15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(110, 50, 75, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(65px);
}

.angebote-section::after,
.section-bg-test::after {
  bottom: -5%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(160, 100, 130, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(65px);
}

/* Desktop (>= 1024px): Noch größere Farb-Aura Blobs */
@media (min-width: 1024px) {
  .angebote-section::before,
  .section-bg-test::before {
    top: -12%;
    left: -8%;
    width: 780px;
    height: 780px;
    background: radial-gradient(circle, rgba(110, 50, 75, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(95px);
  }

  .angebote-section::after,
  .section-bg-test::after {
    bottom: -12%;
    right: -8%;
    width: 850px;
    height: 850px;
    background: radial-gradient(circle, rgba(160, 100, 130, 0.13) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(95px);
  }
}

/* Parallax Logo-Wasserzeichen Container */
.bg-parallax-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(350px, 45vw, 650px);
  height: clamp(350px, 45vw, 650px);
  background-image: url('images/logo2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
