/* Nur für Landing-Page (index.html) – kein Dashboard-CSS, keine Overlays */
:root {
  --bg: #1a1a1a;
  --bg-elevated: #252525;
  --text: #f5f5f5;
  --text-muted: #a0a0a0;
  --accent: #e8b923;
  --accent-hover: #cfa41e;
  --border: #383838;
  --radius: 12px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html {
  scrollbar-gutter: stable;
  overflow-anchor: none; /* Host springt nicht, wenn Iframe-Inhalt sich ändert */
}
body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll;
  overflow-anchor: none;
}
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--accent-hover); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
}
.btn-primary {
  background-color: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #000;
  transform: translateY(-1px);
}
.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--text);
  background-color: rgba(255,255,255,0.05);
}
.btn-full { width: 100%; }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }

.brand-logo, .app-title-inline {
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0;
  font-size: clamp(1.25rem, 5vw, 1.6rem);
  line-height: 1.2;
  color: var(--text);
}
.app-title-inline { display: inline; }
/* Im Fließtext: SPORTBIER in gleicher Schriftgröße wie umgebender Text */
p .app-title-inline,
.hero-text .app-title-inline,
.features-section .app-title-inline,
.container p .app-title-inline {
  font-size: 1em;
  line-height: inherit;
}
.app-title-muted { color: var(--text-muted); opacity: 0.9; font-weight: 700; letter-spacing: 0.2em; }
.app-title-main { color: var(--accent); font-weight: 700; letter-spacing: 0.2em; }

/* Phone-Demo: festes Layout, kein Springen bei Caption-Wechsel oder Iframe-Load */
#portal-preview-section {
  min-height: 820px; /* Feste Mindesthöhe: Device + Caption, verhindert Layout-Sprung */
  contain: layout;
  overflow-anchor: none; /* Verhindert, dass der Browser beim Iframe-Load hierhin scrollt */
}
.portal-demo-host {
  overflow-anchor: none;
  contain: layout;
}
.portal-demo-caption {
  display: block;
}

/* Aktionsbanner unter dem Header */
.action-banner {
  background: linear-gradient(90deg, rgba(232, 185, 35, 0.15) 0%, rgba(232, 185, 35, 0.06) 100%);
  border-bottom: 1px solid rgba(232, 185, 35, 0.25);
  padding: 0.6rem 1rem;
  text-align: center;
}
.action-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.action-banner-text {
  font-size: 0.9rem;
  color: var(--text);
}
.action-banner-cta {
  flex-shrink: 0;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-size: 0.85rem;
}
.action-banner-cta:hover {
  background: var(--accent-hover);
  color: #000;
}
.action-banner-dismiss {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
}
.action-banner-dismiss:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.action-banner {
  position: relative;
}
@media (max-width: 640px) {
  .action-banner-inner { padding-right: 2.5rem; }
  .action-banner-dismiss { right: 0.5rem; }
}
