/* ============================================================
   OSTSEE7 THEME – main.css
   Author: Webagent38.de | service@webagent38.de
   ============================================================ */

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}
address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section-header {
  margin-bottom: 3rem;
}
.section-header--center {
  text-align: center;
}
.section-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-header__text {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  max-width: 640px;
}
.section-header--center .section-header__text {
  margin-inline: auto;
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* ── News-Ticker ───────────────────────────────────────────── */
.news-ticker {
  display: flex;
  align-items: stretch;
  height: 38px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 38px;
  opacity: 1;
  transition:
    max-height 0.35s ease,
    opacity 0.35s ease,
    border-color 0.35s ease;
}

.news-ticker__label {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-ticker__track-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Fade-Masken links und rechts */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 3%,
    black 97%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 3%,
    black 97%,
    transparent 100%
  );
}

.news-ticker__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  flex-shrink: 0;
}

/* Pausieren bei Hover – greift wenn JS die Animation gestartet hat */
.news-ticker:hover .news-ticker__track {
  animation-play-state: paused;
}

/* Geschwindigkeit über inline style animation-duration gesteuert */

.news-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0 1.25rem;
}

.news-ticker__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}
.news-ticker__link:hover {
  color: var(--color-accent);
}

.news-ticker__date {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  font-weight: 400;
}

.news-ticker__title {
  color: rgba(255, 255, 255, 0.9);
}

.news-ticker__sep {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  margin-right: 0.75rem;
  animation: tickerDotPulse 1.8s ease-in-out infinite;
}

@keyframes tickerDotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0);
    opacity: 0.75;
  }
}

@media (max-width: 768px) {
  .news-ticker {
    height: 34px;
    max-height: 34px;
    font-size: 0.75rem;
  }
  .news-ticker__label {
    padding: 0 0.75rem;
    font-size: 0.6875rem;
    letter-spacing: 0.07em;
  }
  .news-ticker__item {
    padding: 0 0.875rem;
    gap: 0.45rem;
  }
  .news-ticker__sep {
    width: 7px;
    height: 7px;
    margin-right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .news-ticker {
    height: 30px;
    max-height: 30px;
    font-size: 0.6875rem;
  }
  .news-ticker__date {
    display: none;
  }
  .news-ticker__label {
    padding: 0 0.5rem;
    font-size: 0.625rem;
    letter-spacing: 0.05em;
  }
  .news-ticker__item {
    padding: 0 0.625rem;
  }
  /* Fade-Masken auf Mobile kürzer */
  .news-ticker__track-wrap {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      black 5%,
      black 95%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      black 5%,
      black 95%,
      transparent 100%
    );
  }
}

/* ── Skip Link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 79, 110, 0.3);
}
.btn--primary:hover {
  background: var(--color-primary-light);
  box-shadow: 0 6px 20px rgba(13, 79, 110, 0.4);
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 164, 0, 0.4);
}
.btn--accent:hover {
  background: var(--color-accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  padding-inline: 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9375rem;
}
.btn--ghost:hover {
  color: var(--color-primary-light);
}
.btn--ghost::after {
  content: " →";
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}
.btn--lg {
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
}
.btn--xl {
  padding: 1.1rem 2.75rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

/* ── Site Header ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  /* keine feste height – Ticker + Nav bestimmen die Höhe */
  background: rgba(7, 46, 65, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  transition: background var(--transition);
}

/* Ticker verstecken beim Scrollen */
.site-header.ticker-hidden .news-ticker {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.site-header.is-transparent {
  background: rgba(180, 180, 180, 0.35);
  box-shadow: none;
}
.site-header.is-scrolled {
  background: rgba(7, 46, 65, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* ── WordPress Admin Bar ────────────────────────────────────── */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.header__logo {
  flex-shrink: 0;
}
.header__logo img {
  height: 52px;
  width: auto;
}
.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

/* Nav */
.nav-menu-hint {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-style: italic;
  margin: 0;
}
.nav-menu-hint a {
  color: var(--color-accent, #e8a400);
  text-decoration: underline;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-menu__item {
}
.nav-menu__link,
.nav-menu a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-menu__link::after,
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}
.nav-menu__link:hover,
.nav-menu a:hover,
.nav-menu .current-menu-item a,
.nav-menu .current_page_item a {
  color: #fff;
}
.nav-menu__link:hover::after,
.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after,
.nav-menu .current_page_item a::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
}
.nav-menu a.is-active {
  color: #fff;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
}
.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Sidebar-Chrome: auf Desktop unsichtbar, nur mobil aktiv */
.sidebar__head,
.sidebar__foot {
  display: none;
}
.sidebar__body {
  display: contents; /* transparent im Desktop-Flex-Layout */
}

/* ── Hero Section ──────────────────────────────────────────── */
.section-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-dark);
  overflow: hidden;
}

.section-hero__bg {
  position: absolute;
  inset: -40px;
  background-image: url("https://ostseesieben.de/wp-content/uploads/ferienwohnung-ostsee-rundblick-boltenhagen-23.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  transition: filter 0.4s ease;
}

.section-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(7, 46, 65, 0.15) 0%,
    rgba(7, 46, 65, 0.05) 50%,
    rgba(7, 46, 65, 0.35) 100%
  );
  pointer-events: none;
}

.section-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: calc(var(--nav-height) + 38px);
  padding-bottom: 5rem;
  animation: heroFadeIn 0.9s ease both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section-hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.section-hero__subline {
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 620px;
  margin-inline: auto;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
}

.section-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: color var(--transition);
}
.hero-scroll:hover {
  color: #fff;
}
.hero-scroll__arrow {
  font-size: 1.5rem;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── USPs ──────────────────────────────────────────────────── */
.section-usps {
  padding-block: 5rem;
  background: var(--color-white);
}

.usps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.usp-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-section-alt);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.usp-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.usp-card__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.usp-card__text {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── Unterkunft ────────────────────────────────────────────── */
.section-unterkunft {
  padding-block: 5rem;
  background: var(--color-bg);
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.fewo-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.fewo-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.fewo-card__image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.fewo-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.fewo-card:hover .fewo-card__image {
  transform: scale(1.05);
}

.fewo-card__badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(7, 46, 65, 0.85);
  backdrop-filter: blur(6px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-star {
  color: var(--color-star);
}
.badge-count {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  font-size: 0.8125rem;
}

.fewo-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fewo-card__title {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.fewo-card__title a {
  color: inherit;
}
.fewo-card__title a:hover {
  color: var(--color-primary-light);
}

.fewo-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.fewo-card__meta-item {
  display: flex;
  gap: 0.25rem;
}
.fewo-card__meta-item dt {
  color: var(--color-text-light);
  white-space: nowrap;
}
.fewo-card__meta-item dt::after {
  content: "";
}
.fewo-card__meta-item dd {
  font-weight: 600;
  color: var(--color-text);
}
.fewo-card__meta-item:not(:last-child)::after {
  content: "·";
  color: var(--color-border);
  padding-left: 0.25rem;
}

.fewo-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.fewo-card__amenity {
  background: var(--color-section-alt);
  color: var(--color-text-light);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
}

.fewo-card__footer {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
}

/* ── Reviews – Trustpilot-Style ────────────────────────────── */
.section-reviews {
  padding-block: 5rem;
  background: var(--color-section-alt);
}

/* ---- Trustpilot Brand Wordmark ---- */
.tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.375rem;
  font-weight: 800;
  color: #191919;
  letter-spacing: -0.02em;
}
.tp-brand__star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: #00b67a;
  color: #fff;
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* ---- Trustpilot Star Blocks ---- */
.tp-stars {
  display: flex;
  gap: 3px;
}
.tp-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00b67a;
  color: #fff;
  line-height: 1;
}
.tp-star--empty {
  background: #dcdce6;
}
.tp-stars--lg .tp-star {
  width: 2.375rem;
  height: 2.375rem;
  font-size: 1.5rem;
}
.tp-stars--sm .tp-star {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.9375rem;
}

/* ---- Reviews Header / TrustScore Panel ---- */
.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
}
.reviews-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1.5rem;
}
.reviews-trustscore {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 3rem;
  box-shadow: var(--shadow-card);
  border: 1px solid #e8e8e8;
}
.reviews-trustscore__score {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.reviews-trustscore__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  font-weight: 600;
}
.reviews-trustscore__number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #191919;
  line-height: 1;
}
.reviews-trustscore__meta {
  font-size: 1rem;
  font-weight: 700;
  color: #191919;
}
.reviews-trustscore__source {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  max-width: 36rem;
  text-align: center;
}

/* ---- Slider ---- */
.reviews-slider {
  position: relative;
}
.reviews-slider__viewport {
  overflow: hidden;
}
.reviews-slider__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* ---- Review Card ---- */
.review-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border-top: 3px solid #00b67a;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.review-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #191919;
  letter-spacing: -0.01em;
}
.review-card__badge .tp-brand__star {
  width: 1rem;
  height: 1rem;
  font-size: 0.625rem;
}
.review-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}
.review-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.65;
  flex: 1;
}
.review-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}
.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-card__author {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.3;
}
.review-card__date {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}
.review-card__verified {
  margin-left: auto;
  color: #00b67a;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}
.slider-btn:hover {
  background: var(--color-primary);
  color: #fff;
}
.slider-btn--prev {
  left: -1.5rem;
}
.slider-btn--next {
  right: -1.5rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  transition:
    background var(--transition),
    transform var(--transition);
  cursor: pointer;
}
.slider-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.3);
}

/* ── Aktivitäten ───────────────────────────────────────────── */
.section-activities {
  padding-block: 5rem;
  background: var(--color-white);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.activity-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  text-align: center;
  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.activity-card:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.activity-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}
.activity-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.activity-card__text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* ── Galerie ───────────────────────────────────────────────── */
.section-gallery {
  padding-block: 5rem;
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
  cursor: zoom-in;
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-item__img {
  transform: scale(1.08);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 46, 65, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.gallery-item:hover .gallery-item__overlay {
  background: rgba(7, 46, 65, 0.35);
}

.gallery-item__zoom {
  color: #fff;
  font-size: 2rem;
  font-weight: 300;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity var(--transition),
    transform var(--transition);
}
.gallery-item:hover .gallery-item__zoom {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}
.lightbox[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox__content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}
.lightbox__caption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  color: #fff;
  font-size: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox__close {
  top: 1.5rem;
  right: 1.5rem;
}
.lightbox__prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ── CTA Banner ────────────────────────────────────────────── */
.section-cta {
  position: relative;
  padding-block: 6rem;
  background:
    linear-gradient(rgba(7, 46, 65, 0.82), rgba(7, 46, 65, 0.82)),
    url("https://ostseesieben.de/wp-content/uploads/ferienwohnung-ostsee-7-hey-boltenhagen-13.jpg")
      center/cover no-repeat fixed;
  text-align: center;
  overflow: hidden;
}

.section-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 79, 110, 0.6),
    rgba(7, 46, 65, 0.6)
  );
  pointer-events: none;
}

.section-cta__content {
  position: relative;
  z-index: 1;
}

.section-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-cta__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
}

/* ── Hotel Partner ─────────────────────────────────────────── */
.section-hotel {
  position: relative;
  background: linear-gradient(180deg, #faf7f2 0%, #f5efe3 55%, #ede4d2 100%);
  overflow: hidden;
}

.hotel__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: radial-gradient(
    ellipse 90% 80% at 50% 0%,
    rgba(255, 253, 249, 0.97) 0%,
    rgba(255, 253, 249, 0.5) 65%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hotel__content {
  position: relative;
  z-index: 1;
  padding-block: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  text-align: center;
}

/* ── Logo-Duo ─────────────────────────────────────────── */
.hotel-logos {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hotel-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hotel-logo__wordmark {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1;
}
.hotel-logo__wordmark strong {
  font-weight: 700;
}
.hotel-logo__wordmark--sm {
  font-size: clamp(1.5rem, 3vw, 2.375rem);
  letter-spacing: 0.15em;
}

.hotel-logo__sub {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-light);
  font-weight: 600;
}

.hotel-logo__wave {
  width: 90px;
  height: 11px;
  color: var(--color-primary-light);
  opacity: 0.5;
}

.hotel-logo__stars {
  color: var(--color-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.hotel-logos__amp {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary-light);
  line-height: 1;
  opacity: 0.65;
}

/* ── Headline-Block ───────────────────────────────────── */
.hotel__text {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}

.hotel__kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-accent);
  padding: 0.45rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(232, 164, 0, 0.35);
  letter-spacing: 0.01em;
}
.hotel__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.15;
  margin: 0;
}

.hotel__tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.0625rem, 2vw, 1.375rem);
  font-style: italic;
  color: var(--color-accent);
  line-height: 1.5;
}

/* ── Foto-Duo + überlappende Karte ──────────────────── */
.hotel__visual {
  position: relative;
  width: 100%;
  max-width: 860px;
  padding-bottom: 90px;
}

.hotel__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-lg);
}

.hotel__photo {
  background-size: cover;
  background-position: center;
}
.hotel__photo--l {
  background-color: #6ea8be;
  background-image: linear-gradient(135deg, #85bdd1 0%, #4d8ea8 100%);
}
.hotel__photo--r {
  background-color: #c8a266;
  background-image: linear-gradient(135deg, #dfc48a 0%, #b07d40 100%);
}

.hotel-info-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(88%, 400px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  box-shadow: 0 8px 36px rgba(13, 79, 110, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
}
.hotel-info-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}
.hotel-info-card__text {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.7;
}
.hotel-info-card__text strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* ── CTA-Button ──────────────────────────────────────── */
.hotel__cta {
  text-align: center;
  margin-top: 0.5rem;
}
.btn--hotel-cta {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 1rem 2.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  box-shadow: 0 6px 24px rgba(7, 46, 65, 0.28);
  transition:
    background var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}
.btn--hotel-cta:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 10px 36px rgba(7, 46, 65, 0.4);
  transform: translateY(-3px);
}

/* ── Blog Vorschau ─────────────────────────────────────────── */
.section-blog {
  padding-block: 5rem;
  background: var(--color-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card__image-link {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__image {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__meta {
  margin-bottom: 0.5rem;
}
.blog-card__date {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.blog-card__title a {
  color: inherit;
}
.blog-card__title a:hover {
  color: var(--color-primary-light);
}

.blog-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* ── Kontakt ───────────────────────────────────────────────── */
.section-contact {
  padding-block: 5rem;
  background: var(--color-section-alt);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
}
.contact-info__link {
  color: var(--color-primary);
}
.contact-info__link:hover {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.contact-info__cta {
  margin-top: 0.5rem;
}

.contact-map__wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Map Consent Placeholder (2-Klick-Lösung DSGVO) */
.map-consent {
  min-height: 400px;
  background: linear-gradient(
    135deg,
    var(--color-primary-dark) 0%,
    var(--color-primary) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.map-consent[hidden] {
  display: none;
}
.map-consent__inner {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}
.map-consent__icon {
  opacity: 0.6;
  color: var(--color-accent);
}
.map-consent__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.map-consent__text {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
}
.map-consent__remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}
.map-consent__remember input {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--color-accent);
}
.map-consent__privacy-link {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.map-consent__privacy-link:hover {
  color: rgba(255, 255, 255, 0.8);
}
.contact-map__iframe {
  display: block;
  width: 100%;
  border: 0;
}
.contact-map__iframe[hidden] {
  display: none;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer-default {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 4rem;
}

.footer-default__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand__tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.footer-brand__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-nav li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  transition: color var(--transition);
}
.footer-nav li a:hover {
  color: var(--color-accent);
}

.footer-widget__title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-address p {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
}
.footer-address__icon {
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
  color: #fff;
  line-height: 1;
}
.footer-address a {
  color: rgba(255, 255, 255, 0.75);
}
.footer-address a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  background: #111b27;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 1.25rem;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom__copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom__copy a {
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom__copy a:hover {
  color: var(--color-accent);
}

.footer-bottom__legal {
  display: flex;
  gap: 1.25rem;
}
.footer-bottom__legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}
.footer-bottom__legal a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Stars ─────────────────────────────────────────────────── */
.star {
  color: var(--color-star);
}
.star--empty {
  color: var(--color-border);
}
.star--half {
  color: var(--color-star);
  opacity: 0.5;
}

/* ── Standard WP Templates ─────────────────────────────────── */
.site-main {
  padding-block: 5rem;
}
.page-content {
  max-width: 760px;
  margin-inline: auto;
}
.page-content h1 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}
.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-block: 2rem 1rem;
}
.page-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-block: 1.5rem 0.75rem;
}
.page-content p {
  margin-bottom: 1rem;
}
.page-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.page-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.page-content a {
  color: var(--color-primary);
  text-decoration: underline;
}
.page-content a:hover {
  color: var(--color-primary-light);
}
.page-content img {
  border-radius: var(--radius-md);
  margin-block: 1.5rem;
}

/* Single Post */
.entry-header {
  margin-bottom: 2.5rem;
}
.entry-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.entry-meta {
  font-size: 0.875rem;
  color: var(--color-text-light);
}
.entry-content {
  max-width: 760px;
}

/* ── Blog-Hero ─────────────────────────────────────────────── */
.page-hero--blog {
  padding-bottom: 4rem;
}
.entry-category-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-black);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}
.entry-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.entry-hero-meta__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.entry-hero-meta__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.entry-hero-meta__sep {
  opacity: 0.4;
}

/* ── Single Post Layout ────────────────────────────────────── */
.single-post-container {
  padding-block: 4rem;
}
.single-post-layout {
  max-width: 780px;
  margin-inline: auto;
}
.single-entry {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.single-entry__hero-img {
  margin: 0;
  line-height: 0;
}
.single-entry__hero-img img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.single-entry .entry-content {
  padding: 2.5rem 2.5rem 2rem;
  max-width: 100%;
}

/* Tags */
.entry-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 2.5rem 2.5rem;
  border-top: 1px solid var(--color-border);
}
.entry-tags__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-right: 0.25rem;
}
.entry-tags__tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-text);
  transition:
    border-color var(--transition),
    color var(--transition);
}
.entry-tags__tag:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Author Box */
.author-box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 2.5rem 2.5rem;
  border-top: 1px solid var(--color-border);
}
.author-box__avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-border);
  flex-shrink: 0;
}
.author-box__name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.author-box__bio {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.6;
}

/* Back Nav */
.single-post-nav {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

/* ── Related Posts ─────────────────────────────────────────── */
.related-posts {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--color-border);
}
.related-posts__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
}
.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}
.related-posts__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.related-posts__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.related-posts__img-link {
  display: block;
  line-height: 0;
}
.related-posts__img-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.related-posts__card-body {
  padding: 1.25rem;
}
.related-posts__date {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}
.related-posts__heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.related-posts__heading a {
  color: var(--color-primary);
  transition: color var(--transition);
}
.related-posts__heading a:hover {
  color: var(--color-accent);
}
.related-posts__excerpt {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.6;
}

/* ── Responsive Single Post ────────────────────────────────── */
@media (max-width: 600px) {
  .single-entry .entry-content,
  .entry-tags,
  .author-box {
    padding-inline: 1.25rem;
  }
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  .related-posts__grid {
    grid-template-columns: 1fr;
  }
}

/* Pagination */
.pagination {
  margin-top: 3rem;
  text-align: center;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--transition);
  margin: 0.25rem;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* 404 */
.error-404 {
  text-align: center;
  padding-block: 8rem;
}
.error-404 .error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
}
.error-404 .error-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-primary);
  margin-block: 1rem;
}

/* ── Page Hero (Unterseiten) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(
    135deg,
    var(--color-primary-dark),
    var(--color-primary)
  );
  color: #fff;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  text-align: center;
}
.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.page-hero__breadcrumb {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}
.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}
.page-hero__breadcrumb a:hover {
  color: var(--color-accent);
}

/* ── Single Fewo ───────────────────────────────────────────── */
.fewo-single {
  padding-block: 4rem;
}
.fewo-single__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.fewo-single__images {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.fewo-single__main-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.fewo-single__details {
  background: var(--color-section-alt);
  padding: 2rem;
  border-radius: var(--radius-lg);
}
.fewo-single__title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-default__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-default__col--brand {
    grid-column: 1 / -1;
  }
  .review-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Mobile Nav – Hamburger einblenden */
  .nav-toggle {
    display: flex;
  }

  /* Safari-Fix: backdrop-filter erzeugt containing block für fixed-Kinder */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 46, 65, 0.98);
  }
  .site-header.is-transparent {
    background: rgba(7, 46, 65, 0.55);
  }

  /* Vollbild-Sidebar */
  .header__nav {
    position: fixed;
    inset: 0;
    width: 100%;
    background: #072e41;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 950;
  }
  .header__nav.is-open {
    transform: translateX(0);
  }

  /* Admin-Bar-Offset: Sidebar darf die Admin-Bar nicht überdecken */
  body.admin-bar .header__nav {
    top: 46px;
  }

  /* ── Sidebar Head ───────────────────────────── */
  .sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    min-height: var(--nav-height);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
  }
  .sidebar__logo a {
    display: block;
    line-height: 0;
  }
  .sidebar__logo img {
    height: 46px;
    width: auto;
  }
  .sidebar__logo .header__logo-text {
    color: #fff;
    font-size: 1.2rem;
  }
  .sidebar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius-sm, 6px);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: background 0.2s ease;
  }
  .sidebar__close:hover {
    background: rgba(255, 255, 255, 0.18);
  }

  /* ── Sidebar Body (scrollbarer Nav-Bereich) ─── */
  .sidebar__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
  }

  /* ── Sidebar Footer ─────────────────────────── */
  .sidebar__foot {
    display: block;
    flex-shrink: 0;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
  }
  .sidebar__copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
  }

  /* ── Menü-Liste ─────────────────────────────── */
  .nav-menu {
    flex-direction: column;
    align-items: stretch; /* Desktop hat align-items:center – hier überschreiben */
    gap: 0;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
  }
  .nav-menu li {
    position: relative;
  }
  .nav-menu li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* Basis-Reset: Desktop-Styles überschreiben */
  .nav-menu__link,
  .nav-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    /* Größe & Leserlichkeit */
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    /* Abstand – Touch-Target ≥ 48 px */
    padding: 0.9rem 1.5rem;
    min-height: 52px;
    /* Farbe & Effekt */
    color: rgba(255, 255, 255, 0.7);
    border-left: 3px solid transparent;
    transition:
      color 0.18s ease,
      background-color 0.18s ease,
      border-left-color 0.18s ease;
  }

  /* Pfeil-Indikator rechts (überschreibt Desktop-Underline-Pseudo) */
  .nav-menu a::after {
    content: "›";
    display: block;
    position: static;
    width: auto;
    height: auto;
    font-size: 1.375rem;
    line-height: 1;
    background: none;
    transform: none;
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    transition:
      color 0.18s ease,
      transform 0.18s ease;
  }

  /* Hover & aktiver Eintrag */
  .nav-menu a:hover,
  .nav-menu .current-menu-item > a,
  .nav-menu .current_page_item > a,
  .nav-menu a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #e8a400;
  }
  .nav-menu a:hover::after,
  .nav-menu .current-menu-item > a::after,
  .nav-menu .current_page_item > a::after,
  .nav-menu a.is-active::after {
    color: #e8a400;
    transform: translateX(4px);
  }

  /* Sections */
  .section-hero__buttons {
    flex-direction: column;
    align-items: center;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .fewo-single__grid {
    grid-template-columns: 1fr;
  }
  .footer-default__grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }
  .slider-btn--prev {
    left: -0.5rem;
  }
  .slider-btn--next {
    right: -0.5rem;
  }
  .review-card {
    flex: 0 0 calc(100% - 0rem);
  }
  .lightbox__prev {
    left: 0.75rem;
  }
  .lightbox__next {
    right: 0.75rem;
  }
  .section-hero {
    background-attachment: scroll;
  }
  .section-cta {
    background-attachment: scroll;
  }
  .hotel__photos {
    height: 220px;
    border-radius: var(--radius-lg);
  }
  .hotel__visual {
    padding-bottom: 0;
  }
  .hotel-info-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: -1.75rem;
  }
  .hotel-logos {
    gap: 1rem;
  }
  .hotel-logos__amp {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .apartments-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .activities-grid {
    grid-template-columns: 1fr;
  }
  .usps-grid {
    grid-template-columns: 1fr;
  }
  .hotel__photos {
    grid-template-columns: 1fr 1fr;
    height: auto;
    aspect-ratio: 16 / 8;
  }
  .hotel__photo--r {
    display: block;
  }
  .hotel__photo--l,
  .hotel__photo--r {
    aspect-ratio: unset;
    min-height: 0;
  }
  .hotel__visual {
    padding-bottom: 0;
  }
  .hotel-info-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: -1.5rem;
    padding: 1.25rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .hotel-logos {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hotel-logos__amp {
    font-size: 1.25rem;
  }
  .hotel-logo__wordmark {
    font-size: clamp(1.25rem, 7vw, 1.625rem);
  }
  .hotel-logo__wordmark--sm {
    font-size: clamp(1.125rem, 6.5vw, 1.5rem);
  }
  .hotel__kicker {
    font-size: 1rem;
    padding: 0.4rem 1.25rem;
  }
  .hotel__content {
    gap: 1.25rem;
    padding-block: 2.5rem;
  }
}

/* ── Animations / Scroll Effects ───────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.6s ease,
      transform 0.6s ease;
  }
  .js-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .js-reveal:nth-child(2) {
    transition-delay: 0.1s;
  }
  .js-reveal:nth-child(3) {
    transition-delay: 0.2s;
  }
  .js-reveal:nth-child(4) {
    transition-delay: 0.3s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ── Social Media Section ───────────────────────────────────── */
.section-social {
  padding-block: 5rem 6rem;
  background: var(--color-section-alt);
}

/* Old background blobs not used */
.section-social__bg {
  display: none;
}

.section-social .section-header__title {
  color: var(--color-primary);
}
.section-social .section-header__text {
  color: var(--color-text-light);
}

/* Cards grid */
.social-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 0.5rem;
}

.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 2rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

/* Platform accent bar on top */
.social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--social-accent, var(--color-primary));
}

.social-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

/* Old glow element not used in new design */
.social-card__glow {
  display: none;
}

/* Facebook */
.social-card--facebook {
  --social-accent: #1877f2;
}
.social-card--facebook .social-card__icon {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
}

/* Instagram */
.social-card--instagram {
  --social-accent: #e1306c;
}
.social-card--instagram .social-card__icon {
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 20%,
    #dc2743 45%,
    #cc2366 75%,
    #bc1888 100%
  );
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: initial;
  color: #fff;
}

/* TikTok */
.social-card--tiktok {
  --social-accent: #111111;
}
.social-card--tiktok .social-card__icon {
  background: rgba(17, 17, 17, 0.07);
  color: #111111;
  filter: none;
}
.social-card--tiktok:hover .social-card__icon {
  filter: none;
}

.social-card__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(13, 79, 110, 0.08);
  transition: transform var(--transition);
}
.social-card:hover .social-card__icon {
  transform: scale(1.08);
}

.social-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}

.social-card__platform {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.social-card__handle {
  font-size: 0.875rem;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

.social-card__cta {
  margin-top: 0.5rem;
  display: inline-block;
  padding: 0.45rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background var(--transition),
    transform var(--transition);
}
.social-card:hover .social-card__cta {
  background: var(--color-accent-hover);
  transform: scale(1.04);
}

/* Responsive */
@media (max-width: 768px) {
  .social-cards {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* ── Print ─────────────────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .hero-scroll,
  .slider-btn,
  .section-cta {
    display: none;
  }
  body {
    font-size: 11pt;
  }
  .section-hero {
    min-height: auto;
    background: none;
    color: #000;
    padding-top: 0;
  }
  .section-hero__headline,
  .section-hero__subline {
    color: #000;
    text-shadow: none;
  }
}

/* ============================================================
   ÜBER UNS
   ============================================================ */
.section-ueber-uns {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--color-section-alt);
  overflow: hidden;
}

.ueber-uns__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* ── Bild-Seite ─────────────────────────────────────────── */
.ueber-uns__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.ueber-uns__img {
  width: 100%;
  height: clamp(360px, 50vw, 540px);
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  display: block;
}

.ueber-uns__img-placeholder {
  width: 100%;
  height: clamp(360px, 50vw, 540px);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.ueber-uns__placeholder-icon {
  font-size: clamp(4rem, 8vw, 7rem);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* Floating Badge */
.ueber-uns__badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.ueber-uns__badge-icon {
  font-size: 1rem;
}

/* ── Text-Seite ─────────────────────────────────────────── */
.section-ueber-uns .section-header {
  margin-bottom: 1.5rem;
}

.section-header__kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.ueber-uns__text-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--color-text-light);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Stats-Leiste */
.ueber-uns__stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.ueber-uns__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ueber-uns__stat-val {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.ueber-uns__stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Trennlinie zwischen Stats */
.ueber-uns__stat + .ueber-uns__stat {
  padding-left: 1.25rem;
  border-left: 2px solid var(--color-border);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .ueber-uns__inner {
    grid-template-columns: 1fr;
  }

  .ueber-uns__media {
    order: -1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .ueber-uns__badge {
    bottom: -1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .ueber-uns__stats {
    gap: 0.75rem;
  }

  .ueber-uns__stat + .ueber-uns__stat {
    padding-left: 0.75rem;
  }
}

/* ============================================================
   COOKIE BANNER & CONSENT (DSGVO)
   ============================================================ */

/* ── Banner: Bottom-Bar ─────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9900;
  pointer-events: none;
}
.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
  pointer-events: all;
  border-top: 3px solid var(--color-accent);
  z-index: 9901;
}

.cookie-banner__bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.cookie-banner__text {
  flex: 1 1 320px;
}

.cookie-banner__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #fff;
}

.cookie-banner__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner__link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__link:hover {
  color: #fff;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: center;
  flex-shrink: 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.375rem;
  border-radius: var(--radius-full, 999px);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background var(--transition, 0.2s ease),
    color var(--transition, 0.2s ease),
    transform var(--transition, 0.2s ease),
    box-shadow var(--transition, 0.2s ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.cookie-btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.cookie-btn--primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}
.cookie-btn--primary:hover {
  background: var(--color-accent-hover, #c8900a);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 164, 0, 0.35);
}

.cookie-btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.cookie-btn--secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cookie-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: none;
  text-decoration: underline;
  text-underline-offset: 2px;
  letter-spacing: 0.03em;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.cookie-btn--ghost:hover {
  color: #fff;
}

/* ── Settings Panel: Backdrop ───────────────────────────────── */
.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 9950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: all;
}
.cookie-settings[hidden] {
  display: none;
}

.cookie-settings__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 46, 65, 0.72);
  backdrop-filter: blur(3px);
  cursor: pointer;
}

/* ── Settings Panel: Modal ──────────────────────────────────── */
.cookie-settings__modal {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-light) transparent;
}

.cookie-settings__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-light, #666);
  transition:
    background var(--transition, 0.2s ease),
    color var(--transition, 0.2s ease);
}
.cookie-settings__close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--color-primary-dark);
}

.cookie-settings__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  padding-right: 2.5rem;
}

.cookie-settings__intro {
  font-size: 0.875rem;
  color: var(--color-text-light, #555);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ── Cookie Categories ──────────────────────────────────────── */
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.cookie-category {
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-category__info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.cookie-category__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.cookie-category__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(13, 79, 110, 0.12);
  color: var(--color-primary);
}

.cookie-category__desc {
  font-size: 0.8125rem;
  color: var(--color-text-light, #555);
  line-height: 1.6;
}

/* ── Toggle Switch ──────────────────────────────────────────── */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle__slider {
  display: block;
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 999px;
  transition: background 0.2s ease;
  position: relative;
}
.cookie-toggle__slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--color-primary);
}
.cookie-toggle input:checked + .cookie-toggle__slider::after {
  transform: translateX(20px);
}
.cookie-toggle:focus-within .cookie-toggle__slider {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
.cookie-toggle--disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-toggle--disabled .cookie-toggle__slider {
  background: var(--color-primary-light, #1a7a9a);
}
.cookie-toggle--disabled input:checked + .cookie-toggle__slider {
  background: var(--color-primary-light, #1a7a9a);
}

/* ── Details / Cookie-Tabelle ───────────────────────────────── */
.cookie-category__details {
  margin-top: 0.625rem;
}
.cookie-category__details summary {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.cookie-category__details summary::before {
  content: "▶";
  font-size: 0.65rem;
  transition: transform 0.15s ease;
}
.cookie-category__details[open] summary::before {
  transform: rotate(90deg);
}
.cookie-category__details summary::-webkit-details-marker {
  display: none;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.775rem;
}
.cookie-table th,
.cookie-table td {
  text-align: left;
  padding: 0.4rem 0.625rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.cookie-table th {
  font-weight: 700;
  color: var(--color-primary-dark);
  background: rgba(13, 79, 110, 0.05);
}
.cookie-table td {
  color: var(--color-text-light, #555);
}

/* ── Settings Footer ────────────────────────────────────────── */
.cookie-settings__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 0.5rem;
}
.cookie-settings__footer .cookie-btn--secondary {
  color: var(--color-primary-dark);
  border-color: rgba(13, 79, 110, 0.4);
}
.cookie-settings__footer .cookie-btn--secondary:hover {
  border-color: var(--color-primary);
  background: rgba(13, 79, 110, 0.06);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .cookie-banner__bar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-btn {
    justify-content: center;
  }
  .cookie-settings__modal {
    padding: 1.25rem;
    border-radius: 12px 12px 0 0;
    max-height: 92vh;
    margin-top: auto;
  }
  .cookie-settings {
    align-items: flex-end;
    padding: 0;
  }
  .cookie-settings__footer {
    flex-direction: column;
  }
  .cookie-settings__footer .cookie-btn {
    width: 100%;
  }
}

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .cookie-toggle__slider,
  .cookie-toggle__slider::after,
  .cookie-btn {
    transition: none;
  }
}

/* ── Back to Top ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(13, 79, 110, 0.35);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-primary-light);
  box-shadow: 0 6px 20px rgba(13, 79, 110, 0.45);
}

.back-to-top:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.1s;
  }
}
