/* The Game Central – Schwarz/Orange, keine externen Schriften (Datenschutz) */
:root {
  --bg: #000;
  --bg2: #0d0d0d;
  --karte: #141414;
  --rand: #262626;
  --text: #e6e6e6;
  --leise: #9a9a9a;
  --orange: #ff7a1a;
  --titel: "Copperplate Gothic Bold", "Copperplate Gothic", Copperplate, "Trajan Pro", Georgia, serif;
  --fliess: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--fliess);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Kopfzeile */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rand);
}
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; color: var(--text); }
.logo:hover { text-decoration: none; }
.logo-tgc { font-family: var(--titel); font-size: 30px; letter-spacing: 1px; }
.logo-name { font-family: var(--titel); font-size: 9px; letter-spacing: .5px; font-variant: small-caps; margin-top: 2px; }
.topbar nav { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar nav a { color: var(--text); font-family: var(--titel); font-variant: small-caps; font-size: 16px; }
.topbar nav a:hover { color: var(--orange); text-decoration: none; }

/* Sprachschalter DE | EN */
.sprache {
  all: unset; cursor: pointer; display: flex; gap: 2px; padding: 3px;
  border: 1px solid var(--rand); border-radius: 4px; font-size: 12px; font-weight: 600; letter-spacing: 1px;
}
.sprache span { padding: 2px 6px; border-radius: 3px; color: var(--leise); }
.sprache span.aktiv { background: var(--orange); color: #000; }
.sprache:hover span:not(.aktiv) { color: var(--text); }
.sprache:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.topbar nav { margin-left: auto; }
.nur-de { color: var(--orange) !important; font-style: italic; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 40px 24px 20px; gap: 24px;
  min-height: calc(100vh - 70px);
}
/* Chip-Logo: 4 Farben blenden nacheinander ineinander (16 s Schleife) */
.chip-logo {
  position: relative; width: clamp(180px, 22vw, 280px); aspect-ratio: 1;
  margin: 0 0 8px -12px;
}
.chip-logo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  mix-blend-mode: screen;            /* schwarzer Bildrand verschmilzt mit dem Seitenhintergrund */
  opacity: 0;
  animation: chipwechsel 16s infinite ease-in-out;
}
.chip-logo img:nth-child(1) { opacity: 1; animation-delay: 0s; }
.chip-logo img:nth-child(2) { animation-delay: 4s; }
.chip-logo img:nth-child(3) { animation-delay: 8s; }
.chip-logo img:nth-child(4) { animation-delay: 12s; }
@keyframes chipwechsel {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  25%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chip-logo img { animation: none; }
  .chip-logo img:not(:first-child) { display: none; }
}

.kicker { color: var(--orange); text-transform: uppercase; letter-spacing: 3px; font-size: 13px; margin: 0 0 12px; }
.stairs { font-family: var(--titel); font-variant: small-caps; font-weight: normal; font-size: clamp(40px, 6vw, 76px); line-height: 1.15; margin: 0; }
.stairs span { display: block; }
.stairs span:nth-child(2) { padding-left: 1.6em; }
.stairs span:nth-child(3) { padding-left: 3.2em; color: var(--orange); }
.tagline { font-family: var(--titel); font-variant: small-caps; color: var(--leise); font-size: 18px; margin: 28px 0; }
.tagline b { color: var(--orange); font-weight: normal; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 4px;
  background: var(--orange); color: #000; font-weight: 600;
}
.btn:hover { text-decoration: none; filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--orange); border: 1px solid var(--orange); }
.hero-bild img {
  max-height: 82vh; width: auto; margin: 0 auto;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 45%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 75% at 50% 45%, #000 55%, transparent 100%);
}

/* Abschnitte */
.block { max-width: 1200px; margin: 0 auto; padding: 72px 24px 24px; }
h2 {
  font-family: var(--titel); font-variant: small-caps; font-weight: normal;
  font-size: 36px; margin: 0 0 24px; padding-bottom: 10px;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.intro { color: var(--leise); max-width: 720px; }

/* Karten */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; grid-auto-flow: dense; }
.karte {
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  background: var(--karte); border: 1px solid var(--rand); border-radius: 6px;
  padding: 22px; color: var(--text); cursor: pointer;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.karte:hover { border-color: rgba(255,122,26,.6); transform: translateY(-3px); }
/* kleines Plus oben rechts, wird beim Öffnen zum X */
.karte::after {
  content: "+"; position: absolute; top: 14px; right: 18px;
  color: var(--leise); font-size: 22px; line-height: 1; transition: transform .3s, color .3s;
}
.karte:hover::after { color: var(--orange); }
.karte.offen {
  border-color: var(--orange); transform: none; cursor: default;
  box-shadow: 0 0 0 1px rgba(255,122,26,.35), 0 12px 40px rgba(255,122,26,.08);
}
.karte.offen::after { transform: rotate(45deg); color: var(--orange); cursor: pointer; }
.karte h3 { margin: 4px 0; font-size: 20px; padding-right: 24px; }
.karte-knopf {
  all: unset; cursor: pointer; font: inherit; color: inherit;
}
.karte-knopf:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 2px; }
.karte > p { margin: 0; color: var(--leise); flex: 1; }
.motto { font-size: 13px; font-style: italic; color: var(--orange); opacity: .85; margin: -2px 0 2px; }
.tag { color: var(--orange); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; }
.mehr { color: var(--orange); margin-top: 10px; font-weight: 600; align-self: flex-start; }

/* Details in der geöffneten Kachel */
.details {
  margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--rand);
  animation: details-ein .45s ease both;
}
.details p { margin: 0 0 12px; color: var(--text); }
.details ul { margin: 0 0 14px; padding-left: 20px; color: var(--leise); }
.details li { margin: 4px 0; }
.details li::marker { color: var(--orange); }
.details-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.details-links .btn { padding: 9px 16px; font-size: 15px; }
@keyframes details-ein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* PC: geöffnete Kachel geht über die ganze Breite, Details rechts daneben */
@media (min-width: 900px) {
  .karte.offen {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: minmax(260px, 1fr) 1.6fr;
    column-gap: 40px; align-items: start; padding: 32px;
  }
  .karte.offen > :not(.details) { grid-column: 1; }
  .karte.offen > .details {
    grid-column: 2; grid-row: 1 / span 5;
    margin: 0; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid var(--rand);
  }
  .karte.offen h3 { font-size: 26px; }
}

/* weiches Umsortieren der Kacheln (View Transitions) */
::view-transition-group(*) {
  animation-duration: .45s; animation-timing-function: cubic-bezier(.2,.8,.2,1);
  overflow: clip; border-radius: 6px;
}
/* Inhalt nicht verzerren: Kachel-Rahmen wächst, Text bleibt in Originalgröße */
::view-transition-old(*), ::view-transition-new(*) {
  width: 100%; height: 100%; object-fit: none; object-position: left top;
}
@media (prefers-reduced-motion: reduce) {
  .karte, .karte::after { transition: none; }
  .details { animation: none; }
}
.leise { color: var(--leise) !important; font-weight: normal; }

/* Galerie */
.galerie { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.galerie figure { margin: 0; background: var(--karte); border: 1px solid var(--rand); border-radius: 6px; overflow: hidden; }
.galerie .breit { grid-column: 1 / -1; }
.galerie .panorama img { aspect-ratio: 1920 / 804; }
.galerie img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.galerie figcaption { padding: 10px 14px; color: var(--leise); font-size: 14px; }

/* Zeitleiste */
.zeitleiste { list-style: none; margin: 24px 0 0; padding: 0; border-left: 2px solid var(--rand); }
.zeitleiste li { display: flex; gap: 20px; padding: 0 0 28px 24px; position: relative; }
.zeitleiste li::before {
  content: ""; position: absolute; left: -7px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--orange);
}
.jahr { font-family: var(--titel); color: var(--orange); font-size: 20px; min-width: 70px; }
.zeitleiste h3 { margin: 0 0 4px; font-size: 19px; }
.zeitleiste p { margin: 0; color: var(--leise); }

/* Links */
.linkleiste { display: flex; flex-wrap: wrap; gap: 12px; }
.linkleiste a, .linkleiste span {
  padding: 10px 18px; border: 1px solid var(--rand); border-radius: 4px; background: var(--karte);
}
.linkleiste a:hover { border-color: var(--orange); text-decoration: none; }

/* Rechtstexte (Impressum, Datenschutz) */
.rechtstext { max-width: 760px; }
.rechtstext h1 {
  font-family: var(--titel); font-variant: small-caps; font-weight: normal;
  font-size: 40px; margin: 0 0 28px; padding-bottom: 10px;
  border-bottom: 2px solid var(--orange); display: inline-block;
}
.rechtstext h2 { font-size: 20px; border: 0; padding: 0; margin: 32px 0 8px; display: block; font-family: var(--fliess); font-variant: normal; font-weight: 600; }
.rechtstext p { margin: 0 0 12px; color: var(--leise); }
.rechtstext ul { margin: 0 0 12px; padding-left: 20px; color: var(--leise); }
.rechtstext li::marker { color: var(--orange); }
.rechtstext b { color: var(--text); }
.platzhalter { background: #5a4300; color: #ffd166; padding: 0 4px; border-radius: 3px; }
.zurueck { margin-top: 40px !important; }

/* Unterseite AMS2 Server Control: Bilder-Raster + Lightbox */
.seiten-titel {
  font-family: var(--titel); font-variant: small-caps; font-weight: normal;
  font-size: clamp(34px, 5vw, 52px); margin: 6px 0 4px;
}
.screens-titel { margin-top: 56px; }
.screens { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 8px; }
.screens figure {
  margin: 0; background: var(--karte); border: 1px solid var(--rand); border-radius: 6px; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.screens figure:hover { border-color: rgba(255,122,26,.6); transform: translateY(-3px); }
.screens a { display: block; }
.screens img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.screens figcaption { padding: 10px 14px; color: var(--leise); font-size: 14px; }

html.lb-offen { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 56px 12px 20px; background: rgba(0,0,0,.96);
}
.lightbox[hidden] { display: none; }
.lb-bild { margin: 0; max-width: min(1500px, 100%); display: flex; flex-direction: column; align-items: center; }
.lb-bild img {
  max-width: 100%; max-height: calc(100vh - 130px); width: auto; height: auto;
  border: 1px solid var(--rand); border-radius: 4px;
}
.lb-bild figcaption { color: var(--text); font-size: 15px; margin-top: 12px; text-align: center; }
.lightbox button {
  all: unset; cursor: pointer; color: var(--text); line-height: 1; text-align: center;
  border: 1px solid var(--rand); border-radius: 4px; background: rgba(20,20,20,.85);
}
.lightbox button:hover { color: var(--orange); border-color: var(--orange); }
.lightbox button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.lightbox .lb-zu { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; font-size: 28px; }
.lightbox .lb-pfeil { flex: none; width: 44px; height: 64px; font-size: 36px; }
@media (max-width: 800px) {
  .screens { grid-template-columns: 1fr; }
  .lightbox .lb-pfeil { position: absolute; bottom: 14px; width: 52px; height: 44px; font-size: 30px; }
  .lightbox .lb-zurueck { left: calc(50% - 60px); }
  .lightbox .lb-weiter { right: calc(50% - 60px); }
  .lightbox { padding-bottom: 72px; }
  .lb-bild img { max-height: calc(100vh - 190px); }
}

/* Anleitung AMS2 Server Control (ams2-server-control/anleitung/) */
.anleitung-seite { max-width: 1240px; }
.anl-knoepfe { margin-bottom: 24px; }
.anleitung { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.anleitung[hidden] { display: none; }
.toc { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow: auto;
  padding: 16px 18px; background: var(--karte); border: 1px solid var(--rand); border-radius: 6px; font-size: 15px; }
.toc-titel { margin: 0 0 8px; color: var(--orange); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 2px 0; }
.toc a { display: flex; gap: 8px; padding: 4px 6px; border-radius: 3px; color: var(--text); line-height: 1.35; }
.toc a:hover { background: #1f1f1f; color: var(--orange); text-decoration: none; }
.kap-nr { color: var(--orange); min-width: 1.3em; font-variant-numeric: tabular-nums; }
.anl-text { max-width: 820px; }
.anl-text h1.seiten-titel { margin-top: 0; }
.anl-text h2 { display: block; font-size: 30px; margin: 8px 0 18px; scroll-margin-top: 84px; }
.anl-text h2 .kap-nr { margin-right: .2em; }
.anl-text h3 { font-size: 20px; margin: 28px 0 8px; }
.anl-text p, .anl-text li { color: #cfcfcf; }
.anl-text ol, .anl-text ul { padding-left: 24px; }
.anl-text li { margin: 5px 0; }
.anl-text li::marker { color: var(--orange); }
.anl-text code { background: #1c1c1c; border: 1px solid var(--rand); border-radius: 3px; padding: 0 5px; font-size: .9em; color: var(--text); }
.anl-text hr { border: 0; border-top: 1px solid var(--rand); margin: 48px 0; }
.anl-text b { color: var(--text); }
.info { margin: 20px 0; padding: 14px 18px; border-left: 3px solid var(--orange); border-radius: 0 6px 6px 0;
  background: rgba(255,122,26,.08); }
.info p { margin: 0; color: var(--text) !important; }
.anl-bild { margin: 22px 0; }
.anl-bild a { display: inline-block; max-width: 100%; border: 1px solid var(--rand); border-radius: 6px; overflow: hidden; transition: border-color .25s; }
.anl-bild a:hover { border-color: var(--orange); }
.anl-bild img { width: auto; max-width: 100%; }
.anl-bild figcaption { color: var(--leise); font-size: 14px; margin-top: 6px; }
.tabelle { overflow-x: auto; margin: 14px 0 20px; border: 1px solid var(--rand); border-radius: 6px; }
.tabelle table { border-collapse: collapse; width: 100%; font-size: 15px; }
.tabelle th { text-align: left; background: #1a1a1a; color: var(--orange); font-weight: 600; }
.tabelle th, .tabelle td { padding: 9px 14px; border-bottom: 1px solid var(--rand); vertical-align: top; }
.tabelle tr:last-child td { border-bottom: 0; }
.tabelle td:first-child { white-space: nowrap; }
.nach-oben {
  position: fixed; right: 18px; bottom: 18px; z-index: 20; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%; font-size: 20px; font-weight: 700;
  background: var(--orange); color: #000; box-shadow: 0 4px 16px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.nach-oben.zeigen { opacity: 1; pointer-events: auto; }
.nach-oben:hover { text-decoration: none; filter: brightness(1.1); }
@media (max-width: 900px) {
  .anleitung { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; }
  .anl-text h2 { font-size: 25px; }
  /* Tabelle am Handy: jede Zeile als kleine Karte */
  .tabelle { border: 0; }
  .tabelle thead { display: none; }
  .tabelle tr { display: block; border: 1px solid var(--rand); border-radius: 6px; margin-bottom: 8px; background: var(--karte); }
  .tabelle td { display: block; border: 0; padding: 4px 12px; }
  .tabelle td:first-child { padding-top: 10px; white-space: normal; }
  .tabelle td:last-child { padding-bottom: 10px; color: var(--leise); }
}

/* Produktseite AMS2 Server Control (ams2-server-control/index.html) */
.produkt { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: start; max-width: 1240px; margin: 0 auto; padding: 40px 24px 24px; }
.produkt[hidden] { display: none; }
.leiste { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 100px); overflow: auto; }
.leiste .btn { text-align: center; }
.btn-gross { padding: 15px 22px; font-size: 18px; }
.leiste-link { font-size: 14px; text-align: center; }
.kasten { background: var(--karte); border: 1px solid var(--rand); border-radius: 6px; padding: 14px 16px; }
.kasten-titel { margin: 0 0 10px; color: var(--orange); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; }
.datei dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin: 0; font-size: 14px; }
.datei dt { color: var(--leise); }
.datei dd { margin: 0; color: var(--text); text-align: right; min-width: 0; }
.datei dd b { color: var(--orange); }
.datei .sha { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--leise); }
.datei-hinweis { margin: 10px 0 0; font-size: 13px; color: var(--leise); line-height: 1.45; }
.lizenz { margin-top: 6px; font-size: 13px; }
.lizenz summary { cursor: pointer; color: var(--orange); }
.lizenz p { margin: 6px 0 0; color: var(--leise); line-height: 1.45; }
.kapitel ol { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.kapitel a { display: flex; gap: 8px; padding: 4px 6px; border-radius: 3px; color: var(--text); }
.kapitel a:hover, .kapitel a.aktiv { background: #1f1f1f; color: var(--orange); text-decoration: none; }
.p-text h1 { font-family: var(--titel); font-variant: small-caps; font-weight: normal; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.05; margin: 4px 0 4px; }
.p-text .lead { font-size: 20px; color: var(--text); margin: 16px 0 10px; }
.p-text p { color: #cfcfcf; }
.p-text section { scroll-margin-top: 84px; }
.p-text h2 { display: block; font-size: 30px; margin: 64px 0 18px; }
.p-text h3 { margin: 0 0 4px; font-size: 18px; }
.p-text code { background: #1c1c1c; border: 1px solid var(--rand); border-radius: 3px; padding: 0 5px; font-size: .9em; color: var(--text); }
.shot { margin: 18px 0; border: 1px solid var(--rand); border-radius: 8px; overflow: hidden; box-shadow: 0 20px 60px rgba(255,122,26,.10), 0 0 0 1px rgba(255,122,26,.22); }
.shot a { display: block; }
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.schritt { background: var(--karte); border: 1px solid var(--rand); border-radius: 6px; padding: 18px 18px 18px 62px; position: relative; }
.schritt::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #000; font-weight: 700; }
.schritt p { margin: 0; font-size: 15px; color: var(--leise); }
.raster { display: grid; gap: 16px; }
.raster-2 { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
.raster-3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: var(--karte); border: 1px solid var(--rand); border-radius: 6px; overflow: hidden; transition: border-color .25s; }
.feature:hover { border-color: rgba(255,122,26,.6); }
.feature .p-bild { display: block; border-bottom: 1px solid var(--rand); background: #0b0b0b; }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.raster-2 .feature img { aspect-ratio: 16 / 10; object-fit: contain; object-position: center; }
.feature > div { padding: 14px 16px 16px; }
.feature p { margin: 0; color: var(--leise); font-size: 15px; }
.web-liste-titel { margin-top: 32px !important; color: var(--orange); }
.web-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; padding: 0; list-style: none; margin: 12px 0 0; }
.web-liste li { padding-left: 26px; position: relative; color: #cfcfcf; font-size: 15px; }
.web-liste li::before { content: "✔"; position: absolute; left: 0; color: var(--orange); }
.web-liste b { color: var(--text); }
.faq details { background: var(--karte); border: 1px solid var(--rand); border-radius: 6px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; position: relative; padding-right: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 22px; color: var(--orange); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; }
.cta { text-align: center; padding: 40px 24px; margin: 64px 0 0; border: 1px solid rgba(255,122,26,.4); border-radius: 10px; background: radial-gradient(ellipse at top, rgba(255,122,26,.12), transparent 70%); }
.cta h2 { border: 0; margin: 0 0 16px !important; }
.cta .hero-buttons { justify-content: center; }
.cta small { display: block; margin-top: 18px; color: var(--leise); }
@media (max-width: 900px) {
  .produkt { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .leiste { position: static; max-height: none; }
  .leiste .kapitel { display: none; }   /* am Handy reicht der Text darunter */
  .schritte, .raster-2, .raster-3, .web-liste { grid-template-columns: 1fr; }
  .p-text h2 { font-size: 25px; margin-top: 48px; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .raster-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Support-Formular (support/index.html) */
.support { max-width: 820px; }
.sup-form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feld { display: flex; flex-direction: column; gap: 6px; margin: 0; border: 0; padding: 0; color: var(--text); font-size: 15px; }
.feld > span, .feld legend { font-weight: 600; }
.feld input[type="text"], .feld input[type="email"], .feld select, .feld textarea {
  font: inherit; color: var(--text); background: var(--karte); border: 1px solid var(--rand); border-radius: 4px; padding: 10px 12px;
}
.feld textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,122,26,.25); }
.feld legend { margin-bottom: 6px; padding: 0; }
.wahl { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; color: #cfcfcf; font-size: 15px; margin: 2px 0; }
.wahl input { accent-color: var(--orange); margin-top: 4px; }
.zustimmung { font-size: 14px; }
.pflicht { color: var(--orange); font-style: normal; }
.pf::after { content: " *"; color: var(--orange); }
.zaehler { color: var(--leise); text-align: right; font-size: 12px; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { margin: 0; padding: 12px 16px; border-radius: 4px; border-left: 3px solid; }
.meldung.gut { background: rgba(60,180,90,.12); border-color: #3cb45a; color: #bfeccb; }
.meldung.schlecht { background: rgba(255,80,60,.12); border-color: #ff503c; color: #ffd0c8; }
.fehler-box { padding: 12px 16px; border-left: 3px solid var(--orange); background: rgba(255,122,26,.08); }
.sup-form .btn { align-self: flex-start; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.sup-form .btn:disabled { opacity: .6; cursor: wait; }
.demo-hinweis { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-support { margin: 16px 0 0; }
@media (max-width: 700px) { .feld-reihe { grid-template-columns: 1fr; } }

/* Fuß */
.fuss {
  margin-top: 80px; padding: 28px 24px; border-top: 1px solid var(--rand);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  color: var(--leise); font-size: 14px; max-width: 1200px; margin-left: auto; margin-right: auto;
}
.fuss p { margin: 0; }

/* Handy */
@media (max-width: 800px) {
  .topbar { padding: 10px 16px; }
  .topbar nav { gap: 12px; }
  .topbar nav a { font-size: 14px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 24px 16px; }
  .hero-bild { order: -1; }
  .hero-bild img { max-height: 55vh; }
  .block { padding: 56px 16px 16px; }
  .galerie { grid-template-columns: 1fr; }
  .zeitleiste li { flex-direction: column; gap: 2px; }
}
@media (max-width: 480px) {
  .logo-name { display: none; }
  .topbar nav a:nth-child(1), .topbar nav a:nth-child(5) { display: none; } /* Start = Logo */
  .topbar { gap: 10px; }
  .topbar nav { gap: 10px; flex-wrap: nowrap; }
  .topbar nav a { font-size: 13px; white-space: nowrap; }
}
