:root {
  --bg: #080b16;
  --bg-2: #0d1428;
  --card: rgba(255, 255, 255, 0.075);
  --card-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f6f2ea;
  --muted: #c6c1b9;
  --soft: #a7b4ff;
  --gold: #f2c66d;
  --cyan: #75e4ff;
  --violet: #9b7cff;
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --radius: 26px;
  --max: 1240px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(117, 228, 255, 0.22), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(155, 124, 255, 0.28), transparent 32%),
    radial-gradient(circle at 50% 100%, rgba(242, 198, 109, 0.14), transparent 36%),
    linear-gradient(180deg, #080b16 0%, #0a0f1f 48%, #080b16 100%);
  overflow-x: hidden;
}
body::before {
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, transparent 78%);
  z-index: -2;
}
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.75; font-size: 1.03rem; }
h1,h2,h3 { margin: 0; letter-spacing: -0.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); line-height: .92; }
h2 { font-size: clamp(2rem, 4.3vw, 4rem); line-height: 1; }
h3 { font-size: 1.35rem; line-height: 1.18; }
ul { margin: 0; padding-left: 1.15rem; color: var(--muted); line-height: 1.75; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(22px);
  background: rgba(8,11,22,.76);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; }
.brand { display:inline-flex; align-items:center; gap:12px; font-weight:900; letter-spacing:-.03em; white-space:nowrap; }
.brand-mark { width:42px; height:42px; border-radius:50%; background: url("../img/energoinformatics-icon-192.png") center/cover no-repeat; box-shadow: 0 10px 30px rgba(117,228,255,.20), 0 6px 18px rgba(242,198,109,.16); flex:0 0 42px; }
.brand-mark::after { content:none; }
.brand > span:last-child { display:inline-block; font-size:1.08rem; font-weight:900; letter-spacing:-.035em; background: linear-gradient(90deg, #e7c36f 0 39%, #f4f5f8 39% 100%); -webkit-background-clip:text; background-clip:text; color:transparent; text-shadow: 0 0 18px rgba(255,255,255,.06); }

.nav-links { display:flex; align-items:center; gap:16px; color: rgba(246,242,234,.82); font-size:.94rem; }
.nav-links a { transition: color .18s ease; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display:flex; align-items:center; gap:10px; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:0 20px; border-radius:999px; font-weight:800; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.08); box-shadow:0 12px 34px rgba(0,0,0,.24); transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); background:rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.button[disabled] { opacity: .68; cursor: not-allowed; transform: none; }
.button[aria-busy="true"] { opacity: .72; cursor: wait; transform: none; }
.button.primary { background: linear-gradient(135deg, rgba(117,228,255,.95), rgba(155,124,255,.95)); color:#07101b; border-color: transparent; }
.button.gold { background: linear-gradient(135deg, rgba(242,198,109,.95), rgba(255,233,174,.92)); color:#151019; border-color: transparent; }
.hero { padding: 78px 0 56px; position:relative; }
.hero-grid { display:grid; grid-template-columns: minmax(0,.88fr) minmax(520px,1.12fr); gap: 44px; align-items:center; }
.kicker { display:inline-flex; align-items:center; gap:10px; color: var(--gold); text-transform:uppercase; letter-spacing:.16em; font-size:.78rem; font-weight:900; margin-bottom: 18px; }
.kicker::before { content:""; width:38px; height:1px; background: var(--gold); opacity:.9; }
.lead { font-size: clamp(1.16rem, 2vw, 1.42rem); max-width: 760px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:28px; }
.visual { position:relative; }
.visual-card { border-radius: 34px; overflow:hidden; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.06); box-shadow: var(--shadow); }
.visual-card img { width:100%; display:block; height:auto; max-width:100%; object-fit: contain; image-rendering: auto; }
.glow { position:absolute; width: 280px; height:280px; border-radius:50%; background: radial-gradient(circle, rgba(242,198,109,.26), transparent 65%); filter: blur(10px); right:-80px; bottom:-70px; pointer-events:none; }
.section { padding: 54px 0; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom: 28px; }
.section-head p { max-width: 680px; margin: 12px 0 0; }
.grid { display:grid; gap:26px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); align-items:center; }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(2, minmax(440px,1fr)); }
.panel { border:1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.055)); border-radius: var(--radius); padding: 26px; box-shadow: 0 18px 55px rgba(0,0,0,.22); }
.panel h3 { margin-bottom:10px; }
.panel p:last-child { margin-bottom:0; }
.tag { display:inline-flex; color:#100b16; background: linear-gradient(135deg, var(--gold), #fff0bf); border-radius:999px; padding:7px 11px; font-weight:900; font-size:.78rem; margin-bottom:14px; }
.card-img { border-radius: 22px; overflow:hidden; border:1px solid rgba(255,255,255,.14); margin: -8px -8px 20px; padding: 8px; background: rgba(255,255,255,.08); }
.card-img img { width:100%; display:block; height:auto; max-width:100%; object-fit: contain; border-radius: 16px; image-rendering: auto; }
.offer { display:flex; flex-direction:column; justify-content:space-between; }
.offer .card-img { min-height: 0; }
.path { position:relative; padding-left: 26px; }
.path::before { content:""; position:absolute; left: 7px; top: 9px; bottom:9px; width:2px; background: linear-gradient(var(--cyan), var(--violet), var(--gold)); opacity:.65; }
.step { position:relative; padding: 0 0 26px 18px; }
.step:last-child { padding-bottom:0; }
.step::before { content:""; position:absolute; left:-24px; top:4px; width:16px; height:16px; border-radius:50%; background: var(--gold); box-shadow:0 0 0 7px rgba(242,198,109,.12); }
.contact-band { margin-top: 34px; padding: 28px; border-radius: var(--radius); border:1px solid rgba(255,255,255,.14); background: radial-gradient(circle at 20% 20%, rgba(117,228,255,.18), transparent 34%), radial-gradient(circle at 80% 20%, rgba(242,198,109,.17), transparent 34%), rgba(255,255,255,.075); }
.contact-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }
.page-hero { padding: 70px 0 32px; }
.page-hero .lead { max-width:820px; }
.table { width:100%; border-collapse: collapse; color: var(--muted); overflow:hidden; border-radius: 18px; }
.table th, .table td { text-align:left; padding: 16px; border-bottom: 1px solid rgba(255,255,255,.10); vertical-align:top; }
.table th { color: var(--text); background: rgba(255,255,255,.08); }
.note { color: var(--muted); font-size:.95rem; border-left: 3px solid var(--gold); padding: 12px 16px; background: rgba(255,255,255,.06); border-radius: 0 14px 14px 0; }
.legal { max-width: 920px; }
.legal h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-top: 34px; }
.legal h3 { margin-top: 28px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
/* Hero-Bereiche: Bild und Überschrift dürfen sich nicht überdecken. */
.hero-grid { grid-template-columns: 1fr; gap: 34px; align-items: start; }
.hero-grid > * { min-width: 0; }
.hero .visual { width: 100%; max-width: min(980px, 100%); margin: 4px auto 0; }
.visual-card img { width:100%; display:block; height:auto; max-width:100%; object-fit: contain; image-rendering: auto; }

/* Intensivseminar: Banner bewusst groß unter der Überschrift, damit der Text im Bild lesbar bleibt. */
.intensive-hero .hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
.intensive-hero .visual { width: 100%; max-width: min(1180px, 100%); margin: 8px auto 0; }
.intensive-hero .visual-card { border-radius: 38px; }
.intensive-hero .visual-card img { width: 100%; height: auto; max-width: 100%; }

.hero h1, .page-hero h1 { max-width: 100%; overflow-wrap: normal; }
@media (max-width: 760px) {
  .hero h1, .page-hero h1 { overflow-wrap: anywhere; }
}

/* Angebotsübersicht: alle Banner bekommen denselben sichtbaren Rahmen. */
.grid.four .card-img {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid.four .card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer { margin-top: 54px; padding: 34px 0; border-top:1px solid rgba(255,255,255,.10); color:rgba(246,242,234,.66); }
.footer-inner { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.footer-links { display:flex; gap:16px; flex-wrap:wrap; }
.lang-switch { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.lang-switch a { font-size:.78rem; font-weight:900; letter-spacing:.04em; padding:7px 9px; border-radius:999px; border:1px solid rgba(255,255,255,.14); color:rgba(246,242,234,.74); background:rgba(255,255,255,.055); }
.lang-switch a:hover, .lang-switch a.active { color:#100b16; background:linear-gradient(135deg, var(--gold), #fff0bf); border-color:transparent; }
@media (max-width: 1180px) {
  .hero .visual { max-width: 920px; margin: 0 auto; }
  .grid.four { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .nav-inner { align-items:flex-start; flex-direction:column; }
  .nav-links { flex-wrap:wrap; gap:12px 16px; }
  .nav-cta { width:100%; }
  .section-head { display:block; }
  .lang-switch{margin-top:2px;}
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 26px, var(--max)); }
  .hero, .page-hero { padding-top: 46px; }
  .panel, .contact-band { padding: 20px; }
  .button { width:100%; }
  .nav-links { font-size:.9rem; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .table { display:block; overflow-x:auto; }
  .visual-card { border-radius: 22px; }
  .card-img { margin-left: -4px; margin-right: -4px; }
}


/* Dynamische Event-Übersicht */
.events-toolbar { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; margin-bottom:22px; flex-wrap:wrap; }
.events-status { color: var(--muted); border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.055); border-radius:18px; padding:14px 16px; margin-bottom:18px; }
.events-status[data-state="error"] { border-color: rgba(255,120,120,.45); background:rgba(255,80,80,.08); }
.events-status[data-state="success"] { border-color: rgba(117,228,255,.30); background:rgba(117,228,255,.07); }
.events-grid { display:grid; grid-template-columns: 1fr; gap:22px; max-width: none; }
.event-card { display:block; min-height:100%; width:100%; }
.event-card-inner { display:grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 42%); gap:24px; align-items:stretch; }
.event-card-main { display:flex; flex-direction:column; gap:14px; min-width:0; }
.event-card h3 { margin:0; }
.event-meta { display:grid; gap:9px; color:var(--muted); line-height:1.55; }
.event-meta-row { display:grid; grid-template-columns: 170px minmax(0,1fr); gap:14px; }
.event-meta-label { color: rgba(246,242,234,.78); font-weight:800; }
.event-type-badge { display:inline-flex; align-items:center; width:max-content; max-width:100%; color:#100b16; background:linear-gradient(135deg, var(--gold), #fff0bf); border-radius:999px; padding:7px 12px; font-weight:900; font-size:.78rem; overflow-wrap:anywhere; }
.event-actions { margin-top:auto; display:flex; gap:12px; flex-wrap:wrap; }
.event-banner { align-self:stretch; display:flex; align-items:center; justify-content:center; border-radius:24px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.06); padding:10px; overflow:hidden; box-shadow: 0 16px 45px rgba(0,0,0,.22); }
.event-banner img { width:100%; height:auto; display:block; border-radius:18px; object-fit:contain; image-rendering:auto; }
.events-empty[hidden], .events-status[hidden] { display:none !important; }
.card-actions { display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width: 880px) {
  .event-card-inner { grid-template-columns: 1fr; }
  .event-banner { order:-1; }
}
@media (max-width: 560px) {
  .event-meta-row { grid-template-columns: 1fr; gap:2px; }
  .events-grid { grid-template-columns: 1fr; }
}

/* Google-Karte pro Termin: wird erst per Klick geladen. */
.event-map {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,.045);
}
.event-map-placeholder {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
}
.event-map-placeholder p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.event-map-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.event-map-link {
  color: var(--gold);
  font-weight: 800;
  white-space: nowrap;
}
.event-map-toggle {
  min-height: 42px;
  padding: 10px 15px;
  border-color: rgba(242,198,109,.40);
  background: rgba(242,198,109,.10);
}
.event-map-toggle:hover,
.event-map-toggle:focus-visible {
  border-color: rgba(242,198,109,.72);
  background: rgba(242,198,109,.18);
}
.event-map-frame {
  width: 100%;
  min-height: 260px;
  border: 0;
  display: block;
}
@media (max-width: 560px) {
  .event-map-placeholder { grid-template-columns: 1fr; }
  .event-map-actions { justify-content: flex-start; }
  .event-map-frame { min-height: 230px; }
}
.event-map-open { padding: 10px 14px 14px; background: rgba(8,11,22,.55); }
.event-map-open[hidden] { display: none !important; }
.event-map-privacy {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

/* Preis und Raumhinweise in Event-Karten */
.event-price {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 360px);
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(242,198,109,.40);
  background:
    radial-gradient(circle at 15% 10%, rgba(255,240,191,.24), transparent 34%),
    linear-gradient(135deg, rgba(242,198,109,.20), rgba(255,255,255,.055));
  box-shadow: 0 14px 36px rgba(0,0,0,.18);
}
.event-price span {
  color: rgba(246,242,234,.78);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.event-price strong {
  color: #fff0bf;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1;
  white-space: nowrap;
}
.event-place-note {
  margin-top: 2px;
  color: #fff0bf;
  font-size: .95rem;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(242,198,109,.28);
  background: rgba(242,198,109,.08);
}

/* Stripe-Buchung */
.stripe-buy-button-wrap {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.stripe-buy-button-wrap stripe-buy-button {
  display: block;
  max-width: 100%;
}
@media (max-width: 560px) {
  .stripe-buy-button-wrap { width: 100%; }
}

/* Teilnehmer- und Platzanzeige pro Termin */
.event-seat-status {
  width: min(100%, 420px);
  display: grid;
  gap: 6px;
  padding: 13px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.event-seat-status strong {
  color: #f6f2ea;
  font-size: 1rem;
  line-height: 1.25;
}
.event-seat-status span,
.event-seat-status small {
  color: var(--muted);
  line-height: 1.45;
}
.event-seat-status small { font-size: .92rem; }
.event-seat-status-available {
  border-color: rgba(117,228,255,.28);
  background: linear-gradient(135deg, rgba(117,228,255,.12), rgba(255,255,255,.045));
}
.event-seat-status-low {
  border-color: rgba(242,198,109,.42);
  background: linear-gradient(135deg, rgba(242,198,109,.18), rgba(255,255,255,.045));
}
.event-seat-status-low strong { color: #fff0bf; }
.event-seat-status-soldout {
  border-color: rgba(255,120,120,.42);
  background: linear-gradient(135deg, rgba(255,120,120,.16), rgba(255,255,255,.045));
}
.event-seat-status-soldout strong { color: #ffd0d0; }
.event-seat-status-unavailable {
  border-color: rgba(242,198,109,.36);
  background: linear-gradient(135deg, rgba(242,198,109,.14), rgba(255,255,255,.045));
}
.event-seat-status-unavailable strong { color: #fff0bf; }
.button.disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  pointer-events: none;
  opacity: .68;
  filter: grayscale(.25);
}


/* EnergoInfoClub landing page */
.club-hero .visual {
  max-width: min(920px, 100%);
}
.club-spark {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  max-width: 980px;
}
.club-spark div {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  border-radius: 18px;
  padding: 16px;
}
.club-spark strong {
  display: block;
  color: #fff0bf;
  font-size: 1rem;
  margin-bottom: 6px;
}
.club-spark span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  font-size: .95rem;
}
.club-emphasis {
  background:
    radial-gradient(circle at 15% 15%, rgba(242,198,109,.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.055));
}
.club-soft {
  background:
    radial-gradient(circle at 20% 15%, rgba(117,228,255,.16), transparent 36%),
    radial-gradient(circle at 92% 8%, rgba(155,124,255,.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.052));
}
.check-list li { margin-bottom: 8px; }
.club-cards .panel { position: relative; overflow: hidden; }
.club-cards .panel::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(117,228,255,.18), transparent 65%);
  pointer-events: none;
}
.club-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 16px;
  color: #100b16;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), #fff0bf);
  box-shadow: 0 0 0 8px rgba(242,198,109,.10);
}
.club-path .step p { margin-top: 8px; }
@media (max-width: 760px) {
  .club-spark { grid-template-columns: 1fr; }
}


/* Lesbarkeit und Abstände: stärkere vertikale Rhythmik auf allen Seiten. */
.hero .kicker,
.page-hero .kicker,
.section-head .kicker,
.panel .tag {
  margin-bottom: 20px;
}
.hero h1,
.page-hero h1 {
  margin-bottom: 26px;
}
.hero .lead,
.page-hero .lead {
  margin-top: 0;
  margin-bottom: 0;
}
.hero-actions {
  margin-top: 34px;
  margin-bottom: 0;
  gap: 16px;
}
.hero-actions + .club-spark,
.hero-actions + .trust-row {
  margin-top: 36px;
}
.section-head h2,
.panel h2,
.panel h3,
.contact-band h2 {
  margin-bottom: 18px;
}
.section-head p,
.panel p,
.contact-band p {
  margin-top: 0;
}
.panel p + p,
.contact-band p + p {
  margin-top: 16px;
}
.panel ul,
.panel ol {
  margin-top: 18px;
}
.panel .button,
.contact-band .button {
  margin-top: 4px;
}
p + .button,
p + .contact-actions,
p + .card-actions,
ul + p,
ol + p {
  margin-top: 22px;
}
.contact-actions,
.card-actions,
.event-actions {
  gap: 14px;
}
.club-spark {
  gap: 18px;
  margin-top: 36px;
}
.club-spark div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 132px;
  padding: 18px 18px 20px;
}
.club-spark strong {
  display: block;
  margin: 0;
  line-height: 1.28;
  letter-spacing: -.01em;
}
.club-spark span {
  display: block;
  line-height: 1.65;
}
@media (max-width: 760px) {
  .hero-actions + .club-spark,
  .hero-actions + .trust-row {
    margin-top: 28px;
  }
  .club-spark div {
    min-height: auto;
  }
}

/* Buchungsoptionen mit Anzahlung */
.event-payment-options {
  width: min(100%, 560px);
  display: grid;
  gap: 13px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(242,198,109,.34);
  background:
    radial-gradient(circle at 18% 0%, rgba(242,198,109,.20), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(117,228,255,.055));
  box-shadow: 0 16px 42px rgba(0,0,0,.20);
}
.event-payment-options h4 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
  color: #fff0bf;
  letter-spacing: -.015em;
}
.payment-rows {
  display: grid;
  gap: 8px;
}
.payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
}
.payment-row span {
  color: rgba(246,242,234,.78);
  font-weight: 800;
}
.payment-row strong {
  color: #f6f2ea;
  white-space: nowrap;
}
.payment-row-highlight {
  border-color: rgba(242,198,109,.34);
  background: linear-gradient(135deg, rgba(242,198,109,.16), rgba(255,255,255,.055));
}
.payment-row-highlight strong {
  color: #fff0bf;
  font-size: 1.15rem;
}
.event-payment-options p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
}
.payment-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.payment-actions .button {
  margin-top: 0;
}
.button.payment-secondary {
  background: rgba(255,255,255,.08);
  color: #f6f2ea;
}
@media (max-width: 560px) {
  .payment-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .payment-actions .button {
    width: 100%;
  }
}


/* Method books */
.books-status {
  margin: 18px 0 24px;
  color: rgba(246,242,234,.78);
}
.books-grid {
  display: flex;
  flex-direction: column;
  gap: 54px;
  margin-top: 28px;
}
.book-feature-row {
  align-items: center;
  gap: 44px;
}
.book-feature-row.book-image-first {
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
}
.book-feature-row.book-text-first {
  grid-template-columns: minmax(0, 1.22fr) minmax(260px, .78fr);
}
.book-feature-row .book-card-body {
  padding: clamp(30px, 3.2vw, 46px);
}
.book-feature-row .book-card-body h2 {
  margin-top: 22px;
  font-size: clamp(2.15rem, 3.65vw, 3.55rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
}
.book-feature-row .book-card-body p {
  font-size: 1.05rem;
  line-height: 1.8;
}
.book-cover {
  width: min(100%, 390px);
  justify-self: center;
  padding: 12px;
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.book-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
}
.book-cover-placeholder {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(246,242,234,.78);
  font-weight: 900;
  text-align: center;
  background: radial-gradient(circle at 50% 35%, rgba(242,198,109,.18), rgba(117,228,255,.08), rgba(255,255,255,.05));
}
.book-actions,
.method-book-actions,
.event-book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.shop-groups {
  display: grid;
  gap: 14px;
  width: 100%;
}
.shop-groups-compact { gap: 12px; }
.shop-group {
  padding: 14px 16px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.shop-group-print {
  border-color: rgba(242,198,109,.34);
  background: linear-gradient(135deg, rgba(242,198,109,.12), rgba(255,255,255,.03));
}
.shop-group-ebook {
  border-color: rgba(117,228,255,.34);
  background: linear-gradient(135deg, rgba(117,228,255,.12), rgba(255,255,255,.03));
}
.shop-group-other {
  border-color: rgba(195,164,255,.28);
  background: linear-gradient(135deg, rgba(195,164,255,.12), rgba(255,255,255,.03));
}
.shop-group-label {
  margin-bottom: 10px;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(246,242,234,.92);
}
.shop-group-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-group-print .button {
  border-color: rgba(242,198,109,.55);
}
.shop-group-ebook .button {
  border-color: rgba(117,228,255,.55);
}
.shop-group-other .button {
  border-color: rgba(195,164,255,.45);
}
.method-book-snippet {
  margin: 22px 0 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(242,198,109,.40);
  background: linear-gradient(135deg, rgba(242,198,109,.11), rgba(117,228,255,.07));
}
.method-book-snippet[hidden] { display:none !important; }
.method-book-snippet h3 {
  margin: 8px 0 8px;
}
.method-book-snippet p {
  margin: 0;
  color: rgba(246,242,234,.82);
}
.event-book-hint {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(242,198,109,.34);
  background: rgba(242,198,109,.08);
}
.event-book-hint strong,
.event-book-hint span {
  display: block;
}
.event-book-hint strong {
  color: #fff3bf;
  margin-bottom: 6px;
}
.event-book-hint span {
  color: rgba(246,242,234,.80);
}
.event-book-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: #fff3bf;
  font-weight: 800;
  font-size: .88rem;
}
.event-book-link:hover { color: #fff; border-color: rgba(242,198,109,.60); }
.method-books-hero .lead { max-width: 880px; }
@media (max-width: 900px) {
  .books-grid { gap: 36px; }
  .book-feature-row,
  .book-feature-row.book-image-first,
  .book-feature-row.book-text-first { grid-template-columns: 1fr; }
  .book-feature-row .book-card-body { padding: 26px; }
  .book-cover { width: min(100%, 360px); }
  .book-cover-placeholder { min-height: 480px; }
}
@media (max-width: 560px) {
  .book-actions .button,
  .method-book-actions .button,
  .shop-group-links .button { width: 100%; }
}

}

/* Buchungsdialog: Daten werden an das Backoffice unter admin.energoinformatics.com gesendet. */
body.ei-modal-open { overflow:hidden; }
.ei-modal[hidden] { display:none !important; }
.ei-modal { position:fixed; inset:0; z-index:10000; display:grid; place-items:center; padding:20px; }
.ei-modal-backdrop { position:absolute; inset:0; background:rgba(2,4,12,.82); backdrop-filter:blur(8px); }
.ei-modal-dialog { position:relative; z-index:1; width:min(820px,100%); max-height:calc(100vh - 40px); overflow:auto; border:1px solid rgba(255,255,255,.18); border-radius:28px; padding:clamp(22px,4vw,38px); background:linear-gradient(145deg,#11162a,#080b16); box-shadow:0 30px 90px rgba(0,0,0,.55); }
.ei-modal-dialog h2 { margin:0 44px 8px 0; }
.ei-modal-event { color:var(--muted); margin:0 0 24px; }
.ei-modal-close { position:absolute; top:16px; right:16px; width:38px; height:38px; border:1px solid rgba(255,255,255,.16); border-radius:999px; background:rgba(255,255,255,.08); color:#fff; font-size:1.45rem; cursor:pointer; }
.ei-booking-form { display:grid; gap:18px; }
.ei-booking-form .form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.ei-booking-form label { display:grid; gap:7px; color:rgba(246,242,234,.88); font-weight:800; font-size:.9rem; }
.ei-booking-form label.full { grid-column:1/-1; }
.ei-booking-form input,.ei-booking-form textarea { width:100%; border:1px solid rgba(255,255,255,.18); border-radius:12px; padding:12px 13px; background:rgba(255,255,255,.075); color:#fff; font:inherit; }
.ei-booking-form textarea { min-height:100px; resize:vertical; }
.ei-consent { display:flex !important; flex-wrap:nowrap; align-items:flex-start; justify-content:flex-start; gap:10px !important; font-weight:500 !important; line-height:1.25; white-space:normal; overflow:visible; }
.ei-consent input { width:auto; flex:0 0 auto; margin:2px 0 0 0; }
.ei-form-error { color:#ffd2d2; background:rgba(255,70,70,.12); border:1px solid rgba(255,100,100,.35); border-radius:12px; padding:12px 14px; }
.ei-form-error[hidden] { display:none; }
.seat-status { width:max-content; max-width:100%; border-radius:999px; padding:7px 12px; font-size:.84rem; }
.seat-status.available { color:#bfffe3; background:rgba(20,190,125,.13); border:1px solid rgba(80,225,165,.28); }
.seat-status.sold-out { color:#ffd2d2; background:rgba(255,70,70,.10); border:1px solid rgba(255,100,100,.30); }
@media(max-width:650px){.ei-booking-form .form-grid{grid-template-columns:1fr}.ei-booking-form label.full{grid-column:auto}.ei-modal{padding:8px}.ei-modal-dialog{max-height:calc(100vh - 16px);border-radius:20px;padding:22px 17px}}


/* Buchungsformular: maximal klare Typografie ohne Blur-/Glow-Effekt. */
.ei-modal-dialog,
.ei-modal-dialog *,
.ei-modal-dialog *::before,
.ei-modal-dialog *::after,
.ei-modal-dialog input::placeholder,
.ei-modal-dialog textarea::placeholder {
  text-shadow:none !important;
  -webkit-text-stroke:0 transparent !important;
  filter:none !important;
  -webkit-filter:none !important;
  backdrop-filter:none !important;
}
.ei-modal-dialog {
  color-scheme:dark;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:auto;
  color:#ffffff;
}
.ei-modal-dialog h2 {
  color:#ffffff;
  font-weight:800;
  line-height:1.08;
}
.ei-modal-event {
  color:#e8e3d9;
  font-size:1rem;
}
.ei-booking-form label {
  color:#ffffff !important;
  font-weight:700;
  font-size:.98rem;
  line-height:1.3;
  letter-spacing:0;
  opacity:1 !important;
}
.ei-booking-form input,
.ei-booking-form textarea,
.ei-booking-form select {
  width:100%;
  border:1px solid rgba(255,255,255,.34);
  border-radius:12px;
  padding:12px 14px;
  background:#171c2b !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
  caret-color:#ffffff;
  font:inherit;
  font-size:1rem;
  font-weight:600;
  line-height:1.35;
  box-shadow:none !important;
  outline:none;
  opacity:1 !important;
}
.ei-booking-form input::placeholder,
.ei-booking-form textarea::placeholder {
  color:#c7cedc !important;
  opacity:1;
}
.ei-booking-form textarea {
  min-height:110px;
}
.ei-booking-form select {
  min-height:48px;
  cursor:pointer;
  appearance:auto;
}
.ei-booking-form select option {
  background:#171c2b;
  color:#ffffff;
}
.ei-booking-form input:focus,
.ei-booking-form textarea:focus,
.ei-booking-form select:focus {
  border-color:#f2c66d;
  box-shadow:0 0 0 3px rgba(242,198,109,.18) !important;
}
.ei-consent span {
  color:#f0ece3;
  font-weight:500;
  font-size:.82rem;
  line-height:1.25;
  white-space:normal;
  flex:1 1 auto;
  min-width:0;
}


/* Rechtstexte und verbindliche Einbeziehung im Buchungsdialog (v0.3.22). */
.legal-note { margin:18px 0; padding:18px 20px; border:1px solid rgba(242,198,109,.34); border-radius:14px; background:rgba(242,198,109,.07); }
.legal-note p:last-child { margin-bottom:0; }
.ei-consent a, .ei-privacy-note a { color:#f2c66d; text-decoration:underline; text-underline-offset:2px; }
.ei-consent a:hover, .ei-privacy-note a:hover { color:#ffe0a0; }
.ei-consent span { font-size:.78rem; }
.ei-privacy-note { margin:-6px 0 0 30px; color:#d8dce5; font-size:.78rem; line-height:1.35; }
@media(max-width:650px){
  .ei-consent { flex-wrap:wrap; align-items:flex-start; }
  .ei-consent span { white-space:normal; flex:1 1 100%; }
  .ei-privacy-note { margin-left:0; }
}

/* v0.3.26: Checkbox und Vertragstext zuverlässig nebeneinander halten. */
.ei-booking-form label.ei-consent {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:10px !important;
  width:100%;
  max-width:100%;
  white-space:normal !important;
  overflow:visible !important;
}
.ei-booking-form label.ei-consent input[type="checkbox"] {
  display:block;
  appearance:auto;
  -webkit-appearance:checkbox;
  width:18px !important;
  min-width:18px !important;
  max-width:18px !important;
  height:18px !important;
  min-height:18px !important;
  max-height:18px !important;
  padding:0 !important;
  margin:1px 0 0 0 !important;
  flex:0 0 18px !important;
  border-radius:3px;
  box-shadow:none !important;
}
.ei-booking-form label.ei-consent > span {
  display:block;
  width:auto !important;
  min-width:0;
  flex:1 1 auto !important;
  white-space:normal !important;
  overflow-wrap:normal;
  word-break:normal;
  line-height:1.35;
}
@media (max-width:650px) {
  .ei-booking-form label.ei-consent {
    flex-wrap:nowrap !important;
  }
  .ei-booking-form label.ei-consent > span {
    flex:1 1 auto !important;
    white-space:normal !important;
  }
}
