/* business24ai.de — statische Seite, keine externen Ressourcen (DSGVO: keine
   Google Fonts / CDNs; Systemschriften). Analytics lädt NUR nach Einwilligung
   (assets/consent.js). */

:root {
  --ink: #10203b;
  --ink-muted: #4b5b74;
  --accent: #1d4ed8;
  --accent-dark: #16389c;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --border: #dbe3ee;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 20;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px; flex-wrap: wrap;
}
.logo { font-weight: 800; font-size: 1.15rem; letter-spacing: .3px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
nav.main a {
  color: var(--ink-muted); text-decoration: none; font-weight: 600;
  margin-left: 22px; font-size: .95rem;
}
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--accent); }

/* Hero */
.hero { background: linear-gradient(180deg, #0d1b33 0%, #16294d 100%); color: #fff; padding: 72px 0 64px; }
.hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.7rem); line-height: 1.2; margin: 0 0 16px; }
.hero p.lead { font-size: 1.15rem; color: #c8d4ea; max-width: 44rem; margin: 0 0 28px; }
.hero .actions a { margin-right: 12px; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px; font-weight: 700;
  text-decoration: none; font-size: .98rem; border: 2px solid transparent;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { border-color: #5a719c; color: #e6ecf7; }
.btn.ghost:hover { border-color: #fff; color: #fff; }
.btn.outline { border-color: var(--accent); color: var(--accent); }
.btn.outline:hover { background: var(--accent); color: #fff; }

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: 1.6rem; margin: 0 0 8px; }
p.sub { color: var(--ink-muted); margin: 0 0 32px; max-width: 46rem; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px;
}
.card h3 { margin: 0 0 10px; font-size: 1.12rem; }
.card p { margin: 0; color: var(--ink-muted); font-size: .96rem; }

/* App page */
.badges { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0; }
.badge-store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 190px; min-height: 58px; padding: 8px 18px; border-radius: 10px;
  background: #10203b; color: #fff; text-decoration: none; line-height: 1.25;
}
.badge-store small { font-size: .72rem; opacity: .8; }
.badge-store strong { font-size: 1.02rem; }
.badge-store.disabled { opacity: .55; cursor: default; }
.shot-placeholder {
  border: 2px dashed var(--border); border-radius: 14px; background: var(--bg-alt);
  color: var(--ink-muted); display: flex; align-items: center; justify-content: center;
  min-height: 260px; text-align: center; padding: 20px; font-size: .95rem;
}

/* Legal pages */
.legal h1 { font-size: 1.8rem; margin: 40px 0 8px; }
.legal h2 { font-size: 1.25rem; margin-top: 36px; }
.legal h3 { font-size: 1.05rem; margin-top: 24px; }
.legal .meta { color: var(--ink-muted); font-size: .92rem; }
.legal { padding-bottom: 64px; }
.todo-fill { background: #fff7d6; border: 1px solid #e7d488; border-radius: 6px; padding: 1px 6px; }

/* Footer */
footer.site { border-top: 1px solid var(--border); background: var(--bg-alt); padding: 32px 0; margin-top: 40px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-muted); font-size: .92rem; }
footer.site a { color: var(--ink-muted); text-decoration: none; margin-right: 18px; }
footer.site a:hover { color: var(--accent); }

/* Cookie-Banner (consent.js) */
#b24-consent {
  position: fixed; inset: auto 0 0 0; z-index: 100;
  background: #0d1b33; color: #e6ecf7; padding: 18px 20px;
  box-shadow: 0 -6px 24px rgba(13, 27, 51, .35);
}
#b24-consent .inner { max-width: var(--max); margin: 0 auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
#b24-consent p { margin: 0; flex: 1 1 320px; font-size: .92rem; line-height: 1.5; }
#b24-consent a { color: #9db8e8; }
#b24-consent .buttons { display: flex; gap: 10px; flex-wrap: wrap; }
#b24-consent button {
  font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 8px;
  border: 2px solid #5a719c; background: transparent; color: #e6ecf7; cursor: pointer;
}
#b24-consent button.accept { background: var(--accent); border-color: var(--accent); color: #fff; }
#b24-consent button:hover { border-color: #fff; }
#b24-consent button.accept:hover { background: var(--accent-dark); }

@media (max-width: 640px) {
  nav.main a { margin-left: 14px; font-size: .9rem; }
  .hero { padding: 48px 0 40px; }
}

/* Registrierungsformular (/registrierung/) */
form.b24 { max-width: 34rem; }
form.b24 label { display: block; font-weight: 600; margin: 18px 0 6px; }
form.b24 input {
  font: inherit; width: 100%; box-sizing: border-box; padding: 11px 12px;
  border: 1px solid #c5cdd9; border-radius: 8px; background: #fff; color: var(--ink);
}
form.b24 input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
form.b24 .hp { position: absolute; left: -9999px; top: -9999px; }
form.b24 button { margin-top: 24px; border: 0; cursor: pointer; }
.form-alert {
  background: #fdecec; border: 1px solid #e8a6a6; color: #8a1f1f;
  border-radius: 8px; padding: 12px 14px; margin: 0 0 20px; max-width: 34rem;
}
