/* ==========================================================================
   DSGVO & Lokale Schriftarten (Montserrat & Playfair Display)
   ========================================================================== */

/* Montserrat 300 (Light) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/montserrat-v31-latin-300.woff2') format('woff2');
}

/* Montserrat 400 (Regular) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}

/* Montserrat 500 (Medium) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/montserrat-v31-latin-500.woff2') format('woff2');
}

/* Montserrat 600 (Semi-Bold) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/montserrat-v31-latin-600.woff2') format('woff2');
}

/* Playfair Display 500 */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-v40-latin-500.woff2') format('woff2');
}

/* Playfair Display 500 Italic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-v40-latin-500italic.woff2') format('woff2');
}

/* Playfair Display 600 */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-v40-latin-600.woff2') format('woff2');
}

/* Playfair Display 600 Italic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-v40-latin-600italic.woff2') format('woff2');
}

/* ==========================================================================
   Design Tokens & Globale Basisstile
   ========================================================================== */
:root {
  --forest: #2f4a3e;
  --gold: #c8a774;
  --cream: #fbf7f0;
  --sand: #eee2d4;
  --rose: #b97869;
  --ink: #302b28;
  --muted: #716963;
  --white: #fffdf9;
  --line: rgba(47, 74, 62, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
}

body.subpage-active {
  overflow: hidden;
}

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

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

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  width: 205px;
  display: block;
}

.logo img {
  width: 100%;
  height: auto;
}

.links {
  display: flex;
  gap: 25px;
  font-size: 13px;
  font-weight: 500;
}

.links a {
  transition: color 0.2s ease;
}

.links a:hover,
.links a:focus-visible {
  color: var(--rose);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--rose);
  border-color: var(--rose);
  color: #ffffff;
}

.button.light {
  background: transparent;
  color: var(--forest);
}

.button.light:hover,
.button.light:focus-visible {
  background: var(--forest);
  color: #ffffff;
}

/* ==========================================================================
   Typografie
   ========================================================================== */
h1, h2, h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
}

h1 {
  font-size: clamp(48px, 6vw, 79px);
  letter-spacing: -1.8px;
}

h2 {
  font-size: clamp(38px, 4.7vw, 60px);
  letter-spacing: -1px;
}

h3 {
  font-size: 28px;
}

.kicker {
  margin-bottom: 18px;
  color: var(--rose);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.7px;
  text-transform: uppercase;
}

/* ==========================================================================
   Hero Bereich
   ========================================================================== */
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0 84px;
}

.hero p {
  max-width: 630px;
  margin: 25px 0 31px;
  font-size: 18px;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.hero-photo {
  position: relative;
  max-width: 470px;
  margin-left: auto;
  padding: 17px 17px 0;
}

.hero-photo:before {
  content: "";
  position: absolute;
  inset: 0 0 8% 8%;
  border-radius: 46% 46% 28px 28px;
  background: var(--sand);
}

.hero-photo img {
  position: relative;
  width: 100%;
  height: 555px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 46% 46% 24px 24px;
}

.hero-note {
  position: absolute;
  left: -34px;
  bottom: 36px;
  max-width: 235px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(47, 74, 62, 0.13);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  line-height: 1.35;
}

.hero-note span {
  display: block;
  margin-bottom: 5px;
  color: var(--rose);
  font: 600 9px "Montserrat", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==========================================================================
   Heartline Banner
   ========================================================================== */
.heartline {
  background: var(--forest);
  color: #ffffff;
}

.heartline .wrap {
  padding: 64px 0;
  text-align: center;
}

.heartline p {
  max-width: 850px;
  margin: 18px auto 0;
  color: #dce3de;
  font-size: 17px;
}

.heartline em {
  font-style: normal;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
}

/* ==========================================================================
   Sektionen allgemein
   ========================================================================== */
section {
  padding: 100px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-head p {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
}

/* ==========================================================================
   Wege / Themenwelten (Pfad-Karten)
   ========================================================================== */
.paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.path {
  display: flex;
  flex-direction: column;
  min-height: 315px;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.path-image {
  width: calc(100% + 60px);
  height: 180px;
  object-fit: cover;
  margin: -34px -30px 26px;
  border-radius: 25px 25px 0 0;
}

.path:nth-child(2) {
  background: #f5e9e1;
}

.path:nth-child(3) {
  background: #edf0e9;
}

.path:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(47, 74, 62, 0.09);
}

.path-no {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 27px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--rose);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

.path h3 {
  font-size: 31px;
}

.path p {
  color: var(--muted);
  font-size: 14px;
}

.path a {
  margin-top: auto;
  color: var(--forest);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.path a:hover {
  color: var(--rose);
}

/* ==========================================================================
   Angebote Sektion
   ========================================================================== */
.offers {
  background: var(--sand);
}

.offers-intro {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 45px;
}

.offers-intro p {
  margin: 0;
  color: var(--muted);
}

.offer-groups {
  display: grid;
  gap: 12px;
}

.group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  transition: background-color 0.2s ease;
}

.group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 27px;
  cursor: pointer;
  user-select: none;
}

.group summary::-webkit-details-marker {
  display: none;
}

.group summary h3 {
  font-size: 27px;
}

.group summary span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.plus {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--forest);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.group[open] .plus {
  transform: rotate(45deg);
}

.group-body {
  padding: 0 27px 27px;
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.offer-card {
  padding: 22px;
  border-radius: 15px;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.offer-card h4 {
  margin: 0 0 7px;
  font: 500 20px "Playfair Display", Georgia, serif;
}

.offer-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--forest);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.offer-card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.offer-card a:hover {
  color: var(--forest);
}

.offer-price {
  margin-top: 18px;
  color: var(--forest);
  font: 600 25px "Playfair Display", Georgia, serif;
}

.offer-price small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font: 500 10px "Montserrat", sans-serif;
  letter-spacing: 0.3px;
}

.price-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 23px;
  padding: 25px 28px;
  border-radius: 18px;
  background: var(--forest);
  color: #ffffff;
}

.price-note p {
  margin: 0;
  color: #dae1dc;
  font-size: 14px;
}

.price-note strong {
  display: block;
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 500;
  margin-bottom: 4px;
}

.price-note .button {
  flex: none;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
}

.price-note .button:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #ffffff;
}

/* ==========================================================================
   Über mich Sektion & Portrait
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  align-items: center;
}

.portrait {
  position: relative;
}

.portrait:before {
  content: "";
  position: absolute;
  inset: 26px -18px -18px 26px;
  border: 1px solid var(--gold);
  border-radius: 44% 44% 22px 22px;
}

.portrait img {
  position: relative;
  width: 100%;
  height: 570px;
  object-fit: cover;
  object-position: center top;
  border-radius: 44% 44% 22px 22px;
}

.about p {
  color: var(--muted);
  font-size: 15px;
}

.signature {
  margin-top: 24px;
  color: var(--rose);
  font: italic 24px "Playfair Display", Georgia, serif;
}

/* ==========================================================================
   Newsletter (SendFox Integration)
   ========================================================================== */
.newsletter {
  padding-top: 0;
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  padding: 58px;
  border-radius: 28px;
  background: var(--rose);
  color: #ffffff;
}

.newsletter-box h2 {
  font-size: clamp(32px, 3.8vw, 45px);
  margin-bottom: 12px;
}

.newsletter-box p {
  color: #f8eae5;
  margin: 0;
  font-size: 15px;
}

.newsletter form {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.newsletter input {
  min-width: 220px;
  flex: 1;
  padding: 15px 18px;
  border: 0;
  border-radius: 999px;
  font: 14px "Montserrat", sans-serif;
  color: var(--ink);
  background: #ffffff;
  outline: none;
}

.newsletter input:focus-visible {
  box-shadow: 0 0 0 3px var(--gold);
}

.newsletter .button {
  background: var(--forest);
  border-color: var(--forest);
}

.newsletter .button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
}

/* ==========================================================================
   Kontakt Sektion
   ========================================================================== */
.contact {
  text-align: center;
}

.contact .section-head {
  margin-bottom: 27px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 11px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  margin-top: 35px;
  padding: 56px 0 27px;
  background: var(--forest);
  color: #ffffff;
}

.foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 45px;
}

.foot-logo {
  width: 225px;
  filter: brightness(0) invert(1);
  opacity: 0.94;
  margin-bottom: 15px;
}

.foot p,
.foot a {
  color: #d6dfd8;
  font-size: 13px;
}

.foot a {
  display: block;
  margin: 7px 0;
  transition: color 0.2s ease;
}

.foot a:hover {
  color: var(--gold);
}

.bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  color: #becbc2;
  font-size: 11px;
}

/* ==========================================================================
   Unterseiten (Subpages / Modal-Pages)
   ========================================================================== */
.subpage {
  display: none;
  padding: 0;
}

.subpage:target {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow-y: auto;
  background: var(--cream);
  animation: fadeIn 0.2s ease-out;
  padding: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subnav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 240, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.subnav .wrap {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subnav img {
  width: 190px;
}

.back {
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: all 0.2s ease;
}

.back:hover {
  background: var(--forest);
  color: #ffffff;
  border-color: var(--forest);
}

.subhero {
  padding: 90px 0 62px;
  text-align: center;
}

.subhero p {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.subcontent {
  padding: 0 0 90px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.detail {
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.detail h3 {
  margin-bottom: 12px;
}

.detail p,
.detail li {
  color: var(--muted);
  font-size: 14px;
}

.detail ul {
  padding-left: 20px;
  margin: 15px 0;
}

.detail li {
  margin-bottom: 6px;
}

.detail .button {
  margin-top: auto;
  align-self: flex-start;
}

.subcta {
  margin-top: 28px;
  padding: 38px;
  border-radius: 24px;
  background: var(--forest);
  color: #ffffff;
  text-align: center;
}

.subcta h3 {
  margin-bottom: 10px;
}

.subcta p {
  color: #dce3de;
  max-width: 650px;
  margin: 0 auto 20px;
}

.subcta .button {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
}

.subcta .button:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 920px) {
  .links {
    display: none;
  }
  
  .hero,
  .offers-intro,
  .about,
  .newsletter-box {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 48px;
  }

  .hero-photo {
    margin: 0 auto;
  }

  .paths,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .path {
    min-height: 230px;
  }

  .offers-intro {
    gap: 18px;
  }

  .foot {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .nav {
    height: 78px;
  }

  .logo {
    width: 165px;
  }

  .nav .button {
    padding: 10px 13px;
  }

  .hero {
    min-height: auto;
    padding: 55px 0 70px;
  }

  .hero-photo {
    padding: 10px 10px 0;
  }

  .hero-photo img {
    height: 455px;
  }

  .hero-note {
    left: -2px;
    bottom: 20px;
    max-width: 210px;
  }

  .offer-list {
    grid-template-columns: 1fr;
  }

  .group summary {
    padding: 20px;
  }

  .group summary h3 {
    font-size: 23px;
  }

  .group summary span {
    display: none;
  }

  .group-body {
    padding: 0 20px 20px;
  }

  .price-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-box {
    padding: 38px 23px;
  }

  .newsletter-box h2 {
    font-size: 36px;
  }

  .portrait img {
    height: 480px;
  }

  .foot {
    grid-template-columns: 1fr;
  }

  .bottom {
    flex-direction: column;
    gap: 7px;
  }

  .subhero {
    padding: 60px 0 40px;
  }

  .subnav img {
    width: 160px;
  }
}

/* ==========================================================================
   Dezenter Header-Link: Planer 2027
   ========================================================================== */
.nav-planner-link {
  position: relative;
  transition: color 0.2s ease;
  color: inherit;
}

.nav-planner-link::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 5px;
  vertical-align: middle;
  transform: translateY(-1px);
}

.nav-planner-link:hover,
.nav-planner-link:focus-visible {
  color: var(--rose);
}

.mobile-planner-link {
  display: none;
}

@media (max-width: 920px) {
  .mobile-planner-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--forest);
    background: rgba(200, 167, 116, 0.16);
    border: 1px solid rgba(200, 167, 116, 0.45);
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
  }

  .mobile-planner-link::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
  }

  .mobile-planner-link:hover,
  .mobile-planner-link:active {
    background: var(--gold);
    color: #ffffff;
  }
}

@media (max-width: 520px) {
  .nav {
    gap: 8px;
  }

  .logo {
    width: 128px;
  }

  .mobile-planner-link {
    font-size: 11px;
    padding: 5px 9px;
  }

  .nav .button {
    padding: 8px 10px;
    font-size: 11.5px;
  }
}

.nav-highlight {
  color: var(--forest) !important;
  background: rgba(200, 167, 116, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(200, 167, 116, 0.4);
  font-weight: 600 !important;
  transition: all 0.2s ease;
}

/* ==========================================================================
   Kampagnen-Popup: MEIN 2027 Planer
   ========================================================================== */
body.popup-active {
  overflow: hidden;
}

.popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(23, 36, 29, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.65s ease;
}

.popup-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popup-container {
  position: relative;
  width: 100%;
  max-width: 920px;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 380px 1fr;
  background: var(--cream);
  border-radius: 24px;
  border: 1px solid rgba(200, 167, 116, 0.35);
  box-shadow: 0 28px 65px -12px rgba(18, 30, 24, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95) translateY(24px);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.65s ease;
}

.popup-backdrop.active .popup-container {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 25;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(251, 247, 240, 0.9);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.popup-close:hover,
.popup-close:focus-visible {
  background: var(--rose);
  border-color: var(--rose);
  color: #ffffff;
  transform: rotate(90deg) scale(1.08);
}

/* Linke Medien-Spalte */
.popup-media {
  background: linear-gradient(155deg, #1b2e25 0%, #2f4a3e 60%, #243b31 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.popup-media::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(200, 167, 116, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.popup-video-wrap {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  background: #000;
  border: 1px solid rgba(200, 167, 116, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-video-wrap video {
  width: 100%;
  max-height: 390px;
  display: block;
  object-fit: contain;
  background-color: #1a2a22;
}

.popup-media-cover-badge {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200, 167, 116, 0.25);
  border-radius: 12px;
  color: var(--sand);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.popup-thumb {
  width: 28px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  border: 1px solid rgba(200, 167, 116, 0.4);
}

/* Rechte Inhalts-Spalte */
.popup-content {
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
  overflow-y: auto;
}

.popup-kicker {
  color: var(--rose);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.popup-title {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.05;
  color: var(--forest);
  margin-bottom: 4px;
}

.popup-subtitle {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  margin: 0 0 14px 0;
  font-weight: 500;
}

.popup-description {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 18px 0;
}

.popup-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.popup-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink);
}

.feature-icon {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.popup-features strong {
  color: var(--forest);
}

/* Preis & Liefertermin */
.popup-offer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 18px 0;
  padding: 10px 16px;
  background: rgba(200, 167, 116, 0.12);
  border: 1px solid rgba(200, 167, 116, 0.35);
  border-radius: 12px;
}

.popup-price-tag {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(47, 74, 62, 0.15);
  padding-right: 16px;
}

.popup-price-tag .price-label,
.popup-delivery-tag .delivery-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  font-weight: 600;
}

.popup-price-tag .price-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.1;
}

.popup-delivery-tag {
  display: flex;
  flex-direction: column;
}

.popup-delivery-tag .delivery-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--rose);
  line-height: 1.2;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.button.popup-cta {
  background: linear-gradient(135deg, #c8a774 0%, #b28e57 100%);
  border: 1px solid #b28e57;
  color: #ffffff;
  padding: 15px 22px;
  font-size: 14px;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 22px rgba(200, 167, 116, 0.35);
}

.button.popup-cta:hover,
.button.popup-cta:focus-visible {
  background: var(--forest);
  border-color: var(--forest);
  box-shadow: 0 10px 25px rgba(47, 74, 62, 0.35);
  transform: translateY(-2px);
}

.popup-dismiss {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 4px;
  align-self: center;
  transition: color 0.2s ease;
}

.popup-dismiss:hover,
.popup-dismiss:focus-visible {
  color: var(--forest);
}

/* Responsives Verhalten für Tablets & Mobile */
@media (max-width: 860px) {
  .popup-container {
    grid-template-columns: 1fr;
    max-height: 92vh;
    max-width: 540px;
    overflow-y: auto;
  }

  .popup-media {
    padding: 24px 20px 14px;
  }

  .popup-video-wrap video {
    max-height: 250px;
  }

  .popup-content {
    padding: 22px 20px 26px;
  }

  .popup-title {
    font-size: 30px;
  }

  .popup-subtitle {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .popup-description {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .popup-features {
    gap: 8px;
    margin-bottom: 18px;
  }

  .popup-features li {
    font-size: 12px;
  }

  .popup-offer-meta {
    padding: 8px 12px;
    gap: 12px;
    margin-bottom: 14px;
  }

  .popup-price-tag .price-value {
    font-size: 19px;
  }
}

/* ==========================================================================
   Rechtliche Einzelseiten (Impressum, Datenschutz, etc.)
   ========================================================================== */
.legal-page {
  padding: 60px 0 100px;
  min-height: 70vh;
}

.legal-header {
  margin-bottom: 40px;
  max-width: 800px;
}

.legal-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 24px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.legal-header .back-link:hover {
  color: var(--rose);
  transform: translateX(-3px);
}

.legal-header h1 {
  margin-bottom: 12px;
  color: var(--forest);
}

.legal-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.legal-container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.legal-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.legal-block h2 {
  font-size: 22px;
  color: var(--forest);
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.legal-block p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(47, 74, 62, 0.08);
  font-size: 14px;
  line-height: 1.6;
}

.legal-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-term {
  font-weight: 600;
  color: var(--forest);
}

.legal-desc {
  color: var(--ink);
}

.legal-link {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.legal-link:hover {
  color: var(--rose);
}

.legal-note-box {
  background: rgba(200, 167, 116, 0.12);
  border: 1px solid rgba(200, 167, 116, 0.4);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 24px 28px;
}

.legal-note-box h3 {
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 12px;
}

.legal-note-box p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink);
}

.legal-note-box p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin: 10px 0 16px 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

.legal-inline-note {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(185, 120, 105, 0.1);
  border-left: 3px solid var(--rose);
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
}

@media (max-width: 680px) {
  .legal-page {
    padding: 40px 0 70px;
  }

  .legal-block {
    padding: 24px 20px;
  }

  .legal-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .legal-note-box {
    padding: 20px;
  }
}

