:root {
  --bg: #FBF7F0;
  --text: #2E1F1A;
  --muted: #7A665A;
  --rose: #E8CFC4;
  --heart: #B84532;
  --line: #E4D6C7;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

main {
  flex: 1;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 5rem 1.75rem 3rem;
}

/* -------------------- HERO / STARTSEITE -------------------- */

.hero {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero .date {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.hero .impuls {
  font-size: 2rem;
  line-height: 1.45;
  font-weight: 400;
  margin: 0;
  white-space: pre-line;
}

.hero .lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 3rem;
  font-style: italic;
}

.weitergeben {
  display: inline-block;
  align-self: center;
  margin-top: 2.25rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rose);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0 0 3px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.weitergeben:hover,
.weitergeben:focus {
  color: var(--heart);
  border-bottom-color: var(--heart);
  outline: none;
}

/* -------------------- NAV (drei Türen) -------------------- */

.tueren {
  text-align: center;
  padding: 3rem 1rem 1rem;
  border-top: 1px solid var(--line);
  margin-top: 4rem;
}

.tueren a {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  margin: 0.4rem 1.25rem;
  font-size: 1.05rem;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.tueren a:hover,
.tueren a:focus {
  border-bottom-color: var(--heart);
  outline: none;
}

.tueren a.current {
  border-bottom-color: var(--rose);
}

/* -------------------- FOOTER -------------------- */

footer {
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer .footer-satz {
  max-width: 460px;
  margin: 0 auto 2rem;
  font-style: italic;
  line-height: 1.6;
}

footer .footer-links {
  margin-bottom: 1.5rem;
}

footer .footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 0.7rem;
  font-size: 0.85rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

footer .footer-links a:hover {
  color: var(--heart);
  border-bottom-color: var(--rose);
}

footer .disclaimer {
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.85;
  line-height: 1.55;
}

/* -------------------- STANDARD-SEITEN -------------------- */

.page h1 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.35;
  margin: 0 0 2.5rem;
  text-align: center;
}

.page h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 2.5rem 0 1rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.page p {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
}

.page blockquote {
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--rose);
  font-style: italic;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.6;
}

.page blockquote .attribution {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

.page a {
  color: var(--heart);
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
}

.page a:hover {
  border-bottom-color: var(--heart);
}

/* -------------------- SPIEGEL -------------------- */

.spiegel-intro {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.spiegel-intro p {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.spiegel-start {
  background: transparent;
  border: 1px solid var(--heart);
  color: var(--heart);
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 999px;
  transition: all 0.3s;
  font-family: inherit;
  align-self: center;
}

.spiegel-start:hover {
  background: var(--heart);
  color: var(--bg);
}

.spiegel-frage {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.spiegel-zaehler {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.spiegel-frage h2 {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.45;
  margin: 0 0 2.5rem;
  color: var(--text);
}

.spiegel-antworten {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.spiegel-antwort {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1.05rem 1.5rem;
  font-family: inherit;
  font-size: 1.02rem;
  color: var(--text);
  transition: all 0.25s ease;
  text-align: center;
  line-height: 1.4;
}

.spiegel-antwort:hover,
.spiegel-antwort:focus {
  border-color: var(--heart);
  background: #FFFFFF;
  outline: none;
}

/* -------------------- RÜCKSPIEGEL -------------------- */

.rueckspiegel {
  padding: 2rem 0;
}

.rueckspiegel .text {
  font-size: 1.3rem;
  line-height: 1.65;
  margin: 0 0 4rem;
  white-space: pre-line;
}

.rueckspiegel h3 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.rueckspiegel ul {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
}

.rueckspiegel ul li {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.1rem;
  line-height: 1.6;
}

.rueckspiegel ul li:last-child {
  border-bottom: 1px solid var(--line);
}

.rueckspiegel .reset {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--rose);
  padding-bottom: 2px;
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  padding: 0 0 2px;
}

.rueckspiegel .reset:hover {
  color: var(--heart);
  border-bottom-color: var(--heart);
}

/* -------------------- MOBILE -------------------- */

@media (max-width: 640px) {
  html { font-size: 17px; }
  main { padding: 3.5rem 1.25rem 2rem; }
  .hero { min-height: 55vh; }
  .hero .impuls { font-size: 1.55rem; }
  .page h1 { font-size: 1.65rem; }
  .spiegel-frage h2 { font-size: 1.35rem; }
  .rueckspiegel .text { font-size: 1.15rem; }
  .tueren { padding: 2rem 1rem 0.5rem; margin-top: 2.5rem; }
  .tueren a { display: block; width: fit-content; margin: 0.9rem auto; }
}

/* -------------------- ACCESSIBILITY -------------------- */

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

:focus-visible {
  outline: 2px solid var(--heart);
  outline-offset: 4px;
  border-radius: 4px;
}
