:root {
  --bg: #f8fafb;
  --white: #ffffff;
  --primary: #0f2a44;
  --accent: #2e6f95;
  --accent-soft: #e9f1f5;
  --text: #18202a;
  --muted: #667085;
  --line: #e5e7eb;
  --shadow: 0 14px 35px rgba(15, 42, 68, 0.08);
  --shadow-hover: 0 18px 45px rgba(15, 42, 68, 0.12);
  --container: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: linear-gradient(180deg, #f7fafc 0%, #eef4f7 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

.site-main { padding: 38px 0 80px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,231,235,0.9);
}

.site-header__inner,
.site-footer__inner,
.container,
.hero,
.breadcrumbs,
.detail {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 88px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  box-shadow: var(--shadow);
}

.logo__text { font-size: 17px; }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.main-nav a {
  color: #607086;
  font-weight: 600;
  font-size: 15px;
}

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

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a { color: var(--muted); }

.hero {
  background:
    radial-gradient(circle at top right, rgba(46,111,149,0.15), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eef5f8 100%);
  border: 1px solid rgba(229,231,235,0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 56px;
  margin-bottom: 28px;
}

.hero__kicker {
  display: inline-flex;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eef5fb;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  align-items: center;
}

.hero h1,
h1 {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero p {
  max-width: 760px;
  font-size: 19px;
  color: var(--muted);
  margin: 0;
}

.container {
  display: grid;
  gap: 28px;
}

.section,
.box,
.detail__content,
.detail__sidebar,
.detail__media {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(229,231,235,0.95);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.section,
.box,
.detail__content,
.detail__sidebar {
  padding: 28px;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.section__head h2,
.box h2,
.detail__content h2 {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 28px;
  line-height: 1.15;
}

.section__head p,
.box p,
.notice,
.detail__subtitle,
.detail__content p {
  margin: 0;
  color: var(--muted);
}

.filter-bar {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr auto;
  gap: 14px;
}

.filter-bar select,
.filter-bar input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(229,231,235,0.95);
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}

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

.card__image-link {
  display: block;
  background: linear-gradient(135deg, #dbe8ef 0%, #eff5f8 100%);
}

.card__image {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.card__image--empty {
  width: 100%;
  height: 230px;
  background: linear-gradient(135deg, #dbe8ef 0%, #eff5f8 100%);
}

.card__body { padding: 20px; }

.card__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
}

.card__title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.card__title a { color: var(--primary); }

.card__meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
}

.card__footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
}

.card__price strong {
  font-size: 28px;
  line-height: 1;
  color: var(--primary);
}

.card__actions {
  display: flex;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.button:hover {
  background: #163a5e;
  border-color: #163a5e;
  color: #fff;
}

.button--ghost {
  background: #fff;
  color: var(--primary);
  border-color: var(--line);
}

.button--ghost:hover {
  background: #f8fbfd;
  color: var(--primary);
}

.notice {
  padding: 18px 20px;
  border-radius: 14px;
  background: #f8fbfd;
  border: 1px dashed #c9d7e2;
}

.detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr 360px;
  gap: 24px;
}

.detail__media {
  overflow: hidden;
  min-height: 420px;
}

.detail__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.detail__content h1 {
  font-size: 44px;
  margin: 0 0 14px;
}

.detail__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin: 22px 0;
}

.fact {
  padding: 14px 16px;
  background: linear-gradient(135deg, #f8fbfd 0%, #eef5f8 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.price-box {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8fbfd 0%, #eef5f8 100%);
  border: 1px solid var(--line);
}

.price-box__label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.price-box__price {
  color: var(--primary);
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 12px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(229,231,235,0.95);
  background: rgba(255,255,255,0.85);
}

.site-footer__inner {
  padding: 28px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer__small { margin-top: 4px; }

@media (max-width: 1100px) {
  .detail { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .hero { padding: 34px 24px; }
  .filter-bar { grid-template-columns: 1fr; }
  .main-nav { gap: 14px; }
  .card__footer { flex-direction: column; align-items: start; }
  .card__actions { width: 100%; }
  .card__actions .button { flex: 1; }
  .detail__facts { grid-template-columns: 1fr; }
}
/* Startseite Premium Grid + Featured Angebote */
.hero--home {
  margin-top: 8px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.section--soft {
  background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(241,245,248,0.96) 100%);
}

.premium-places {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.premium-place {
  display: block;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(229,231,235,0.95);
  box-shadow: var(--shadow);
  transition: .2s ease;
}

.premium-place:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.premium-place__name {
  display: block;
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.premium-place__count {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.grid--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section--editorial {
  background:
    radial-gradient(circle at top left, rgba(46,111,149,0.10), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(241,245,248,0.96) 100%);
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.editorial-box {
  display: block;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(229,231,235,0.95);
  box-shadow: var(--shadow);
  transition: .2s ease;
}

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

.editorial-box__kicker {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef5fb;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.editorial-box h3 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.editorial-box p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .grid--featured,
  .editorial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .grid--featured,
  .editorial-grid {
    grid-template-columns: 1fr;
  }
}
.top-orte {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.top-orte a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  font-weight: 600;
  transition: .18s ease;
}

.top-orte a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
}

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

/* LOGO */
.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.logo-sub {
  font-size: 12px;
  color: #64748b;
  letter-spacing: 1px;
}

/* NAV */
.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  position: relative;
}

.nav a:hover {
  color: #0ea5e9;
}

/* CTA */


.btn-primary:hover {
  background: #0284c7;
}
.hero-claim {
  font-size: 18px;
  color: #64748b;
  max-width: 600px;
  margin-top: 10px;
}

.btn-primary {
  padding: 12px 22px;
  background: #0ea5e9;
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(14,165,233,0.25);
}


.section {
  position: relative;
}

.section::before {
  content: "";
  display: block;
  height: 40px;
  background: linear-gradient(to right, #0ea5e9, transparent);
  opacity: 0.08;
  border-radius: 50%;
}

.trust-box {
  background: #f8fafc;
  padding: 30px;
  border-radius: 16px;
  margin: 40px 0;
}

/* Detailseite Luxus */
.detail-luxury-hero {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 28px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 540px;
  box-shadow: var(--shadow-hover);
  background: #dbe8ef;
}

.detail-luxury-hero__media img,
.detail-luxury-hero__placeholder {
  width: 100%;
  min-height: 540px;
  height: 540px;
  object-fit: cover;
  display: block;
}

.detail-luxury-hero__placeholder {
  background: linear-gradient(135deg, #dbe8ef 0%, #eef5f8 100%);
}

.detail-luxury-hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 42px;
  background: linear-gradient(180deg, rgba(15,42,68,0.08) 0%, rgba(15,42,68,0.78) 100%);
}

.detail-luxury-hero__kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.24);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.detail-luxury-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.detail-luxury-hero p {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,0.88);
  font-size: 18px;
}

.detail-luxury-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.detail-luxury-grid {
  padding: 24px;
  display: grid;
  grid-template-columns: 1.5fr 380px;
  gap: 24px;
}

.detail-luxury-grid .section__head {
  display: none;
}

.detail-luxury-main,
.detail-luxury-sidebar {
  display: grid;
  gap: 24px;
}

.detail-luxury-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fact-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbfd 0%, #eef5f8 100%);
  border: 1px solid var(--line);
}

.fact-card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.fact-card strong {
  color: var(--primary);
  font-size: 20px;
  line-height: 1.2;
}

.luxury-price-box {
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #eef5f8 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.luxury-price-box__label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.luxury-price-box__price {
  color: var(--primary);
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.luxury-price-box__unit {
  color: var(--muted);
  margin: 0 0 18px;
}

@media (max-width: 1100px) {
  .detail-luxury-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .detail-luxury-hero,
  .detail-luxury-hero__media img,
  .detail-luxury-hero__placeholder {
    min-height: 420px;
    height: 420px;
  }

  .detail-luxury-hero__overlay {
    padding: 24px;
  }

  .detail-luxury-facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .detail-luxury-facts {
    grid-template-columns: 1fr;
  }
}
/* Detailseite neu komponiert */
.detail-composer-hero {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto 30px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #dbe8ef;
  box-shadow: var(--shadow-hover);
}

.detail-composer-hero__image img,
.detail-composer-hero__placeholder {
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
}

.detail-composer-hero__placeholder {
  background: linear-gradient(135deg, #dbe8ef 0%, #eef5f8 100%);
}

.detail-composer-hero__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.4fr 360px;
  gap: 24px;
  align-items: end;
  padding: 38px;
  background: linear-gradient(180deg, rgba(15,42,68,0.10) 0%, rgba(15,42,68,0.82) 100%);
}

.detail-composer-hero__content {
  max-width: 820px;
}

.detail-composer-hero__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.26);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.detail-composer-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.detail-composer-hero__lead {
  margin: 0;
  color: rgba(255,255,255,0.90);
  font-size: 18px;
  max-width: 720px;
}

.detail-composer-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.detail-composer-hero__booking {
  display: flex;
  justify-content: end;
}

.detail-booking-card {
  width: 100%;
  max-width: 340px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 20px 50px rgba(15,42,68,0.16);
}

.detail-booking-card__label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.detail-booking-card__price {
  color: var(--primary);
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.detail-booking-card__unit {
  margin: 0 0 18px;
  color: var(--muted);
}

.detail-booking-card__button {
  width: 100%;
}

.detail-composer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-composer-main,
.detail-composer-sidebar {
  display: grid;
  gap: 24px;
}

.detail-side-block {
  position: sticky;
  top: 110px;
}

.detail-side-block + .detail-side-block {
  margin-top: -4px;
}

.detail-block h2,
.detail-side-block h2 {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .detail-composer-hero__overlay,
  .detail-composer-layout {
    grid-template-columns: 1fr;
  }

  .detail-composer-hero__booking {
    justify-content: start;
  }

  .detail-side-block {
    position: static;
  }
}

@media (max-width: 780px) {
  .detail-composer-hero__image img,
  .detail-composer-hero__placeholder {
    height: 500px;
  }

  .detail-composer-hero__overlay {
    padding: 24px;
  }
}