/* ===== RESET & BASIS ===== */
*,
*::before,
*::after { box-sizing: border-box; }

/* Kompaktes Scroll-Verhalten für einen direkteren Look */
html {
  scroll-behavior: smooth;
  /* Desktop: Reduziert auf 100px (knapp unter der Header-Höhe) */
  scroll-padding-top: 100px; 
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Mobile Optimierung für schmalere Header */
@media (max-width: 850px) {
  html {
    /* Mobil: Reduziert auf 75px für maximale Platzersparnis */
    scroll-padding-top: 75px; 
  }
}

/* ===== DESIGN VARIABLEN ===== */
/* 1) Variablen-Definitionen */
:root {
  --brand: #6d28d9;
  --brand-soft: rgba(109, 40, 217, 0.12);
  --brand-soft-stronger: rgba(109, 40, 217, 0.16);
  --brand-soft-border: rgba(129, 140, 248, 0.7);

  --bg-page: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-soft: #f3f4ff;
  --bg-muted: #f3f4f6;
  --border: #e5e7eb;

  --text: #111827;
  --text-soft: #374151;
  --text-muted: #6b7280;

  --radius: 16px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 18px 60px rgba(15, 23, 42, 0.18);
}

/* 2) Globale HTML-Einstellungen für das Scroll-Verhalten */
html {
  scroll-behavior: smooth;
  /* Verhindert, dass der sticky Header die Anker-Überschrift überlagert */
  scroll-padding-top: 90px; 
}

.price-tag {
  font-weight: 700;
  color: var(--brand); /* Nur der Preis bekommt die Farbe */
}

/* ===== GENERISCHE ELEMENTE ===== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

/* ===== SEITENLAYOUT ===== */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.65);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
}

.site-logo img {
  width: 188px;
  height: auto;
  border-radius: 12px;
}

/* ===== NAVIGATION DESKTOP ===== */
.site-nav {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-nav__list {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a,
.submenu-trigger {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  background: transparent;
}

/* Aktiver Link im Menü: Dezenterer Look */
.site-nav li.is-active > a,
.site-nav li.is-active > .submenu-trigger {
  color: var(--brand);              /* Schrift in Violett */
  background: var(--brand-soft);    /* Ganz zartes Violett im Hintergrund */
  font-weight: 700;
  box-shadow: none;                 /* Entfernt den harten Schatten/Border */
}

/* Hover-Effekt ebenfalls anpassen */
.site-nav a:hover,
.submenu-trigger:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.nav-cta {
  margin-left: 4px;
}

/* Burger Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  width: 44px;
  height: 36px;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;      /* für das X */
  overflow: visible;       /* verhindert Abschneiden */
}

.nav-toggle__bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 3px 0;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

/* Burger -> X: Striche ausblenden, X zentriert zeichnen */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before,
.nav-toggle[aria-expanded="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Dropdown */
.has-submenu {
  position: relative;
}

.submenu-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.submenu-trigger::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  transform: translateY(2px);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
}

.submenu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  z-index: 5100;
}

.submenu li + li {
  margin-top: 4px;
}

.submenu a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-soft);
  text-decoration: none;
}

.submenu a:hover {
  background: var(--bg-muted);
  color: var(--text);
}

/* geöffnete Submenüs (Desktop / per JS) */
.has-submenu.is-open > .submenu {
  display: block;
}

/* Overlay für Desktop & Mobile - Farblich auf Branding abgestimmt */
.nav-overlay {
  position: fixed;
  inset: 0;
  /* Neutraleres Dunkel statt Violett */
  background: rgba(15, 23, 42, 0.5); 
  backdrop-filter: blur(3px); 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 4000;
  display: none;
}

.nav-overlay.is-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* ===== HERO ===== */
.hero {
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.12), transparent 55%), #f3f4ff;
  border-bottom: 1px solid rgba(199, 210, 254, 0.7);
}

.hero--inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 20px 40px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 36px;
  align-items: center;
}

.hero__kicker {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4f46e5;
  margin-bottom: 8px;
}

.hero__title {
  font-size: clamp(2rem, 3vw + 1.6rem, 2.6rem);
  line-height: 1.15;
  margin: 0 0 16px;
  color: #111827;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.9rem;
  color: var(--text-soft);
  box-shadow: 0 14px 36px rgba(148, 163, 184, 0.35);
}

.hero__badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(96, 165, 250, 0.1);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  /* box-shadow entfernen */
  box-shadow: 0 18px 45px rgba(79, 70, 229, 0.45);
}

.btn-secondary {
  background: #ede9fe;
  color: #4c1d95;
  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.18);
}

.btn-secondary:hover {
  background: #ddd6fe;
}

/* Alias: erlaubt <a class="btn secondary"> überall */
.btn.secondary{
  background: #ede9fe;
  color: #4c1d95;
  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.18);
}

.btn.secondary:hover{
  background: #ddd6fe;
}


.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid #e5e7eb;
}

.btn-ghost:hover {
  background: #f9fafb;
}

/* ===== CONTENT LAYOUT ===== */
.section {
  padding: 40px 20px;
}

.section--alt {
  background: #f9fafb;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section__headline {
  font-size: 1.6rem;
  margin: 0 0 10px;
  color: #111827;
}

.section__intro {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 700px;
}

/* Textseiten */
.page-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  font-size: 1rem;
  line-height: 1.7;
}

.page-content h1 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 12px;
}

.page-content h2 {
  font-size: 1.4rem;
  margin-top: 26px;
  margin-bottom: 10px;
}

.page-content h3 {
  font-size: 1.15rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.page-content p {
  margin: 0 0 14px;
  color: var(--text-soft);
}

.page-content ul {
  margin: 0 0 14px 20px;
  padding: 0;
  color: var(--text-soft);
}

.page-content li + li {
  margin-top: 4px;
}

/* Hinweisboxen */
.info-box {
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: #eef2ff;
  border: 1px solid rgba(129, 140, 248, 0.6);
  color: #111827;
}

.info-box strong {
  display: block;
  margin-bottom: 4px;
}

/* Spiele Übersicht */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.games-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.games-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.12);
  color: #4f46e5;
}

.games-card__title {
  font-size: 1.1rem;
  margin: 0;
  color: #111827;
}

.games-card__meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.games-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 8px;
}

.games-card__tag {
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f4ff;
  color: #4f46e5;
}

/* Formulare */
.form {
  max-width: 720px;
  margin: 0 auto;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form__label {
  font-weight: 600;
  color: #111827;
}

.form__control,
.form__textarea,
.form__select {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 9px 11px;
  font: inherit;
  outline: none;
  background: #ffffff;
  min-height: 40px;
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__control:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.3);
}

.form__hint {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ===== FOOTER ===== */
.site-footer{
  background: #fff;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.site-footer--dark{
  background: #0b1020;
  color: #e5e7eb;
  border-top: none;
}
.site-footer__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 36px;
}
.site-footer .footer-col ul{
  list-style: none; margin: 0; padding-left: 0;
}
.site-footer .footer-col li{ margin: 10px 0; }
.site-footer .footer-col a{
  font-size: 1.05rem;
  color: #0f172a;
  text-decoration: none;
}
.site-footer--dark .footer-col a{
  color: #e5e7eb;
}
.site-footer .footer-col a:hover{
  color: #111827;
  text-decoration: underline;
}
.site-footer--dark .footer-col a:hover{
  color: #ffffff; text-decoration: underline;
}
.site-footer__bar{
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px dashed rgba(148,163,184,.35);
}
.site-footer__bar .footer-cookie-link {
  background: none;
  border: none;
  color: #ffffff;
  font: inherit;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}

.site-footer__bar .footer-cookie-link:hover,
.site-footer__bar .footer-cookie-link:focus {
  text-decoration: none;
}
.site-footer--dark .legal-note{ color: #cbd5e1; }

.footer-bar-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  opacity: 1;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.social-link svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

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

@media (max-width: 720px) {
  .footer-bar-right {
    justify-content: flex-start;
  }

  .legal-note {
    flex-basis: 100%;
  }
}

.social-link--pinterest { background: rgba(230, 0, 35, 0.22); border-color: rgba(230, 0, 35, 0.35); }
.social-link--facebook  { background: rgba(24, 119, 242, 0.22); border-color: rgba(24, 119, 242, 0.35); }

.social-link--pinterest:hover,
.social-link--pinterest:focus-visible { background: rgba(230, 0, 35, 0.30); }

.social-link--facebook:hover,
.social-link--facebook:focus-visible { background: rgba(24, 119, 242, 0.30); }


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px){
  .site-header__inner { gap: 12px; }
  .site-logo img { width: 160px; }
  .site-footer__inner{ grid-template-columns: 1fr 1fr; }
}

/* Burger Menü und Overlay für Mobile und Tablet */
@media (max-width: 850px) {
  .site-header {
    position: relative;
    z-index: 6000;
  }

  .site-header__inner {
    /* Padding vereinheitlicht, damit der Button nicht rausrückt */
    padding: 10px 16px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  
  .site-logo img {
    width: 150px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-right: 0; /* Margin entfernt, Abstand kommt nun vom Header-Padding */
    position: relative;
    z-index: 6001;
  }

  .site-nav {
    position: fixed !important;
    top: 72px; 
    right: 0; /* Exakt am rechten Rand anliegend */
    width: 280px; /* Feste Breite verhindert Berechnungsfehler beim Overflow */
    max-height: calc(100vh - 72px - 16px);
    background-color: #ffffff;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%); /* Startet exakt außerhalb */
    transition: transform 0.2s ease;
    z-index: 5500;
    overflow-y: auto;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px 20px 12px;
  }

  .site-nav__list > li {
    width: 100%;
  }

  .site-nav a,
  .submenu-trigger {
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 999px;
  }

  .submenu-trigger::after {
    display: none;
  }

  .has-submenu .submenu {
    position: static;
    display: block !important; /* Mobile: Unterseiten immer sichtbar */
    box-shadow: none;
    border: 0;
    padding: 4px 0 0 16px;
    margin-top: 4px;
  }

  .has-submenu .submenu li a {
    font-size: 0.95rem;
    padding: 8px 14px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Sehr kleine Screens: Footer 1-spaltig */
@media (max-width: 490px){
  .site-footer__inner{
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
}

/* ===== APP SCREENSHOT GALERIE (global) ===== */

.app-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.app-gallery__item {
  cursor: pointer;
}

.app-gallery__figure {
  margin: 0;
}

.app-gallery__media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f1f5f9;
}

.app-gallery__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.app-gallery__caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Lightbox Overlay */

.app-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.85);
  z-index: 7000;
}

.app-lightbox--open {
  display: flex;
}

.app-lightbox__figure {
  max-width: min(1040px, 96vw);
  max-height: 90vh;
  background: #020617;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
}

.app-lightbox__caption {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.app-lightbox__close {
  align-self: flex-end;
  font-size: 1.4rem;
  line-height: 1;
  border: 0;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
}

/* Responsive Spaltenanzahl für Galerie */

@media (max-width: 1024px) {
  .app-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .app-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .app-gallery {
    grid-template-columns: 1fr;
  }
}

/* ===== FIX: Cookie Banner sichtbarer machen ===== */

/* Banner etwas heller */
#cookie-banner {
  background: rgba(15, 23, 42, 0.9) !important;
  color: #f9fafb !important;
}

/* Text im Banner heller */
#cookie-banner .cookie-banner__text {
  color: #f9fafb !important;
}

/* "Nur notwendige" Button über die ID stylen */
#cookie-essentials {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e5e7eb !important;
}

/* Hover Zustand */
#cookie-essentials:hover {
  background-color: #e5e7eb !important;
  color: #020617 !important;
}

/* "Statistik erlauben" als klarer CTA */
#cookie-allow-all {
  background-color: #4f46e5 !important;
  color: #ffffff !important;
  border: none !important;
}


/* ===========================
   Cookie Dialog
   =========================== */

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.cookie-modal__dialog h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.cookie-modal__dialog p {
  margin-top: 0.25rem;
}

.cookie-modal__categories {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-category__title {
  font-weight: 600;
}

.cookie-category__state {
  font-size: 0.85rem;
  opacity: 0.8;
}

.cookie-category__text {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

/* Toggle Switch */

.cookie-toggle {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  align-items: center;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #4b4b62;
  transition: 0.2s;
}

.cookie-toggle__slider::before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #ffffff;
  transition: 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: #7c3aed; /* dein Violett */
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(18px);
}

.cookie-modal__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.cookie-modal__link {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: left;
}

/* Buttons oben: Akzeptieren / Ablehnen / Anpassen */
.cookie-modal__buttons-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Detailbereich mit Kategorien und Speichern Button */
.cookie-modal__detail {
  margin-top: 1.5rem;
}

.cookie-modal__detail[hidden] {
  display: none;
}

.cookie-modal__buttons-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Inhalt etwas „luftiger“, aber nicht so hoch */

.cookie-modal__buttons-main {
  margin-top: 1rem;
}

.cookie-modal__detail {
  margin-top: 1rem;
}

.cookie-modal__categories {
  gap: 0.75rem;
}

.cookie-category__text,
.cookie-modal__dialog p {
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-modal__dialog p,
.cookie-modal__dialog span {
  white-space: normal;
  overflow-wrap: break-word;
}


/* Intro-Text im Cookie Dialog: garantiert umbrechen */
.cookie-modal__intro {
  display: block;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  word-break: break-word;
  max-width: 100%;
}

/* Einheitlicher Cookie Dialog für Desktop und Mobile */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

/* Der eigentliche Dialog */
.cookie-modal__dialog {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 2rem); /* 1rem Abstand links und rechts */
  max-width: 520px;          /* Desktop: nicht breiter als 520px */
  max-height: 90vh;
  margin: 0;
  padding: 1rem 1rem 1.25rem;
  background: #161b2b;
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  overflow-y: auto;
}

/* Text im Dialog: immer umbrechen */
.cookie-modal__dialog,
.cookie-modal__dialog * {
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
}

/* Mobile: Cookie Dialog soll voll anliegen, ohne Rand rechts (und links) */
@media (max-width: 640px) {
  .cookie-modal__dialog {
    left: 0;
    right: 0;
    transform: none;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-radius: 0.75rem; /* kannst du anpassen oder auf 0 setzen */
    box-sizing: border-box;
  }
}

/* Stripe Trust Badge */
#reg-use .stripe-trust{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--wm-border);
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
#reg-use .stripe-trust__badge{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border:1px solid var(--wm-border);
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 16px rgba(2,6,23,.06);
}
#reg-use .stripe-trust__badge img{
  height:22px;
  width:auto;
  display:block;
}
#reg-use .stripe-trust__text{
  margin:0;
  font-size:14px;
  color:var(--wm-muted);
}
#reg-use .stripe-trust__text a{
  white-space:nowrap;
}

#reg-use .trust-strip{
  margin-top:16px;
  padding:16px;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
#reg-use .trust-strip__left{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
#reg-use /* Stripe Badge soll nicht wie ein Button aussehen */
.trust-strip__badge{
  display:inline-flex;
  align-items:center;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  text-decoration:none !important;
  line-height:0;
}


#reg-use .trust-strip__badge img{
  display:block;
  height:28px; /* bei Bedarf 24 bis 32 */
  width:auto;
}

#reg-use .trust-strip__text{
  margin:0;
  font-size:14px;
  color:var(--wm-muted);
}

/* Stripe Trust Hinweis im Preisbereich */
#mission-preise .trust-strip{
  margin-top:10px;
  padding-top:12px;
  border-top:1px solid var(--wm-border);
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

#mission-preise .trust-strip__left{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

#mission-preise .trust-strip__badge{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border:1px solid var(--wm-border);
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 16px rgba(2,6,23,.06);
}

#mission-preise .trust-strip__badge img{
  height:22px;
  width:auto;
  display:block;
}

#mission-preise .trust-strip__text{
  margin:0;
  font-size:14px;
  color:var(--wm-muted);
}

#mission-preise .trust-strip__text a{
  white-space:nowrap;
}
