/* LEONYS 100€ Aktion — Landingpage
   Design-Tokens aus Dennis Brain (Custom-Liquid Coding-Regeln.md) übernommen.
   Siehe README.md für Quellen und Erklärung. */

@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/mulish-latin.woff2') format('woff2');
}

:root {
  --color-text: #616162;
  --color-dark: #213044;
  --color-gold: #d3b26b;
  --color-bg-1: #f5f5f0;
  --color-bg-2: #efeade;
  --color-button: #89acd4;

  --font-body: 'Mulish', 'Muli', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1410px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg-1);
  font-size: 16px;
  font-size: clamp(14px, 1.1vw, 19.2px);
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

/* Dunkel (80 %), weil das Logo helle Schrift hat */
.site-header {
  background: rgba(33, 48, 68, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Startseite: liegt fixiert über dem Banner. Ganz oben durchsichtig
   (leichter Verlauf für die Lesbarkeit). Beim ersten Scrollen:
   blaue Glasfläche gleitet von oben herein, Header und Logo werden
   etwas kompakter. */
.site-header--auto {
  position: fixed;
  left: 0;
  right: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: box-shadow 0.5s ease;
}

.site-header--auto::before,
.site-header--auto::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Verlauf ganz oben: reicht etwas unter den Header hinaus und läuft
   weich aus, damit Logo und Menü auf jedem Bild lesbar sind */
.site-header--auto::before {
  bottom: -60px;
  background: linear-gradient(
    rgba(20, 29, 42, 0.75) 0%,
    rgba(20, 29, 42, 0.45) 50%,
    rgba(20, 29, 42, 0) 100%
  );
  transition: opacity 0.4s ease;
}

.site-header--auto:not(.is-scrolled) .header-nav a {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* blaue Glasfläche */
.site-header--auto::after {
  background: rgba(33, 48, 68, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateY(-101%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Logo exakt mittig, je zwei Menüpunkte links und rechts davon */
.site-header--auto .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 56px;
  position: relative;
  z-index: 1;
  transition: padding 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header--auto .logo-img {
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header--auto.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.site-header--auto.is-scrolled::before { opacity: 0; }
.site-header--auto.is-scrolled::after { transform: translateY(0); }

.site-header--auto.is-scrolled .header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header--auto.is-scrolled .logo-img { height: 44px; }

.site-header--auto:not(.is-scrolled) .header-nav a { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 52px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav--left { justify-self: end; }
.header-nav--right { justify-self: start; }

.header-nav a {
  color: var(--color-bg-1);
  opacity: 0.8;
  text-decoration: none;
  font-size: 18.5px;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.header-nav a:hover { opacity: 1; color: var(--color-gold); }

/* Unterseiten: nur das Logo, mittig, führt zurück zur Startseite */
.header-inner--center { justify-content: center; }

/* Burger-Menü (nur Handy und Tablet) */
.menu-toggle,
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .header-nav { display: none; }
  .site-header--auto .logo { grid-column: 2; }
  .logo-img { height: 40px; }
  .site-header--auto.is-scrolled .logo-img { height: 34px; }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    justify-self: end;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--color-bg-1);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  }

  .is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* klappt weich auf, der Header wächst mit und die blaue Glasfläche deckt alles ab */
  .mobile-menu {
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    position: relative;
    z-index: 1;
    transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s 0.45s;
  }

  .is-menu-open .mobile-menu {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobile-menu-inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu a {
    color: var(--color-bg-1);
    text-decoration: none;
    font-size: 20px;
    padding: 14px 0;
    border-top: 1px solid rgba(245, 245, 240, 0.12);
  }

  .mobile-menu a:first-child { border-top: 0; }
  .mobile-menu a:last-child { margin-bottom: 12px; }
  .mobile-menu a:hover { color: var(--color-gold); }

  .site-header--auto.is-menu-open::before { opacity: 0; }
  .site-header--auto.is-menu-open::after { transform: translateY(0); }
  .site-header--auto.is-menu-open { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18); }
}

@media (prefers-reduced-motion: reduce) {
  .site-header--auto,
  .site-header--auto::before,
  .site-header--auto::after,
  .site-header--auto .header-inner,
  .site-header--auto .logo-img,
  .menu-toggle span,
  .mobile-menu,
  .is-menu-open .mobile-menu { transition: none; }
}

/* Anker-Sprünge nicht unter dem fixierten Header verstecken */
section[id] { scroll-margin-top: 80px; }

/* ---------- Sections generic ---------- */

section { padding: 64px 0; }

.section-sub {
  font-size: 1.05em;
  max-width: 640px;
}

/* ---------- Banner ---------- */

.banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
  /* 90 % der Bildhöhe (Bild 2400 × 1357). Unten wird etwas vom
     Einkaufswagen abgeschnitten, Köpfe, Schein und Blätter bleiben drin. */
  min-height: calc(100vw * 1357 / 2400 * 0.9);
  background-color: var(--color-dark);
  container-type: inline-size;
}

.banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* oben ausrichten, damit die Köpfe im Bild bleiben */
  object-position: center 10%;
  /* Beim ersten Laden: Bild blendet ein und zoomt langsam zurück */
  transform-origin: 40% 30%;
  animation: banner-zoom 2.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes banner-zoom {
  from { opacity: 0; transform: scale(1.12); }
  to { opacity: 1; transform: none; }
}

/* Dunkler Verlauf von unten, damit der Text auf jedem Bild lesbar bleibt */
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(33, 48, 68, 0.96) 0%,
    rgba(33, 48, 68, 0.85) 30%,
    rgba(33, 48, 68, 0.45) 55%,
    rgba(33, 48, 68, 0) 75%
  );
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding-top: 120px;
  padding-bottom: 3cqw;
}

.banner-eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--color-gold);
  font-size: 14px;
  font-size: clamp(12px, 1.3cqw, 18px);
}

.banner-title {
  position: relative;
  display: inline-block;
  margin: 0 0 0.3em;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  font-size: 64px;
  font-size: clamp(30px, 4.8cqw, 88px);
}

/* Goldener Schwung unter „Familienhunderter“: zwei Linien, die sich
   nacheinander einzeichnen, danach läuft ein Glanz darüber */
.banner-swoosh {
  position: absolute;
  left: 4%;
  bottom: -0.3em;
  width: 92%;
  height: auto;
  overflow: visible;
}

.banner-swoosh path {
  fill: none;
  stroke: url(#swoosh-gold);
  stroke-linecap: round;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
}

.swoosh-main {
  stroke-width: 6;
  animation: swoosh-draw 1.2s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards,
             swoosh-glow 3.5s ease-in-out 2.2s infinite;
}

.swoosh-thin {
  stroke-width: 2.5;
  opacity: 0.8;
  animation: swoosh-draw 1s cubic-bezier(0.65, 0, 0.35, 1) 1.1s forwards;
}

@keyframes swoosh-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes swoosh-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(241, 217, 154, 0)); }
  50% { filter: drop-shadow(0 0 8px rgba(241, 217, 154, 0.9)); }
}

.banner-sub {
  margin: 0.5em 0 0.3em;
  font-weight: 700;
  color: #fff;
  font-size: 22px;
  font-size: clamp(18px, 1.9cqw, 32px);
}

.banner-redeem {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-size: clamp(14px, 1.5cqw, 22px);
}

.banner-redeem::before,
.banner-redeem::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(211, 178, 107, 0), var(--color-gold));
}

.banner-redeem::after {
  background: linear-gradient(to left, rgba(211, 178, 107, 0), var(--color-gold));
}

.banner-logos {
  /* Grundgröße der Logos, wächst mit der Bannerbreite */
  --logo: clamp(44px, 4.2cqw, 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1cqw, 18px);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px clamp(22px, 2.8cqw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Freistehende Logos: kommen nacheinander hereingeploppt */
.logo-row li {
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  animation: logo-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: calc(1.6s + var(--i) * 0.08s);
}

.logo-row img {
  display: block;
  height: calc(var(--logo) * var(--k));
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

/* Desktop: Logo ploppt beim Drüberfahren federnd auf.
   Der Effekt sitzt am Bild, weil die Einblend-Animation das transform des li festhält. */
@media (hover: hover) {
  .logo-row li { position: relative; }
  .logo-row li:hover { z-index: 1; }
  .logo-row li:hover img {
    transform: translateY(-4px) scale(1.2);
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-row img { transition: none; }
  .logo-row li:hover img { transform: none; }
}

@keyframes logo-pop {
  to { opacity: 1; transform: none; }
}

/* 100 € Schein rechts oben über dem Bild */
.banner-note {
  position: absolute;
  z-index: 2;
  top: 11cqw;
  right: 8cqw;
  width: 24cqw;
  perspective: 900px;
  animation: note-fly-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
}

.banner-note-float {
  animation: note-float 6s ease-in-out 2.5s infinite;
}

.banner-note-tilt {
  position: relative;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.banner-note-tilt.is-tilting { transition-duration: 0.12s; }

.banner-note img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
}

/* Lichtreflex folgt der Maus, nur auf dem Schein selbst (Maske = Scheinform) */
.banner-note-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 45%);
  -webkit-mask: url(assets/Bilder/hundert-euro.webp) center / 100% 100% no-repeat;
  mask: url(assets/Bilder/hundert-euro.webp) center / 100% 100% no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.banner-note-tilt.is-tilting .banner-note-glare { opacity: 1; }

@keyframes note-fly-in {
  from { opacity: 0; transform: translate(40%, -30%) rotate(-28deg) scale(0.6); }
  to { opacity: 1; transform: rotate(-6deg); }
}

@keyframes note-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-1.2cqw) rotate(2deg); }
}

/* Tablet und Handy: Bild oben komplett, Text darunter auf Dunkelblau.
   Über dem Bild wäre zu wenig Platz, der Text würde die Gesichter verdecken. */
@media (max-width: 860px) {
  .banner {
    display: block;
    min-height: 0;
    /* Platz für den fixierten Header, damit er keine Köpfe verdeckt */
    padding-top: 68px;
    background: var(--color-dark);
  }

  .banner-img {
    position: relative;
    display: block;
    height: auto;
    /* Zoom beim Laden von der Unterkante aus: das Bild ragt nicht unter
       den Verlauf, sonst blitzt dort ein Streifen auf */
    transform-origin: 40% 100%;
  }

  /* Unteres Bilddrittel läuft ins Dunkelblau aus: der Text rückt bis auf
     Brusthöhe hoch und überdeckt den Einkaufswagen */
  .banner::after {
    top: 68px;
    bottom: auto;
    height: calc(100cqw * 1357 / 2400 + 2px);
    background: linear-gradient(
      to top,
      var(--color-dark) 0%,
      rgba(33, 48, 68, 0.92) 16%,
      rgba(33, 48, 68, 0.55) 32%,
      rgba(33, 48, 68, 0) 50%
    );
  }

  .banner-content {
    margin-top: -14cqw;
    padding-top: 0;
    padding-bottom: 40px;
  }

  .banner-title { font-size: clamp(30px, 7.5cqw, 64px); }
  /* Bild beginnt unter dem Header, der Schein rutscht mit */
  .banner-note { top: calc(68px + 10cqw); width: 28cqw; }
  .banner-logos { --logo: clamp(52px, 11cqw, 80px); }
  .banner-sub { font-size: clamp(18px, 3.6cqw, 28px); }
}

@media (max-width: 480px) {
  .banner-content { padding-bottom: 36px; }
  .banner-eyebrow { letter-spacing: 0.08em; }
  .banner-title { font-size: 9cqw; }
  .banner-sub { line-height: 1.35; }
  .logo-row { gap: 14px 22px; }
}

/* Text gleitet beim Laden nacheinander herein */
.banner-eyebrow,
.banner-title,
.banner-sub,
.banner-redeem {
  opacity: 0;
  transform: translateY(16px);
  animation: banner-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.banner-eyebrow { animation-delay: 0.1s; }
.banner-title { animation-delay: 0.25s; }
.banner-sub { animation-delay: 1.3s; }
.banner-redeem { animation-delay: 1.45s; }

@keyframes banner-in {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .banner-eyebrow,
  .banner-title,
  .banner-sub,
  .banner-redeem,
  .banner-img,
  .banner-note,
  .banner-note-float,
  .logo-row li {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .banner-swoosh path {
    stroke-dashoffset: 0;
    animation: none;
  }

  .banner-note { transform: rotate(-6deg); }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- Warum diese Aktion + Ablauf ---------- */

.aktion { padding: 88px 0 80px; overflow: hidden; }

.aktion h2,
.ueber h2,
.faq h2 {
  font-size: 30px;
  font-size: clamp(28px, 3.4vw, 46px);
}

.aktion-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

.aktion-text h2 { max-width: 560px; }
.aktion-text p:not(.eyebrow) { font-size: 1.05em; max-width: 540px; margin-bottom: 0; }

/* ----- Gutschein ----- */

.voucher-stage {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.voucher {
  --rx: 0deg;
  --ry: 0deg;
  --sx: 30%;
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1.62 / 1;
  border-radius: 18px;
  /* Papier mit feinem Guilloche-Muster */
  background:
    repeating-radial-gradient(circle at 85% 120%, rgba(211, 178, 107, 0.09) 0 1px, transparent 1px 9px),
    linear-gradient(135deg, #fffdf8 0%, #f7f0e1 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 30px 60px -20px rgba(33, 48, 68, 0.35),
    0 12px 24px -12px rgba(33, 48, 68, 0.25);
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-4deg);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

/* Ausstanzungen links und rechts wie bei einem Ticket */
.voucher::before,
.voucher::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--color-bg-1);
  box-shadow: inset 0 2px 4px rgba(33, 48, 68, 0.12);
}
.voucher::before { left: -14px; }
.voucher::after { right: -14px; }

.voucher-inner {
  position: absolute;
  inset: 14px;
  display: flex;
  flex-direction: column;
  padding: 22px 26px;
  border: 1px solid rgba(211, 178, 107, 0.7);
  border-radius: 10px;
  color: var(--color-dark);
}

.voucher-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.voucher-head img { width: 26px; height: 26px; }

.voucher-amount {
  margin-top: auto;
  font-size: 96px;
  font-size: clamp(64px, 7.4vw, 108px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  /* Goldfolie */
  background: linear-gradient(100deg, #b8924a 0%, #e9cf8f 35%, #c9a45a 55%, #f1dca4 75%, #b8924a 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foil 6s ease-in-out infinite;
}

.voucher-amount span {
  margin-left: 0.08em;
  font-size: 0.5em;
  vertical-align: 0.75em;
}

@keyframes foil {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

.voucher-label {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
}

.voucher-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(33, 48, 68, 0.2);
  font-size: 12px;
  color: #8a8a8b;
}

/* Lichtreflex, der über den Gutschein wandert */
.voucher-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.65) 48%, transparent 60%);
  background-size: 250% 100%;
  background-position: 120% 0;
  mix-blend-mode: soft-light;
}

/* Hereinkommen: dreht sich aus der Schräglage auf, danach schwebt er leicht */
.voucher-stage.reveal { transform: none; }
.voucher-stage.reveal .voucher {
  opacity: 0;
  transform: translateY(60px) rotate(-14deg) scale(0.9);
}
.voucher-stage.reveal.is-visible .voucher {
  opacity: 1;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-4deg);
  transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.voucher-stage.is-visible .voucher-shine { animation: shine 1.6s ease 0.9s; }
.voucher-stage.is-visible .voucher-inner { animation: float 7s ease-in-out 1.5s infinite; }

@keyframes shine {
  from { background-position: 120% 0; }
  to { background-position: -30% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.voucher-stage:hover .voucher { transition-duration: 0.2s; }

/* ----- Ablauf ----- */

.ablauf { margin-top: 72px; }

.ablauf-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 18px;
}

.ablauf-head .eyebrow { margin: 0; }

.ablauf-link {
  font-size: 14px;
  color: var(--color-dark);
  text-underline-offset: 4px;
}

.journey { position: relative; margin-top: 8px; }

/* Naht: gestrichelte Linie zwischen den Icons, darüber zieht sich Gold ein */
.journey-line {
  position: absolute;
  top: 44px;
  left: 16.667%;
  right: 16.667%;
  height: 2px;
  pointer-events: none;
}

.journey-line::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 2px dashed rgba(211, 178, 107, 0.45);
}

.journey-line span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #c9a45a, var(--color-gold), #e9cf8f);
  transform: scaleX(0);
  transform-origin: left;
}

/* Linie: erst bis Schritt 2, kurze Pause, dann bis Schritt 3 */
.journey.is-visible .journey-line span {
  animation: journey-draw 2.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* Durchlauf: JS steuert den Fortschritt über --p (0 = Schritt 1, 1 = Schritt 3) */
.journey.is-playing .journey-line span {
  animation: none;
  transform: scaleX(var(--p, 1));
  transition: transform var(--t, 0ms) var(--ease, ease);
}

/* leuchtender Punkt an der Spitze der Linie, sichtbar während der Fahrt */
.journey-dot {
  position: absolute;
  top: 50%;
  left: calc(var(--p, 1) * 100%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #f1dca4;
  box-shadow: 0 0 0 4px rgba(211, 178, 107, 0.25), 0 0 16px 4px rgba(233, 207, 143, 0.8);
  opacity: 0;
  transition: left var(--t, 0ms) var(--ease, ease), top var(--t, 0ms) var(--ease, ease), opacity 0.3s ease;
}

.journey.is-traveling .journey-dot { opacity: 1; }

@keyframes journey-draw-v {
  0%, 18% { transform: scaleY(0); }
  46%, 64% { transform: scaleY(0.5); }
  92%, 100% { transform: scaleY(1); }
}

@keyframes journey-draw {
  0%, 18% { transform: scaleX(0); }
  46%, 64% { transform: scaleX(0.5); }
  92%, 100% { transform: scaleX(1); }
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 0 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
}

.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(211, 178, 107, 0.6);
  color: var(--color-gold);
  box-shadow: 0 12px 30px -14px rgba(33, 48, 68, 0.3);
  transform: scale(0.6);
}

.step-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icons zeichnen sich wie mit dem Stift */
.step-icon svg * {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* pulsierender Ring um den aktiven Schritt */
.step-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  opacity: 0;
  pointer-events: none;
}

.step-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.step h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.step p { margin: 0 auto; max-width: 280px; }

/* Beim Hereinscrollen: Schritt 1, dann 2, dann 3 */
.journey.is-visible .step {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d) * 1.15s);
}

.journey.is-visible .step-icon {
  transform: none;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--d) * 1.15s);
}

.journey.is-visible .step-icon svg * {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s ease;
  transition-delay: calc(var(--d) * 1.15s + 0.3s);
}

/* Automatischer Durchlauf: aktiver Schritt wird golden und hebt sich an */
.steps.is-playing .step,
.steps.is-playing .step-icon {
  transition-delay: 0s;
}

.steps.is-playing .step-icon {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease,
              color 0.15s ease, box-shadow 0.3s ease, border-color 0.15s ease;
}

.steps.is-playing .step :is(.step-label, h3, p) { transition: opacity 0.5s ease; }
.steps.is-playing .step:not(.is-active) :is(.step-label, h3, p) { opacity: 0.45; }

.steps.is-playing .step.is-active .step-icon {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 16px 32px -12px rgba(211, 178, 107, 0.8);
}

.steps.is-playing .step.is-active .step-icon::after {
  animation: step-ripple 1.8s ease-out infinite;
}

@keyframes step-ripple {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.5); opacity: 0; }
}

.steps.is-playing .step { cursor: default; }

@media (max-width: 960px) {
  .aktion { padding: 64px 0; }
  .aktion-intro { grid-template-columns: 1fr; gap: 48px; }
  .voucher { max-width: 400px; }
  .ablauf { margin-top: 56px; }
  /* Schritte untereinander, Naht senkrecht links */
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 20px;
    padding: 0;
    text-align: left;
  }
  .step-icon {
    grid-row: span 3;
    width: 64px;
    height: 64px;
    margin: 0;
  }
  .step-icon svg { width: 26px; height: 26px; }
  .step-label { align-self: end; margin: 4px 0 2px; }
  .step p { margin: 0; max-width: none; }
  .journey-line {
    top: 32px;
    bottom: 60px;
    left: 31px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .journey-line::before { border-top: 0; border-left: 2px dashed rgba(211, 178, 107, 0.45); }
  .journey-line span {
    background: linear-gradient(var(--color-gold), #e9cf8f);
    transform: scaleY(0);
    transform-origin: top;
  }
  .journey.is-visible .journey-line span { animation-name: journey-draw-v; }
  .journey.is-playing .journey-line span { animation: none; transform: scaleY(var(--p, 1)); }
  .journey-dot {
    top: calc(var(--p, 1) * 100%);
    left: 50%;
  }
}

@media (max-width: 480px) {
  .voucher-inner { padding: 16px 18px; inset: 10px; }
  .voucher-head { font-size: 10px; }
  .voucher-label { font-size: 15px; }
  .voucher-foot { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .voucher,
  .voucher-stage.reveal .voucher,
  .voucher-stage.reveal.is-visible .voucher {
    opacity: 1;
    transform: rotate(-4deg);
    transition: none;
  }
  .voucher-amount,
  .voucher-stage.is-visible .voucher-shine,
  .voucher-stage.is-visible .voucher-inner { animation: none; }
  .step,
  .step-icon,
  .journey.is-visible .step,
  .journey.is-visible .step-icon { opacity: 1; transform: none; transition: none; }
  .step-icon svg *,
  .journey.is-visible .step-icon svg * { stroke-dashoffset: 0; transition: none; }
  .journey-line span,
  .journey.is-visible .journey-line span { transform: none; animation: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover { transform: translateY(-1px); opacity: 0.9; }

.btn-primary {
  background: var(--color-button);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
}

.action-details { margin: 24px 0 0; }
.action-details a { color: var(--color-dark); text-underline-offset: 3px; }

/* ---------- Gastgeschenke ---------- */

.gastgeschenke {
  background: var(--color-bg-2);
  text-align: center;
  padding: 96px 0;
}
.gastgeschenke h2 {
  font-size: 30px;
  font-size: clamp(28px, 3.4vw, 46px);
}
.gastgeschenke .section-sub { margin: 0 auto; }

.gift-grid {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 1px 2px rgba(33, 48, 68, 0.06), 0 8px 24px rgba(33, 48, 68, 0.06);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.gift-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 4px rgba(33, 48, 68, 0.08), 0 20px 40px rgba(33, 48, 68, 0.14);
}

.gift-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}

.gift-img,
.gift-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Produktbild freigestellt auf Weiß: ganz zeigen, mit etwas Luft */
.gift-img {
  object-fit: contain;
  padding: 8%;
}

/* Zweites Bild: Stimmungsbild, füllt die ganze Fläche */
.gift-img-hover {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
}

.gift-card:hover .gift-img { transform: scale(1.05); }

.gift-card.has-hover:hover .gift-img,
.gift-card.show-alt .gift-img { opacity: 0; }

.gift-card.has-hover:hover .gift-img-hover,
.gift-card.show-alt .gift-img-hover { opacity: 1; transform: none; }

.gift-card.has-hover { cursor: pointer; }

.gift-media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-1);
  color: #a9a9a9;
  font-size: 14px;
}

.gift-body {
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(33, 48, 68, 0.06);
}

.gift-card h3 {
  font-size: 19px;
  margin: 0 0 6px;
}

.gift-card p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.5;
}

.lion-bubble {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 1;
  max-width: 45%;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.25;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transform: rotate(-4deg);
}

.gift-card--lion:hover .lion-bubble { animation: bubble-wiggle 0.6s ease; }

@keyframes bubble-wiggle {
  0%, 100% { transform: rotate(-4deg); }
  30% { transform: rotate(3deg) scale(1.05); }
  60% { transform: rotate(-6deg); }
}


/* Stern unten rechts im Bild, verweist auf den Hinweis unter den Geschenken */
.gift-similar {
  position: absolute;
  right: 14px;
  bottom: 6px;
  z-index: 1;
  color: var(--color-gold);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.gift-star {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.3em;
  line-height: 0;
  vertical-align: -0.15em;
}

.gift-disclaimer {
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 13px;
  color: #8a8a8b;
  text-wrap: balance;
}

/* Zeilenumbruch in Überschriften nur am Handy */
.br-mobile { display: none; }
@media (max-width: 520px) {
  .br-mobile { display: inline; }
}

/* Überschriften: Wörter steigen nacheinander aus einer Maske */
.split-reveal .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.split-reveal .w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 0.07s + 0.1s);
}

.split-reveal.is-visible .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .split-reveal .w > span { transform: none; transition: none; }
}

/* Karten gleiten beim Scrollen nacheinander herein, der Löwe hüpft zuletzt */
.reveal {
  opacity: 0;
  transform: translateY(32px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease;
  transition-delay: calc(var(--d, 0) * 0.1s), calc(var(--d, 0) * 0.1s), 0s;
}

.gift-card--lion.is-visible {
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
  transition-delay: 0.55s, 0.55s, 0s;
}

/* nach dem Hereingleiten wieder sofort auf Hover reagieren */
.reveal.is-visible:hover { transition-delay: 0s; }

@media (max-width: 960px) {
  .gift-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 520px) {
  .gastgeschenke { padding: 64px 0; }
  .gift-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .gift-card,
  .gift-img,
  .gift-img-hover { transition: opacity 0.2s ease; }
  .gift-card:hover { transform: none; }
  .gift-card:hover .gift-img { transform: none; }
  .gift-card--lion:hover .lion-bubble { animation: none; }
}

/* ---------- Wer wir sind ---------- */

.ueber { padding: 96px 0; overflow-x: clip; }

.ueber-head {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.ueber .section-sub { font-size: 1.05em; max-width: 860px; margin: 0 auto; text-wrap: balance; }

.offer-rows {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

/* Text auf der einen Seite, 16:9-Bild auf der anderen.
   Das Bild reicht über den Inhaltsrand hinaus bis an den Bildschirmrand. */
.offer-row {
  --bleed: max(24px, (100vw - var(--max-width)) / 2 + 24px);
  display: grid;
  grid-template-columns: 5fr 7fr;
  align-items: center;
  gap: 64px;
}

.offer-row .offer-frame { margin-right: calc(var(--bleed) * -1); border-radius: 24px 0 0 24px; }

.offer-row--flip { grid-template-columns: 7fr 5fr; }
.offer-row--flip .offer-text { order: 2; }
.offer-row--flip .offer-frame { margin-right: 0; margin-left: calc(var(--bleed) * -1); border-radius: 0 24px 24px 0; }

.offer-text h4 {
  margin: 0 0 16px;
  font-size: 30px;
  font-size: clamp(28px, 2.8vw, 42px);
  color: var(--color-dark);
}

.offer-text p {
  margin: 0;
  max-width: 460px;
  font-size: 1.05em;
}

/* Bildrahmen im 16:9-Format */
.offer-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-dark);
  isolation: isolate;
  box-shadow: 0 2px 4px rgba(33, 48, 68, 0.08), 0 18px 40px rgba(33, 48, 68, 0.14);
}

/* Bildfläche etwas höher als der Rahmen, damit Platz für die Parallax-Bewegung bleibt */
.offer-media {
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: 0;
  right: 0;
  z-index: -1;
  transform: translate3d(0, var(--py, 0), 0);
  will-change: transform;
}

/* Slideshow: Das neue Bild blendet langsam über dem alten ein und setzt sich dabei
   aus einem leichten Zoom sanft zurecht. Das alte bleibt darunter liegen, bis der Wechsel fertig ist. */
.offer-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0s linear 1.3s;
}

.offer-slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1), transform 6s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-slide.is-leaving {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: none;
}

/* Punkte unten im Bild; der aktive wird zum Fortschrittsbalken, der sich golden füllt */
.offer-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.offer-dot {
  position: relative;
  overflow: hidden;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 4px rgba(20, 29, 42, 0.3);
  cursor: pointer;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.offer-dot:hover { background: rgba(255, 255, 255, 0.9); }

.offer-dot[aria-current="true"] {
  width: 44px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.offer-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
}

.offer-dot[aria-current="true"]::after { animation: offer-progress 5s linear forwards; }

/* Maus drüber, außer Sicht oder Zeile noch nicht hereingeglitten: Balken und damit die Slideshow halten an */
.offer-frame.is-paused .offer-dot::after,
.offer-frame.is-offscreen .offer-dot::after,
.offer-frame.is-waiting .offer-dot::after { animation-play-state: paused; }

@keyframes offer-progress {
  to { transform: scaleX(1); }
}

/* Pfeile erscheinen beim Drüberfahren */
.offer-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(20, 29, 42, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translate(var(--ax, 0), -50%);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, border-color 0.3s ease;
}

.offer-arrow--prev { left: 24px; --ax: -10px; }
.offer-arrow--next { right: 24px; --ax: 10px; }
.offer-arrow--next svg { transform: scaleX(-1); }

.offer-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.offer-frame:hover .offer-arrow,
.offer-arrow:focus-visible { opacity: 1; --ax: 0px; }

.offer-arrow:hover {
  background: rgba(211, 178, 107, 0.85);
  border-color: var(--color-gold);
}

/* Touch-Geräte: keine Pfeile, dort wird gewischt */
@media (hover: none) {
  .offer-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .offer-slide,
  .offer-slide.is-active { transform: none; transition: opacity 0.4s ease; }
  .offer-dot[aria-current="true"]::after { animation: none; transform: scaleX(1); }
}

.offer-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--zoom, 1));
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Lichtschein, der dem Mauszeiger folgt */
.offer-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(245, 235, 210, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Beim Hereinscrollen gleitet das Bild von seiner Bildschirmseite herein und zoomt zurück,
   danach steigen Titel und Text auf. Die Zeile selbst bleibt stehen. */
.offer-row.reveal { opacity: 1; transform: none; }

.offer-row.reveal .offer-frame {
  opacity: 0;
  transform: translateX(120px);
}

.offer-row--flip.reveal .offer-frame { transform: translateX(-120px); }

.offer-row.reveal .offer-media img { --zoom: 1.25; }

.offer-row.reveal.is-visible .offer-frame {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-row.reveal.is-visible .offer-media img {
  --zoom: 1;
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-row.reveal .offer-text > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.offer-row.reveal.is-visible .offer-text > * { opacity: 1; transform: none; }
.offer-row.reveal.is-visible .offer-text h4 { transition-delay: 0.35s; }
.offer-row.reveal.is-visible .offer-text p { transition-delay: 0.5s; }

/* Hover: Bild zoomt langsam, Lichtschein folgt der Maus */
@media (hover: hover) {
  .offer-row.is-visible .offer-frame:hover .offer-media img {
    --zoom: 1.07;
    transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .offer-frame:hover::after { opacity: 1; }
}

.ueber-foot {
  margin-top: 56px;
  text-align: center;
}

/* Button zur Hauptseite im Stil von leonys.at: hellblau, Großbuchstaben,
   beim Drüberfahren schiebt sich Dunkelblau von links hinein */
.more-link {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 8px;
  background: var(--color-button);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(137, 172, 212, 0.35);
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.more-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--color-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.more-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.more-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(33, 48, 68, 0.25);
}

.more-link:hover::after { transform: scaleX(1); }
.more-link:hover svg { transform: translateX(4px); }
.more-link:focus-visible { outline: 2px solid var(--color-dark); outline-offset: 3px; }

/* Handy und Tablet: Bild oben, Text darunter, Bild reicht zum eigenen Bildschirmrand */
@media (max-width: 860px) {
  .offer-rows { gap: 64px; }
  .offer-row,
  .offer-row--flip { grid-template-columns: 1fr; gap: 28px; }
  .offer-row .offer-frame { order: -1; }
  .offer-row--flip .offer-text { order: 0; }
  .offer-row--flip .offer-text h4 { text-align: right; }
  .offer-row--flip .offer-text p { margin-left: auto; }
}

@media (max-width: 520px) {
  .offer-rows { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .offer-row.reveal .offer-frame,
  .offer-row.reveal .offer-media img,
  .offer-row.reveal .offer-text > * { --zoom: 1; opacity: 1; transform: none; transition: none; }
}

.faq { padding: 96px 0 112px; }

.faq-layout {
  position: relative;
  max-width: 920px;
  padding-top: 24px;
}

.faq { padding-top: 0; }

.faq-head {
  margin-bottom: 40px;
  text-align: center;
}

.faq-cta {
  margin-top: 48px;
  text-align: center;
}

.faq-list { border-bottom: 1px solid rgba(33, 48, 68, 0.12); }

.faq-item { border-top: 1px solid rgba(33, 48, 68, 0.12); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 700;
  color: var(--color-dark);
  transition: color 0.25s ease;
}

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

.faq-item summary:hover { color: #3a4d66; }

.faq-item summary:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Plus, das sich beim Öffnen zum Kreuz dreht und golden füllt */
.faq-icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(211, 178, 107, 0.7);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  margin: -0.75px 0 0 -6px;
  background: var(--color-gold);
  transition: background 0.35s ease;
}

.faq-icon::after { transform: rotate(90deg); }

.faq-item summary:hover .faq-icon { border-color: var(--color-gold); }

.faq-item.is-open .faq-icon,
.faq-item[open] .faq-icon {
  background: var(--color-gold);
  border-color: var(--color-gold);
  transform: rotate(135deg);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after,
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }

.faq-answer { overflow: hidden; }

.faq-answer p {
  margin: 0;
  padding: 0 58px 28px 0;
  max-width: 680px;
}

.faq-answer a { color: var(--color-dark); text-underline-offset: 3px; }

@media (max-width: 960px) {
  .faq-layout { padding-top: 64px; }
  .faq-item summary { font-size: 17px; padding: 22px 0; }
  .faq-answer p { padding-right: 0; }
}

@media (max-width: 860px) {
  .ueber,
  .faq { padding: 64px 0; }
  .faq { padding-top: 0; }
  /* Weniger Luft zwischen „Mehr über LEONYS“ und der FAQ */
  .ueber { padding-bottom: 32px; }
  .ueber-foot { margin-top: 40px; }
  .faq-layout { padding-top: 32px; }
}

/* ---------- Footer ---------- */
/* Angelehnt an den Footer von leonys.at: dunkles Blau, Logo links,
   goldene Symbole, helle Schrift */

.site-footer {
  background: var(--color-dark);
  color: rgba(245, 245, 240, 0.72);
  font-size: 17px;
  line-height: 1.6;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.footer-logo { display: inline-block; }

.footer-logo img {
  display: block;
  height: 88px;
  width: auto;
}

.footer-claim { margin: 18px 0 0; }

.footer-heading {
  color: var(--color-bg-1);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 16px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li { margin-bottom: 12px; }

.site-footer a {
  color: rgba(245, 245, 240, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a[aria-current="page"] { color: var(--color-gold); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Unterste Zeile: Copyright links, Social-Icons rechts */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(245, 245, 240, 0.12);
}

.footer-copy {
  margin: 0;
  font-size: 15px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

/* Farben wie auf leonys.at: Facebook-Blau, Instagram-Verlauf */
.site-footer .footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-social .social-fb { background: #1877f2; }

.footer-social .social-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.site-footer .footer-social a:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
    padding-top: 48px;
    padding-bottom: 36px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-logo img { height: 80px; }
}

/* ---------- Rechtsseiten ---------- */
/* Wie die Rechtstexte auf leonys.at: zentrierter Titel, schmale
   Lesespalte, fette Zwischenüberschriften */

.legal-page {
  padding: 72px 0 96px;
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  text-align: center;
  font-size: 34px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  margin-bottom: 40px;
}

.legal-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.legal-content h2 {
  font-size: 1.05em;
  margin: 36px 0 8px;
}

.legal-content h3 { font-size: 1em; margin: 24px 0 6px; }
.legal-content ul { padding-left: 20px; margin: 0 0 1em; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--color-dark); text-underline-offset: 3px; }
.legal-content address { font-style: normal; margin-bottom: 1em; }

.legal-stand {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(33, 48, 68, 0.12);
  font-size: 0.9em;
}
