/* Öffentliche Startseite (Ticket #889): statischer Infoteil unter dem Willkommens-Bildschirm.
   Verbundene Geräte: html.app-an blendet ihn aus (js/startweiche.js). Ohne JavaScript ist nur der Infoteil sichtbar. */
html.app-an #startseite { display: none; }
html:not(.app-an) #app .loading { margin-top: 2rem; }
@media (scripting: none) { #app { display: none; } }

#startseite { max-width: 1100px; margin: 0 auto; padding: 0 1rem 2rem; font-size: 0.85rem; line-height: 1.5; }
#startseite a { color: #1e6e2e; }
#startseite a.btn { text-decoration: none; display: inline-block; margin: 0.2rem 0.3rem; color: inherit; }
#startseite a.btn.primary { color: #fff; }
#startseite h1 { font-size: 1.6rem; line-height: 1.25; }
#startseite h2 { font-size: 1.2rem; color: #1e6e2e; margin-top: 0; }
#startseite h3 { font-size: 0.95rem; }
.st-held { text-align: center; padding: 1.5rem 0 1rem; border-top: 3px solid #c5d8b5; }
.st-logo img { width: 3rem; height: 3rem; margin: 0 0.3rem; }
.st-lead { font-size: 1rem; max-width: 46rem; margin: 0.6rem auto; }
.st-knoepfe { margin: 1rem 0; }
.st-nav { font-size: 0.8rem; }
.st-abschnitt { background: #fff; border-radius: 1rem; padding: 1rem 1.2rem; margin: 1rem 0; box-shadow: 0 2px 0 #c5d8b5; }
.st-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.8rem; margin-top: 0.6rem; }
.st-karte { background: #f4fbef; border-radius: 0.8rem; padding: 0.7rem 0.9rem; }
.st-karte img { width: 2.2rem; height: 2.2rem; }
.st-karte p { margin: 0.3rem 0; }
.st-hervor { background: #fff9db; border: 2px solid #ffd43b; }
.st-bilder { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 0.8rem; margin-top: 0.8rem; }
.st-bilder .st-bild { margin: 0; }
.st-bild { margin: 0.8rem auto 0; max-width: 720px; text-align: center; }
.st-bild img { display: block; width: 100%; height: auto; border-radius: 0.6rem; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
.st-bild figcaption { font-size: 0.8rem; color: #555; margin-top: 0.3rem; }
.st-liste { padding-left: 1.2rem; }
.st-liste li { margin: 0.3rem 0; }
#startseite details { border-bottom: 1px solid #e3eedb; padding: 0.4rem 0; }
#startseite summary { cursor: pointer; font-weight: 700; }
#startseite summary:focus-visible, #startseite a:focus-visible { outline: 3px solid #f59f00; }
.st-fuss { text-align: center; font-size: 0.8rem; margin-top: 1.5rem; }
/* Anfrageformular (Ticket #959) */
.st-formular { background: #f4fbef; border-radius: 0.8rem; padding: 0.8rem 1rem; margin-top: 1rem; }
.st-formular[hidden] { display: none; }
.st-formular fieldset { border: 0; padding: 0; margin: 0 0 0.6rem; }
.st-formular legend { font-weight: 700; margin-bottom: 0.3rem; }
.st-formular label.inline { display: inline-block; margin: 0.2rem 1rem 0.2rem 0; }
.st-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.4rem 0.8rem; }
.st-formular label:not(.inline) { display: block; margin: 0.3rem 0; }
.st-formular input:not([type=radio]), .st-formular textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 0.15rem; font: inherit; padding: 0.35rem 0.5rem; }
.st-formular [data-nur][hidden] { display: none; }
.st-versteckt { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.st-meldung { font-weight: 700; }
.st-meldung.fehler { color: #c92a2a; }
@media (max-width: 600px) {
  #startseite h1 { font-size: 1.25rem; }
  .st-abschnitt { padding: 0.8rem; }
}

/* Marketing-Videos (js/videos.js): Vorschaubild mit grossem Play-Knopf, Start erst per Klick, responsive 16:9 */
.st-video { margin: 1rem auto 0.6rem; max-width: 760px; }
.st-video[hidden] { display: none; }
.st-video-rahmen { position: relative; aspect-ratio: 16 / 9; border-radius: 0.8rem; overflow: hidden; background: #fbf6ea; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18); }
.st-video video { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; background: #fbf6ea; }
.st-video-start { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; background: transparent; cursor: pointer; }
.st-video-start span { position: absolute; left: 50%; top: 50%; width: 5.2rem; height: 5.2rem; transform: translate(-50%, -50%); border-radius: 50%;
  background: #2f9e44; box-shadow: 0 4px 0 #237a34, 0 8px 24px rgba(0, 0, 0, 0.3); transition: transform 0.15s; }
.st-video-start span::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 1.05rem 0 1.05rem 1.75rem; border-color: transparent transparent transparent #fff; }
.st-video-start:hover span, .st-video-start:focus-visible span { transform: translate(-50%, -50%) scale(1.08); }
.st-video-start:focus-visible { outline: 3px solid #1c7ed6; outline-offset: -3px; }
.st-video figcaption { font-size: 0.8rem; color: #555; margin-top: 0.35rem; text-align: center; }
@media (max-width: 480px) { .st-video-start span { width: 4rem; height: 4rem; } .st-video-start span::after { border-width: 0.8rem 0 0.8rem 1.35rem; } }
