/* Affiliate Galerie – Stylesheet. Keine externen Schriftarten, keine externen Ressourcen. */
:root {
  --navy-900: #071528;
  --navy-800: #0b1f3a;
  --navy-700: #12305a;
  --navy-600: #1c4377;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-700: #0f766e;
  --ink: #0f1d33;
  --muted: #4a5a72;
  --line: #dbe3ee;
  --bg: #ffffff;
  --bg-soft: #f3f7fb;
  --warn-bg: #fff4d6;
  --warn-line: #e0a800;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 21, 40, .08);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
h1, h2, h3 { line-height: 1.2; color: var(--navy-800); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 21, 40, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.12rem; letter-spacing: .01em; }
.brand:hover { color: #fff; }
.brand svg { width: 38px; height: 38px; }
.brand span b { color: var(--teal-400); font-weight: 700; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: #d6e2f2; text-decoration: none; font-size: .97rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(45, 212, 191, .14); }
.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff;
  border-radius: 8px; padding: 8px 10px; font: inherit; cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; padding: 10px 16px 16px; background: var(--navy-900);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .no-js .nav-links { display: flex; position: static; flex-direction: row; flex-wrap: wrap; padding: 0 0 10px; }
  .no-js .nav-toggle { display: none; }
  .no-js .nav { flex-wrap: wrap; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #e7eef8;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(45, 212, 191, .22), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(28, 67, 119, .7), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
  padding: 84px 0 92px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--teal-400); }
.hero .lead { font-size: 1.2rem; color: #c9d7ea; max-width: 38em; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-400); margin-bottom: 14px;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, .45); color: #bff5ec; font-size: .88rem; margin-bottom: 20px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f5b83d; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-500); color: var(--navy-900); }
.btn-primary:hover { background: var(--teal-400); color: var(--navy-900); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero-visual {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.hero-visual figcaption { font-size: .82rem; color: #93a7c3; margin-top: 10px; text-align: center; }
@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Sections */
section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--navy-800); color: #d6e2f2; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: #b4c4da; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 8px; display: block; }
.section-dark .kicker { color: var(--teal-400); }
@media (max-width: 600px) { section { padding: 56px 0; } }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-800)); margin-bottom: 16px;
}
.card .icon svg { width: 26px; height: 26px; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section-dark .card p { color: #b4c4da; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23071528' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.crosslist { list-style: none; padding: 0; margin: 0 0 1em; }
.crosslist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.crosslist li::before {
  content: "×"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; line-height: 18px;
  text-align: center; font-weight: 700; color: #b42318;
}

/* Status */
.status-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.status-table th, .status-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.status-table th { background: var(--navy-800); color: #fff; font-weight: 600; font-size: .95rem; }
.status-table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.pill-dev { background: #e0f2fe; color: #075985; }
.pill-plan { background: #fef3c7; color: #92400e; }
.pill-no { background: #fee2e2; color: #991b1b; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
@media (max-width: 640px) {
  .status-table thead { display: none; }
  .status-table, .status-table tbody, .status-table tr, .status-table td { display: block; width: 100%; }
  .status-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .status-table td { border: 0; padding: 6px 16px; }
  .status-table td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
}

/* Notice */
.notice {
  border-left: 4px solid var(--teal-500); background: #eefcf9; padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 0 0 1.4em;
}
.notice p:last-child { margin: 0; }
.section-dark .notice { background: rgba(45,212,191,.08); }

/* Platzhalter für fehlende Betreiberangaben – vor Veröffentlichung ersetzen */
.todo {
  background: var(--warn-bg); border: 1px dashed var(--warn-line); color: #6b4a00;
  padding: 1px 6px; border-radius: 4px; font-weight: 600; font-size: .95em;
}

/* Legal pages */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #c9d7ea; padding: 56px 0 48px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; padding-top: .4em; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; border-top: 0; }
.legal h3 { margin-top: 1.6em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 40px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
address { font-style: normal; }

/* Footer */
.site-footer { background: var(--navy-900); color: #9fb2cc; padding: 48px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c9d7ea; text-decoration: none; }
.site-footer a:hover { color: var(--teal-400); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 32px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
  .anim { animation: none !important; }
}
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.anim { animation: pulse 3.2s ease-in-out infinite; }
.anim-2 { animation-delay: .8s; }
.anim-3 { animation-delay: 1.6s; }
.hero-visual { margin: 0; }
.split-top { align-items: start; }
.flow { margin: 8px 0 16px; }
.footer-claim { margin-top: 14px; }
.legal { overflow-wrap: anywhere; }
.legal code { word-break: break-all; font-size: .92em; background: var(--bg-soft); padding: 1px 5px; border-radius: 4px; }
[id] { scroll-margin-top: 84px; }
