:root {
  --bg: #f7f1e8;
  --surface: #fffaf3;
  --surface-2: #efe3d2;
  --text: #15110d;
  --muted: #74695c;
  --line: rgba(21, 17, 13, 0.12);
  --dark: #15110d;
  --gold: #b89155;
  --gold-light: #ead4a6;
  --cream: #fff7eb;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(25, 17, 10, 0.13);
  --soft-shadow: 0 14px 44px rgba(25, 17, 10, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 5%, rgba(184, 145, 85, 0.20), transparent 32rem),
    radial-gradient(circle at 5% 20%, rgba(255, 255, 255, 0.7), transparent 34rem),
    var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(21, 17, 13, 0.08);
  background: rgba(247, 241, 232, 0.78);
  backdrop-filter: blur(20px);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--dark);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(21, 17, 13, 0.16);
}

.brand-icon img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.28rem;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 0.58rem;
}

.brand.small .brand-icon {
  width: 38px;
  height: 38px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(21, 17, 13, 0.68);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-button {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--cream) !important;
  background: var(--dark);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.5);
  border-radius: 16px;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--dark);
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  padding: 86px 0 74px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(21, 17, 13, 0.035) 0 1px, transparent 1px 100%),
    linear-gradient(60deg, rgba(21, 17, 13, 0.03) 0 1px, transparent 1px 100%);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 58px;
  align-items: center;
}

.rating-pill {
  width: fit-content;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  padding: 9px 13px;
  border: 1px solid rgba(184, 145, 85, 0.32);
  background: rgba(255, 250, 243, 0.72);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  font-weight: 800;
  font-size: 0.88rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.kicker {
  margin: 0 0 12px;
  color: #8d6a37;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
  font-size: 0.76rem;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 760px;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6.7vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.25rem, 4.5vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.16rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: 0.22s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--cream);
  background: var(--dark);
  box-shadow: 0 18px 45px rgba(21, 17, 13, 0.22);
}

.button.gold {
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 45px rgba(184, 145, 85, 0.26);
}

.button.ghost,
.button.card-button,
.button.dark-outline {
  background: rgba(255, 250, 243, 0.72);
  border-color: var(--line);
  color: var(--text);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.hero-facts div {
  padding: 16px;
  background: rgba(255, 250, 243, 0.66);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.hero-facts strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.05em;
}

.hero-facts span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-photo-card {
  position: relative;
  min-height: 670px;
  padding: 14px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(145deg, rgba(184,145,85,0.75), rgba(255,255,255,0.4), rgba(21,17,13,0.2)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-photo-card img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  border-radius: 24px;
}

.image-placeholder {
  display: none;
}

.hero-photo-card.missing-image {
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(255,250,243,0.9), rgba(239,227,210,0.9)),
    repeating-linear-gradient(45deg, rgba(21,17,13,0.05) 0 14px, transparent 14px 28px);
}

.hero-photo-card.missing-image .image-placeholder {
  display: grid;
  gap: 6px;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-weight: 900;
}

.hero-photo-card.missing-image .image-placeholder small {
  font-weight: 700;
}

.floating-card {
  position: absolute;
  right: -16px;
  bottom: 52px;
  width: min(290px, 72%);
  padding: 20px;
  border-radius: 24px;
  color: var(--cream);
  background: rgba(21,17,13,0.92);
  box-shadow: 0 22px 55px rgba(21, 17, 13, 0.22);
  backdrop-filter: blur(12px);
}

.floating-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.9rem;
}

.floating-card strong {
  font-size: 1.4rem;
  letter-spacing: -0.045em;
}

.section {
  padding: 92px 0;
}

.intro-section {
  padding-top: 74px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 70px;
  align-items: end;
}

.split > p,
.section-head > p,
.faq-grid > div > p {
  color: var(--muted);
  font-size: 1.06rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.72);
  box-shadow: var(--soft-shadow);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--gold);
  font-weight: 900;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-section {
  background:
    radial-gradient(circle at 78% 12%, rgba(184, 145, 85, 0.2), transparent 30rem),
    var(--dark);
  color: var(--cream);
}

.centered {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pricing-section .section-head p {
  color: rgba(255, 247, 235, 0.72);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 46px;
}

.price-card {
  position: relative;
  min-height: 610px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 247, 235, 0.14);
  background: rgba(255, 247, 235, 0.07);
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
}

.price-card.simple {
  color: var(--cream);
}

.price-card.muted-card {
  opacity: 0.84;
}

.price-card.highlight {
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--gold);
  transform: translateY(-18px);
  box-shadow: 0 26px 75px rgba(184, 145, 85, 0.22);
}

.price-card.premium {
  color: var(--cream);
  background:
    linear-gradient(160deg, rgba(184,145,85,0.28), rgba(255,255,255,0.05)),
    #211912;
  border: 1px solid rgba(234, 212, 166, 0.36);
  transform: translateY(-10px);
}

.price-top p {
  min-height: 78px;
  color: rgba(255, 247, 235, 0.68);
}

.highlight .price-top p {
  color: var(--muted);
}

.price {
  margin: 12px 0 22px;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.price-card ul {
  display: grid;
  gap: 13px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  flex: 1;
}

.price-card li {
  color: rgba(255, 247, 235, 0.74);
  display: flex;
  gap: 10px;
}

.highlight li {
  color: var(--muted);
}

.price-card li::before {
  content: "✓";
  color: var(--gold-light);
  font-weight: 900;
}

.highlight li::before {
  color: var(--gold);
}

.badge {
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 13px;
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: 999px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 900;
}

.badge.light {
  color: var(--dark);
  background: var(--cream);
}

.travel-note {
  margin: 24px auto 0;
  max-width: 900px;
  color: rgba(255, 247, 235, 0.72);
  text-align: center;
}

.designs-section {
  background: var(--surface);
}

.design-gallery {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 0.95fr;
  grid-template-rows: 260px 260px;
  gap: 18px;
}

.design-gallery figure {
  position: relative;
  margin: 0;
  min-height: 240px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.design-gallery figure:first-child {
  grid-row: span 2;
}

.design-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.design-gallery figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--cream);
  background: rgba(21, 17, 13, 0.84);
  backdrop-filter: blur(10px);
  font-weight: 900;
}

.missing-design::before {
  content: "Design-Bild einsetzen";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

.reviews-section {
  background:
    linear-gradient(180deg, rgba(239,227,210,0.6), rgba(247,241,232,1));
}

.reviews-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.review-card {
  padding: 24px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.review-card p {
  color: var(--muted);
}

.review-card strong {
  display: block;
  margin-top: 18px;
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.process article {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.process span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 900;
}

.process p {
  color: var(--muted);
}

.faq-section {
  background: var(--surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(25,17,10,0.05);
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-section {
  padding: 92px 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(234, 212, 166, 0.26), transparent 28rem),
    var(--dark);
}

.contact-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 34px;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(255, 247, 235, 0.09), rgba(255, 247, 235, 0.03));
  border: 1px solid rgba(255, 247, 235, 0.16);
  box-shadow: 0 28px 90px rgba(0,0,0,0.22);
}

.contact-box p {
  color: rgba(255, 247, 235, 0.72);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-info {
  margin: 8px 0 0;
  font-size: 0.94rem;
}

.footer {
  padding: 28px 0;
  color: rgba(255, 247, 235, 0.70);
  background: #0f0c09;
}

.footer-inner,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-links a:hover {
  color: var(--cream);
}

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .faq-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .reviews-grid,
  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card.highlight,
  .price-card.premium {
    transform: none;
  }

  .design-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .design-gallery figure:first-child {
    grid-row: span 1;
  }
}

@media (max-width: 780px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 250, 243, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 6px;
  }

  .nav-button {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 66px;
  }

  .hero-photo-card {
    min-height: 420px;
  }

  .hero-photo-card img {
    height: 410px;
  }

  .hero-facts,
  .feature-grid,
  .reviews-grid,
  .process,
  .pricing-grid,
  .design-gallery {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .footer-inner,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .floating-card {
    left: 18px;
    right: 18px;
    width: auto;
    bottom: 28px;
  }

  .section {
    padding: 68px 0;
  }
}


/* Legal pages */
.legal-main {
  padding: 72px 0 96px;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.legal-card h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  margin-bottom: 22px;
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card a {
  color: var(--text);
  font-weight: 800;
}

.legal-note {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(184, 145, 85, 0.12);
  border: 1px solid rgba(184, 145, 85, 0.24);
  color: var(--text) !important;
  font-weight: 700;
}


/* Layout register / slider */
.layout-showcase {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.layout-preview {
  position: relative;
  min-height: 680px;
  padding: 18px;
  border-radius: 34px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(145deg, rgba(184,145,85,0.65), rgba(255,255,255,0.45), rgba(21,17,13,0.18)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.layout-frame {
  height: 100%;
  min-height: 640px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(184,145,85,0.12), transparent 24rem),
    #fffaf3;
  overflow: hidden;
}

.layout-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.layout-frame img.is-changing {
  opacity: 0;
  transform: scale(0.985);
}

.layout-caption {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 18px 20px;
  border-radius: 22px;
  color: var(--cream);
  background: rgba(21, 17, 13, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(21, 17, 13, 0.2);
}

.layout-caption span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.layout-caption p {
  margin: 0;
  color: rgba(255, 247, 235, 0.76);
}

.layout-tabs {
  display: grid;
  gap: 14px;
}

.layout-tab {
  width: 100%;
  min-height: 128px;
  display: grid;
  grid-template-columns: 54px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-content: center;
  text-align: left;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,250,243,0.74);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  transition: 0.22s ease;
}

.layout-tab:hover {
  transform: translateY(-2px);
}

.layout-tab.active {
  color: var(--cream);
  background: var(--dark);
  border-color: rgba(234, 212, 166, 0.36);
  box-shadow: 0 22px 58px rgba(21, 17, 13, 0.18);
}

.layout-tab span {
  grid-row: span 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  font-weight: 900;
}

.layout-tab strong {
  align-self: end;
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}

.layout-tab small {
  color: var(--muted);
  font-weight: 800;
}

.layout-tab.active small {
  color: rgba(255, 247, 235, 0.66);
}

@media (max-width: 1080px) {
  .layout-showcase {
    grid-template-columns: 1fr;
  }

  .layout-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-preview {
    min-height: 560px;
  }

  .layout-frame {
    min-height: 520px;
  }
}

@media (max-width: 780px) {
  .layout-tabs {
    grid-template-columns: 1fr;
  }

  .layout-preview {
    min-height: 460px;
    padding: 12px;
  }

  .layout-frame {
    min-height: 430px;
    border-radius: 20px;
  }

  .layout-caption {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .layout-tab {
    min-height: 104px;
  }
}
/* Instagram-style layout slider */
.story-slider {
  position: relative;
  margin-top: 38px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.story-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.story-progress span {
  height: 5px;
  border-radius: 999px;
  background: rgba(21, 17, 13, 0.16);
  overflow: hidden;
}

.story-progress span::after {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.story-progress span.active::after {
  animation: storyProgress 4.5s linear forwards;
}

@keyframes storyProgress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.story-window {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(145deg, rgba(184,145,85,0.65), rgba(255,255,255,0.45), rgba(21,17,13,0.18)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.story-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(.22,.9,.28,1);
}

.story-slide {
  position: relative;
  min-width: 100%;
  height: clamp(520px, 72vh, 760px);
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 10%, rgba(184,145,85,0.12), transparent 24rem),
    #fffaf3;
}

.story-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
}

.story-caption {
  position: absolute;
  left: 34px;
  bottom: 34px;
  padding: 16px 20px;
  border-radius: 22px;
  color: var(--cream);
  background: rgba(21, 17, 13, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(21, 17, 13, 0.2);
}

.story-caption span {
  display: block;
  margin-bottom: 3px;
  color: var(--gold-light);
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.story-caption strong {
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.story-controls {
  position: absolute;
  top: 50%;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.story-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 247, 235, 0.22);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(21, 17, 13, 0.76);
  backdrop-filter: blur(12px);
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  pointer-events: auto;
  transition: 0.2s ease;
}

.story-btn:hover {
  transform: scale(1.06);
  background: rgba(21, 17, 13, 0.92);
}

@media (max-width: 780px) {
  .story-slide {
    height: 540px;
    padding: 14px;
  }

  .story-slide img {
    border-radius: 20px;
  }

  .story-caption {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .story-controls {
    left: 10px;
    right: 10px;
  }

  .story-btn {
    width: 42px;
    height: 42px;
  }
}
/* Fix: Hochkant- und Querformat-Layouts sauber anzeigen */
.story-slide {
  height: clamp(560px, 74vh, 780px) !important;
  padding: 28px !important;
  background:
    radial-gradient(circle at 20% 10%, rgba(184,145,85,0.12), transparent 24rem),
    #fffaf3 !important;
}

.story-slide img {
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(21, 17, 13, 0.12);
  background: #fffaf3;
}

/* Querformat: nutzt die Breite gut aus */
.story-slide.landscape-slide img {
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Hochformat: wie ein Story-Post anzeigen, nicht auf volle Breite ziehen */
.story-slide.portrait-slide img {
  width: auto !important;
  height: 100% !important;
  max-width: min(520px, 100%) !important;
  object-fit: contain !important;
}

/* Hintergrund bei Hochformat etwas edler */
.story-slide.portrait-slide {
  background:
    radial-gradient(circle at 20% 10%, rgba(184,145,85,0.14), transparent 24rem),
    linear-gradient(135deg, #fffaf3, #efe3d2) !important;
}

@media (max-width: 780px) {
  .story-slide {
    height: 560px !important;
    padding: 16px !important;
  }

  .story-slide.portrait-slide img {
    max-width: min(390px, 100%) !important;
  }
}