/* FuchsNetwork-Rahmen fuer die statischen Einzelseiten (free-systems.eu, fuchs-network.de).
   Kopfzeile, Fusszeile, Farbwahl, Hinweisfenster, Textseiten. Vorlage vom 21.10.2026 (Mails "Vorlage - Anpassung" und "Korrektur").
   Im Komponenten-CSS nie Hex oder rgba, nur var(--token). Die Farben stehen allein in den drei Theme-Bloecken. */

@font-face{font-family:"Ubuntu Sans";src:url(ubuntu-sans.woff2) format("woff2");font-weight:400 800;font-style:normal;font-display:swap}

:root{
  color-scheme:light;
  --bg:#fffaf3;--surface:#fff1df;--surface-2:#fbe6cc;--ink:#1c1712;--ink-2:#3a3027;--muted:#5b4e40;--line:#e6d6c0;--rand:#bfa88a;
  --accent:#a83d08;--accent-hover:#7f2d04;--hot:#f97316;--hot-hover:#fb8a3c;--on-hot:#1c1712;--glow:rgba(249,115,22,.16);--focus:#a83d08;
  --ueberzug:rgba(28,23,18,.55);--schatten:rgba(60,40,15,.14);
  --r:12px;--rk:16px;--ease:cubic-bezier(.23,1,.32,1);
  --s1:.5rem;--s2:1rem;--s3:1.5rem;--s4:2.5rem;--s5:4rem;--s6:6.5rem;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="hell"]){
  color-scheme:dark;
  --bg:#14110d;--surface:#1e1812;--surface-2:#2a2218;--ink:#f7eee2;--ink-2:#e4d8c8;--muted:#c2b4a2;--line:#372c20;--rand:#5a4a37;
  --accent:#fb923c;--accent-hover:#fdba74;--hot:#f97316;--hot-hover:#fb8a3c;--on-hot:#1c1712;--glow:rgba(249,115,22,.18);--focus:#f97316;
  --ueberzug:rgba(10,8,5,.72);--schatten:rgba(0,0,0,.4);
}}
:root[data-theme="dunkel"]{
  color-scheme:dark;
  --bg:#14110d;--surface:#1e1812;--surface-2:#2a2218;--ink:#f7eee2;--ink-2:#e4d8c8;--muted:#c2b4a2;--line:#372c20;--rand:#5a4a37;
  --accent:#fb923c;--accent-hover:#fdba74;--hot:#f97316;--hot-hover:#fb8a3c;--on-hot:#1c1712;--glow:rgba(249,115,22,.18);--focus:#f97316;
  --ueberzug:rgba(10,8,5,.72);--schatten:rgba(0,0,0,.4);
}
:root[data-theme="hell"]{color-scheme:light}

/* Lockup und Zeichen: je Theme eine Variante, die andere ist ausgeblendet. */
.nur-dunkel{display:none!important}
@media (prefers-color-scheme:dark){:root:not([data-theme="hell"]) .nur-hell{display:none!important}:root:not([data-theme="hell"]) .nur-dunkel{display:block!important}}
:root[data-theme="dunkel"] .nur-hell{display:none!important}
:root[data-theme="dunkel"] .nur-dunkel{display:block!important}

/* ---------- Basis ---------- */
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--ink);
  font:400 1.0625rem/1.6 "Ubuntu Sans",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;
  background-image:radial-gradient(circle at 1px 1px,var(--line) 1px,transparent 0);background-size:28px 28px;background-attachment:fixed}
main{flex:1}
img,svg{display:block;max-width:100%}
a{color:var(--accent);text-underline-offset:.2em;text-decoration-thickness:1px}
a:hover{color:var(--accent-hover);text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:var(--s2);top:-4rem;background:var(--ink);color:var(--bg);padding:.6rem 1rem;border-radius:8px;z-index:50}
.skip:focus{top:var(--s2)}
.wrap{width:min(100% - 2rem,68rem);margin-inline:auto}
h1,h2,h3{line-height:1.15;margin:0;text-wrap:balance;letter-spacing:-.02em}
h1{font-size:clamp(1.75rem,3.4vw,2.2rem);font-weight:800}
h2{font-size:clamp(1.3rem,2.4vw,1.55rem);font-weight:700}
h3{font-size:1.15rem;font-weight:700;letter-spacing:-.005em}
p{margin:0 0 var(--s2);text-wrap:pretty}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ---------- Knoepfe ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 1.4rem;border-radius:var(--r);border:1px solid var(--hot);background:var(--hot);color:var(--on-hot);font-family:inherit;font-size:1rem;font-weight:700;line-height:1;text-decoration:none;cursor:pointer;transition:background .2s var(--ease),border-color .2s var(--ease),transform .16s var(--ease)}
.btn:hover{background:var(--hot-hover);border-color:var(--hot-hover);color:var(--on-hot)}
.btn:active{transform:scale(.97)}
.btn.rand{background:transparent;color:var(--ink);border-color:var(--rand)}
.btn.rand:hover{background:transparent;border-color:var(--hot);color:var(--ink)}

/* ---------- Kopfzeile (Vorlage 21.10.2026) ----------
   Von links: Lockup (48 px), Navigation rechtsbuendig, ganz aussen die Farbwahl. Alles auf EINER Mittellinie
   (align-items:center, keine eigenen margin-top). Diese Seiten haben keinen Zugang, darum gibt es keinen Login-Knopf.
   Hoehe 16 + 48 + 16 = 80 px, wie auf demo. */
.top{position:relative;z-index:10;padding-block:16px}
.top .wrap{display:flex;align-items:center;gap:var(--s3)}
.brand{display:flex;align-items:center;min-height:48px;flex:none;border-radius:var(--r);text-decoration:none}
.brand img{height:48px;width:auto}
.kopfnav{display:flex;align-items:center;gap:var(--s3);margin-left:auto}
.kopfnav a{min-height:44px;display:inline-flex;align-items:center;font-size:.95rem;font-weight:600;line-height:1;color:var(--muted);
  text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.5em;text-decoration-color:transparent;transition:color .16s,text-decoration-color .16s}
.kopfnav a:hover,.kopfnav a:focus-visible{color:var(--ink);text-decoration-color:var(--rand)}
.kopfnav a[aria-current],.kopfnav a.aktiv{color:var(--ink);text-decoration-color:var(--hot)}

/* Farbwahl System / Hell / Dunkel: Knopf nur mit Symbol, ein Klick oeffnet das Menue. <details> macht das Auf und Zu
   ohne Javascript, seite.js setzt nur die Wahl um. Vorlage 21.10.2026: eckig mit derselben Eckenrundung (var(--r))
   wie die Knoepfe, 44 px hoch, nur schmal, ganz aussen rechts. */
.farbwahl{position:relative;flex:none}
.farbwahl summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;cursor:pointer;
  color:var(--ink);background:var(--surface);border:1px solid var(--rand);border-radius:var(--r);transition:border-color .2s var(--ease)}
.farbwahl summary::-webkit-details-marker{display:none}
.farbwahl summary:hover,.farbwahl[open] summary{border-color:var(--hot)}
.farbwahl summary .ic{width:1.15rem;height:1.15rem;flex:none}
/* Der Name bleibt fuer Vorleseprogramme im Markup, ist aber nie zu sehen. */
.farbwahl .farbe-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.farbwahl-menue{position:absolute;right:0;top:calc(100% + .4rem);z-index:60;display:flex;flex-direction:column;gap:.4rem;min-width:11rem;padding:.9rem;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 10px 30px var(--schatten)}
.farbwahl-titel{font-family:inherit;font-size:.85rem;font-weight:700;line-height:1.2;color:var(--ink-2);margin-bottom:.15rem}
.farbwahl-wahl{display:flex;align-items:center;gap:.45rem;width:100%;min-height:40px;padding:.45rem .8rem;font-family:inherit;font-size:.9rem;font-weight:600;line-height:1;
  color:var(--ink);background:transparent;border:1px solid var(--rand);border-radius:999px;cursor:pointer;text-align:left}
.farbwahl-wahl:hover{background:var(--surface-2);border-color:var(--hot)}
.farbwahl-wahl[aria-pressed="true"]{background:var(--hot);color:var(--on-hot);border-color:var(--hot)}
.farbwahl-wahl[aria-pressed="true"]::before{content:"\2713";font-weight:700}
.farbwahl-wahl:not([aria-pressed="true"])::before{content:"";width:.7em}

/* Schmale Schirme: erste Zeile bleibt Lockup + Farbwahl (einzeilig, Lockup 40 px), die Navigation rutscht darunter. */
@media (max-width:559px){
  .top{padding-block:.6rem .4rem}
  .top .wrap{flex-wrap:wrap;row-gap:.2rem;gap:.5rem}
  .brand{min-height:40px}
  .brand img{height:40px}
  .farbwahl{margin-left:auto}
  .kopfnav{order:3;width:100%;margin-left:0;justify-content:center;gap:1.4rem}
  .kopfnav a{min-height:40px;font-size:.9rem}
}

/* ---------- Textseiten (Kontakt, Impressum, Datenschutz) ---------- */
.prose{width:min(100% - 2rem,46rem);margin-inline:auto;padding-block:var(--s4) var(--s5)}
.prose h1{margin-bottom:var(--s3)}
.prose h2{margin:var(--s4) 0 var(--s1)}
.prose ul{margin:0 0 var(--s2);padding-left:1.3rem}
.prose li{margin-bottom:.3rem}
.prose .stand{color:var(--muted)}

/* ---------- Fusszeile (Vorlage 21.10.2026, Bild "Fu_zeile_02"): vollbreites Band ----------
   Links der zweizeilige Satz, rechts EIN BLOCK mit Hoechstbreite: die Links linksbuendig, ueber zwei Zeilen fliessend,
   der Bewegungs-Knopf als LETZTES Element der Linkleiste. Umbrochen wird nur ueber die Hoechstbreite, nicht von Hand.
   Der Text links behaelt eine Mindestbreite; reicht der Platz nicht, ruecken die Links als Ganzes in die naechste Zeile. */
.fuss{position:relative;z-index:2;margin-top:var(--s4);background:var(--surface);border-top:1px solid var(--line);color:var(--muted);font-size:.95rem}
.fuss-innen{width:min(100% - 2rem,68rem);margin-inline:auto;display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem 2.5rem;padding-block:1.4rem 1.6rem}
.fuss-text{margin:0;flex:1 1 18rem;min-width:16rem;max-width:34rem;line-height:1.55;color:var(--ink-2)}
.fuss-text strong{color:var(--ink)}
.fuss-block{flex:0 1 33rem;max-width:33rem;min-width:min(100%,20rem);margin-left:auto}
.fuss-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:.3rem 1.3rem}
.fuss-links a{display:inline-flex;align-items:center;min-height:36px;color:var(--ink-2);text-decoration:none;font-size:.95rem;border-bottom:1px solid transparent}
.fuss-links a:hover,.fuss-links a:focus-visible{color:var(--ink);border-bottom-color:var(--hot)}
.pille{display:inline-flex;align-items:center;gap:.4rem;min-height:44px;padding:.4rem .9rem;white-space:nowrap;font-family:inherit;font-size:.85rem;font-weight:600;line-height:1;cursor:pointer;
  color:var(--ink);background:var(--surface);border:1px solid var(--rand);border-radius:999px;transition:border-color .2s var(--ease)}
.pille:hover{border-color:var(--hot)}
@media (max-width:720px){.fuss-block{margin-left:0;flex-basis:100%;max-width:none}}

/* ---------- Hinweisfenster (Cookie und Speicher) ---------- */
.hinweis-fenster{position:fixed;inset:0;z-index:100;margin:0;border:0;width:100%;height:100%;max-width:none;max-height:none;color:inherit;background:var(--ueberzug);padding:1rem}
.hinweis-fenster[open]{display:flex;align-items:flex-end;justify-content:center}
.hinweis-fenster::backdrop{background:transparent}
html.hinweis-ok .hinweis-fenster{display:none!important}
@media (min-width:700px){.hinweis-fenster[open]{align-items:center}}
.hinweis-karte{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:var(--rk);padding:1.5rem;max-width:30rem;width:100%;margin:0;max-height:100%;overflow:auto}
.hinweis-karte h2{margin:.1em 0 .4em;font-size:1.3rem}
.hinweis-karte p{margin:0 0 1rem;color:var(--ink-2)}
.hinweis-knoepfe{display:flex;gap:.8rem;flex-wrap:wrap}
.hinweis-knoepfe .btn{min-height:44px}
.hinweis-links{font-size:.9375rem;margin:1rem 0 0!important}
.hinweis-links a{display:inline-block;margin-right:1em;padding:.6rem 0}

/* ---------- Bewegung ----------
   Ist im Betriebssystem "weniger Bewegung" eingestellt, stehen Animationen auch dann still, wenn das Skript nicht laeuft.
   Der Knopf in der Fusszeile kann das bewusst wieder aufheben (data-bewegung="an") oder von sich aus abschalten ("aus").
   Das gilt auch fuer die Animationen der Jahreszeiten-Gestaltung in saison.css. */
@media (prefers-reduced-motion:reduce){
  :root:not([data-bewegung="an"]) *,:root:not([data-bewegung="an"]) *::before,:root:not([data-bewegung="an"]) *::after{
    animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
  :root:not([data-bewegung="an"]){scroll-behavior:auto}
}
:root[data-bewegung="aus"] *,:root[data-bewegung="aus"] *::before,:root[data-bewegung="aus"] *::after{
  animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
:root[data-bewegung="aus"]{scroll-behavior:auto}
