/* RigiSleep – Color palette taken from the print flyer */
:root {
  --navy: #173a6b;
  --navy-deep: #102a4f;
  --gold: #c8941f;
  --gold-light: #e6b834;
  --red: #d3231f;
  --red-deep: #a71d18;
  --cream: #f6f1e6;
  --ink: #1c1c1c;
  --muted: #5a5a5a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
h1, h2 { margin: 0; }

/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 4 / 3;
  max-height: 720px;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px clamp(20px, 5vw, 60px);
  z-index: 2;
}
.hero__top {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  width: clamp(110px, 14vw, 180px);
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25));
}
.hero__top-text {
  text-align: right;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.kicker {
  margin: 0;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 20px);
  color: #fff;
}
.phone {
  margin: 4px 0 0;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 30px);
  color: var(--red);
  text-shadow: 0 2px 10px rgba(255,255,255,0.6);
}
.phone a { color: var(--red); }

/* ======================================================
   HEADLINE
   ====================================================== */
.headline {
  padding: 48px clamp(20px, 6vw, 80px) 24px;
  background: #fff;
}
.headline h1 {
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ======================================================
   OFFER BANNER (red dashed)
   ====================================================== */
.offer-wrap {
  padding: 8px clamp(20px, 6vw, 80px) 8px;
  position: relative;
}
.offer {
  display: flex;
  align-items: center;
  gap: 32px;
  border: 2px dashed var(--red);
  padding: 18px 28px;
  border-radius: 6px;
  background: #fff;
  position: relative;
}
.offer__text { flex: 1; }
.offer__title {
  margin: 0;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--red);
}
.offer__price {
  margin-left: 12px;
  font-size: clamp(26px, 3.6vw, 44px);
  letter-spacing: -0.02em;
}
.offer__price sup { font-size: 0.5em; vertical-align: super; }
.offer__sub {
  margin: 6px 0 0;
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--ink);
}
.offer__sub s { color: var(--muted); }

/* circular 100 Nächte badge */
.badge {
  flex: 0 0 auto;
  width: clamp(120px, 14vw, 180px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, var(--red) 0 60%, var(--gold) 60% 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 800;
  text-transform: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  padding: 8px;
}
.badge__num {
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
}
.badge__lbl {
  font-size: clamp(16px, 2vw, 24px);
  line-height: 1.1;
  margin-top: 2px;
}
.badge__sub {
  margin-top: 6px;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 999px;
}
.badge--small {
  width: clamp(110px, 12vw, 160px);
}

.footnote {
  margin: 10px 4px 0;
  font-size: 12px;
  color: var(--muted);
}

/* ======================================================
   FEATURES (mattress + pills)
   ====================================================== */
.features {
  position: relative;
  padding: 32px clamp(20px, 6vw, 80px) 32px;
  background: #fff;
}
.features__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: center;
  margin-bottom: 12px;
}
.pill {
  background: var(--navy);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.pill strong { font-size: clamp(14px, 1.4vw, 18px); }
.pill em {
  font-style: normal;
  font-weight: 600;
  font-size: clamp(11px, 1.1vw, 13px);
  margin-top: 2px;
  opacity: 0.95;
}
.features__img {
  margin: 0 auto;
  width: 100%;
  max-width: 760px;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.18));
}

/* ======================================================
   CTA
   ====================================================== */
.cta {
  text-align: center;
  padding: 12px clamp(20px, 6vw, 80px) 36px;
}
.cta h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--navy);
  font-weight: 800;
}
.cta p {
  margin: 8px 0 18px;
  font-size: 16px;
  color: var(--ink);
}
.cta a { font-weight: 700; color: var(--red); }
.cta__button {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(211,35,31,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(211,35,31,0.4);
  text-decoration: none;
}

/* ======================================================
   BENEFITS BAND (yellow/gold)
   ====================================================== */
.benefits {
  background: var(--gold);
  color: var(--navy-deep);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px clamp(20px, 6vw, 80px);
}
.benefit {
  display: flex;
  align-items: center;
  gap: 16px;
}
.benefit__icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  color: var(--navy-deep);
}
.benefit__icon--oeko { color: #fff; }
.benefit p {
  margin: 0;
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 16px);
  line-height: 1.25;
}

/* ======================================================
   STEPS
   ====================================================== */
.steps {
  position: relative;
  padding: 56px clamp(20px, 6vw, 80px) 32px;
  background: #fff;
  overflow: hidden;
}
.steps h2 {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 36px;
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step__circle {
  width: clamp(140px, 14vw, 180px);
  aspect-ratio: 1 / 1;
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(2px);
  color: var(--gold);
}
.step__num {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1;
}
.step__title {
  margin-top: 6px;
  font-weight: 800;
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1.1;
}
.step__detail {
  margin-top: 10px;
  font-weight: 700;
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--ink);
}
.steps__img {
  margin: 32px auto 0;
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  height: clamp(180px, 28vw, 320px);
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

/* ======================================================
   DISCOUNT (sleeping woman + 10% line)
   ====================================================== */
.discount {
  position: relative;
  width: 100%;
  height: clamp(280px, 38vw, 480px);
  overflow: hidden;
  background: #0d1d3a;
}
.discount__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  opacity: 0.95;
}
.discount__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  padding: 0 clamp(20px, 6vw, 80px);
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.discount__content h2 {
  font-size: clamp(22px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  text-align: right;
  max-width: 60%;
}
.discount .hl { color: var(--gold-light); }

/* ======================================================
   CONTACT FOOTER
   ====================================================== */
.contact {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 28px clamp(20px, 6vw, 80px);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.contact__lead {
  margin: 0;
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
}
.contact__details {
  margin: 6px 0 0;
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 17px);
}
.contact__photo {
  width: clamp(120px, 16vw, 200px);
  height: auto;
}
.contact__seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  font-size: 11px;
  text-align: center;
}
.contact__seal svg { width: 56px; height: 56px; }
.contact__seal p { margin: 0; }
.contact__copy {
  margin: 22px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--navy-deep);
  opacity: 0.8;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 760px) {
  .hero { aspect-ratio: 3 / 4; }
  .hero__photo { object-position: center 25%; }
  .hero__top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__top-text { text-align: left; }

  .offer { flex-direction: column; gap: 16px; text-align: center; }
  .offer__title { text-align: center; }
  .offer__price { display: block; margin: 6px 0 0; }

  .benefits { grid-template-columns: 1fr; gap: 16px; }
  .benefit { flex-direction: row; }

  .steps__grid { grid-template-columns: 1fr; gap: 18px; }
  .step__circle { width: 160px; }

  .discount { height: auto; min-height: 360px; }
  .discount__bg { opacity: 0.55; }
  .discount__content { justify-content: center; flex-direction: column; padding: 32px 24px; }
  .discount__content h2 { text-align: center; max-width: 100%; }

  .contact__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .contact__photo { order: -1; }
}
