/* ============================================================
   RUSSEK PHYSIOTHERAPIE - Main Stylesheet
   ============================================================ */

/* --- Fonts (lokal gehostet, DSGVO-konform) --- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-v12-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-v12-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-v12-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-v12-latin-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --color-primary: #c8853c;
  --color-primary-light: #d49a52;
  --color-primary-dark: #a86e2e;
  --color-secondary: #c8a96e;
  --color-secondary-light: #d4bc8a;
  --color-accent: #b8781e;
  --color-text: #2d2d2d;
  --color-text-light: #5a5a5a;
  --color-text-muted: #888;
  --color-bg: #fafaf7;
  --color-bg-alt: #f0ede6;
  --color-bg-dark: #1a1a1a;
  --color-white: #ffffff;
  --color-border: #e0ddd4;

  --font-heading: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container-width: 1200px;
  --container-narrow: 900px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--color-primary-light);
}

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

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

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}
h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.btn--gold {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

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

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.topbar a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.topbar a:hover {
  color: var(--color-secondary-light);
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

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

.site-logo img,
.site-logo .custom-logo {
  height: 55px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.site-logo__text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.site-logo__text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav__list {
  display: flex;
  list-style: none;
  gap: 0;
}

.main-nav__list a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  letter-spacing: 0.01em;
}

.main-nav__list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.main-nav__list a:hover::after,
.main-nav__list .current-menu-item a::after {
  transform: scaleX(1);
}

.main-nav__list a:hover {
  color: var(--color-primary);
}

.nav-cta {
  margin-left: 1rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 0;
  transition: all 0.3s ease;
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 85vh;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 50%,
    var(--color-primary-light) 100%
  );
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
  filter: blur(var(--hero-blur, 0px)) brightness(1) contrast(1.02);
  scale: calc(1.05 + var(--hero-blur-scale, 0));
  z-index: 1;
}

.hero__slide.is-active .hero__slide-bg {
  transform: scale(1.05);
}

.hero__slide-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero__curve {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 5;
}

.hero__content {
  position: relative;
  z-index: 5;
  max-width: 800px;
  color: var(--color-white);
}

/* Text Animation */
.hero__slide .hero__subtitle,
.hero__slide .hero__title,
.hero__slide .hero__claim,
.hero__slide .hero__actions {
  opacity: 0;
  position: relative;
  z-index: 2;
  transform: translateY(25px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.1) 0%,
    transparent 50%
  );
  z-index: 2;
  pointer-events: none;
}

.hero__slide.is-active .hero__subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.hero__slide.is-active .hero__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.hero__slide.is-active .hero__claim {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.hero__slide.is-active .hero__actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.65s;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  filter: brightness(0.85);
  margin-bottom: var(--spacing-sm);
}

.hero__title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  line-height: 1.15;
  max-width: 600px;
}

.hero__claim {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-md);
}

.hero__actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* Navigation Arrows */
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.hero__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hero__nav--prev {
  left: var(--spacing-md);
}

.hero__nav--next {
  right: var(--spacing-md);
}

/* Progress Indicators */
.hero__indicators {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero__indicator {
  width: 48px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: background var(--transition);
}

.hero__indicator:hover {
  background: rgba(255, 255, 255, 0.5);
}

.hero__indicator-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--color-secondary-light);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.hero__indicator.is-active .hero__indicator-bar {
  width: 0%;
  /* Width wird via JS animiert */
}

/* ============================================================
   QUICK LINKS / CARD GRID
   ============================================================ */
.quick-links {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.quick-link-card {
  background: var(--color-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--color-border);
}

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

.quick-link-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-sm);
  color: var(--color-primary);
}

.quick-link-card h4 {
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.quick-link-card a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.quick-link-card a::after {
  content: " \2192";
}

/* ============================================================
   PHILOSOPHY / ABOUT
   ============================================================ */
.philosophy {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-alt);
}

.philosophy__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.philosophy__image {
  text-align: center;
}

.philosophy__image img {
  max-width: 300px;
  margin: 0 auto;
  opacity: 0.8;
}

.philosophy__content h2 {
  margin-bottom: var(--spacing-md);
  color: var(--color-primary-dark);
}

.philosophy__content p {
  color: var(--color-text-light);
  font-size: 1.02rem;
}

/* ============================================================
   METHODIK
   ============================================================ */
.methodik {
  padding: var(--spacing-xl) 0;
}

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

.methodik h2 {
  margin-bottom: var(--spacing-md);
  color: var(--color-primary-dark);
}

.methodik__steps {
  list-style: none;
  counter-reset: step;
}

.methodik__steps li {
  counter-increment: step;
  padding: 0.8rem 0 0.8rem 3.5rem;
  position: relative;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--color-border);
}

.methodik__steps li:last-child {
  border-bottom: none;
}

.methodik__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-alt);
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

.contact-form-section .section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-lg);
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition);
  width: 100%;
  min-width: 0;
}

.form-group select {
  text-overflow: ellipsis;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(200, 133, 60, 0.15);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: var(--spacing-sm) 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-sm);
}

/* ============================================================
   SERVICES / THERAPIELEISTUNGEN
   ============================================================ */
.services {
  padding: var(--spacing-xl) 0;
}

.services h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: var(--color-primary-dark);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
}

.service-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.service-card__image.service-card__image--placeholder {
    height: 160px;
    object-fit: contain;
    padding: 2rem;
    background: var(--color-white, #ffffff);
}

.service-card--has-detail {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card--has-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.service-card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--color-white, #ffffff);
}

.service-card__icon {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  padding: 2rem;
  color: var(--color-primary);
}

.service-card__icon svg {
  width: 64px;
  height: 64px;
  fill: currentColor;
}

.service-card__title {
  padding: var(--spacing-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
  line-height: 1.4;
}

/* Service Detail (Accordion / Expandable) */
.service-details {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-alt);
}

.service-detail {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.service-detail__header {
  padding: 1.2rem var(--spacing-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  transition: background var(--transition);
}

.service-detail__header:hover {
  background: rgba(200, 133, 60, 0.04);
}

.service-detail__header::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.service-detail.is-open .service-detail__header::after {
  content: "\2212";
}

.service-detail__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-detail.is-open .service-detail__body {
  max-height: 2000px;
}

.service-detail__content {
  padding: 0 var(--spacing-md) var(--spacing-md);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================================================
   INFO BAR (Standort, Oeffnungszeiten, etc.)
   ============================================================ */
.info-bar {
  padding: var(--spacing-xl) 0;
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.info-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.info-bar__item h3 {
  color: var(--color-secondary-light);
  font-size: 1.1rem;
  margin-bottom: var(--spacing-sm);
}

.info-bar__item p,
.info-bar__item a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.info-bar__item a:hover {
  color: var(--color-secondary-light);
}

.opening-hours {
  list-style: none;
}

.opening-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.opening-hours li:last-child {
  border-bottom: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--spacing-md) 0;
  font-size: 0.85rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer a:hover {
  color: var(--color-secondary-light);
}

.footer-legal {
  display: flex;
  gap: var(--spacing-md);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Tablet landscape / small desktop --- */
@media (max-width: 1024px) {
  .quick-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .philosophy__inner {
    grid-template-columns: 1fr;
  }
  .philosophy__image {
    order: -1;
  }
  .hero__curve {
    height: 60px;
  }
}

/* --- Tablet portrait and below: hamburger activates --- */
@media (max-width: 768px) {
  /* Ueberschriften zentriert auf Mobile */
  .philosophy h2,
  .methodik h2,
  .services h2,
  .service-details h2,
  .contact-form-section h2,
  .contact-form-section .section-subtitle {
    text-align: center;
  }

  .btn-submit {
    width: 100%;
  }

  /* Topbar */
  .topbar {
    font-size: 0.78rem;
    padding: 0.4rem 0;
  }
  .topbar__inner {
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
  }
  .topbar__item:last-child {
    display: none;
  }

  /* Logo */
  .site-logo img,
  .site-logo .custom-logo {
    height: 36px;
    max-width: 160px;
  }

  /* Hamburger Toggle */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    z-index: 200;
    order: 2;
  }
  .menu-toggle span {
    transition: all 0.3s ease;
  }
  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Mobile Nav Overlay */
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 150;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
    pointer-events: none;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav__list {
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 280px;
  }
  .main-nav__list li {
    width: 100%;
    text-align: center;
  }
  .main-nav__list a {
    padding: 1rem;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--color-border);
  }
  .main-nav__list a::after {
    display: none;
  }
  .nav-cta {
    margin: var(--spacing-md) 0 0;
    font-size: 1rem;
    padding: 0.85rem 2.5rem;
  }

  /* Hero */
  .hero {
    min-height: 80vh;
  }
  .hero__slides {
    height: 80vh;
  }
  .hero__content {
    padding: 0 var(--spacing-sm);
  }
  .hero__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    max-width: 100%;
  }
  .hero__subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }
  .hero__claim {
    font-size: 1rem;
  }
  .hero__actions {
    flex-direction: column;
    gap: 0.6rem;
  }
  .hero__actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  .hero__curve {
    height: 40px;
    clip-path: ellipse(60% 100% at 50% 100%);
  }
  .hero__nav {
    width: 36px;
    height: 36px;
  }
  .hero__nav--prev {
    left: var(--spacing-xs);
  }
  .hero__nav--next {
    right: var(--spacing-xs);
  }
  .hero__indicators {
    bottom: 60px;
  }
  .hero__indicator {
    width: 28px;
    height: 3px;
  }

  /* Quick Links */
  .quick-links {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: -1rem;
  }
  .quick-links__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
  .quick-link-card {
    padding: var(--spacing-sm) var(--spacing-md);
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: var(--spacing-sm);
    text-align: left;
  }
  .quick-link-card__icon {
    width: 36px;
    height: 36px;
    margin: 0;
    grid-row: 1 / -1;
  }
  .quick-link-card h4 {
    margin: 0;
  }
  .quick-link-card p {
    display: none;
  }
  .quick-link-card a {
    grid-column: 2;
  }

  /* Philosophy */
  .philosophy {
    padding: var(--spacing-lg) 0;
  }
  .philosophy__image img {
    max-width: 200px;
  }

  /* Methodik */
  .methodik {
    padding: var(--spacing-lg) 0;
  }
  .methodik__inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* Services */
  .services {
    padding: var(--spacing-lg) 0;
  }
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
  .service-card__image {
    height: 120px;
  }

   .service-card__image.service-card__image--placeholder {
    height: 120px;
    padding: 1.5rem;
  }

  .service-card__icon {
    height: 120px;
    padding: 1.5rem;
  }

  .service-card__title {
    font-size: 0.8rem;
    padding: 0.6rem;
  }

  /* Service Details */
  .service-details {
    padding: var(--spacing-lg) 0;
  }
  .service-detail__header {
    padding: 1rem var(--spacing-sm);
    font-size: 0.95rem;
  }
  .service-detail__content {
    padding: 0 var(--spacing-sm) var(--spacing-sm);
    font-size: 0.92rem;
  }

  /* Contact Form */
  .contact-form-section {
    padding: var(--spacing-lg) 0;
  }
  .contact-form {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Info Bar */
  .info-bar {
    padding: var(--spacing-lg) 0;
  }
  .info-bar__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  /* Footer */
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
  }

  /* Section spacing reduction */
  .container {
    padding: 0 var(--spacing-sm);
  }
}

/* --- Small phones --- */
@media (max-width: 480px) {
  .topbar__inner {
    font-size: 0.72rem;
    gap: var(--spacing-xs);
  }
  .topbar__item:nth-child(2) {
    display: none;
  }

  .site-logo img,
  .site-logo .custom-logo {
    height: 28px;
    max-width: 130px;
  }

  .hero {
    min-height: 80vh;
  }
  .hero__slides {
    height: 80vh;
  }
  .hero__title {
    font-size: 1.4rem;
  }
  .hero__subtitle {
    font-size: 0.72rem;
  }
  .hero__claim {
    font-size: 0.88rem;
  }
  .hero__curve {
    height: 25px;
    clip-path: ellipse(65% 100% at 50% 100%);
  }
  .hero__nav {
    display: none;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    display: flex;
    align-items: center;
    border-radius: var(--radius-md);
  }

  .service-card__image.service-card__image--placeholder {
    width: 80px;
    height: 80px;
    padding: 1rem;
    flex-shrink: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }

  .service-card__image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }

  .service-card__icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    padding: 1rem;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }
  .service-card__icon svg {
    width: 40px;
    height: 40px;
  }

  .service-card__title {
    text-align: left;
    padding: 0.5rem var(--spacing-sm);
    font-size: 0.85rem;
  }

  .methodik__steps li {
    padding-left: 3rem;
    font-size: 0.95rem;
  }
  .methodik__steps li::before {
    width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
  }

  .quick-link-card h4 {
    font-size: 0.95rem;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.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;
}

.text-center {
  text-align: center;
}
.mt-sm {
  margin-top: var(--spacing-sm);
}
.mt-md {
  margin-top: var(--spacing-md);
}
.mb-sm {
  margin-bottom: var(--spacing-sm);
}
.mb-md {
  margin-bottom: var(--spacing-md);
}

/* ============================================================
   Unterseiten / Rechtliche Seiten
   ============================================================ */

.page-content {
  padding: var(--spacing-xl) 0;
  min-height: 60vh;
}

.page-content h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

.page-content__body {
  margin-top: var(--spacing-md);
  line-height: 1.85;
  color: var(--color-text);
}

.page-content__body h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.page-content__body h3 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.page-content__body p {
  margin-bottom: 1rem;
}

.page-content__body ul,
.page-content__body ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content__body li {
  margin-bottom: 0.35rem;
}

.page-content__body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content__body a:hover {
  color: var(--color-primary-light);
}

.page-content__body strong {
  font-weight: 600;
}

.page-content__body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.page-content__body th,
.page-content__body td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--color-bg-alt);
  text-align: left;
}

.page-content__body th {
  font-weight: 600;
  background: var(--color-bg-alt);
}

.page-content__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--spacing-md);
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.page-content__back:hover {
  color: var(--color-primary-light);
}
