/* ===== Farben und Schrift – hier kannst du das Aussehen anpassen ===== */
:root {
  --bg: #FFFFFF;
  --text: #1E1A1B;
  --muted: #6B6466;
  --accent: #722D37;        /* Weinrot aus dem Banner */
  --accent-dark: #5A222B;
  --accent-light: #F6EEEF;
  --muster: #E6E6E6;        /* Farbe der XANDER-Schrift im Hintergrund */
  --titel: "League Spartan", "Futura", "Avenir Next", "Century Gothic", "Montserrat", "Trebuchet MS", sans-serif;
  --fliess: "Avenir Next", "Avenir", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--fliess);
  font-size: 17px;
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

a { color: var(--accent); }

/* ----- XANDER-Muster im Hintergrund (wie im Banner) ----- */
.muster {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.muster span {
  display: block;
  white-space: nowrap;
  font-family: var(--titel);
  font-weight: 800;
  font-size: 92px;
  line-height: 1;
  letter-spacing: 6px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--muster);
  margin-left: -40px;
}
.muster span:nth-child(even) {
  transform: scaleX(-1);
  margin-left: -120px;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 16px 40px;
}

/* ----- Kopf mit Profilbild ----- */
.profil {
  text-align: center;
  margin-bottom: 28px;
}
.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  background: var(--accent);
  display: block;
  margin: 0 auto 18px;
}
.profil h1 {
  margin: 0;
  font-family: var(--titel);
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}
.profil p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 500;
  background: rgba(255,255,255,0.85);
  display: inline-block;
  padding: 0 6px;
}

/* ----- Rätsel-Hinweisbox ----- */
.info {
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.info strong {
  font-family: var(--titel);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.info ul { margin: 8px 0 0; padding-left: 20px; }
.info li { margin: 2px 0; }

/* ----- Link-Buttons ----- */
.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 20px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--titel);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  transition: background .15s ease, color .15s ease;
}
.links a:hover,
.links a:focus-visible {
  background: var(--accent-light);
}
.links a.haupt {
  background: var(--accent);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.links a.haupt:hover,
.links a.haupt:focus-visible {
  background: var(--accent-dark);
}

/* ----- Unterseiten (Texte) ----- */
.text {
  background: rgba(255,255,255,0.94);
}
.zurueck {
  display: inline-block;
  margin-bottom: 24px;
  font-family: var(--titel);
  font-weight: 700;
  text-decoration: none;
}
.text h1 {
  font-family: var(--titel);
  font-weight: 800;
  font-size: clamp(24px, 7vw, 36px);
  line-height: 1.1;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin: 0 0 8px;
}
.text h2 {
  font-family: var(--titel);
  font-weight: 700;
  font-size: 21px;
  color: var(--accent);
  margin: 32px 0 6px;
}
.text .stand { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.hinweis {
  background: var(--accent-light);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 20px 0;
}

/* ----- Formular ----- */
.formular {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: 8px;
  margin-top: 16px;
}
.formular iframe {
  width: 100%;
  min-height: 620px;
  border: 0;
  display: block;
}

/* ----- Fußzeile ----- */
footer {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
footer a {
  color: var(--muted);
  margin: 0 8px;
  display: inline-block;
  padding: 6px 0;
}
