/* ==========================================================================
   VitaNova Website
   Vollbild: Bilder und Farbflächen gehen bis an den Bildschirmrand,
   die Inhalte bleiben mittig auf eine angenehme Lesebreite begrenzt.
   ========================================================================== */
/* Inter, lokal eingebunden (keine Verbindung zu Google beim Seitenaufruf) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(schriften/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(schriften/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(schriften/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(schriften/inter-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(schriften/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(schriften/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(schriften/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(schriften/inter-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #1b2a4e;
  --deep: #14213f;
  --purple: #4f3a91;
  --purple-dark: #3f2e77;
  --lav: #eceaf6;
  --mist: #eef1f7;
  --ink: #1d2b4a;
  --muted: #5b6884;
  --line: #e3e7f0;
  --content: 1200px;
  /* Seitenabstand: mindestens 32px, auf breiten Bildschirmen so viel, dass der Inhalt 1200px breit bleibt */
  --gutter: max(32px, calc((100vw - var(--content)) / 2));
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: var(--sans); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* Seite füllt den ganzen Bildschirm; oben Platz für den festen Header */
.page { overflow-x: hidden; padding-top: 88px; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(20, 33, 63, .35); }
.site-header.is-hidden { transform: translateY(-100%); }
html { scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } html { scroll-behavior: auto; } }

/* Kopfzeile */
/* Sticky Header: fest oben, gleitet beim Herunterscrollen weg und beim Hochscrollen wieder herein */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  align-items: center;
  gap: 36px;
  height: 88px;
  padding: 0 var(--gutter);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1; }
.brand > span { font-family: var(--sans); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.brand small { white-space: nowrap; margin-top: 5px; font-size: 8px; font-weight: 600; letter-spacing: 2.4px; color: var(--muted); }
.main-nav { display: flex; gap: 30px; margin: 0 auto; }
.main-nav a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); }
.main-nav a:hover { color: var(--purple); }
.main-nav .mobile-login { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 10px; }
.lang-switch button {
  display: block;
  width: 21px;
  height: 21px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: .55;
  filter: saturate(.7);
  box-shadow: 0 0 0 1px var(--line);
  transition: opacity .2s, filter .2s;
}
.lang-switch button svg { display: block; width: 100%; height: 100%; }
.lang-switch button:hover { opacity: 1; filter: none; }
/* Aktive Flagge: nur Farbe und dünner Ring, Größe und Position bleiben gleich */
.lang-switch button[aria-pressed="true"] { opacity: 1; filter: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--navy); }
/* Feste Breite, damit die Flaggen beim Sprachwechsel nicht wandern (Text ist je Sprache unterschiedlich lang) */
.header-actions .button { width: 140px; padding-left: 0; padding-right: 0; }
.lang-switch button:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: none;
  font-size: 20px;
  color: var(--navy);
  cursor: pointer;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--purple);
  color: #fff;
  font: 600 14px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
}
.button:hover { background: var(--purple-dark); }
.button.small { padding: 11px 18px; font-size: 13px; }
.button.tiny { padding: 8px 14px; font-size: 12px; }
.button.full { width: 100%; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.center { text-align: center; }

/* Hero: Bild über die volle Seitenbreite, Text links auf dunklem Verlauf */
.hero {
  --hero-verlauf: linear-gradient(90deg, rgba(20, 33, 63, .92) 0%, rgba(20, 33, 63, .7) 35%, rgba(20, 33, 63, .05) 65%);
  --hero-ausschnitt: center;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 80px var(--gutter) 100px;
  overflow: hidden;
  color: #fff;
  background:
    var(--hero-verlauf),
    url(bilder/hero.jpg) var(--hero-ausschnitt) / cover no-repeat,
    linear-gradient(120deg, var(--deep), #3a4f7c);
}
.hero .eyebrow, .hero-scroll { display: none; }
.hero .hero-titel { font-size: 52px; line-height: 1.08; margin-bottom: 18px; color: #fff; text-wrap: balance; }
.hero-copy p:not(.eyebrow) { font-size: 19px; line-height: 1.45; opacity: .92; margin-bottom: 30px; }

/* Startbild-Slider: Folien liegen übereinander, nur die aktive ist sichtbar */
.hero-folien { position: relative; z-index: 1; display: grid; width: 100%; max-width: 600px; }
.hero-copy { grid-area: 1 / 1; align-self: center; visibility: hidden; }
.hero-copy.ist-aktiv, .hero-copy.kommt, .hero-copy.geht { visibility: visible; }

/* Wisch-Effekt: weiche Kante läuft von links nach rechts über den Text */
.hero-copy.kommt, .hero-copy.geht {
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hero-copy.kommt {
  -webkit-mask-image: linear-gradient(90deg, #000 0 40%, transparent 60% 100%);
  mask-image: linear-gradient(90deg, #000 0 40%, transparent 60% 100%);
  animation: vn-wisch 1.2s cubic-bezier(.65, 0, .35, 1) .35s both;
}
.hero-copy.geht {
  -webkit-mask-image: linear-gradient(90deg, transparent 0 40%, #000 60% 100%);
  mask-image: linear-gradient(90deg, transparent 0 40%, #000 60% 100%);
  animation: vn-wisch 1s cubic-bezier(.65, 0, .35, 1) both;
}
.hero-copy.kommt > * { animation: vn-gleiten 1.2s cubic-bezier(.22, .61, .36, 1) both; }
.hero-copy.kommt > :nth-child(1) { animation-delay: .35s; }
.hero-copy.kommt > :nth-child(2) { animation-delay: .47s; }
.hero-copy.kommt > :nth-child(3) { animation-delay: .59s; }
.hero-copy.geht > * { animation: vn-weggleiten 1s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes vn-wisch { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes vn-gleiten { from { transform: translateX(-28px); } to { transform: none; } }
@keyframes vn-weggleiten { from { transform: none; } to { transform: translateX(36px); } }

/* Lichtstreifen, der beim Wischen über den Text zieht */
.hero-folien::after {
  content: '';
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 140px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
  transform: translateX(-160px) skewX(-12deg);
  opacity: 0;
  pointer-events: none;
}
.hero.wischt .hero-folien::after { animation: vn-licht 1.6s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes vn-licht {
  0% { transform: translateX(-160px) skewX(-12deg); opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { transform: translateX(640px) skewX(-12deg); opacity: 0; }
}

/* Hintergrundbilder je Folie (nur wenn im Admin eingeschaltet) */
.hero-bilder { position: absolute; inset: 0; z-index: 0; }
.hero-bild {
  position: absolute;
  inset: 0;
  background: var(--hero-verlauf), var(--bild) var(--hero-ausschnitt) / cover no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.6s ease, transform 8s ease-out;
}
.hero-bild.ist-aktiv { opacity: 1; transform: scale(1); }

/* Steuerung: Pause und Fortschrittsbalken je Folie */
.hero-steuerung { position: absolute; left: var(--gutter); bottom: 32px; z-index: 2; display: flex; align-items: center; gap: 10px; }
.hero-punkt { display: grid; place-items: center; width: 40px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-punkt span { position: relative; display: block; width: 100%; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .3); }
.hero-punkt span::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-punkt[aria-current="true"] span::after { animation: vn-fortschritt var(--dauer, 7s) linear both; }
.hero.pausiert .hero-punkt[aria-current="true"] span::after { animation-play-state: paused; }
.hero-punkt:hover span { background: rgba(255, 255, 255, .55); }
@keyframes vn-fortschritt { to { transform: scaleX(1); } }
.hero-pause { display: grid; place-items: center; width: 30px; height: 30px; margin-right: 4px; padding: 0; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: rgba(20, 33, 63, .3); cursor: pointer; }
.hero-pause:hover { border-color: #fff; }
.hero-pause span { width: 8px; height: 10px; border-left: 2.5px solid #fff; border-right: 2.5px solid #fff; }
.hero.angehalten .hero-pause span { width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 5.5px 0 5.5px 9px; border-color: transparent transparent transparent #fff; }
.hero-punkt:focus-visible, .hero-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Bearbeiten-Modus: alle Folien untereinander, damit jede bearbeitet werden kann */
/* Bearbeiten-Modus: eine Folie wie im Original, Wechsel nur per Klick auf die Balken */
html[data-bearbeiten="1"] .hero-pause { display: none; }
html[data-bearbeiten="1"] .hero-punkt[aria-current="true"] span::after { animation: none; transform: scaleX(1); }
html[data-bearbeiten="1"] .hero-steuerung::before { content: 'Folie wechseln:'; margin-right: 4px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.folie-nr { display: inline-block; margin-bottom: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(255, 255, 255, .15); font-size: 12px !important; font-weight: 600; opacity: 1 !important; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy.kommt, .hero-copy.geht, .hero-copy.kommt > *, .hero-copy.geht > *, .hero.wischt .hero-folien::after { animation: none; }
  .hero-copy.geht { visibility: hidden; }
  .hero-bild { transition: none; }
}

/* Vorteile */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px var(--gutter);
}
.benefits article {
  padding: 4px 18px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.benefits article:first-child { border-left: 0; }
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--mist);
}
.icon svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.benefits h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.benefits p { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* Text mit Bild in heller Box */
.intro.split {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 48px;
  align-items: stretch;
  margin: 0 var(--gutter);
  padding: 0 48px 0 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--mist);
}
/* Bild randlos bis an den Rand des grauen Feldes */
.intro .image-card {
  min-height: 320px;
  background: url(bilder/schlafen.jpg) 42% 35% / cover no-repeat, linear-gradient(135deg, #f5f6fa, #c9d2e6);
}
.intro .copy { align-self: center; padding: 40px 0; }
.intro .eyebrow { display: none; }
.intro h2 { font-size: 28px; color: var(--navy); margin-bottom: 10px; }
.intro .copy p:not(.eyebrow) { font-size: 15px; color: var(--muted); max-width: 520px; margin-bottom: 20px; }

/* Schritte */
.steps { padding: 64px var(--gutter); }
.steps .eyebrow { display: none; }
.steps h2 { font-size: 28px; color: var(--navy); margin-bottom: 28px; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.step-grid article { display: flex; gap: 14px; align-items: flex-start; padding: 0 20px; border-left: 1px solid var(--line); }
.step-grid article:first-child { border-left: 0; }
.step-grid b {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
}
.step-grid h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 6px 0 3px; }
.step-grid p { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* Diese Bereiche sind in der Vorlage nicht enthalten */
.portal-preview, .guest-section { display: none; }

/* Abschnitts-Überschriften */
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: 30px; color: var(--navy); }
.section-lead { max-width: 640px; margin: -16px auto 30px; color: var(--muted); font-size: 15px; }

/* Nutzen für Hoteliers */
.profit { padding: 72px var(--gutter) 24px; }
.profit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.profit-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.profit-number { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--purple); }
.profit-grid h3 { font-size: 18px; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.profit-grid p { font-size: 15px; color: var(--muted); }

/* Partnerportal */
.portal-band {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px var(--gutter);
  background: var(--deep);
  color: #fff;
}
.portal-band .eyebrow { color: #c8bdf0; }
.portal-band h2 { font-size: 32px; margin-bottom: 14px; }
.portal-copy > p:not(.eyebrow) { color: #cfd6e6; margin-bottom: 20px; max-width: 560px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; color: #e4e9f3; font-size: 15px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.portal-stats { display: grid; gap: 14px; }
.portal-stats div { padding: 18px 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .05); }
.portal-stats strong { display: block; font-size: 20px; }
.portal-stats div > span { font-size: 14px; color: #b5c0d8; }

/* Produkte */
.products { padding: 72px var(--gutter); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid article { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 12px; background: var(--mist); }
.product-grid h3 { font-size: 18px; color: var(--navy); }
.product-grid p { font-size: 15px; color: var(--muted); flex: 1; }
.product-grid a { font-size: 14px; font-weight: 600; color: var(--purple); text-decoration: none; }
.product-grid a:hover { text-decoration: underline; }

/* Info-Folder */
.download { padding: 0 var(--gutter) 72px; }
.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px 34px;
  border-radius: 14px;
  background: var(--lav);
  border: 1px solid #d9d2f1;
}
.download-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 14px; background: #fff; }
.download-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--purple); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.download-copy h2 { font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.download-copy p:not(.eyebrow) { font-size: 15px; color: var(--muted); max-width: 620px; }
.download-copy .eyebrow { margin-bottom: 4px; }

/* Häufige Fragen */
.faq { padding: 72px var(--gutter); background: var(--mist); }
.faq-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.faq-group h3 { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.faq details { margin-bottom: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.faq summary { position: relative; padding: 16px 48px 16px 18px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--purple); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 18px; color: var(--muted); font-size: 15px; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; padding: 72px var(--gutter); }
.contact h2 { font-size: 30px; color: var(--navy); margin-bottom: 14px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 22px; }
.contact address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--ink); }
.contact address a { color: var(--purple); text-decoration: none; }
.contact-form { display: grid; gap: 16px; padding: 30px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 50px -34px rgba(20, 33, 63, .4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d3d8e5;
  border-radius: 8px;
  background: #fff;
  font: 400 15px var(--sans);
  color: var(--ink);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--purple); border-color: transparent; }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.contact-form .consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--purple); }
.contact-form .consent a { color: var(--purple); }
.contact-form .button { justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 8px; font-size: 14px; }
.form-status--ok { background: #e8f5ee; color: #1f5e43; }
.form-status--error { background: #fdecef; color: #9b1c33; }

/* Rechtstexte (Impressum, Datenschutz) */
.legal { max-width: 820px; margin: 0 auto; padding: 64px var(--gutter-legal, 24px) 80px; }
.legal h1 { font-size: clamp(28px, 7vw, 38px); hyphens: auto; overflow-wrap: break-word; color: var(--navy); margin-bottom: 24px; }
.legal h2 { font-size: 21px; color: var(--navy); margin: 34px 0 10px; }
.legal p, .legal li { color: #39476a; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--purple); }
.legal .note { padding: 14px 16px; border-radius: 8px; background: #fff7e6; color: #7a5200; font-size: 14px; }

/* Bild-Footer: Zitat und Fußzeile auf gemeinsamem Landschaftsbild mit blauem Filter */
.site-footer {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(27, 52, 104, .45) 0%, rgba(20, 38, 82, .62) 55%, rgba(14, 25, 52, .92) 100%),
    url(bilder/zitat.jpg) center 45% / cover no-repeat,
    linear-gradient(160deg, #6f86ad, var(--deep));
}
.quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  padding: 90px var(--gutter) 60px;
  text-align: center;
}
.quote p { font-size: 26px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; margin-bottom: 22px; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.quote strong { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.quote small { margin-top: 8px; font-size: 9px; font-weight: 600; letter-spacing: 2.4px; }

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.footer-bar .brand { color: #fff; }
.footer-bar .brand > span { font-size: 22px; }
.footer-bar .brand small { color: #c8d2e8; }
.footer-bar div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.footer-bar .footer-link { font-size: 13px; color: #dbe2f0; }
.footer-bar .footer-link:hover { color: #fff; }
.footer-bar div a { font-size: 13px; text-decoration: none; color: #dbe2f0; }
.footer-bar div a:hover { color: #fff; }
.footer-bar p { font-size: 12px; color: #b5c0d8; }

/* Login- und Anfrage-Fenster */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 33, 63, .6);
}
.modal-backdrop.open { display: flex; }
.modal { position: relative; width: min(440px, 100%); padding: 34px; border-radius: 14px; background: #fff; }
.modal h2 { font-size: 30px; color: var(--navy); margin-bottom: 8px; }
.modal p:not(.eyebrow) { color: var(--muted); margin-bottom: 20px; }
.modal-close { position: absolute; top: 12px; right: 16px; border: 0; background: none; font-size: 26px; color: var(--muted); cursor: pointer; }
.modal label { display: grid; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 600; }
.modal input { padding: 12px 14px; border: 1px solid #d8dcea; border-radius: 8px; font: inherit; font-weight: 400; }
.form-success { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 8px; background: #e8f5ee; color: #1f5e43; font-size: 14px; }
.form-success.show { display: block; }

/* Textbausteine (für den Sprachumschalter) verhalten sich wie normaler Text */
vn-t { display: contents; }

/* Link "Cookie-Einstellungen" im Fußbereich sieht aus wie die anderen Links */
.footer-link { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.footer-link:hover { text-decoration: underline; }

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  transform: translateX(-50%);
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 33, 63, .22);
}
.cookie-banner h2 { margin-bottom: 8px; font-size: 18px; color: var(--navy); }
.cookie-banner p { font-size: 14px; color: var(--muted); }
.cookie-banner p a { color: var(--purple); }
.cookie-optionen { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.cookie-option { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.cookie-option input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--purple); }
.cookie-option strong { color: var(--ink); font-size: 14px; }
.cookie-option small { margin-left: 6px; font-size: 11px; color: var(--purple); }
.cookie-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-knoepfe .button { flex: 1 1 140px; }
.button.ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }
.button.ghost:hover { background: var(--mist); }

/* Kundenmeinungen: 3 pro Reihe */
.meinungen { padding: 72px var(--gutter); background: var(--mist); }
.meinungen-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.meinung { position: relative; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 28px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(20, 33, 63, .05); }
.meinung-sterne { font-size: 17px; letter-spacing: 2px; color: #d5daea; }
.meinung-sterne .voll { color: #c9a227; }
.meinung blockquote { flex: 1; margin: 0; }
.meinung blockquote p { position: relative; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.meinung::after { content: '\201D'; position: absolute; top: 6px; right: 22px; font: 700 72px/1 Georgia, 'Times New Roman', serif; color: var(--lav); pointer-events: none; }
.meinung figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.meinung figcaption > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.meinung figcaption strong { font-size: 15px; color: var(--navy); }
.meinung figcaption small { font-size: 13px; color: var(--muted); }
.meinung-bild { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .02em; }

/* Exit-Popup: halb Bild, halb Text */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
  background: rgba(20, 33, 63, .62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: vn-einblenden .35s ease both;
}
.exit-popup[hidden] { display: none; }
.exit-karte {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(1280px, 100%);
  min-height: min(560px, calc(100vh - 32px));
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(10, 16, 35, .45);
  animation: vn-hochgleiten .55s cubic-bezier(.22, .61, .36, 1) both;
}
.exit-bild {
  min-height: 260px;
  background: linear-gradient(90deg, rgba(20, 33, 63, .1), rgba(20, 33, 63, 0) 60%), var(--bild) 75% center / cover no-repeat, var(--deep);
  -webkit-mask-image: linear-gradient(90deg, #000 0 40%, transparent 60% 100%);
  mask-image: linear-gradient(90deg, #000 0 40%, transparent 60% 100%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: vn-wisch 1.2s cubic-bezier(.65, 0, .35, 1) .15s both;
}
.exit-text { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 56px clamp(28px, 5vw, 72px); overflow-y: auto; }
.exit-text > * { animation: vn-gleiten 1s cubic-bezier(.22, .61, .36, 1) both; }
.exit-text > :nth-child(3) { animation-delay: .1s; }
.exit-text > :nth-child(4) { animation-delay: .18s; }
.exit-text > :nth-child(5) { animation-delay: .26s; }
.exit-text > :nth-child(6) { animation-delay: .34s; }
.exit-text h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; color: var(--navy); text-wrap: balance; }
.exit-text > p:not(.eyebrow) { font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.exit-text .checklist li { color: var(--ink); }
.exit-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }
.exit-telefon { font-size: 14px; color: var(--muted); }
.exit-telefon a { color: var(--navy); font-weight: 600; text-decoration: none; white-space: nowrap; }
.exit-nein { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.exit-zu { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 24px; line-height: 1; color: var(--navy); cursor: pointer; animation: none !important; }
.exit-zu:hover { background: var(--mist); }
@keyframes vn-einblenden { from { opacity: 0; } to { opacity: 1; } }
@keyframes vn-hochgleiten { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .exit-karte { grid-template-columns: 1fr; grid-template-rows: 190px auto; overflow-y: auto; min-height: 0; }
  .exit-bild { min-height: 190px; }
  .exit-text { padding: 26px 22px 28px; gap: 12px; overflow: visible; }
  .exit-zu { position: fixed; top: max(24px, env(safe-area-inset-top, 0px)); right: 24px; }
  .exit-knoepfe .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .exit-popup, .exit-karte, .exit-bild, .exit-text > * { animation: none; }
}
html[data-bearbeiten="1"] .exit-popup,
html[data-bearbeiten="1"] .exit-popup[hidden] { position: relative; display: grid !important; inset: auto; padding: 40px 16px 110px; z-index: 1; }

/* Ab hier passt das Menü nicht mehr in eine Zeile: Burger-Menü */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .lang-switch { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .menu-toggle { display: block; }
  .main-nav.mobile-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px var(--gutter) 24px;
    background: #fff;
    box-shadow: 0 14px 20px rgba(20, 33, 63, .12);
  }
}

/* Tablet */
@media (max-width: 1000px) {
  :root { --gutter: 28px; }
  .site-header { gap: 16px; }
  .benefits, .step-grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .benefits article:nth-child(3), .step-grid article:nth-child(3) { border-left: 0; }
  .profit-grid, .product-grid { grid-template-columns: 1fr; }
  .meinungen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-band, .contact { grid-template-columns: 1fr; gap: 32px; }
  .download-card { grid-template-columns: auto 1fr; }
  .download-card .button { grid-column: 1 / -1; justify-self: start; }
}

/* Handy: Seite füllt die Breite, Rahmen entfällt */
@media (max-width: 700px) {
  .meinungen-grid { grid-template-columns: 1fr; gap: 16px; }
  .meinungen { padding: 52px var(--gutter); }
  .meinung { padding: 22px; }
  :root { --gutter: 20px; }
  .site-header { height: 70px; }
  .page { padding-top: 70px; }
  html { scroll-padding-top: 78px; }
  .brand > span { font-size: 24px; }
  .header-actions { display: none; }
  .main-nav.mobile-open .mobile-login { display: block; color: var(--purple); font-weight: 700; }
  .hero { min-height: 560px; padding: 48px var(--gutter) 84px; align-items: flex-end;
    --hero-verlauf: linear-gradient(0deg, rgba(20, 33, 63, .95) 0%, rgba(20, 33, 63, .55) 55%, rgba(20, 33, 63, .05) 100%);
    /* Ausschnitt rechts: Bett und Ausblick auf Berge und See */
    --hero-ausschnitt: 82% center; }
  .hero .hero-titel { font-size: 36px; }
  .hero-copy { align-self: end; }
  .hero-steuerung { bottom: 24px; }
  .hero-copy p:not(.eyebrow) { font-size: 17px; }
  .benefits { padding: 30px 12px; }
  .benefits article { padding: 0 8px; }
  .intro.split { grid-template-columns: 1fr; gap: 0; margin: 0 14px; padding: 0; }
  .intro .copy { padding: 24px 20px 28px; }
  .quote { padding: 70px var(--gutter) 50px; }
  .intro .image-card { min-height: 220px; }
  .intro h2, .steps h2 { font-size: 26px; }
  .steps { padding: 40px 14px; }
  .step-grid { grid-template-columns: 1fr; row-gap: 22px; }
  .step-grid article { padding: 0 10px; border-left: 0; }
  .quote { min-height: 300px; }
  .quote p { font-size: 21px; }
  .quote p br { display: none; }
  .quote strong { font-size: 32px; }
  .footer-bar { flex-direction: column; text-align: center; padding: 24px 20px; }
  .profit, .products, .faq, .contact { padding-top: 48px; padding-bottom: 48px; }
  .section-head h2, .contact h2 { font-size: 25px; }
  .faq-columns, .form-row { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 1fr; padding: 24px; }
  .contact-form { padding: 20px; }
}

/* Sehr schmale Handys: Platz für Logo, Sprachumschalter und Menü */
@media (max-width: 420px) {
  .site-header .brand small { display: none; }
  .lang-switch { gap: 9px; }
  .lang-switch button { width: 20px; height: 20px; }
}
