/* Kittelhausen – Website. Stil B+ wie im Spiel: klar, freundlich, Karten mit feiner Kontur.
   Keine externen Schriften oder Dienste; alles liegt auf diesem Server. */

:root {
  color-scheme: light dark;
  --bg: #f7f9fb;
  --bg-alt: #eef2f6;
  --card: #ffffff;
  --card-grad: linear-gradient(180deg, #ffffff, #f4f7fa);
  --ink: #1d2d3a;
  --muted: #55687a;
  --line: rgba(20, 30, 44, 0.14);
  --line-strong: rgba(20, 30, 44, 0.28);
  --teal: #1f7a6f;
  --teal-soft: #dff1ee;
  --teal-ink: #145a52;
  --coral: #b8442a;
  --coral-logo: #d0553a;
  --coral-soft: #fde8e1;
  --gold: #f2b33d;
  --gold-ink: #7a4f00;
  --grass: #7fb468;
  --on-accent: #ffffff;
  --shadow: 0 0 0 1px rgba(20, 30, 44, 0.08), 0 8px 24px rgba(20, 40, 55, 0.1);
  --shadow-lg: 0 0 0 1px rgba(20, 30, 44, 0.08), 0 18px 48px rgba(20, 40, 55, 0.18);
  --focus: #1f6fd1;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --font: ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121a21;
    --bg-alt: #17212a;
    --card: #1b2630;
    --card-grad: linear-gradient(180deg, #1e2a35, #1a242e);
    --ink: #e8eef3;
    --muted: #a3b1bc;
    --line: rgba(232, 238, 243, 0.12);
    --line-strong: rgba(232, 238, 243, 0.26);
    --teal: #5cc8b8;
    --teal-soft: #173a37;
    --teal-ink: #8fdccf;
    --coral: #f2896c;
    --coral-logo: #f2896c;
    --coral-soft: #3a231d;
    --gold-ink: #f6c766;
    --on-accent: #0f1a1f;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 48px rgba(0, 0, 0, 0.5);
    --focus: #8cc2ff;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 84px;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  overflow-x: hidden;
}

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

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--card);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

/* ------------------------------------------------------------------ Kopf */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.logo {
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.logo img {
  width: 32px;
  height: 32px;
}

.logo .brand-text span,
.brand-coral {
  color: var(--coral-logo);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.site-nav a:not(.btn):hover {
  background: var(--bg-alt);
}

.site-nav .nav-links {
  display: flex;
  gap: 2px;
}

@media (max-width: 860px) {
  .site-nav .nav-links {
    display: none;
  }
}

/* ------------------------------------------------------------------ Knöpfe */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
}

.btn-primary {
  background: var(--coral);
  color: var(--on-accent);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--coral) 35%, transparent);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--coral) 88%, #000);
  text-decoration: none;
}

.btn-big {
  font-size: 1.2rem;
  padding: 18px 34px;
}

.btn-small {
  padding: 9px 18px;
  font-size: 0.95rem;
}

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--bg-alt);
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: transform 0.15s ease, background-color 0.15s ease;
  }

  .btn:hover {
    transform: translateY(-1px);
  }
}

/* ------------------------------------------------------------------ Held */

.hero {
  position: relative;
  padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--grass) 30%, transparent), transparent 70%),
    radial-gradient(900px 420px at -10% 110%, color-mix(in srgb, var(--coral) 14%, transparent), transparent 70%),
    var(--bg);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

@media (max-width: 920px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero h1 {
  font-size: clamp(2.8rem, 1.8rem + 4.5vw, 4.6rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-bottom: 0.15em;
}

.hero .tagline {
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.6em;
}

.hero .lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 34em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 26px 0 18px;
}

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

.badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-soft);
  color: var(--teal-ink);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 5px 12px;
  border-radius: 999px;
}

.badges svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--card);
}

.shot img {
  width: 100%;
}

.shot figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}

.hero-shot {
  position: relative;
}

.hero-phone {
  position: absolute;
  right: -10px;
  bottom: -36px;
  width: 24%;
  min-width: 96px;
  border-radius: 18px;
  border: 5px solid #1d2d3a;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background: #1d2d3a;
}

@media (max-width: 520px) {
  .hero-phone {
    right: 6px;
    bottom: -24px;
    border-width: 4px;
    border-radius: 14px;
  }
}

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

section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 6px;
}

.section-intro {
  max-width: 46em;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2em;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 760px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.facts li {
  background: var(--card-grad);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  text-align: center;
}

.facts b {
  display: block;
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
  line-height: 1.1;
  color: var(--teal);
}

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

/* Geschichte */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.story-text p {
  font-size: 1.08rem;
}

blockquote.big-quote {
  margin: 1.5em 0;
  padding: 18px 22px;
  background: var(--coral-soft);
  border-left: 5px solid var(--coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.12rem;
}

blockquote.big-quote p {
  margin: 0 0 0.3em;
}

blockquote.big-quote footer {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
}

.cast {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}

.cast li {
  background: var(--card-grad);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 12px;
  align-content: start;
}

.avatar {
  grid-row: span 3;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #1d2d3a;
  border: 1px solid rgba(20, 30, 44, 0.2);
}

.cast h3 {
  font-size: 1.02rem;
  margin: 0;
}

.cast .role {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.cast q {
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 6px;
  line-height: 1.45;
}

.chapters {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  counter-reset: kap;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 700px) {
  .chapters {
    grid-template-columns: minmax(0, 1fr);
  }
}

.chapters li {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 16px 16px 62px;
  counter-increment: kap;
}

.chapters li::before {
  content: counter(kap);
  position: absolute;
  left: 14px;
  top: 16px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1d2d3a;
  background: var(--c, #9fd59a);
}

.chapters h3 {
  font-size: 1.05rem;
  margin: 0 0 2px;
}

.chapters .where {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.chapters p {
  margin: 0;
  font-size: 0.95rem;
}

.chapters li.finale {
  background: linear-gradient(135deg, var(--coral-soft), var(--card) 70%);
}

/* Merkmale */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
}

.feature {
  background: var(--card-grad);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.feature .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-ink);
  margin-bottom: 12px;
}

.feature .ico svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin-bottom: 0.35em;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 80px);
}

.split.reverse > :first-child {
  order: 2;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split.reverse > :first-child {
    order: 0;
  }
}

.split h3 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
}

.split ul {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.split li {
  margin: 0.3em 0;
}

/* Krankheiten */

.diseases {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}

.diseases li {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  border-top: 4px solid var(--c, var(--coral));
}

.diseases b {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

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

/* Galerie */

.gallery {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
}

.gallery button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.gallery .cap {
  display: block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery img {
    transition: transform 0.25s ease;
  }

  .gallery button:hover img {
    transform: scale(1.03);
  }
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1600px, 96vw);
  max-height: 96vh;
  width: auto;
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(10, 16, 22, 0.86);
}

.lightbox figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lightbox img {
  max-width: min(1600px, 96vw);
  max-height: calc(96vh - 110px);
  width: auto;
  height: auto;
  border-radius: 10px;
  background: #1b2630;
}

.lightbox figcaption {
  font-weight: 600;
  text-align: center;
  padding: 0 8px;
}

.lb-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.lb-count {
  font-weight: 600;
  white-space: nowrap;
}

.lb-bar button {
  font: inherit;
  font-weight: 700;
  color: #1d2d3a;
  background: #fff;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  white-space: nowrap;
  cursor: pointer;
}

/* Schmale Bildschirme: Zähler in eigener Zeile über den Knöpfen, mehr Platz unter dem Bild für
   zweizeilige Bildunterschrift und Knöpfe (dvh: ohne die ein- und ausfahrende Adressleiste) */
@media (max-width: 480px) {
  .lb-count {
    order: -1;
    flex-basis: 100%;
    text-align: center;
  }

  .lb-bar button {
    padding: 8px 14px;
  }

  .lightbox img {
    max-height: calc(96vh - 170px);
    max-height: calc(96dvh - 170px);
  }

  .lightbox figcaption {
    font-size: 0.92rem;
  }
}

/* FAQ */

.faq {
  max-width: 52em;
}

.faq details {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 750;
  padding: 16px 48px 16px 18px;
  position: relative;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

.faq details[open] summary::after {
  content: '–';
}

.faq .answer {
  padding: 0 18px 16px;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* Schluss-Aufruf */

.final {
  text-align: center;
  background:
    radial-gradient(800px 300px at 50% 0%, color-mix(in srgb, var(--grass) 26%, transparent), transparent 70%),
    var(--bg);
}

.final p {
  color: var(--muted);
  font-size: 1.1rem;
}

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

.site-foot {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
}

.site-foot nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.site-foot a {
  color: var(--ink);
  font-weight: 600;
}

/* ------------------------------------------------------------------ Rechtstexte */

.legal main {
  padding: clamp(32px, 5vw, 64px) 0 72px;
}

.legal .doc {
  width: min(820px, 100% - 32px);
  margin-inline: auto;
}

.legal h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.6rem);
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2em;
}

.legal h3 {
  font-size: 1.08rem;
  margin-top: 1.4em;
}

.legal ul {
  padding-left: 1.3em;
}

.legal li {
  margin: 0.3em 0;
}

.legal address {
  font-style: normal;
}

.legal .box {
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  margin: 1em 0;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1em 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  background: var(--card);
}

.legal table {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
  font-size: 0.93rem;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.legal th {
  background: var(--bg-alt);
}

.legal tr:last-child td {
  border-bottom: 0;
}

.legal code {
  font-size: 0.9em;
  background: var(--bg-alt);
  padding: 1px 5px;
  border-radius: 5px;
  overflow-wrap: anywhere;
}

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

/* Geschützte E-Mail-Adresse ohne JavaScript: Auf dem Bildschirm kommen @ und Punkt aus CSS (nicht aus dem
   HTML). Im HTML steht „ (at) “ / „ (punkt) “ – unsichtbar, aber beim Kopieren, im Lesemodus und ohne CSS
   lesbar. Für Screenreader hat das CSS-Zeichen einen leeren Alternativtext, sie lesen „(at)“ und „(punkt)“. */
.m-at::before {
  content: '\40';
  content: '\40' / '';
}

.m-dot::before {
  content: '\2e';
  content: '\2e' / '';
}

.m-alt {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: pre;
  border: 0;
}

/* 404 */

.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 0;
}

.notfound .code {
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  font-weight: 850;
  line-height: 1;
  color: var(--coral);
  margin-bottom: 0.1em;
}

.notfound p {
  color: var(--muted);
  max-width: 32em;
  margin-inline: auto;
}

.notfound .cta-row {
  justify-content: center;
}

/* Tabellen auf schmalen Bildschirmen als Karten statt Querscrollen */
@media (max-width: 640px) {
  .table-wrap {
    overflow: visible;
    box-shadow: none;
    background: transparent;
  }

  .legal table {
    min-width: 0;
  }

  .legal thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .legal table,
  .legal tbody,
  .legal tr,
  .legal td {
    display: block;
  }

  .legal tr {
    background: var(--card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    margin-bottom: 12px;
    padding: 6px 0;
  }

  .legal td {
    border-bottom: 0;
    padding: 6px 14px;
  }

  .legal td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
  }
}
