/* ============================================================
   GRUNDEINSTELLUNGEN
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --akzent: #1a5fb4;        /* Hauptfarbe – hier z.B. Vereinsfarbe eintragen */
  --akzent-dunkel: #143f78;
  --hell: #f5f6f8;
  --dunkel: #1c1c1e;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--hell);
  color: var(--dunkel);
}

/* ============================================================
   STARTSEITE (index.html)
   Hintergrundbild: Dateiname hier anpassen ↓
   ============================================================ */
body.start {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6vh;
  justify-content: center;
  text-align: center;
  background:
      linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    #ffffff url("hintergrund.jpg") center top / contain no-repeat;
  /* Die 0.55 oben ist die Opazität der weißen Schicht über deinem Bild.
     Kleinerer Wert = Bild kräftiger sichtbar, größerer Wert = blasser. */
}

.sprachwahl h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.8);
}

.untertitel {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2.2rem;
  color: #1c1c1e;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9);
}

.sprachen {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.sprachknopf {
  display: inline-block;
  padding: 1rem 2.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--akzent);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, background 0.15s;
}

.sprachknopf:hover,
.sprachknopf:focus-visible {
  background: var(--akzent-dunkel);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION (de.html und ru.html)
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: stretch;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.zurueck {
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
  font-size: 2rem;
  color: #d11a2d;        /* vorher var(--akzent) – jetzt rot wie die 7 */
  text-decoration: none;
  border-right: 1px solid #e3e3e3;
}

nav {
  display: flex;
  flex: 1;
  overflow-x: auto;          /* auf schmalen Handys seitlich wischbar */
}

nav button {
  flex: 1;
  white-space: nowrap;
  padding: 0.95rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: #444;
}

nav button:hover {
  background: #f0f3f8;
}

nav a.nav-link,
nav a.nav-link:link,
nav a.nav-link:visited {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.95rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  color: #444;
  background: none;
}

nav a.nav-link:hover,
nav a.nav-link:focus {
  background: #f0f3f8;
  color: #444;
  text-decoration: none;
}

nav button.aktiv {
  color: var(--akzent);
  font-weight: 700;
  border-bottom-color: var(--akzent);
}

nav button.wichtig {
  background: var(--akzent);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 8px;
  margin: 0.45rem 0.6rem;
  padding: 0.5rem 1.1rem;
  border-bottom: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

nav button.wichtig:hover {
  background: var(--akzent-dunkel);
}

nav button.wichtig.aktiv {
  background: var(--akzent-dunkel);
  color: #fff;
}

/* ============================================================
   INHALTSBEREICHE
   ============================================================ */
.inhalt { display: none; }
.inhalt.sichtbar { display: block; }

.inhalt img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 1.2rem auto;
  border-radius: 6px;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.12);
}

.inhalt iframe {
  display: block;
  width: 100%;
  max-width: 900px;
  height: calc(100vh - 80px);   /* füllt den Bildschirm unter der Navigation */
  margin: 0 auto;
  border: none;
}
