/* ==========================================================================
   seebaer.tv — Klabauter Landing Page
   Design language entnommen aus dem "Smutje Überblick" Deck:
   Gelb (#F5B72A), Navy (#14264C), Gold (#D9A62E), Rot-Weiß-Streifen, Creme
   ========================================================================== */

:root {
  --yellow: #f5b72a;
  --yellow-soft: #ffcd4d;
  --yellow-deep: #e2a11a;
  --navy: #14264c;
  --navy-soft: #1f3465;
  --navy-deep: #0d1830;
  --gold: #d9a62e;
  --gold-soft: #f0c75a;
  --red: #c8342c;
  --cream: #fdf6e3;
  --paper: #fffdf6;

  --text: var(--navy);
  --text-muted: #4a5b80;
  --on-dark: #fdf8ec;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(20, 38, 76, .10);
  --shadow: 0 10px 24px rgba(20, 38, 76, .14);
  --shadow-lg: 0 22px 50px rgba(20, 38, 76, .20);
  --shadow-hard: 0 6px 0 var(--navy-deep);

  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --header-h: 84px;
}

/* ---------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--yellow);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .92em;
  background: rgba(20, 38, 76, .09);
  padding: .12em .45em;
  border-radius: 6px;
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--on-dark);
  padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

/* -------------------------------- Buttons --------------------------------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  padding: .85rem 1.5rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  box-shadow: 0 4px 0 rgba(13, 24, 48, .55);
  text-align: center;
}
.btn img { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(13, 24, 48, .55); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(13, 24, 48, .55); }

.btn-primary { --btn-bg: var(--navy); --btn-fg: var(--on-dark); }
.btn-primary:hover { --btn-bg: var(--navy-soft); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  box-shadow: none;
  border-color: var(--navy);
}
.btn-ghost:hover { --btn-bg: rgba(20, 38, 76, .08); box-shadow: none; }
.btn-ghost img { filter: none; }

.btn-lg { font-size: 1.1rem; padding: 1rem 1.8rem; }

/* --------------------------------- Header --------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 183, 42, .92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(20, 38, 76, .12);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 22px rgba(20, 38, 76, .16);
  background: rgba(245, 183, 42, .97);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: .5rem;
}

.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 18px;
  background: var(--paper);
  padding: 4px;
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-sm);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
}
.brand-text span {
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.site-nav > a {
  font-weight: 600;
  font-size: .95rem;
  padding: .5rem .8rem;
  border-radius: var(--radius-pill);
  transition: background .16s ease, color .16s ease;
}
.site-nav > a:hover { background: rgba(20, 38, 76, .10); }
.site-nav .nav-cta {
  background: var(--navy);
  color: var(--on-dark);
  padding: .6rem 1.15rem;
  box-shadow: 0 3px 0 rgba(13, 24, 48, .55);
}
.site-nav .nav-cta:hover { background: var(--navy-soft); }

.header-right {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
}
.header-right .site-nav { margin-left: 0; }
.header-right .nav-toggle { margin-left: 0; }

/* Sprachumschalter */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  background: rgba(20, 38, 76, .10);
  border: 2px solid rgba(20, 38, 76, .28);
  border-radius: var(--radius-pill);
}
.lang-switch button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  line-height: 1;
  padding: .4rem .6rem;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.lang-switch button.is-active { background: var(--navy); color: var(--on-dark); }
.lang-switch button:focus-visible { outline: 2px solid var(--navy-deep); outline-offset: 2px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: var(--navy);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(13, 24, 48, .55);
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow-soft);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .35), transparent 42%),
    linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 62%, var(--yellow-deep) 100%);
}

.hero-splash {
  position: absolute;
  inset: auto 0 -80px 0;
  height: 320px;
  background:
    radial-gradient(ellipse 60% 100% at 20% 100%, rgba(20, 38, 76, .16), transparent 60%),
    radial-gradient(ellipse 50% 100% at 78% 100%, rgba(200, 52, 44, .16), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.eyebrow,
.section-index {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-dark);
  background: var(--navy);
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.hero h1 { text-shadow: 3px 3px 0 rgba(255, 255, 255, .45); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  max-width: 40ch;
  color: var(--navy-deep);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.25rem 0 1.1rem;
}
.hero-facts li {
  background: rgba(255, 253, 246, .85);
  border: 2px solid var(--navy);
  border-radius: var(--radius-pill);
  padding: .3rem .85rem;
  font-size: .84rem;
  font-weight: 600;
  box-shadow: 0 2px 0 rgba(13, 24, 48, .35);
}

.hero-close {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 4px solid var(--navy);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-.6deg); }
  50% { transform: translateY(-14px) rotate(.6deg); }
}

/* Plattform-Leiste */
.available-strip {
  position: relative;
  margin-top: clamp(2rem, 5vw, 3.2rem);
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: 1.1rem clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1.6rem;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--navy-deep);
}
.available-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border-right: 2px solid rgba(253, 246, 227, .28);
  padding-right: 1.4rem;
}
.platform-list { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.platform-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.platform-list img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
}

/* -------------------------------- Sections -------------------------------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-intro {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  max-width: 62ch;
  color: var(--text-muted);
}

.section-how { background: var(--cream); }
.section-crew { background: var(--yellow); }
.section-contact {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-dark);
}
.section-contact .section-index { background: var(--gold); color: var(--navy-deep); }
.section-contact h2 { color: var(--on-dark); }
.section-post { background: var(--paper); }

/* --------------------------- Vier offene Fragen --------------------------- */
.questions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0 clamp(2.5rem, 6vw, 4rem);
}
.questions li {
  background: var(--cream);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  position: relative;
  box-shadow: 0 5px 0 rgba(13, 24, 48, .18);
}
.q-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: .5rem;
}
.questions h3 { margin-bottom: .15rem; }
.questions p { margin: 0; color: var(--text-muted); font-size: .95rem; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.problem-heading {
  grid-column: 1 / -1;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  max-width: 34ch;
  margin-bottom: .4rem;
}
.problem-card {
  background: var(--cream);
  border: 2px solid var(--navy);
  border-left: 8px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.problem-card-accent { background: var(--navy); color: var(--on-dark); border-left-color: var(--gold-soft); }
.problem-card-accent p { color: rgba(253, 246, 227, .85); }
.problem-icon { font-size: 1.7rem; display: block; margin-bottom: .5rem; }
.problem-card h4 { margin-bottom: .35rem; }
.problem-card p { margin: 0; font-size: .95rem; color: var(--text-muted); }

/* ------------------------------ So einfach -------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  counter-reset: step;
  margin: 2rem 0;
}
.step {
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  position: relative;
  box-shadow: 0 5px 0 rgba(13, 24, 48, .16);
}
.step-num {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--on-dark);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: .7rem;
  border: 2px solid var(--navy);
}
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; font-size: .94rem; color: var(--text-muted); }

.messenger-block {
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 3px solid var(--navy-deep);
  box-shadow: var(--shadow-lg);
}
.messenger-block h3 { color: var(--gold-soft); font-size: clamp(1.3rem, 3vw, 1.9rem); }
.messenger-block p { color: rgba(253, 246, 227, .88); max-width: 68ch; }

.messenger-list {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin: 1.3rem 0 1rem;
}
.messenger-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--paper);
  color: var(--navy);
  border-radius: var(--radius-pill);
  padding: .55rem 1.1rem .55rem .8rem;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .25);
}
.messenger-list img { width: 26px; height: 26px; }

.messenger-note {
  display: inline-block;
  margin: 0;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 800;
  padding: .4rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--navy-deep);
}

/* ------------------------------- Klabauter -------------------------------- */
.klabauter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
  gap: 1.4rem;
  margin: 2rem 0;
}

.klabauter-card {
  background: var(--paper);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 0 rgba(13, 24, 48, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.klabauter-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 0 rgba(13, 24, 48, .35);
}

/* Ausklappbar: <summary> ist immer sichtbar, der Rest klappt auf */
.klabauter-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.klabauter-summary::-webkit-details-marker { display: none; }
.klabauter-summary:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }

.klabauter-media {
  grid-column: 1 / -1;
  background: linear-gradient(160deg, var(--yellow-soft), var(--yellow));
  padding: .8rem;
  display: grid;
  place-items: center;
  border-bottom: 3px solid var(--navy);
}
.klabauter-media img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  animation: floaty 6s ease-in-out infinite;
}

/* Gleiche Schaukel-Bewegung wie die Hauptgrafik, je Karte leicht versetzt */
#card-dagobert .klabauter-media img { animation-delay: -1.6s; }
#card-picasso  .klabauter-media img { animation-delay: -3.2s; }

.klabauter-teaser { padding: 1.2rem 1.3rem; }

.klabauter-toggle {
  width: 42px;
  height: 42px;
  margin-right: 1.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .2s ease;
}
.klabauter-toggle::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s ease;
}
.klabauter-card[open] .klabauter-toggle { background: var(--red); }
.klabauter-card[open] .klabauter-toggle::before {
  transform: rotate(-135deg) translate(-1px, -1px);
}
.klabauter-summary:hover .klabauter-toggle { background: var(--navy-soft); }

.klabauter-body {
  padding: 1.3rem 1.3rem 1.6rem;
  border-top: 3px solid var(--navy);
}
.klabauter-card[open] .klabauter-body { animation: reveal .28s ease; }
@keyframes reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

.hashtag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  background: var(--navy);
  color: var(--gold-soft);
  padding: .2rem .8rem;
  border-radius: var(--radius-pill);
  margin-bottom: .7rem;
}
.klabauter-role {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0;
}

.klabauter-list { display: grid; gap: .5rem; }
.klabauter-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .94rem;
  color: var(--text-muted);
}
.klabauter-list li::before {
  content: "⚓";
  position: absolute;
  left: 0;
  top: -.05rem;
  font-size: .85rem;
}

/* --- verschobene Aufgabenstellung: jetzt Teil der Smutje-Erklärung --- */
.smutje-problem {
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 2px dashed rgba(20, 38, 76, .3);
}
.smutje-problem .section-index { margin-bottom: .8rem; }
.smutje-problem h4 { margin-bottom: .3rem; }
.smutje-lead {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.smutje-problem .questions {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .6rem;
  margin: 1.4rem 0 0;
}
.smutje-problem .questions li {
  padding: .85rem .85rem;
  box-shadow: 0 3px 0 rgba(13, 24, 48, .15);
}
.smutje-problem .q-num { font-size: 1.2rem; margin-bottom: .3rem; }
.smutje-problem .questions h3 { font-size: 1rem; }
.smutje-problem .questions p { font-size: .85rem; }
.smutje-problem .problem-heading {
  grid-column: auto;
  font-size: 1.05rem;
  max-width: none;
  margin: 0 0 .9rem;
}
.smutje-problem .problem-grid { grid-template-columns: 1fr; gap: .7rem; }
.smutje-problem .problem-card { padding: 1rem 1.05rem; }
.smutje-problem .problem-card h4 { font-size: 1rem; }
.smutje-problem .problem-card p { font-size: .88rem; }
.smutje-problem .problem-icon { font-size: 1.35rem; margin-bottom: .35rem; }

/* --- Fähigkeits-Kästen (z. B. Dagobert) --- */
.ability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .7rem;
  margin: 1rem 0 1.5rem;
}
.ability-card {
  background: var(--cream);
  border: 2px solid var(--navy);
  border-top: 6px solid var(--gold);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-sm);
}
.ability-card:nth-child(even) { border-top-color: var(--red); }
.ability-icon { font-size: 1.5rem; display: block; margin-bottom: .35rem; }
.ability-card h4 { font-size: 1rem; margin-bottom: .25rem; }
.ability-card p { margin: 0; font-size: .88rem; color: var(--text-muted); }

.coming-soon {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(255, 253, 246, .75);
  border: 2px dashed var(--navy);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
}
.coming-soon p { margin: 0; max-width: 60ch; font-size: .96rem; }
.coming-badge {
  font-family: var(--font-display);
  font-weight: 800;
  background: var(--navy);
  color: var(--gold-soft);
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* -------------------------------- Kontakt --------------------------------- */
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.8rem, 5vw, 3.5rem);
  align-items: center;
}
.contact-copy p { color: rgba(253, 246, 227, .88); max-width: 52ch; }

.contact-number {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: rgba(253, 246, 227, .08);
  border: 2px dashed rgba(240, 199, 90, .6);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  margin: 1.4rem 0;
}
.contact-number-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.contact-number-value {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.4vw, 1.9rem);
  font-weight: 800;
  color: var(--on-dark);
  letter-spacing: .02em;
}
.contact-number-value:hover { color: var(--gold-soft); }

.contact-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.section-contact .btn-ghost { --btn-fg: var(--on-dark); border-color: rgba(253, 246, 227, .55); }
.section-contact .btn-ghost:hover { --btn-bg: rgba(253, 246, 227, .14); }
.section-contact .btn-ghost img { filter: brightness(0) invert(1); }

.contact-hint {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-soft);
  min-height: 1.4rem;
}
.contact-fineprint { font-size: .84rem; color: rgba(253, 246, 227, .62); margin-top: .6rem; }

.contact-figure { margin: 0; text-align: center; }
.contact-figure img {
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  border: 4px solid var(--gold);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}
.contact-figure figcaption {
  margin-top: .9rem;
  font-size: .88rem;
  font-style: italic;
  color: rgba(253, 246, 227, .7);
}

/* ------------------------------ Flaschenpost ------------------------------ */
.post-head { max-width: 70ch; margin-bottom: 2rem; }

.post-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  background: var(--cream);
  border: 3px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 4vw, 2.2rem);
  box-shadow: 0 8px 0 rgba(13, 24, 48, .22);
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: .75rem .9rem;
  width: 100%;
  transition: box-shadow .16s ease, border-color .16s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(200, 52, 44, .18);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--red); background: #fff4f3; }
.field-error { font-size: .82rem; color: var(--red); font-weight: 600; min-height: 1rem; }

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  border-top: 2px dashed rgba(20, 38, 76, .28);
  padding-top: 1.2rem;
}
.form-note { margin: 0; font-size: .88rem; color: var(--text-muted); max-width: 46ch; }

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}
.form-status.is-error { color: var(--red); }

/* Honeypot — für Besucher unsichtbar, aber im DOM vorhanden */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Gesperrter Absende-Button während des Versands */
.post-form button[type="submit"][disabled] { opacity: .6; cursor: progress; }

/* --------------------------------- Footer --------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(253, 246, 227, .8);
  padding: clamp(2rem, 5vw, 3rem) 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: var(--paper);
  border: 2px solid var(--gold);
  padding: 3px;
}
.footer-claim { margin: 0; font-family: var(--font-display); font-weight: 800; color: var(--on-dark); font-size: 1.05rem; }
.footer-sub { margin: 0; font-size: .82rem; letter-spacing: .1em; color: var(--gold-soft); }

.footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; font-size: .92rem; }
.footer-nav a { border-bottom: 1px solid transparent; transition: border-color .16s ease, color .16s ease; }
.footer-nav a:hover { color: var(--gold-soft); border-bottom-color: var(--gold-soft); }

.footer-legal { margin: 0; font-size: .8rem; color: rgba(253, 246, 227, .55); text-align: right; }

/* ---------------------------- Rechtstexte-Seiten --------------------------- */
.legal-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-dark);
  padding: clamp(2.2rem, 6vw, 3.6rem) 0 clamp(1.6rem, 4vw, 2.4rem);
}
.legal-hero .section-index { background: var(--gold); color: var(--navy-deep); }
.legal-hero h1 {
  color: var(--on-dark);
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: .35rem;
}
.legal-hero p {
  margin: 0;
  color: rgba(253, 246, 227, .82);
  max-width: 62ch;
  font-size: 1.02rem;
}

.legal-body { background: var(--paper); }

.legal-block {
  max-width: 78ch;
  background: var(--cream);
  border: 2px solid var(--navy);
  border-left: 8px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 4vw, 2rem);
  margin-bottom: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.legal-block h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: .8rem;
}
.legal-block h3 {
  font-size: 1.05rem;
  margin: 1.4rem 0 .4rem;
  color: var(--navy);
}
.legal-block h3:first-of-type { margin-top: .4rem; }
.legal-block p { color: var(--text-muted); }
.legal-block p:last-child { margin-bottom: 0; }

.legal-block address {
  font-style: normal;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.8;
}
.legal-block a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-block a:hover { color: var(--navy); }

.legal-block ul { display: grid; gap: .45rem; margin: .6rem 0 1rem; }
.legal-block li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .96rem;
  color: var(--text-muted);
}
.legal-block li::before {
  content: "⚓";
  position: absolute;
  left: 0;
  font-size: .8rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  margin-bottom: 1.6rem;
  font-size: .9rem;
  color: var(--text-muted);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
}

/* WICHTIG: Vor Livegang ersetzen — Hinweisbox für offene Angaben */
.legal-todo {
  max-width: 78ch;
  background: #fff5e0;
  border: 2px dashed var(--red);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.6rem;
}
.legal-todo h2 {
  font-size: 1.1rem;
  color: var(--red);
  margin-bottom: .5rem;
}
.legal-todo ul { display: grid; gap: .4rem; margin: 0; }
.legal-todo li { font-size: .92rem; color: var(--navy); padding-left: 1.3rem; position: relative; }
.legal-todo li::before { content: "▸"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* --------------------------- Projekt-Lesezeichen --------------------------- */
.bookmark-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  max-width: 78ch;
  margin: 0;
}
.bookmark-card {
  display: block;
  background: var(--cream);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.bookmark-card:hover,
.bookmark-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.bookmark-card .bookmark-icon { display: block; font-size: 1.5rem; line-height: 1; }
.bookmark-card h3 { margin: .4rem 0 .25rem; font-size: 1.02rem; }
.bookmark-card p { margin: 0; font-size: .9rem; color: var(--text-muted); }

.legal-block .fact-list { display: grid; gap: 0; margin: 0; }
.legal-block .fact-list > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: .5rem 1rem;
  padding: .5rem 0;
  border-bottom: 1px dashed rgba(20, 38, 76, .18);
}
.legal-block .fact-list dt { font-weight: 700; color: var(--navy); }
.legal-block .fact-list dd { margin: 0; color: var(--text-muted); font-size: .95rem; }

.legal-block .status-list { display: grid; gap: .4rem; margin: .5rem 0 0; }
.legal-block .status-list li { padding-left: 1.7rem; font-size: .95rem; }
.legal-block .status-list li::before { font-size: 1rem; left: 0; }
.legal-block .status-list li.is-done::before { content: "✔"; color: #2e7d32; }
.legal-block .status-list li.is-open::before { content: "▸"; color: var(--red); }

.bookmark-tool {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.2rem;
  align-items: center;
  margin: 1rem 0 .4rem;
}
.bookmark-status {
  margin: .6rem 0 0;
  font-size: .92rem;
  color: var(--navy);
  font-weight: 600;
}
.key-hint {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86em;
  background: rgba(20, 38, 76, .09);
  border: 1px solid rgba(20, 38, 76, .18);
  border-radius: 6px;
  padding: .12em .5em;
  font-weight: 700;
  white-space: nowrap;
}

/* ------------------------- Zugangssperre (Passwort) ------------------------ */
html.gate-locked body > *:not(#gate-overlay) { display: none !important; }
html.gate-locked body { background: var(--yellow); }

#gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%);
}
#gate-overlay.gate-shake .gate-card { animation: gate-shake .4s ease; }
@keyframes gate-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-9px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(4px); }
}

.gate-card {
  width: 100%;
  max-width: 420px;
  background: var(--paper);
  border: 3px solid var(--navy-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 5vw, 2.3rem);
  text-align: center;
}
.gate-logo {
  width: 104px;
  height: 104px;
  object-fit: contain;
  margin: 0 auto .6rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 2px solid var(--navy);
  padding: 4px;
}
.gate-eyebrow {
  margin: 0 0 .2rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}
.gate-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--navy);
  margin: 0 0 .5rem;
}
.gate-text { font-size: .96rem; color: var(--text-muted); margin: 0 0 1.2rem; }
.gate-label {
  display: block;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--navy);
  margin-bottom: .35rem;
}
.gate-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: .8rem .95rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
}
.gate-input:focus { outline: 3px solid var(--gold); outline-offset: 1px; }
.gate-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  left: -9999px;
  overflow: hidden;
}
.gate-error {
  min-height: 1.3em;
  margin: .55rem 0 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--red);
}
.gate-submit {
  width: 100%;
  margin-top: .4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: .9rem 1.4rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius-pill);
  background: var(--navy);
  color: var(--on-dark);
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(13, 24, 48, .55);
  transition: transform .16s ease, background .16s ease;
}
.gate-submit:hover { background: var(--navy-soft); transform: translateY(-2px); }
.gate-submit:active { transform: translateY(2px); }

/* ------------------------------- Responsive ------------------------------- */
@media (max-width: 980px) {
  .hero-inner,
  .contact-inner { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { max-width: 320px; }
  .contact-figure { order: -1; }
  .contact-figure img { max-width: 260px; }

  .available-url { margin-left: 0; width: 100%; }
  .available-label { border-right: none; padding-right: 0; width: 100%; }

  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-legal { text-align: center; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }

  .brand img { width: 62px; height: 62px; }
  .brand-text strong { font-size: 1.05rem; }

  .nav-toggle { display: flex; }

  .lang-switch button { padding: .38rem .5rem; font-size: .76rem; }

  .site-nav {
    display: none;
    position: fixed;
    inset: calc(var(--header-h) + 8px) 1rem auto 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    background: var(--navy);
    border: 3px solid var(--navy-deep);
    border-radius: var(--radius);
    padding: .8rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-nav.is-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .site-nav > a { color: var(--on-dark); padding: .8rem 1rem; border-radius: var(--radius-sm); }
  .site-nav > a:hover { background: rgba(253, 246, 227, .12); }
  .site-nav .nav-cta { background: var(--gold); color: var(--navy-deep); text-align: center; margin-top: .4rem; box-shadow: none; }

  .available-strip { flex-direction: column; align-items: flex-start; }
  .platform-list { width: 100%; justify-content: space-between; gap: .5rem .8rem; }

  .post-form { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions,
  .contact-actions { flex-direction: column; }
  .form-footer { flex-direction: column; align-items: stretch; }

  .legal-block .fact-list > div { grid-template-columns: 1fr; gap: .1rem; }
}

@media (max-width: 420px) {
  .hero-facts li { font-size: .78rem; }
  .platform-list { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
