
:root {
  --bg: #0D1B2A;
  --bg-soft: #122338;
  --champagne: #E6D3B3;
  --paper: #F8F6F2;
  --text-light: #EFE9DD;
  --text-dark: #223247;
  --muted: rgba(239, 233, 221, .72);
  --muted-dark: rgba(34, 50, 71, .7);
  --line: rgba(230, 211, 179, .18);
  --line-strong: rgba(230, 211, 179, .28);
  --card: rgba(255,255,255,.03);
  --shadow: 0 24px 80px rgba(2, 8, 18, .28);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 78% 14%, rgba(230,211,179,.10), transparent 24rem),
    radial-gradient(circle at 20% 32%, rgba(230,211,179,.06), transparent 18rem),
    linear-gradient(180deg, #081321 0%, #0D1B2A 100%);
  color: var(--text-light);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.stack-xl > * + * { margin-top: 48px; }
.section { padding: clamp(88px, 10vw, 150px) 0; }
.section-light {
  background: linear-gradient(180deg, #f7f1e6 0%, #efe6d7 100%);
  color: var(--text-dark);
  border-top: 1px solid rgba(13, 27, 42, .06);
  border-bottom: 1px solid rgba(13, 27, 42, .06);
}
.skip-link { position: absolute; left: -999px; top: auto; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 1000;
  background: var(--paper); color: #0b1726; padding: .8rem 1rem; border-radius: 10px;
}
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(8, 19, 33, .74);
  border-bottom: 1px solid rgba(230,211,179,.10);
}
.header-inner {
  min-height: 82px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
}
.menu-panel {
  display: flex;
  align-items: center;
  gap: 22px;
}
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(230,211,179,.20);
  background: rgba(255,255,255,.045);
  color: var(--paper);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.menu-toggle-icon {
  display: inline-flex;
  width: 18px;
  height: 14px;
  flex-direction: column;
  justify-content: space-between;
}
.menu-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--champagne);
}
.menu-toggle-text {
  font-size: 14px;
  letter-spacing: .04em;
}
.header-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.header-brand img {
  width: 52px; height: 52px; object-fit: cover; border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(0,0,0,.2);
}
.header-brand strong,
.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 13px;
  color: var(--champagne);
  font-weight: 600;
  margin: 0 0 16px;
}
.header-brand strong { margin: 0; font-size: 13px; }
.header-brand small {
  display: block; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.site-nav a,
.footer-nav a {
  text-decoration: none; color: var(--text-light); opacity: .84; transition: opacity .35s ease, color .35s ease;
}
.site-nav a:hover,
.site-nav a:focus,
.footer-nav a:hover,
.footer-nav a:focus { opacity: 1; color: var(--champagne); }
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(230,211,179,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}
.language-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.language-button span { font-size: 16px; line-height: 1; }
.language-button strong { letter-spacing: .08em; font-weight: 700; }
.language-button:hover,
.language-button:focus {
  color: var(--paper);
  border-color: rgba(230,211,179,.18);
}
.language-button.is-active {
  background: var(--paper);
  color: #102033;
  border-color: rgba(230,211,179,.32);
}
.hero { padding-top: clamp(52px, 8vw, 92px); }
.hero-centered {
  display: grid;
  gap: clamp(40px, 5vw, 68px);
}
.hero-video-wrap {
  width: min(100%, 1040px);
  margin: 0 auto;
}
.video-card-main {
  padding: clamp(12px, 2vw, 18px);
}
.hero-copy-under-video {
  width: min(100%, 900px);
  margin: 0 auto;
}
.hero-copy-under-video h1 {
  max-width: 13ch;
}
.hero-grid,
.content-grid {
  display: grid; gap: clamp(28px, 4vw, 42px); align-items: start;
}
.hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brand-layout { grid-template-columns: 1.15fr .85fr; }
.noah-layout { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); align-items: center; }
.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-copy { max-width: 720px; }
.hero-logo,
.product-logo {
  border-radius: 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-logo { width: min(100%, 720px); margin-bottom: 32px; }
.product-logo { width: min(100%, 760px); margin-bottom: 28px; }
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.03em;
  margin: 0 0 24px;
}
h1 { font-size: clamp(4rem, 8vw, 6rem); max-width: 12ch; }
h2 { font-size: clamp(3rem, 6vw, 4.6rem); max-width: 12ch; }
h3 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
p { margin: 0 0 18px; font-size: clamp(18px, 1.45vw, 22px); color: var(--text-light); }
.section-light p { color: var(--text-dark); }
.lead { font-size: clamp(21px, 1.8vw, 26px); color: var(--paper); max-width: 34ch; }
.section-head { max-width: 920px; }
.action-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--paper); color: #102033; font-weight: 600; text-decoration: none;
  transition: transform .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
}
.button:hover, .button:focus { transform: translateY(-1px); }
.button-secondary { background: transparent; color: var(--text-light); border-color: var(--line-strong); }
.button-dark { background: #102033; color: var(--paper); }
.video-card {
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.video-frame { position: relative; overflow: hidden; border-radius: 22px; background: #08101c; }
.hero-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #050b14; }
.video-unmute {
  position: absolute; left: 16px; bottom: 16px;
  appearance: none; border: 1px solid var(--line-strong); cursor: pointer;
  background: rgba(13, 27, 42, .82); color: var(--paper); padding: 14px 18px; border-radius: 999px;
  font-weight: 600; font-size: 15px; backdrop-filter: blur(10px);
}
.video-note { font-size: 15px; color: var(--muted); margin: 16px 4px 0; }
.panel,
.feature-card,
.person-card,
.journal-card {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.panel-dark,
.person-card,
.journal-card,
.footer-panels .panel {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line);
}
.panel-outline { background: rgba(255,255,255,.015); border: 1px solid var(--line-strong); }
.panel-light,
.feature-card {
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(13,27,42,.08);
  box-shadow: 0 20px 60px rgba(11, 27, 50, .09);
}
.panel-light h3,
.feature-card h3,
.coming-soon-box h3,
.section-light h2,
.section-light .lead,
.section-light .eyebrow,
.section-light .button-secondary,
.section-light .button-secondary:hover,
.section-light .button-secondary:focus,
.person-card h3,
.journal-card h3 { color: var(--text-dark); }
.eyebrow-dark { color: #b5843a; }
.pill-row,
.difference-cards { display: grid; gap: 16px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pill-row span,
.light-pills span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px;
  background: rgba(230,211,179,.08); border: 1px solid var(--line); color: var(--champagne); font-size: 15px;
}
.light-pills span { background: rgba(181,132,58,.08); border-color: rgba(181,132,58,.16); color: #7a5420; }
.difference-cards.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
.difference-cards article {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.difference-cards span,
.feature-card span {
  display: inline-block; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--champagne);
}
.difference-cards strong { display: block; font-size: 24px; margin-bottom: 10px; }
.difference-cards p { margin: 0; font-size: 17px; color: var(--muted); }
.section-light .difference-cards p { color: var(--muted-dark); }
.principles-list { list-style: none; padding: 0; margin: 0; }
.principles-list li { position: relative; padding-left: 22px; margin-bottom: 16px; font-size: clamp(18px, 1.35vw, 20px); }
.principles-list li::before {
  content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--champagne);
}
.card-grid { display: grid; gap: 22px; }
.three-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.five-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feature-card { min-height: 290px; }
.feature-card span { color: #b5843a; }
.noah-media img {
  width: min(100%, 420px); border-radius: 32px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.footer-panels { padding-bottom: 24px; }
.site-footer { padding: 30px 0 46px; border-top: 1px solid rgba(230,211,179,.12); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; }
.footer-copy { max-width: 36ch; font-size: 16px; color: var(--muted); margin: 0; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 1140px) {
  .hero-grid,
  .brand-layout,
  .noah-layout,
  .footer-grid,
  .five-grid,
  .three-grid,
  .two-up { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .site-nav { gap: 10px 16px; }
}
@media (max-width: 840px) {
  .header-inner { flex-direction: row; align-items: center; padding: 12px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 14px 0; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
  .menu-panel {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(86vw, 340px);
    padding: 18px;
    border: 1px solid rgba(230,211,179,.18);
    border-radius: 24px;
    background: rgba(8, 19, 33, .96);
    box-shadow: 0 24px 80px rgba(2,8,18,.45);
    backdrop-filter: blur(20px);
  }
  .site-header.menu-open .menu-panel {
    display: grid;
    gap: 18px;
  }
  .menu-panel .site-nav {
    display: grid;
    gap: 12px;
  }
  .menu-panel .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(230,211,179,.10);
  }
  .menu-panel .language-switcher {
    width: 100%;
    justify-content: space-between;
  }
  .menu-panel .language-button {
    flex: 1;
    justify-content: center;
  }
  h1 { max-width: none; }
  .difference-cards.compact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px, var(--container)); }
  .header-brand small { max-width: 140px; }
  .menu-toggle-text { display: none; }
  .button,
  .button-secondary,
  .button-dark { width: 100%; }
  .video-unmute { left: 12px; right: 12px; bottom: 12px; text-align: center; }
  p { font-size: 18px; }
}


/* v13 hard fix – Hero video zentral + echtes mobiles Menü */
.hero-video-only {
  padding-top: clamp(56px, 8vw, 92px);
}
.hero-video-centered {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(36px, 5vw, 68px);
  justify-items: center;
}
.hero-video-centered .video-card-main {
  width: min(100%, 1040px);
  margin-inline: auto;
}
.hero-video-centered .hero-copy-centered {
  width: min(100%, 900px);
  margin-inline: auto;
}
.hero-video-centered .hero-copy-centered h1 {
  max-width: 13ch;
}
.hero-video-centered .hero-logo,
.hero-video-centered .company-logo,
.hero-video-centered #companyLogo {
  display: none !important;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(230,211,179,.20);
  background: rgba(255,255,255,.045);
  color: var(--paper);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.menu-toggle-icon {
  display: inline-flex;
  width: 18px;
  height: 14px;
  flex-direction: column;
  justify-content: space-between;
}
.menu-toggle-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--champagne);
}
.menu-toggle-text {
  font-size: 14px;
  letter-spacing: .04em;
}
.header-actions {
  position: relative;
}
.menu-panel {
  display: flex;
  align-items: center;
  gap: 22px;
}

@media (max-width: 840px) {
  .site-header {
    overflow: visible;
  }
  .header-inner {
    flex-direction: row !important;
    align-items: center !important;
    min-height: 74px;
    padding-block: 10px;
  }
  .header-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: inline-flex !important;
  }
  .menu-panel {
    display: none !important;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(86vw, 340px);
    padding: 18px;
    border: 1px solid rgba(230,211,179,.18);
    border-radius: 24px;
    background: rgba(8, 19, 33, .97);
    box-shadow: 0 24px 80px rgba(2,8,18,.45);
    backdrop-filter: blur(20px);
    z-index: 999;
  }
  .site-header.menu-open .menu-panel {
    display: grid !important;
    gap: 18px;
  }
  .menu-panel .site-nav {
    display: grid !important;
    gap: 12px;
  }
  .menu-panel .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(230,211,179,.10);
  }
  .menu-panel .language-switcher {
    width: 100%;
    justify-content: space-between;
  }
  .menu-panel .language-button {
    flex: 1;
    justify-content: center;
  }
  .hero-video-centered {
    gap: 34px;
  }
  .hero-video-centered .hero-copy-centered h1 {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .header-brand small {
    max-width: 150px;
  }
  .menu-toggle-text {
    display: none;
  }
  .menu-toggle {
    width: 46px;
    padding: 0;
  }
}


/* v14 – interaktive Raumansicht mit aufklappender Buchseite */
.room-explorer {
  padding: clamp(28px, 3.6vw, 42px);
}
.room-explorer-head {
  max-width: 70ch;
  margin-bottom: 28px;
}
.room-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.room-tab {
  appearance: none;
  text-align: left;
  min-height: 116px;
  border-radius: 24px;
  border: 1px solid rgba(18, 34, 56, 0.12);
  background: rgba(255,255,255,0.72);
  padding: 18px 18px 16px;
  display: grid;
  gap: 10px;
  align-content: start;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
.room-tab:hover,
.room-tab:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(10, 24, 44, 0.10);
  border-color: rgba(181,132,58,0.35);
  outline: none;
}
.room-tab.is-active {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(249,244,236,.96));
  border-color: rgba(181,132,58,0.42);
  box-shadow: 0 22px 44px rgba(10, 24, 44, 0.12);
}
.room-tab-number,
.room-panel-number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b5843a;
}
.room-tab-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: .95;
  color: var(--ink);
}
.room-panels {
  position: relative;
  min-height: 320px;
  perspective: 1600px;
}
.room-panel {
  position: absolute;
  inset: 0;
}
.room-panel[hidden] {
  display: block;
  pointer-events: none;
  visibility: hidden;
}
.room-panel .room-page {
  min-height: 320px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,242,234,.98));
  border: 1px solid rgba(18, 34, 56, 0.10);
  box-shadow: 0 24px 64px rgba(10, 24, 44, 0.10);
  padding: clamp(28px, 4vw, 40px);
  transform-origin: left center;
  transform: rotateY(-92deg) scale(.98);
  opacity: 0;
  transition: transform .65s cubic-bezier(.22,1,.36,1), opacity .5s ease;
  display: grid;
  align-content: start;
  gap: 18px;
}
.room-panel.is-active {
  position: relative;
  z-index: 2;
}
.room-panel.is-active .room-page {
  transform: rotateY(0deg) scale(1);
  opacity: 1;
}
.room-panel h3 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
}
.room-panel p {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(21px, 2vw, 24px);
  line-height: 1.65;
  color: rgba(13, 27, 42, 0.90);
}
@media (max-width: 1140px) {
  .room-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 840px) {
  .room-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .room-panels {
    min-height: 360px;
  }
  .room-panel .room-page {
    min-height: 360px;
  }
}
@media (max-width: 560px) {
  .room-tabs {
    grid-template-columns: 1fr;
  }
  .room-tab {
    min-height: 92px;
  }
  .room-panels {
    min-height: 390px;
  }
  .room-panel .room-page {
    min-height: 390px;
    padding: 24px;
  }
  .room-panel p {
    font-size: 19px;
  }
}


/* v15 – Raum-Reiter direkt im Feld „Für wen?“ */
.room-explorer {
  display: none !important;
}
.embedded-room-explorer {
  margin-top: 28px;
}
.embedded-room-explorer .room-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}
.embedded-room-explorer .room-tab {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(181,132,58,.18);
  background: rgba(181,132,58,.07);
  color: #7a5420;
  cursor: pointer;
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.embedded-room-explorer .room-tab:hover,
.embedded-room-explorer .room-tab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(181,132,58,.35);
  box-shadow: 0 10px 26px rgba(10,24,44,.08);
  outline: none;
}
.embedded-room-explorer .room-tab.is-active {
  background: #102033;
  color: #f8f6f2;
  border-color: #102033;
}
.embedded-room-explorer .room-tab-title {
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  color: inherit;
  font-weight: 600;
}
.room-panels-embedded {
  min-height: 210px;
  perspective: 1400px;
}
.room-panels-embedded .room-panel .room-page {
  min-height: 210px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,242,234,.96));
  border: 1px solid rgba(18,34,56,.10);
  box-shadow: 0 18px 44px rgba(10,24,44,.10);
}
.room-panels-embedded .room-panel h3 {
  font-size: clamp(30px, 4vw, 44px);
}
.room-panels-embedded .room-panel p {
  max-width: 34ch;
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.58;
}
.room-panels-embedded .room-panel-number {
  font-size: 12px;
}
@media (max-width: 840px) {
  .room-panels-embedded {
    min-height: 240px;
  }
  .room-panels-embedded .room-panel .room-page {
    min-height: 240px;
  }
}
@media (max-width: 560px) {
  .embedded-room-explorer .room-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .embedded-room-explorer .room-tab {
    justify-content: center;
    text-align: center;
  }
  .room-panels-embedded {
    min-height: 290px;
  }
  .room-panels-embedded .room-panel .room-page {
    min-height: 290px;
  }
}


/* v16 – zentrierte Reiter-Schrift + automatischer Seitenwechsel */
.embedded-room-explorer .room-tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
}
.embedded-room-explorer .room-tab-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  transform: translateY(0);
}
.embedded-room-explorer .room-tab.is-active {
  position: relative;
  overflow: hidden;
}
.embedded-room-explorer .room-tab.is-active::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: rgba(248,246,242,.62);
  transform-origin: left center;
  animation: alnoaRoomProgress 10s linear forwards;
}
@keyframes alnoaRoomProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.room-panels-embedded .room-panel .room-page {
  transform-origin: left center;
}
.room-panels-embedded .room-panel.is-leaving .room-page {
  animation: alnoaPageClose .58s cubic-bezier(.22,1,.36,1) forwards;
}
.room-panels-embedded .room-panel.is-active .room-page {
  animation: alnoaPageOpen .72s cubic-bezier(.22,1,.36,1) both;
}
@keyframes alnoaPageOpen {
  0% {
    opacity: 0;
    transform: rotateY(-82deg) translateX(-10px) scale(.985);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) scale(1);
  }
}
@keyframes alnoaPageClose {
  0% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotateY(62deg) translateX(8px) scale(.985);
  }
}
@media (prefers-reduced-motion: reduce) {
  .embedded-room-explorer .room-tab.is-active::after,
  .room-panels-embedded .room-panel.is-leaving .room-page,
  .room-panels-embedded .room-panel.is-active .room-page {
    animation: none !important;
  }
}


/* v17 – Sprachwechsel zum Seitenanfang, cleaner Video-Button, Video-Pfeil am Logo */
.header-brand {
  position: relative;
}
.brand-mark {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}
.header-brand .brand-mark img {
  display: block;
}
.brand-video-arrow {
  position: absolute;
  left: -4px;
  bottom: -4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248,246,242,.94);
  color: #102033;
  border: 1px solid rgba(230,211,179,.55);
  box-shadow: 0 10px 26px rgba(2,8,18,.28);
  font-size: 10px;
  line-height: 1;
  padding-left: 1px;
  transition: transform .3s ease, background .3s ease;
}
.header-brand:hover .brand-video-arrow,
.header-brand:focus .brand-video-arrow {
  transform: translateY(-1px) scale(1.04);
  background: #fff;
}
.video-note {
  display: none !important;
}
.video-play-only {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  padding: 0 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.video-play-only span {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transform: translateX(1px);
}
@media (max-width: 560px) {
  .brand-video-arrow {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }
}


/* v18 HARD FIX – Video-Button, Hinweistext, Logo-Video-Pfeil, Sprachwechsel */
.header-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-logo-main {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand-mark {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}
.brand-logo-main img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(0,0,0,.2);
}
.brand-logo-main strong,
.header-brand strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 13px;
  color: var(--champagne);
  font-weight: 600;
  margin: 0;
}
.brand-logo-main small,
.header-brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand-video-arrow,
.brand-video-arrow-link {
  position: absolute;
  left: -5px;
  bottom: -5px;
  width: 25px;
  height: 25px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248,246,242,.96);
  color: #102033;
  border: 1px solid rgba(230,211,179,.58);
  box-shadow: 0 10px 26px rgba(2,8,18,.30);
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  padding-left: 1px;
  z-index: 3;
  transition: transform .28s ease, background .28s ease;
}
.brand-video-arrow-link:hover,
.brand-video-arrow-link:focus {
  transform: translateY(-1px) scale(1.04);
  background: #fff;
  outline: none;
}
.video-note {
  display: none !important;
}
.video-play-only,
#videoStartBtn.video-play-only {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
}
.video-play-only span,
#videoStartBtn.video-play-only span {
  display: inline-block;
  font-size: 18px !important;
  line-height: 1;
  transform: translateX(1px);
}
@media (max-width: 560px) {
  .brand-logo-main img {
    width: 48px;
    height: 48px;
  }
  .brand-video-arrow-link {
    width: 23px;
    height: 23px;
    font-size: 9px;
  }
}


/* v19 HARD CLEAN – Video without extra text button/note + visible logo play arrow */
.video-note,
.video-card .video-note {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* In case an older index.html is cached on the server: hide text in any custom video button. */
.video-unmute,
#videoStartBtn {
  font-size: 0 !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.video-unmute::before,
#videoStartBtn::before {
  content: '▶';
  font-size: 18px !important;
  line-height: 1;
  transform: translateX(1px);
}
.video-unmute span,
#videoStartBtn span {
  font-size: 18px !important;
  line-height: 1;
  transform: translateX(1px);
}
.video-card-main {
  padding-bottom: clamp(12px, 2vw, 18px) !important;
}

.header-brand {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.brand-logo-main {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  color: inherit !important;
}
.brand-logo-main img {
  width: 52px !important;
  height: 52px !important;
  object-fit: cover !important;
  border-radius: 18px !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.2) !important;
}
.brand-logo-main strong,
.header-brand strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 13px;
  color: var(--champagne);
  font-weight: 600;
  margin: 0;
}
.brand-logo-main small,
.header-brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand-video-arrow-link {
  position: absolute !important;
  left: -7px !important;
  bottom: -7px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #F8F6F2 !important;
  color: #102033 !important;
  border: 1px solid rgba(230,211,179,.72) !important;
  box-shadow: 0 10px 26px rgba(2,8,18,.35) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  padding-left: 1px !important;
  z-index: 10 !important;
}
.brand-video-arrow-link:hover,
.brand-video-arrow-link:focus {
  transform: translateY(-1px) scale(1.04);
  outline: none;
}
@media (max-width: 560px) {
  .brand-video-arrow-link {
    width: 25px !important;
    height: 25px !important;
    font-size: 10px !important;
  }
}


/* v20 – final cache-buster video cleanup */
.video-note,
p.video-note,
[class*="video-note"],
#videoStartBtn,
.video-unmute {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  min-height: 0 !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}


/* v21 – mobile menu/js fix marker */
.site-header.menu-open .menu-panel {
  display: grid !important;
}


/* v22 COMPLETE CLEAN – CSS-only mobile menu, no dependency on JS for opening */
.menu-state {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.menu-toggle {
  user-select: none;
}
@media (min-width: 841px) {
  .menu-panel {
    display: flex !important;
    align-items: center;
    gap: 22px;
  }
  .menu-toggle,
  .menu-state {
    display: none !important;
  }
}
@media (max-width: 840px) {
  .site-header {
    overflow: visible !important;
  }
  .header-actions {
    position: relative !important;
  }
  .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer !important;
    min-height: 52px !important;
    min-width: 52px !important;
  }
  .menu-panel {
    display: none !important;
    position: absolute !important;
    top: calc(100% + 14px) !important;
    right: 0 !important;
    width: min(86vw, 340px) !important;
    padding: 18px !important;
    border: 1px solid rgba(230,211,179,.20) !important;
    border-radius: 24px !important;
    background: rgba(8, 19, 33, .98) !important;
    box-shadow: 0 24px 80px rgba(2,8,18,.48) !important;
    backdrop-filter: blur(20px) !important;
    z-index: 9999 !important;
  }
  .menu-state:checked + .menu-toggle + .menu-panel {
    display: grid !important;
    gap: 18px !important;
  }
  .menu-state:checked + .menu-toggle .menu-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-state:checked + .menu-toggle .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
  }
  .menu-state:checked + .menu-toggle .menu-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  .menu-toggle-icon span {
    transition: transform .28s ease, opacity .28s ease;
  }
  .menu-panel .site-nav {
    display: grid !important;
    gap: 12px !important;
  }
  .menu-panel .site-nav a {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(230,211,179,.10) !important;
  }
  .menu-panel .language-switcher {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .menu-panel .language-button {
    flex: 1 !important;
    justify-content: center !important;
  }
}
/* Keep video clean even if an old snippet somehow appears */
.video-note,
#videoStartBtn,
.video-unmute {
  display: none !important;
}


/* v23 – iOS Home-Screen-Web-App / PWA */
html {
  min-height: 100%;
  background: #0D1B2A;
}
body {
  min-height: 100dvh;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
@supports (padding: max(0px)) {
  .site-header {
    padding-top: max(0px, env(safe-area-inset-top));
  }
  .site-footer {
    padding-bottom: max(46px, calc(46px + env(safe-area-inset-bottom)));
  }
}
@media (display-mode: standalone) {
  body {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
  }
  input, textarea, [contenteditable="true"], p, h1, h2, h3 {
    -webkit-user-select: text;
    user-select: text;
  }
  .site-header {
    background: rgba(8, 19, 33, .92);
  }
}
.ios-install-hint {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, calc(18px + env(safe-area-inset-bottom)));
  z-index: 10000;
  width: min(520px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 14px 48px 14px 14px;
  border-radius: 24px;
  border: 1px solid rgba(230,211,179,.22);
  background: rgba(8, 19, 33, .94);
  color: var(--paper);
  box-shadow: 0 24px 80px rgba(2,8,18,.55);
  backdrop-filter: blur(22px);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
}
.ios-install-hint[hidden] {
  display: none !important;
}
.ios-install-icon img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(230,211,179,.25);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.ios-install-title {
  margin: 0 0 2px;
  font-weight: 700;
  font-size: 16px;
  color: var(--paper);
}
.ios-install-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(239,233,221,.78);
}
.ios-install-close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(230,211,179,.18);
  background: rgba(255,255,255,.06);
  color: var(--paper);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
@media (max-width: 560px) {
  .ios-install-hint {
    grid-template-columns: 48px 1fr;
    padding: 12px 44px 12px 12px;
    border-radius: 22px;
  }
  .ios-install-icon img {
    width: 48px;
    height: 48px;
  }
}


/* v27 – Reiter wie umschlagende Buchseiten */
.embedded-room-explorer {
  position: relative;
}

.room-panels-embedded {
  position: relative;
  perspective: 2200px;
  transform-style: preserve-3d;
}

.room-panels-embedded .room-panel {
  position: relative;
  isolation: isolate;
}

.room-panels-embedded .room-panel .room-page {
  position: relative;
  overflow: hidden;
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.985), rgba(248,244,237,.97));
  box-shadow:
    0 20px 44px rgba(10,24,44,.11),
    inset 0 0 0 1px rgba(18,34,56,.05);
}

.room-panels-embedded .room-panel .room-page::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 22px;
  border-radius: 24px 0 0 24px;
  background:
    linear-gradient(90deg,
      rgba(10,24,44,.12) 0%,
      rgba(10,24,44,.07) 18%,
      rgba(255,255,255,.0) 100%);
  pointer-events: none;
  z-index: 2;
}

.room-panels-embedded .room-panel .room-page::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.0) 0%,
      rgba(255,255,255,.0) 58%,
      rgba(255,255,255,.12) 72%,
      rgba(10,24,44,.08) 84%,
      rgba(10,24,44,.18) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.room-panels-embedded .room-panel.is-active {
  z-index: 3;
}

.room-panels-embedded .room-panel.is-leaving {
  z-index: 2;
}

.room-panels-embedded .room-panel.is-active .room-page {
  animation: alnoaBookPageOpen .92s cubic-bezier(.2,.9,.16,1) both;
}

.room-panels-embedded .room-panel.is-active .room-page::after {
  animation: alnoaBookSheenIn .92s ease-out both;
}

.room-panels-embedded .room-panel.is-leaving .room-page {
  animation: alnoaBookPageTurn .84s cubic-bezier(.55,.02,.32,.97) both;
}

.room-panels-embedded .room-panel.is-leaving .room-page::after {
  opacity: 1;
  animation: alnoaBookSheenTurn .84s ease-in both;
}

@keyframes alnoaBookPageOpen {
  0% {
    opacity: .18;
    transform: rotateY(-88deg) translateX(-14px) scale(.985);
    box-shadow:
      0 10px 24px rgba(10,24,44,.08),
      26px 0 30px rgba(10,24,44,.10),
      inset 0 0 0 1px rgba(18,34,56,.04);
    filter: brightness(.985);
  }
  48% {
    opacity: .72;
    transform: rotateY(-24deg) translateX(-3px) scale(.995);
    box-shadow:
      0 18px 38px rgba(10,24,44,.11),
      14px 0 22px rgba(10,24,44,.08),
      inset 0 0 0 1px rgba(18,34,56,.05);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) scale(1);
    box-shadow:
      0 20px 44px rgba(10,24,44,.11),
      inset 0 0 0 1px rgba(18,34,56,.05);
    filter: brightness(1);
  }
}

@keyframes alnoaBookPageTurn {
  0% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) scale(1);
    box-shadow:
      0 20px 44px rgba(10,24,44,.11),
      inset 0 0 0 1px rgba(18,34,56,.05);
    filter: brightness(1);
  }
  45% {
    opacity: .98;
    transform: rotateY(26deg) translateX(4px) scale(.997);
    box-shadow:
      0 18px 38px rgba(10,24,44,.11),
      -10px 0 18px rgba(10,24,44,.08),
      inset 0 0 0 1px rgba(18,34,56,.05);
  }
  100% {
    opacity: 0;
    transform: rotateY(92deg) translateX(8px) scale(.986);
    box-shadow:
      0 12px 26px rgba(10,24,44,.06),
      -18px 0 26px rgba(10,24,44,.10),
      inset 0 0 0 1px rgba(18,34,56,.04);
    filter: brightness(.97);
  }
}

@keyframes alnoaBookSheenIn {
  0% {
    opacity: .22;
    transform: translateX(34%) scaleX(1.08);
  }
  60% {
    opacity: .14;
    transform: translateX(10%) scaleX(1.02);
  }
  100% {
    opacity: 0;
    transform: translateX(0) scaleX(1);
  }
}

@keyframes alnoaBookSheenTurn {
  0% {
    opacity: .08;
    transform: translateX(0) scaleX(1);
  }
  45% {
    opacity: .26;
    transform: translateX(-8%) scaleX(1.04);
  }
  100% {
    opacity: .34;
    transform: translateX(-18%) scaleX(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-panels-embedded .room-panel.is-active .room-page,
  .room-panels-embedded .room-panel.is-active .room-page::after,
  .room-panels-embedded .room-panel.is-leaving .room-page,
  .room-panels-embedded .room-panel.is-leaving .room-page::after {
    animation: none !important;
  }
}


/* v28 – echterer physischer Buchseiten-Umschlag ohne gestapelte Panels */
.embedded-room-explorer {
  position: relative;
}

.room-panels-embedded {
  position: relative;
  min-height: 320px;
  perspective: 2600px;
  transform-style: preserve-3d;
  overflow: visible;
}

.room-panels-embedded .room-panel {
  position: absolute !important;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.room-panels-embedded .room-panel[hidden] {
  display: none !important;
}

.room-panels-embedded .room-panel .room-page {
  position: absolute;
  inset: 0;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transform-origin: left center;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.985), rgba(247,242,234,.97));
  box-shadow:
    0 18px 40px rgba(10,24,44,.09),
    inset 0 0 0 1px rgba(18,34,56,.05);
}

.room-panels-embedded .room-panel .room-page::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 28px;
  border-radius: 28px 0 0 28px;
  background: linear-gradient(90deg,
    rgba(10,24,44,.12) 0%,
    rgba(10,24,44,.07) 18%,
    rgba(10,24,44,.03) 38%,
    rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 2;
}

.room-panels-embedded .room-panel .room-page::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 58%,
    rgba(255,255,255,.10) 72%,
    rgba(10,24,44,.06) 84%,
    rgba(10,24,44,.14) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.room-panels-embedded .room-panel.is-active {
  z-index: 2;
}

.room-panels-embedded .room-panel.is-leaving {
  z-index: 3;
}

/* neue Seite liegt ruhig darunter und wird nur sanft sichtbar */
.room-panels-embedded .room-panel.is-active .room-page {
  animation: alnoaPageUnderReveal .56s ease-out both;
}

.room-panels-embedded .room-panel.is-active .room-page::after {
  animation: alnoaPageUnderGlow .56s ease-out both;
}

/* alte Seite schlägt wie eine physische Buchseite nach links um */
.room-panels-embedded .room-panel.is-leaving .room-page {
  animation: alnoaPhysicalPageTurn .95s cubic-bezier(.34,.02,.18,.99) forwards;
}

.room-panels-embedded .room-panel.is-leaving .room-page::after {
  opacity: 1;
  animation: alnoaPhysicalPageShade .95s ease-in forwards;
}

@keyframes alnoaPageUnderReveal {
  0% {
    opacity: .82;
    transform: scale(.992) translateY(2px);
    filter: brightness(.985);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: brightness(1);
  }
}

@keyframes alnoaPageUnderGlow {
  0% {
    opacity: .12;
    transform: translateX(6%);
  }
  100% {
    opacity: 0;
    transform: translateX(0);
  }
}

@keyframes alnoaPhysicalPageTurn {
  0% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) scale(1);
    box-shadow:
      0 18px 40px rgba(10,24,44,.09),
      inset 0 0 0 1px rgba(18,34,56,.05);
    filter: brightness(1);
  }
  22% {
    opacity: 1;
    transform: rotateY(-18deg) translateX(-1px) scale(1);
    box-shadow:
      0 18px 40px rgba(10,24,44,.10),
      20px 0 24px rgba(10,24,44,.10),
      inset 0 0 0 1px rgba(18,34,56,.05);
  }
  54% {
    opacity: .98;
    transform: rotateY(-58deg) translateX(-2px) scale(.998);
    box-shadow:
      0 14px 28px rgba(10,24,44,.07),
      30px 0 38px rgba(10,24,44,.13),
      inset 0 0 0 1px rgba(18,34,56,.04);
    filter: brightness(.985);
  }
  100% {
    opacity: 0;
    transform: rotateY(-103deg) translateX(-2px) scale(.996);
    box-shadow:
      0 8px 16px rgba(10,24,44,.04),
      34px 0 44px rgba(10,24,44,.16),
      inset 0 0 0 1px rgba(18,34,56,.03);
    filter: brightness(.97);
  }
}

@keyframes alnoaPhysicalPageShade {
  0% {
    opacity: .06;
    transform: translateX(0) scaleX(1);
  }
  45% {
    opacity: .24;
    transform: translateX(-8%) scaleX(1.06);
  }
  100% {
    opacity: .36;
    transform: translateX(-18%) scaleX(1.10);
  }
}

@media (max-width: 560px) {
  .room-panels-embedded {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room-panels-embedded .room-panel.is-active .room-page,
  .room-panels-embedded .room-panel.is-active .room-page::after,
  .room-panels-embedded .room-panel.is-leaving .room-page,
  .room-panels-embedded .room-panel.is-leaving .room-page::after {
    animation: none !important;
  }
}


/* v30 – HARD FIX: sichtbare Trennlinie zwischen Hero und ALNOA-AI-Abschnitt */
.section-divider-after-hero {
  width: min(var(--container), calc(100% - 48px));
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    rgba(230, 211, 179, 0) 0%,
    rgba(230, 211, 179, .34) 13%,
    rgba(230, 211, 179, .86) 50%,
    rgba(230, 211, 179, .34) 87%,
    rgba(230, 211, 179, 0) 100%
  );
  box-shadow: 0 0 18px rgba(230, 211, 179, .16);
  opacity: 1;
}
@media (max-width: 560px) {
  .section-divider-after-hero {
    width: calc(100% - 24px);
  }
}

/* v30 – HARD FIX: Reiter-Autoslider + echte überlagerte Buchseite */
.embedded-room-explorer {
  position: relative;
  margin-top: 28px;
}

.embedded-room-explorer .room-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
}

.embedded-room-explorer .room-tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  line-height: 1 !important;
}

.embedded-room-explorer .room-tab-title {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.05 !important;
  width: 100%;
}

.embedded-room-explorer .room-tab.is-active {
  position: relative;
  overflow: hidden;
}

.embedded-room-explorer .room-tab.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: rgba(248, 246, 242, .66);
  transform-origin: left center;
  animation: alnoaRoomProgressV30 10s linear forwards;
}

@keyframes alnoaRoomProgressV30 {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.room-panels-embedded {
  position: relative !important;
  min-height: 360px !important;
  margin-top: 18px !important;
  perspective: 2400px !important;
  transform-style: preserve-3d !important;
  overflow: visible !important;
}

.room-panels-embedded .room-panel {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.room-panels-embedded .room-panel[hidden] {
  display: block !important;
}

.room-panels-embedded .room-panel .room-page {
  position: absolute !important;
  inset: 0 !important;
  min-height: 360px !important;
  height: 100% !important;
  border-radius: 26px !important;
  padding: clamp(24px, 4vw, 40px) !important;
  overflow: hidden !important;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,244,237,.97)) !important;
  border: 1px solid rgba(18,34,56,.10) !important;
  box-shadow: 0 20px 54px rgba(10,24,44,.10), inset 0 1px 0 rgba(255,255,255,.55) !important;
  transform-origin: left center !important;
  transform-style: preserve-3d !important;
  backface-visibility: hidden !important;
  will-change: transform, opacity;
}

.room-panels-embedded .room-panel .room-page::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 30px;
  border-radius: 26px 0 0 26px;
  background: linear-gradient(90deg, rgba(10,24,44,.13), rgba(10,24,44,.06) 45%, rgba(255,255,255,0));
  pointer-events: none;
  z-index: 2;
}

.room-panels-embedded .room-panel .room-page::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.08) 55%, rgba(10,24,44,.10) 78%, rgba(10,24,44,.22) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.room-panels-embedded .room-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 3;
}

.room-panels-embedded .room-panel.is-under {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.room-panels-embedded .room-panel.is-turning {
  opacity: 1;
  visibility: visible;
  z-index: 5;
}

.room-panels-embedded .room-panel.is-active .room-page {
  transform: rotateY(0deg) translateX(0) scale(1);
}

.room-panels-embedded .room-panel.is-under .room-page {
  transform: scale(.993);
  filter: brightness(.985);
}

.room-panels-embedded .room-panel.is-turning .room-page {
  animation: alnoaPhysicalPageTurnV30 1.12s cubic-bezier(.42, 0, .16, 1) forwards !important;
}

.room-panels-embedded .room-panel.is-turning .room-page::after {
  animation: alnoaPhysicalPageShadeV30 1.12s ease-in-out forwards !important;
}

@keyframes alnoaPhysicalPageTurnV30 {
  0% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) scale(1);
    box-shadow: 0 20px 54px rgba(10,24,44,.10), inset 0 1px 0 rgba(255,255,255,.55);
  }
  28% {
    opacity: 1;
    transform: rotateY(-24deg) translateX(-1.5%) scale(1);
    box-shadow: 22px 14px 34px rgba(10,24,44,.12), inset 0 1px 0 rgba(255,255,255,.5);
  }
  62% {
    opacity: .98;
    transform: rotateY(-68deg) translateX(-3%) scale(.996);
    box-shadow: 34px 14px 42px rgba(10,24,44,.16), inset 0 1px 0 rgba(255,255,255,.42);
  }
  100% {
    opacity: 0;
    transform: rotateY(-112deg) translateX(-4%) scale(.992);
    box-shadow: 38px 10px 50px rgba(10,24,44,.18), inset 0 1px 0 rgba(255,255,255,.30);
  }
}

@keyframes alnoaPhysicalPageShadeV30 {
  0% { opacity: .05; transform: translateX(0) scaleX(1); }
  40% { opacity: .34; transform: translateX(-8%) scaleX(1.04); }
  100% { opacity: .52; transform: translateX(-18%) scaleX(1.08); }
}

@media (max-width: 560px) {
  .embedded-room-explorer .room-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .room-panels-embedded {
    min-height: 350px !important;
  }
  .room-panels-embedded .room-panel .room-page {
    min-height: 350px !important;
  }
}


/* v31 – Autoslider-Fix: Progress/Timing sichtbar neu starten */
.embedded-room-explorer .room-tab.is-active::after {
  animation-name: alnoaRoomProgressV31 !important;
  animation-duration: 10s !important;
  animation-timing-function: linear !important;
  animation-fill-mode: forwards !important;
}

@keyframes alnoaRoomProgressV31 {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}


/* v33 – ALNOA Farbanpassung für „Über uns“-Karten */
.person-card {
  background:
    linear-gradient(180deg, rgba(19, 34, 53, .92), rgba(13, 27, 42, .86)) !important;
  border-color: rgba(230, 211, 179, .22) !important;
  box-shadow:
    0 22px 60px rgba(2, 8, 18, .20),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
}

.person-card .eyebrow {
  color: #E6D3B3 !important;
  opacity: 1 !important;
}

.person-card h3 {
  color: #D8C8B0 !important;
  opacity: 1 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.04);
}

.person-card p:not(.eyebrow) {
  color: #EFE9DD !important;
  opacity: 1 !important;
}

/* kleine Qualitätskorrektur für Lesbarkeit auf dunklen Karten */
.person-card h3 + p,
.person-card p {
  max-width: 48ch;
}


/* v33 social-follow-only */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.social-follow-section {
  padding-top: 32px;
  padding-bottom: 56px;
}

.social-follow-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.social-follow-heading {
  margin: 0;
  color: #F8F6F2;
}

.social-follow-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.social-follow-link {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E6D3B3;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(230,211,179,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 40px rgba(0,0,0,0.12);
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background-color .35s ease;
  -webkit-tap-highlight-color: transparent;
}

.social-follow-link svg {
  width: 34px;
  height: 34px;
}

.social-follow-link:hover,
.social-follow-link:focus-visible {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(230,211,179,0.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 20px 42px rgba(0,0,0,0.18);
}

@media (max-width: 767px) {
  .social-follow-section {
    padding-top: 16px;
    padding-bottom: 40px;
  }

  .social-follow-links {
    gap: 16px;
  }

  .social-follow-link {
    width: 84px;
    height: 84px;
    border-radius: 22px;
  }

  .social-follow-link svg {
    width: 30px;
    height: 30px;
  }
}
