/* Gemeinsame Demo-Elemente: Demo-Leiste mit Paket-Umschalter, Paket-Sichtbarkeit, Untermenüs, Hinweis nach Formular. */

/* Paket-Sichtbarkeit:
   data-nur="start"  nur im Paket Start
   data-nur="reisen" in Reisen UND Reisen plus
   data-nur="nur-reisen" nur in Reisen (nicht in Reisen plus)
   data-nur="plus"   nur in Reisen plus */
html[data-paket="start"] [data-nur="reisen"],
html[data-paket="start"] [data-nur="nur-reisen"],
html[data-paket="start"] [data-nur="plus"],
html[data-paket="reisen"] [data-nur="plus"],
html[data-paket="plus"] [data-nur="nur-reisen"],
html:not([data-paket="start"]) [data-nur="start"] { display: none !important; }

/* Demo-Leiste ganz oben */
.demo-bar { position: relative; z-index: 50; background: #001F33; color: #FFFFFF; font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.4; }
.demo-bar__in { max-width: 1240px; margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.demo-bar a, .demo-bar a:visited { color: #FFFFFF !important; text-underline-offset: 3px; }
.demo-bar a:hover { color: #D4FF4D !important; text-decoration-thickness: 2px; }
.demo-bar a:focus-visible, .demo-bar button:focus-visible { outline: 3px solid #D4FF4D; outline-offset: 2px; }
.demo-bar__switch { display: inline-flex; align-items: center; gap: 10px; }
.demo-bar__group { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); }
.demo-bar__group button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #FFFFFF; font: inherit; font-weight: 700; cursor: pointer; }
.demo-bar__group button[aria-pressed="true"] { background: #D4FF4D; color: #001F33; }

/* Untermenüs: Desktop */
.mr-has-sub { position: relative; display: flex; align-items: center; gap: 2px; }
.mr-subtoggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: none; color: inherit; cursor: pointer; }
.mr-subtoggle svg { transition: transform 0.15s; }
.mr-subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mr-sub { display: none; position: absolute; left: -12px; top: 100%; z-index: 30; min-width: 240px; margin: 0; padding: 8px; list-style: none; background: var(--c-surface, #FFFFFF); border: 1px solid var(--c-border); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); font-size: 17px; font-weight: 600; }
.mr-has-sub:hover .mr-sub, .mr-has-sub:focus-within .mr-sub, .mr-has-sub[data-open="true"] .mr-sub { display: block; }
.mr-nav .mr-sub a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; white-space: nowrap; color: var(--c-text); text-decoration: none; }
.mr-nav .mr-sub a:hover { background: var(--c-tint); color: var(--c-text); text-decoration: none; }

/* Untermenüs: mobil eingerückt */
.mr-subm { list-style: none; margin: 0 0 12px; padding: 0 0 0 20px; font-size: 18px; font-weight: 500; }
.mr-subm a { display: flex; align-items: center; min-height: 48px; }

/* Hinweis nach dem Absenden eines Demo-Formulars */
.demo-msg { margin: 0; padding: 14px 18px; border-radius: 10px; background: #001F33; color: #FFFFFF; font-weight: 600; }
