/* Jesus Saved My Life – Wartungsseite
   Farben und Typografie angelehnt an das alte Contao-Design */

:root {
  --wine: #9b2138;          /* Hauptfarbe Top-Leiste / Footer */
  --wine-panel: #841d2e;    /* Hero-Panel, etwas dunkler */
  --wine-dark: #5c1f2e;     /* unterste Footer-Leiste */
  --offwhite: #f4f3ee;      /* Seitenhintergrund */
  --yellow: #f7d64a;        /* Akzent (wie der Spenden-Sticker) */
  --text: #2e2a28;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

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

html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--offwhite);
}

a {
  color: inherit;
}

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

/* --- Kopfbereich --- */

.topbar {
  height: 2.75rem;
  background: var(--wine);
}

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header .inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.site-header img {
  display: block;
  width: 190px;
  height: auto;
}

/* --- Hauptbereich --- */

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.panel {
  position: relative;
  max-width: 44rem;
  background: var(--wine-panel);
  color: #fff;
  padding: 3.5rem 3.25rem 3.75rem;
}

.panel .eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.panel h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 4.5vw, 2.625rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.panel p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 34rem;
}

.panel p + p {
  margin-top: 1rem;
}

/* Gelber Sticker, ragt wie beim Original über den Panel-Rand hinaus */
.panel .badge {
  position: absolute;
  right: -1rem;
  bottom: 2.5rem;
  background: var(--yellow);
  color: #3a2b0e;
  font-size: 1rem;
  line-height: 1.35;
  padding: 0.875rem 1.375rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

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

.site-footer {
  background: var(--wine);
  color: #fff;
}

.site-footer .inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.subfooter {
  background: var(--wine-dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 0.9375rem;
  padding: 1.25rem 1.5rem;
}

/* --- Unterseiten (Impressum / Datenschutz) --- */

.content-page {
  display: block;
  padding: 3.5rem 1.5rem;
}

.content {
  max-width: 44rem;
  margin: 0 auto;
  background: #fff;
  padding: 3rem 3.25rem;
  border-top: 4px solid var(--wine);
}

.content h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Zweites h1 (englische Fassung der Datenschutzerklärung) als neuer Abschnitt */
.content * + h1 {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.content h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.75rem;
  color: var(--wine);
}

.content h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  margin: 1.75rem 0 0.5rem;
}

.content h4 {
  font-size: 1rem;
  margin: 1.25rem 0 0.375rem;
}

.content p {
  margin-bottom: 1rem;
}

.content ul,
.content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.content li + li {
  margin-top: 0.375rem;
}

.content a {
  color: var(--wine);
  word-break: break-word;
}

/* --- Mobil --- */

@media (max-width: 40rem) {
  main {
    padding: 2.5rem 1rem 3.5rem;
  }

  .panel {
    padding: 2.25rem 1.5rem 2.5rem;
  }

  .panel .badge {
    position: static;
    display: inline-block;
    margin-top: 1.75rem;
  }

  .site-header img {
    width: 160px;
  }

  .content {
    padding: 2rem 1.5rem;
  }
}
