/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL STYLES — Elite Brand Design System
   Auktionshaus Linz am Rhein
   ═══════════════════════════════════════════════════════════════════════════ */

/* Google Fonts: Playfair Display (Headlines) + Inter (Body) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");
@import "./variables.css";

/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open,
body.cookie-open {
  overflow: hidden;
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
}
h2 {
  font-size: var(--text-3xl);
}
h3 {
  font-size: var(--text-2xl);
}
h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover,
a:focus {
  color: var(--color-accent);
}

strong,
b {
  font-weight: var(--font-semibold);
  color: var(--color-text);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════════════════ */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  z-index: var(--z-modal);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-text-light);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section--cream {
  background-color: var(--color-background);
}

.section--white {
  background-color: var(--color-surface);
}

.section__title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 52px;
  letter-spacing: var(--tracking-wide);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-dark) 100%
  );
  color: var(--color-primary);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  box-shadow: var(--shadow-gold-hover);
  color: var(--color-primary);
}

.btn--secondary {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn--secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.btn--dark {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.btn--dark:hover {
  background-color: var(--color-primary-light);
}

.btn--light {
  background-color: var(--color-surface);
  color: var(--color-text);
  border: 1px solid rgba(26, 26, 26, 0.1);
}

.btn--light:hover {
  background-color: var(--color-background);
}

.btn--full {
  width: 100%;
}

.btn--lg {
  padding: var(--space-lg) var(--space-2xl);
  min-height: 60px;
  font-size: var(--text-lg);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(26, 26, 26, 0.04);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card--gold {
  border: 1px solid var(--color-accent-muted);
}

.card--gold:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-gold);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER – RADIKALER ONE-ROW LAYOUT
   Partner-Logo IMMER neben Hauptlogo, keine Extra-Bar
   ═══════════════════════════════════════════════════════════════════════════ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background-color: var(--color-primary);
  height: var(--header-height);
  transition: all var(--transition-normal);
}

.header--scrolled {
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-lg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-sm);
}

.header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOGO SIZING – BEIDE LOGOS GLEICH HOCH
   Mobile: 28px | Desktop: 38px | Sehr klein (<360px): 24px
   ═══════════════════════════════════════════════════════════════════════════ */

.header__logo img,
.header__partner-logo {
  height: 28px; /* Mobile Standard */
  width: auto;
  object-fit: contain;
}

/* Sehr kleine Screens – beide Logos gemeinsam skalieren */
@media (max-width: 359px) {
  .header__logo img,
  .header__partner-logo {
    height: 24px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LOGO GROUP – EINE ZEILE (Logo + Partner nebeneinander)
   ═══════════════════════════════════════════════════════════════════════════ */

.header__logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
  max-width: 70%; /* Platz für Burger lassen */
}

/* Partner Badge – IMMER SICHTBAR (Mobile + Desktop) */
.header__partner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

/* Divider – nur auf Desktop */
.header__partner-divider {
  display: none;
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.2);
}

/* Label – nur auf Desktop */
.header__partner-label {
  display: none;
  font-size: 8px;
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.header__nav-link {
  color: var(--color-text-light);
  font-weight: var(--font-medium);
  padding: var(--space-sm) 0;
  position: relative;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-normal);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__cta {
  display: none;
}

.header__mobile-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__mobile-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-light);
  transition: all var(--transition-fast);
}

.header__mobile-btn--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__mobile-btn--open span:nth-child(2) {
  opacity: 0;
}

.header__mobile-btn--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  /* Desktop: BEIDE LOGOS GLEICH HOCH (38px) */
  .header__logo img,
  .header__partner-logo {
    height: 38px;
  }

  .header__nav {
    display: block;
  }

  .header__cta {
    display: block;
  }

  .header__mobile-btn {
    display: none;
  }

  /* Desktop: Layout-Anpassungen */
  .header__logos {
    max-width: none; /* Keine Beschränkung auf Desktop */
    gap: 12px;
  }

  .header__partner {
    gap: var(--space-sm);
  }

  .header__partner-divider {
    display: block;
    height: 32px;
  }

  .header__partner-label {
    display: block;
    font-size: 9px;
  }
}

/* Mobile Menu Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: var(--z-modal-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-overlay--open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--color-primary);
  z-index: var(--z-modal);
  padding: var(--space-3xl) var(--space-lg) var(--space-lg);
  transition: right var(--transition-normal);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu--open {
  right: 0;
}

.mobile-menu__list {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.mobile-menu__link {
  display: block;
  color: var(--color-text-light);
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__link:hover {
  color: var(--color-accent);
}

.mobile-menu__cta {
  margin-top: auto;
  margin-bottom: var(--space-xl);
}

.mobile-menu__secondary {
  list-style: none;
  display: flex;
  gap: var(--space-lg);
}

.mobile-menu__secondary-link {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero__slide--active {
  opacity: 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(26, 26, 26, 0.72) 50%,
    rgba(26, 26, 26, 0.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-2xl);
  max-width: 800px;
}

.hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  pointer-events: none;
}

.hero__watermark img {
  width: 400px;
  height: auto;
}

.hero__headline {
  color: var(--color-text-light);
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
}

.hero__subline {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.hero__indicators {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-sm);
  z-index: 3;
}

.hero__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.hero__indicator--active {
  background-color: var(--color-accent);
}

@media (min-width: 768px) {
  .hero__headline {
    font-size: var(--text-5xl);
  }

  .hero__ctas {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .hero__headline {
    font-size: var(--text-6xl);
  }
}
/* ═══════════════════════════════════════════════════════════════════════════
   VIDEO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.video-section {
  background-color: var(--color-surface);
}

.video-section__wrapper {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--color-background);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.video-section__player {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
  background-color: var(--color-primary);
}

/* Video controls styling for 55+ */
.video-section__player::-webkit-media-controls-panel {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.video-section__player::-webkit-media-controls-play-button,
.video-section__player::-webkit-media-controls-volume-slider,
.video-section__player::-webkit-media-controls-fullscreen-button {
  cursor: pointer;
}

@media (min-width: 768px) {
  .video-section__wrapper {
    padding: var(--space-lg);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURED GALLERY
   ═══════════════════════════════════════════════════════════════════════════ */

.featured-gallery {
  padding: var(--space-2xl) 0;
  background-color: var(--color-background-alt);
}

.featured-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.featured-gallery__item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-gallery__item:first-child {
  grid-column: span 2;
}

.featured-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-gallery__item:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .featured-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .featured-gallery__item:first-child {
    grid-column: span 1;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST / USP SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.trust {
  background-color: var(--color-surface);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.trust__card {
  text-align: center;
  padding: var(--space-lg);
}

.trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-dark) 100%
  );
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.trust__icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(8%) sepia(6%) saturate(1024%)
    hue-rotate(182deg) brightness(97%) contrast(92%);
}

.trust__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.trust__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PARTNER & EXPERTISE SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.partners {
  background-color: var(--color-surface);
}

/* Logo Combination Container - ONE unified Partner Block */
.partners__combination {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding: var(--space-2xl) var(--space-lg);
  background-color: var(--color-background);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Logo Wrapper */
.partners__logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

/* Logos - Equal Size, No Effects */
.partners__logo {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Separator between logos */
.partners__separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  width: 100%;
  max-width: 280px;
}

.partners__separator-line {
  flex: 1;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

.partners__separator-text {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-regular);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  white-space: nowrap;
}

/* Desktop: Horizontal Layout */
@media (min-width: 768px) {
  .partners__combination {
    flex-direction: row;
    gap: var(--space-2xl);
    padding: var(--space-2xl) var(--space-3xl);
  }

  .partners__logo {
    max-width: 180px;
    max-height: 90px;
  }

  .partners__separator {
    flex-direction: column;
    width: auto;
    max-width: none;
    height: 60px;
    gap: var(--space-sm);
  }

  .partners__separator-line {
    width: 1px;
    height: auto;
    flex: 1;
  }

  .partners__separator-text {
    writing-mode: horizontal-tb;
  }
}

/* Large Screens */
@media (min-width: 1024px) {
  .partners__combination {
    gap: var(--space-3xl);
  }

  .partners__logo {
    max-width: 200px;
    max-height: 100px;
  }

  .partners__separator {
    height: 70px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PARTNER SECTION - COMPACT (vor Footer)
   ═══════════════════════════════════════════════════════════════════════════ */

.partners--compact {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  background-color: var(--color-background);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.partners__inline {
  text-align: center;
}

.partners__title {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-lg);
}

.partners__logos-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
}

.partners__logo-inline {
  max-width: 120px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partners__divider-inline {
  width: 40px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

.partners__label-inline {
  font-size: 10px;
  font-weight: var(--font-medium);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .partners__logos-row {
    flex-direction: row;
    gap: var(--space-lg);
  }

  .partners__logo-inline {
    max-width: 140px;
    max-height: 55px;
  }

  .partners__divider-inline {
    width: 1px;
    height: 30px;
  }
}

@media (min-width: 1024px) {
  .partners__logo-inline {
    max-width: 160px;
    max-height: 60px;
  }

  .partners__divider-inline {
    height: 35px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.about {
  background-color: var(--color-background);
}

.about__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about__text {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.about__closing {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-accent-dark);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BERATUNG SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.beratung {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.beratung__grid {
  display: grid;
  gap: var(--space-xl);
}

.beratung__card {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(201, 169, 98, 0.2);
}

.beratung__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: rgba(201, 169, 98, 0.15);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 98, 0.3);
}

.beratung__icon img {
  width: 32px;
  height: 32px;
  filter: brightness(0) saturate(100%) invert(77%) sepia(25%) saturate(650%)
    hue-rotate(6deg) brightness(93%) contrast(88%);
}

.beratung__title {
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.beratung__text {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .beratung__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CATEGORIES GRID
   ═══════════════════════════════════════════════════════════════════════════ */

.categories {
  background-color: var(--color-surface);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.categories__item {
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
}

.categories__item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.categories__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
  background: linear-gradient(
    135deg,
    rgba(201, 169, 98, 0.1) 0%,
    rgba(201, 169, 98, 0.05) 100%
  );
  border-radius: var(--radius-md);
}

.categories__icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(62%) sepia(30%) saturate(450%)
    hue-rotate(8deg) brightness(95%) contrast(90%);
  transition: filter var(--transition-fast);
}

.categories__item:hover .categories__icon img {
  filter: brightness(0) saturate(100%) invert(8%) sepia(6%) saturate(1024%)
    hue-rotate(182deg) brightness(97%) contrast(92%);
}

.categories__name {
  font-weight: var(--font-medium);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.categories__hint {
  font-size: var(--text-xs);
  color: var(--color-accent-dark);
  margin-top: var(--space-xs);
}

.categories__note {
  text-align: center;
  margin-top: var(--space-xl);
  color: var(--color-text-muted);
  font-style: italic;
}

.categories__note--subtle {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .categories__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   STEPS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.steps {
  background-color: var(--color-background);
}

.steps__grid {
  display: grid;
  gap: var(--space-xl);
}

.steps__item {
  text-align: center;
  position: relative;
}

.steps__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-dark) 100%
  );
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.steps__title {
  margin-bottom: var(--space-sm);
}

.steps__text {
  color: var(--color-text-secondary);
}

@media (min-width: 768px) {
  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps__item::after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 32px;
    font-size: var(--text-2xl);
    color: var(--color-accent);
  }

  .steps__item:last-child::after {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT HUB - 3 Options Layout
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-hub {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.contact-hub .section__title {
  color: var(--color-text-light);
}

.contact-hub .section__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* 3 Options Grid */
.contact-hub__options {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-hub__card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 169, 98, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-normal);
}

.contact-hub__card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.contact-hub__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  background: rgba(201, 169, 98, 0.15);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(201, 169, 98, 0.3);
}

.contact-hub__icon img {
  width: 36px;
  height: 36px;
  filter: brightness(0) saturate(100%) invert(77%) sepia(25%) saturate(650%)
    hue-rotate(6deg) brightness(93%) contrast(88%);
}

.contact-hub__title {
  color: var(--color-accent);
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.contact-hub__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-base);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
}

/* Opening Hours */
.contact-hub__hours {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-hub__hours h3 {
  color: var(--color-accent);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.contact-hub__hours-grid {
  margin-bottom: var(--space-md);
}

.contact-hub__hours-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hub__hours-row span:first-child {
  color: rgba(255, 255, 255, 0.8);
}

.contact-hub__hours-row span:last-child {
  color: var(--color-text-light);
  font-weight: var(--font-medium);
}

.contact-hub__hours-note {
  text-align: center;
  color: var(--color-accent);
  font-weight: var(--font-medium);
  margin-top: var(--space-md);
}

/* Address */
.contact-hub__address {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.contact-hub__address p {
  margin-bottom: var(--space-xs);
}

.contact-hub__address strong {
  color: var(--color-text-light);
}

/* Tablet: 2 cards + 1 centered */
@media (min-width: 600px) {
  .contact-hub__options {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-hub__card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
  }
}

/* Desktop: 3 cards in a row */
@media (min-width: 900px) {
  .contact-hub__options {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-hub__card:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: auto;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════════════════════ */

.contact-form {
  background-color: var(--color-background);
}

.contact-form__wrapper {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.contact-form__group {
  margin-bottom: var(--space-lg);
}

.contact-form__label {
  display: block;
  font-weight: var(--font-medium);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.contact-form__optional {
  font-weight: var(--font-normal);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(26, 26, 26, 0.1);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--color-accent);
  outline: none;
}

.contact-form__textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-form__checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.contact-form__checkbox label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.contact-form__checkbox a {
  color: var(--color-accent-dark);
}

.contact-form__hint {
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* Contact Form Error States */
.contact-form__error {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
  color: #b91c1c;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.contact-form__error--visible {
  opacity: 1;
}

/* Checkbox wrapper improvements */
.contact-form__checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.contact-form__checkbox input {
  flex-shrink: 0;
  margin-top: 4px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.contact-form__checkbox label {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  cursor: pointer;
}

.contact-form__checkbox a {
  color: var(--color-accent-dark);
}

.contact-form__checkbox .contact-form__error {
  flex-basis: 100%;
  margin-left: 28px;
}

/* Disabled Button State */
.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Button Loading State */
.btn__text,
.btn__loading {
  display: inline;
}

.btn__loading[hidden] {
  display: none;
}

/* Honeypot (Anti-Spam) */
.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

/* Success Message Box */
.contact-form__success {
  text-align: center;
  padding: var(--space-2xl);
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form__success[hidden] {
  display: none;
}

.contact-form__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.contact-form__success-title {
  font-size: var(--text-xl);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.contact-form__success-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.contact-form__success-ref {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-family: monospace;
  background-color: var(--color-background);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.contact-form__success-alt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.contact-form__success-alt a {
  color: var(--color-accent-dark);
  font-weight: var(--font-medium);
}

/* Error Message Box */
.contact-form__error-box {
  text-align: center;
  padding: var(--space-2xl);
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #fca5a5;
}

.contact-form__error-box[hidden] {
  display: none;
}

.contact-form__error-box p {
  font-size: var(--text-base);
  color: #b91c1c;
  margin-bottom: var(--space-lg);
  line-height: var(--leading-relaxed);
}

/* ═══════════════════════════════════════════════════════════════════════════
   EMAIL FEEDBACK MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.email-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.email-modal[hidden] {
  display: none;
}

.email-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

.email-modal__content {
  position: relative;
  background-color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-2xl);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.email-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-muted);
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.email-modal__close:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--color-text);
}

.email-modal__close:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.email-modal__icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.email-modal__title {
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.email-modal__text {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
}

.email-modal__fallback {
  padding: var(--space-lg);
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.email-modal__fallback p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.email-modal__alt {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.email-modal__alt p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* Modal Open Body State */
body.modal-open {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   COOKIE NOTICE (Simple Version)
   ═══════════════════════════════════════════════════════════════════════════ */

.cookie-notice {
  position: fixed;
  bottom: var(--sticky-bar-height);
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  padding: var(--space-lg);
  z-index: var(--z-sticky);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice__content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  text-align: center;
}

.cookie-notice__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
}

.cookie-notice__content a {
  color: var(--color-accent);
}

.cookie-notice__btn {
  white-space: nowrap;
}

@media (min-width: 768px) {
  .cookie-notice__content {
    flex-wrap: nowrap;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .cookie-notice {
    bottom: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.faq {
  background-color: var(--color-surface);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  color: var(--color-text);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--color-accent-dark);
}

.faq__icon {
  font-size: var(--text-xl);
  transition: transform var(--transition-fast);
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq__item--open .faq__answer {
  max-height: 500px;
}

.faq__answer-content {
  padding-bottom: var(--space-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ═══════════════════════════════════════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════════════════════════════════════ */

.gallery {
  background-color: var(--color-background);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.gallery__item {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

@media (min-width: 600px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Lightbox – 55+ Friendly */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.lightbox--open {
  display: block;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  cursor: pointer;
}

.lightbox__container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
}

.lightbox__image-wrapper {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Navigation Buttons – Groß für 55+ */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text-light);
  width: 64px;
  height: 64px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav-icon {
  font-size: 2.5rem;
  font-weight: var(--font-bold);
  line-height: 1;
}

.lightbox__nav:hover:not(.lightbox__nav--disabled) {
  background: rgba(201, 169, 98, 0.3);
  border-color: var(--color-accent);
}

.lightbox__nav:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.lightbox__nav--disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.lightbox__nav--prev {
  left: var(--space-lg);
}

.lightbox__nav--next {
  right: var(--space-lg);
}

/* Close Button – Groß und deutlich */
.lightbox__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text-light);
  width: 56px;
  height: 56px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast);
}

.lightbox__close-icon {
  font-size: 1.75rem;
  font-weight: var(--font-bold);
  line-height: 1;
}

.lightbox__close:hover {
  background: rgba(201, 169, 98, 0.3);
  border-color: var(--color-accent);
}

.lightbox__close:focus {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Counter */
.lightbox__counter {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-light);
  font-size: var(--text-base);
  background: rgba(0, 0, 0, 0.5);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

/* Body Lock */
body.lightbox-open {
  overflow: hidden;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .lightbox__container {
    padding: var(--space-lg);
  }

  .lightbox__nav {
    width: 52px;
    height: 52px;
  }

  .lightbox__nav-icon {
    font-size: 2rem;
  }

  .lightbox__nav--prev {
    left: var(--space-sm);
  }

  .lightbox__nav--next {
    right: var(--space-sm);
  }

  .lightbox__close {
    top: var(--space-md);
    right: var(--space-md);
    width: 48px;
    height: 48px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   EINBLICKE & HIGHLIGHTS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.highlights {
  background-color: var(--color-surface);
}

.highlights__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.highlights__item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--color-primary);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.highlights__item:hover,
.highlights__item:focus {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
  outline: none;
}

.highlights__item--large {
  aspect-ratio: 16/9;
}

.highlights__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.highlights__item:hover img {
  transform: scale(1.05);
}

/* Tablet: 2 columns */
@media (min-width: 640px) {
  .highlights__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .highlights__item--large {
    grid-column: span 2;
  }
}

/* Desktop: 3 columns, max 4 */
@media (min-width: 1024px) {
  .highlights__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }

  .highlights__item--large {
    grid-column: span 2;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   EINBLICKE CAROUSEL (Center-Card Slider)
   ═══════════════════════════════════════════════════════════════════════════ */

.einblicke-carousel {
  position: relative;
  width: 100%;
  padding: var(--space-lg) 0;
}

.einblicke-carousel__viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y pinch-zoom;
}

.einblicke-carousel__track {
  display: flex;
  transition: transform 300ms ease-out;
  will-change: transform;
}

.einblicke-carousel__slide {
  flex: 0 0 80%;
  padding: 0 var(--space-sm);
  transition:
    opacity 350ms ease-out,
    transform 350ms ease-out,
    filter 350ms ease-out,
    z-index 0ms;
  opacity: 0.4;
  transform: scale(0.82) translateX(0);
  filter: brightness(0.6);
  z-index: 1;
  position: relative;
}

/* Adjacent slides (prev/next) */
.einblicke-carousel__slide.is-prev,
.einblicke-carousel__slide.is-next {
  opacity: 0.55;
  transform: scale(0.88);
  filter: brightness(0.7);
  z-index: 2;
}

/* Active slide - front and center */
.einblicke-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
  filter: brightness(1);
  z-index: 3;
}

.einblicke-carousel__item {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-normal);
}

.einblicke-carousel__item:hover,
.einblicke-carousel__item:focus {
  box-shadow: var(--shadow-xl);
  outline: none;
}

.einblicke-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.einblicke-carousel__item:hover img {
  transform: scale(1.03);
}

/* Navigation Arrows - Hidden */
.einblicke-carousel__arrow {
  display: none;
}

.einblicke-carousel__arrow:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
  transform: translateY(-50%) scale(1.08);
}

.einblicke-carousel__arrow:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.einblicke-carousel__arrow--prev {
  left: calc(50% - 45%);
}

.einblicke-carousel__arrow--next {
  right: calc(50% - 45%);
}

.einblicke-carousel__arrow svg {
  width: 24px;
  height: 24px;
}

/* Dots Navigation - Hidden */
.einblicke-carousel__dots {
  display: none;
}

.einblicke-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.4);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  padding: 0;
}

.einblicke-carousel__dot:hover {
  border-color: var(--color-accent);
}

.einblicke-carousel__dot.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* Tablet: wider slides, arrows further out */
@media (min-width: 768px) {
  .einblicke-carousel__slide {
    flex: 0 0 60%;
  }

  .einblicke-carousel__arrow--prev {
    left: var(--space-md);
  }

  .einblicke-carousel__arrow--next {
    right: var(--space-md);
  }
}

/* Desktop: center + visible teasers */
@media (min-width: 1024px) {
  .einblicke-carousel__slide {
    flex: 0 0 50%;
    padding: 0 var(--space-md);
  }

  .einblicke-carousel__arrow {
    width: 56px;
    height: 56px;
  }

  .einblicke-carousel__arrow--prev {
    left: var(--space-xl);
  }

  .einblicke-carousel__arrow--next {
    right: var(--space-xl);
  }
}

/* Large Desktop */
@media (min-width: 1280px) {
  .einblicke-carousel__slide {
    flex: 0 0 45%;
  }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .einblicke-carousel__track,
  .einblicke-carousel__slide,
  .einblicke-carousel__arrow {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   VOLLSTÄNDIGE GALERIE SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.gallery {
  background-color: var(--color-background);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.gallery__grid--hidden {
  display: none;
}

.gallery__grid--visible {
  display: grid;
}

.gallery__item {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--color-surface);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.gallery__item:hover,
.gallery__item:focus {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__actions {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Tablet: 3 columns */
@media (min-width: 640px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
}

/* Desktop: 4 columns max */
@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .highlights__item,
  .highlights__item img,
  .gallery__item,
  .gallery__item img {
    transition: none;
  }

  .highlights__item:hover,
  .gallery__item:hover {
    transform: none;
  }

  .highlights__item:hover img,
  .gallery__item:hover img {
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA STICKY BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.cta-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: var(--space-md);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cta-sticky__inner {
  display: flex;
  gap: var(--space-sm);
  max-width: var(--container-max);
  margin: 0 auto;
}

.cta-sticky__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-md);
  color: var(--color-text-light);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  transition: background-color var(--transition-fast);
}

.cta-sticky__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-text-light);
}

.cta-sticky__btn--primary {
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-dark) 100%
  );
  color: var(--color-primary);
}

.cta-sticky__btn--primary:hover {
  color: var(--color-primary);
}

.cta-sticky__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-sticky__icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(8%) sepia(6%) saturate(1024%)
    hue-rotate(182deg) brightness(97%) contrast(92%);
}

.cta-sticky__btn--primary .cta-sticky__icon img {
  filter: brightness(0);
}

@media (min-width: 1024px) {
  .cta-sticky {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER (DSGVO)
   ═══════════════════════════════════════════════════════════════════════════ */

.cookie-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
  pointer-events: auto;
}

.cookie-overlay--visible {
  display: block;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-surface);
  padding: var(--space-xl);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
  pointer-events: auto;
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner__content {
  max-width: 800px;
  margin: 0 auto;
}

.cookie-banner__heading {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.cookie-banner__text {
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.cookie-banner__accept {
  background: linear-gradient(
    135deg,
    var(--color-accent) 0%,
    var(--color-accent-dark) 100%
  );
  color: var(--color-primary);
  border: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: var(--font-medium);
  font-size: var(--text-base);
  cursor: pointer;
  transition:
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
  pointer-events: auto;
  min-height: 48px;
  min-width: 140px;
  touch-action: manipulation;
}

.cookie-banner__accept:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.cookie-banner__accept:active {
  transform: translateY(0);
}

.cookie-banner__accept:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.cookie-banner__link {
  color: var(--color-accent-dark);
  font-size: var(--text-sm);
  pointer-events: auto;
}

/* Body scroll lock when cookie banner is open */
body.cookie-open {
  overflow: hidden;
}

/* Hide CTA sticky bar when cookie banner is open */
body.cookie-open .cta-sticky {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: var(--space-2xl) 0;
  margin-bottom: var(--sticky-bar-height);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.footer__logo img {
  height: var(--logo-h-footer-mobile);
  width: auto;
}

.footer__links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-sm);
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__logo img {
    height: var(--logo-h-footer-desktop);
  }

  .footer {
    margin-bottom: 0;
  }
}

/* Social Media Links */
.footer__social {
  text-align: center;
  margin-top: var(--space-md);
}

.footer__social-title {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-md);
  font-weight: var(--font-regular);
  letter-spacing: var(--tracking-wide);
}

.footer__social-list {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  min-height: 48px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.footer__social-link:hover,
.footer__social-link:focus {
  color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.05);
}

.footer__social-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer__social-link:hover .footer__social-icon,
.footer__social-link:focus .footer__social-icon {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(79%) sepia(38%) saturate(487%)
    hue-rotate(8deg) brightness(93%) contrast(87%);
}

.footer__social-label {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
}

@media (min-width: 768px) {
  .footer__social {
    margin-top: 0;
  }

  .footer__social-list {
    gap: var(--space-md);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════════════════ */

.legal-page {
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  min-height: 100vh;
}

.legal-page__content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page__content h1 {
  margin-bottom: var(--space-xl);
}

.legal-page__content h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  font-size: var(--text-xl);
}

.legal-page__content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
}

.legal-page__content p {
  margin-bottom: var(--space-md);
}

.legal-page__content ul,
.legal-page__content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-page__content li {
  margin-bottom: var(--space-sm);
  color: var(--color-text-secondary);
}

.legal-page__content a {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.legal-page__content hr {
  border: none;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  margin: var(--space-2xl) 0;
}

.legal-page__content strong {
  color: var(--color-text);
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.text-gold {
  color: var(--color-accent);
}
.text-muted {
  color: var(--color-text-muted);
}
.text-light {
  color: var(--color-text-light);
}

.mb-0 {
  margin-bottom: 0;
}
.mb-sm {
  margin-bottom: var(--space-sm);
}
.mb-md {
  margin-bottom: var(--space-md);
}
.mb-lg {
  margin-bottom: var(--space-lg);
}
.mb-xl {
  margin-bottom: var(--space-xl);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
  h1 {
    font-size: var(--text-5xl);
  }
  h2 {
    font-size: var(--text-4xl);
  }
  h3 {
    font-size: var(--text-3xl);
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--text-6xl);
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS (Scroll-triggered, 55+ friendly)
   ═══════════════════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 250ms ease-out,
    transform 250ms ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items (subtle) */
.highlights__grid .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.highlights__grid .reveal:nth-child(2) {
  transition-delay: 50ms;
}
.highlights__grid .reveal:nth-child(3) {
  transition-delay: 100ms;
}
.highlights__grid .reveal:nth-child(4) {
  transition-delay: 150ms;
}
.highlights__grid .reveal:nth-child(5) {
  transition-delay: 200ms;
}
.highlights__grid .reveal:nth-child(6) {
  transition-delay: 250ms;
}

/* Highlights wide item */
.highlights__item--wide {
  grid-column: span 2;
}

@media (max-width: 639px) {
  .highlights__item--wide {
    grid-column: span 1;
  }
}

/* Stagger delays for trust cards */
.trust__grid .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.trust__grid .reveal:nth-child(2) {
  transition-delay: 50ms;
}
.trust__grid .reveal:nth-child(3) {
  transition-delay: 100ms;
}
.trust__grid .reveal:nth-child(4) {
  transition-delay: 150ms;
}

/* Stagger delays for beratung cards */
.beratung__grid .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.beratung__grid .reveal:nth-child(2) {
  transition-delay: 75ms;
}
.beratung__grid .reveal:nth-child(3) {
  transition-delay: 150ms;
}

/* Stagger delays for categories items */
.categories__grid .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.categories__grid .reveal:nth-child(2) {
  transition-delay: 30ms;
}
.categories__grid .reveal:nth-child(3) {
  transition-delay: 60ms;
}
.categories__grid .reveal:nth-child(4) {
  transition-delay: 90ms;
}
.categories__grid .reveal:nth-child(5) {
  transition-delay: 120ms;
}
.categories__grid .reveal:nth-child(6) {
  transition-delay: 150ms;
}
.categories__grid .reveal:nth-child(7) {
  transition-delay: 180ms;
}
.categories__grid .reveal:nth-child(8) {
  transition-delay: 210ms;
}
.categories__grid .reveal:nth-child(n + 9) {
  transition-delay: 240ms;
}

/* Stagger for steps */
.steps .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.steps .reveal:nth-child(2) {
  transition-delay: 100ms;
}
.steps .reveal:nth-child(3) {
  transition-delay: 200ms;
}

/* Stagger for FAQ items */
.faq .reveal:nth-child(n) {
  transition-delay: calc(var(--stagger, 0) * 50ms);
}

/* prefers-reduced-motion: no animation */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
