/* Werbeseite für Bandregie.
   Farben und Radien sind bewusst dieselben wie in der Anwendung
   (httpdocs/assets/style.css im Anwendungs-Repository): wer hier klickt und
   in der Demo landet, soll nicht das Gefühl haben, die Seite gewechselt zu
   haben. Keine Schriftart von fremden Servern — die Seite lädt nur eigene
   Dateien und braucht deshalb keinen Einwilligungsbanner. */

:root {
  --bg: #14100d;
  --bg-card: #1f1915;
  --bg-elevated: #2a221c;
  --text: #f3ece4;
  --muted: #a89c8f;
  --accent: #f59e0b;
  --accent-dark: #b45309;
  --border: #3a3028;
  --radius: 12px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  /* Kurze Seiten — die Fehlerseite vor allem — sollen die Fußzeile unten
     haben und nicht in der Bildschirmmitte hängen lassen. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

a { color: var(--accent); }
a:hover { color: #fbbf24; }

img { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; }

code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.92em;
}

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { width: min(720px, 100% - 2.5rem); }

.muted { color: var(--muted); font-size: 0.95rem; }

/* --- Kopfzeile ---------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(20, 16, 13, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
}
.wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.wordmark span { color: var(--accent); }

.langs { display: flex; flex-wrap: wrap; gap: 0.15rem; }
.lang {
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.lang:hover { background: var(--bg-elevated); color: var(--text); }
.lang.current { background: var(--bg-elevated); color: var(--accent); }

/* --- Abschnitte --------------------------------------------------------- */

.section { padding: 4.5rem 0; }
.section-alt { background: #100d0a; border-block: 1px solid var(--border); }

.hero {
  padding: 5.5rem 0 5rem;
  /* Der Schein hinter der Überschrift ist derselbe Bernstein wie die
     Akzentfarbe — Scheinwerfer von hinten, ohne ein Bild dafür zu laden. */
  background:
    radial-gradient(60rem 26rem at 50% -6rem, rgba(245, 158, 11, 0.18), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-inner { max-width: 820px; margin-inline: auto; }

.kicker {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: 1.2rem; color: var(--muted); }
.hero .lead { max-width: 46rem; margin-inline: auto; }
.hero-note { margin-top: 1.75rem; font-size: 0.95rem; color: var(--muted); }

/* --- Schaltflächen ------------------------------------------------------ */

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0; }
.hero .actions { justify-content: center; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.btn:hover { border-color: var(--accent); color: var(--text); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1b1206;
}
.btn-primary:hover { background: #fbbf24; border-color: #fbbf24; color: #1b1206; }

/* Tastaturbedienung sichtbar lassen — der Rahmen ist die einzige Rückmeldung,
   die jemand ohne Maus bekommt. */
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- Zweispaltig -------------------------------------------------------- */

.split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.answer {
  margin-top: 1.25rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  font-size: 1.05rem;
}

/* Die Fragen aus dem Gruppenchat — als das dargestellt, was sie sind. */
.bubbles { margin: 0; padding: 0; list-style: none; }
.bubbles li {
  position: relative;
  margin-bottom: 0.7rem;
  padding: 0.7rem 1rem;
  max-width: 30rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px 14px 14px 4px;
  color: var(--muted);
}
.bubbles li:nth-child(even) {
  margin-left: auto;
  border-radius: 14px 14px 4px 14px;
}

/* --- Karten ------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2rem;
}
.card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.card p { margin: 0; color: var(--muted); }

/* --- Funktionen mit Bild ------------------------------------------------ */

.feature {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  margin-top: 3.5rem;
}
.feature-flipped figure { order: 2; }

.feature figure { margin: 0; }
.feature img {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.feature-text p { margin: 0; color: var(--muted); }

.more-title { margin-top: 3.5rem; }
.more {
  display: grid;
  gap: 0.5rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

/* --- Demo --------------------------------------------------------------- */

.warn {
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--accent-dark);
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.logins {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.logins caption {
  padding: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: left;
}
.logins th, .logins td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.logins tr:last-child th, .logins tr:last-child td { border-bottom: 0; }
.logins th { font-weight: 600; white-space: nowrap; }
.logins code { color: var(--accent); word-break: break-all; }

/* --- Code --------------------------------------------------------------- */

pre {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
}
pre code { color: var(--text); }

/* --- Rechtsseiten ------------------------------------------------------- */

.legal h2 { margin-top: 2.25rem; font-size: 1.25rem; }

/* --- Fußzeile ----------------------------------------------------------- */

.footer {
  padding: 2.5rem 0;
  background: #100d0a;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* --- Schmale Bildschirme ------------------------------------------------ */

@media (max-width: 780px) {
  .section { padding: 3.25rem 0; }
  .hero { padding: 3.5rem 0; }
  .feature { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
  .feature-flipped figure { order: 0; }
  .bubbles li { max-width: none; }
}
