/* Farben und Look: hier kannst du alles anpassen */
:root {
  --text: #1f2a30;           /* dunkle Schrift */
  --text-leise: #3c4a52;
  --button: rgba(255, 255, 255, 0.28);       /* durchsichtige Buttons */
  --button-hover: rgba(255, 255, 255, 0.5);
  --rand: rgba(31, 42, 48, 0.55);
  --feld: rgba(255, 255, 255, 0.55);
  --hintergrund: #e9eef1;    /* Farbe, falls kein Hintergrundbild da ist */
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--hintergrund);
  color: var(--text);
  font: 16px/1.55 "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
/* Hintergrundbild bleibt beim Scrollen stehen, auch am Handy */
body.mit-bild::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: var(--bild) center 60% / cover no-repeat;
}
a { color: var(--text); }
.wrap { max-width: 520px; margin: 0 auto; padding: 56px 16px 32px; }

.profil { text-align: center; margin-bottom: 32px; }
.foto {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; display: block; margin: 0 auto 16px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}
.initialen {
  display: grid; place-items: center;
  background: var(--text); color: #fff;
  font-size: 40px; font-weight: 600;
}
h1 { font-size: 26px; font-weight: 700; margin: 0 0 6px; letter-spacing: .2px; }
.untertitel { font-weight: 600; margin: 0 0 8px; }
.text { color: var(--text); font-weight: 500; margin: 0 auto; max-width: 400px; }
.zeile2 { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.ortsymbol {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
}
/* dünne weiße Umrandung, damit Name und Text auf dem Foto lesbar sind */
.profil h1, .profil .untertitel, .profil .text, footer a {
  text-shadow:
    -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff,
    0 -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff,
    0 0 6px rgba(255, 255, 255, .8);
}

.links { display: grid; gap: 14px; margin-bottom: 40px; }
.link {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 22px; border-radius: 999px;
  background: var(--button);
  border: 1.5px solid var(--rand);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--text); text-decoration: none;
  transition: background .15s, transform .15s;
}
a.link:hover, a.link:focus-visible { background: var(--button-hover); transform: translateY(-2px); }
.link svg {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.link span { display: flex; flex-direction: column; flex: 1; text-align: center; padding-right: 22px; }
.link small { color: var(--text-leise); }
.link.bald { border-style: dashed; opacity: .75; }
.link.bald span { padding-right: 0; }
.link em {
  font-style: normal; font-size: 12px; font-weight: 600;
  padding: 2px 10px; border-radius: 99px;
  border: 1px solid var(--rand);
}

.kontakt {
  background: var(--button);
  border: 1.5px solid var(--rand);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-radius: 24px; padding: 22px;
}
.kontakt h2 { margin: 0 0 12px; font-size: 20px; text-align: center; }
form { display: grid; gap: 12px; }
label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
input, textarea {
  font: inherit; color: var(--text); background: var(--feld);
  border: 1px solid var(--rand); border-radius: 12px; padding: 10px 12px; width: 100%;
}
input:focus, textarea:focus { outline: 2px solid var(--text); border-color: transparent; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: 4px; }
.falle { position: absolute; left: -9999px; }
button {
  font: inherit; font-weight: 600; color: #fff; background: var(--text);
  border: 0; border-radius: 999px; padding: 13px; cursor: pointer;
}
button:hover { background: #000; }
.meldung { padding: 10px 12px; border-radius: 12px; margin: 0 0 12px; }
.meldung.ok { background: rgba(227, 243, 230, .9); color: #1d5e2b; }
.meldung.fehler { background: rgba(251, 228, 225, .9); color: #8a2419; }

.rechtliches {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 24px; padding: 8px 22px 22px;
}
.rechtliches h1 { margin-bottom: 8px; }
.rechtliches h2 { font-size: 18px; margin-top: 24px; }

footer { text-align: center; margin-top: 32px; font-size: 14px; }

/* Schnee-Schalter oben rechts */
.schnee-leiste {
  position: fixed; top: 12px; right: 12px; z-index: 10;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.schnee-schalter {
  display: flex; padding: 3px; gap: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--rand);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.schnee-schalter button {
  font-size: 12px; font-weight: 600; padding: 5px 10px;
  background: transparent; color: var(--text); border-radius: 999px;
}
.schnee-schalter button:hover { background: rgba(255, 255, 255, 0.6); }
.schnee-schalter button[aria-pressed="true"] { background: var(--text); color: #fff; }
.schnee-info {
  font-size: 11px; padding: 2px 8px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.6); color: var(--text-leise);
}
.schnee-info:empty { display: none; }
canvas.schnee { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
.wrap { padding-top: 100px; }
