/* Willkommen in Deutschland – gemeinsames Stylesheet für alle Seiten */

:root {
  /* Die Farben der Deutschland-Fahne */
  --schwarz: #161616;
  --rot: #dd0000;
  --gold: #ffce00;

  --hintergrund: #fbf7ee;
  --flaeche: #ffffff;
  --text: #1f2226;
  --text-leise: #5a6068;
  --linie: #e8e1d2;
  --grau-aktiv: #dcdad6;   /* aktiver Button: grau gefärbt, wie in der Skizze */
  --link: #b80000;
  --gold-hell: #fff6cf;
  --breite: 46rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--hintergrund);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

a { color: var(--link); }
a:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }

.innen {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- Kopf: zusammen mit den zwei Streifen darunter ergibt er die Fahne ---------- */

.kopf {
  background: var(--schwarz);
  color: #fff;
  padding: 1.25rem 0 1.25rem;
  text-align: center;
  border-bottom: 10px solid var(--rot);
  box-shadow: 0 10px 0 var(--gold);
  margin-bottom: 10px;
}

/* Sprachwechsel Deutsch / English */
.sprache {
  display: flex;
  justify-content: flex-end;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.sprache a {
  padding: 0.15rem 0.7rem;
  border: 1px solid #555;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
}
.sprache a:hover { background: #3a3a3a; }
.sprache a:focus-visible { outline-color: var(--gold); }
.sprache a[aria-current="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--schwarz);
  font-weight: 700;
}

.gruss {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.1rem;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #c9c4b8;
}
.gruss span:nth-child(3n+1) { color: var(--gold); }

.titel {
  margin: 0 0 1.1rem;
  font-size: clamp(1.8rem, 6.5vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.titel a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}
.fahne {
  width: 1.5em;
  height: 0.9em;
  border-radius: 0.1em;
  box-shadow: 0 0 0 2px #fff;
  transform: rotate(-6deg);
  flex: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.nav a {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}
.nav a:hover { background: #3a3a3a; }
.nav a:focus-visible { outline-color: var(--gold); }
.nav a[aria-current="page"] {
  background: var(--grau-aktiv);
  color: var(--schwarz);
  font-weight: 700;
}

/* ---------- Inhalt ---------- */

main.innen { padding-top: 2.5rem; padding-bottom: 3rem; }

.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 0.9rem;
  padding: 1.5rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(60, 45, 10, 0.06);
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.7rem;
  line-height: 1.2;
}
h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}
p { margin: 0 0 0.9rem; }
p:last-child { margin-bottom: 0; }

/* Überschrift mit kleinem goldenen Strich darunter */
.mit-strich { font-size: 2rem; }
.karte + .mit-strich { margin-top: 2.5rem; }
.mit-strich::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 0.4rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--gold);
}

.einleitung { color: var(--text-leise); margin-bottom: 1.5rem; }

/* ---------- Startseite: Kacheln ---------- */

.kacheln {
  display: grid;
  gap: 1rem;
}
.kachel {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem;
  border-radius: 0.9rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  box-shadow: 0 2px 10px rgba(60, 45, 10, 0.06);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kachel:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(60, 45, 10, 0.14); border-color: var(--gold); }
.kachel:focus-visible { outline-color: var(--schwarz); }
.kachel .symbol { font-size: 2rem; line-height: 1.2; }
.kachel strong { font-size: 1.2rem; line-height: 1.3; }
.kachel span:last-child { font-size: 1rem; color: var(--text-leise); }

@media (prefers-reduced-motion: reduce) {
  .kachel { transition: none; }
  .kachel:hover { transform: none; }
}

/* ---------- Tipps ---------- */

.phase-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--linie);
}
.phase-kopf h3 { margin: 0; }
.zeit {
  background: #efebe2;
  color: var(--text);
  border-radius: 999px;
  padding: 0.1rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.schritte { list-style: none; margin: 0; padding: 0; }
.schritte li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}
.schritte li:last-child { margin-bottom: 0; }
.nummer {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--schwarz);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
}
.schritte strong { display: block; }
.schritte span.text { color: var(--text-leise); }

/* ---------- Orte ---------- */

.kurz { color: var(--text-leise); font-weight: 400; }

.angebote { margin: 0 0 1.25rem; }
.angebote dt {
  font-weight: 700;
  margin-top: 0.9rem;
  padding-left: 0.75rem;
  border-left: 4px solid var(--gold);
}
.angebote dd {
  margin: 0;
  padding-left: 0.75rem;
  border-left: 4px solid var(--gold-hell);
  color: var(--text-leise);
}

.kontakt {
  background: var(--gold-hell);
  border-radius: 0.6rem;
  padding: 0.9rem 1rem;
  font-style: normal;
}
.stand { color: var(--text-leise); font-size: 0.9rem; }

.linkliste { margin: 0; padding-left: 1.2rem; }

/* ---------- Interview ---------- */

.fragen { list-style: none; margin: 0; padding: 0; }
.fragen li {
  display: grid;
  grid-template-columns: 2.9rem 1fr;
  gap: 0.75rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--linie);
}
.fragen li:first-child { padding-top: 0; }
.fragen li:last-child { border-bottom: 0; padding-bottom: 0; }
.fragen .nr {
  align-self: start;
  background: var(--gold);
  color: var(--schwarz);
  border-radius: 0.5rem;
  padding: 0.15rem 0;
  text-align: center;
  font-weight: 800;
}
.fragen .frage { font-weight: 700; margin-bottom: 0.5rem; }
.fragen .antwort {
  background: var(--gold-hell);
  border-radius: 0 0.75rem 0.75rem 0.75rem;
  padding: 0.6rem 0.9rem;
}
.fragen .antwort.offen { color: var(--text-leise); font-style: italic; background: #f3f0ea; }

/* ---------- Fuß ---------- */

.fuss {
  border-top: 1px solid var(--linie);
  padding: 1.5rem 0 2.5rem;
  color: var(--text-leise);
  font-size: 0.95rem;
  text-align: center;
}

@media (min-width: 40rem) {
  .karte { padding: 2rem; }
  .kacheln { grid-template-columns: repeat(3, 1fr); }
}
