
/* Login: Website zunächst verdecken */

body.auth-locked > *:not(#auth-overlay) {
    visibility: hidden;
}

/* Login-Overlay */

#auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f5f6f8;
    visibility: visible;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.10);
    font-family: Arial, sans-serif;
    color: #333333;
}

.login-container h1 {
    margin-bottom: 15px;
    text-align: center;
    font-size: 25px;
}

.login-container p {
    text-align: center;
    line-height: 1.5;
}

.login-container label {
    display: block;
    margin: 25px 0 8px;
}

.login-container input {
    width: 100%;
    padding: 13px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.login-container button {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border: none;
    border-radius: 5px;
    background: #263c65;
    color: white;
    font-size: 16px;
    cursor: pointer;
    box-sizing: border-box;
}

.login-container button:hover {
    background: #1a2b4a;
}

.login-container button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.login-container .error-message {
    color: #c62828;
    font-size: 14px;
}
  
  
  
  
  :root {
      --sand: #d6cec1;
      --ink: #000000;
      --paper: #fff;
      --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      color: var(--ink);
      background: #f4f2ef;
      font-family: var(--f-display);
    }

    html, body {
      min-height: 100%;
    }

    .scroll img { width: 122px; height: auto; }

    .site-shell {
      position: relative; /* Bezugsrahmen für das durchgehende Bild */
      width: min(100%, 980px);
      min-height: 100vh;
      min-height: 100svh;
      margin-inline: auto;
      display: flex;
      flex-direction: column;
      background: var(--paper);
      border: 1px solid #dedede;
    }

    .brand-header {
      min-height: 126px;
      display: grid;
      grid-template-columns: 46% 54%;
    }

    .brand {
      display: flex;
      align-items: center;
      padding: 44px;
      background: #fff;
      text-decoration: none;
      color: var(--ink);
      font-size: clamp(1.35rem, 2.5vw, 2rem);
      line-height: 1.18;
      letter-spacing: .37em;
      text-transform: uppercase;
    }

    /* Ein einziges Bild: rechts, über die volle Höhe der Seite */
    .site-photo {
      position: absolute;
      top: 0;
      right: 0;
      width: 54%;
      height: 100%;
      z-index: 0;
      background: url("../assets/betende-hände.png") center 30% / cover no-repeat;
    }

    .verse-band {
      position: relative;
      z-index: 2; /* liegt über dem Bild und läuft über beide Spalten */
      min-height: 180px;
      padding: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(22px, 4vw, 48px);
      background: var(--sand);
    }

    .verse-copy {
      max-width: 760px;
      font-size: 22px;
      line-height: 1.48;
      letter-spacing: .025em;
    }

    .verse-reference {
      display: block;
      margin-top: 2px;
      font-size: 22px;
    }

    .main-layout {
      display: grid;
      grid-template-columns: 46% 54%;
      flex: 1 0 0;
      min-height: 0;
    }

    .desktop-menu {
      padding: 120px 44px 50px;
      background: #fff;
    }

    .desktop-menu ul,
    .mobile-menu ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .desktop-menu li + li {
      margin-top: 22px;
    }

    .site-link {
      color: var(--ink);
      text-decoration: none;
      font-size: 1.18rem;
      letter-spacing: .055em;
      transition: opacity .2s ease;
    }

    .site-link:hover,
    .site-link:focus-visible {
      opacity: .62;
      text-decoration: underline;
      text-underline-offset: 4px;
    }

    .mobile-header,
    .mobile-menu { display: none; }

    @media (max-width: 767.98px) {

      .site-shell { border: 0; }

      .brand-header {
        min-height: 88px;
        display: flex;
        align-items: stretch;
      }

      .brand {
        flex: 1;
        padding: 17px 18px;
        font-size: clamp(1.08rem, 5vw, 1.45rem);
        letter-spacing: .14em;
      }

      .mobile-header {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0 18px;
        background: #fff;
      }

      .navbar-toggler {
        width: 46px;
        height: 42px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid rgba(0,0,0,.38);
        border-radius: 2px;
        padding: 8px 10px;
        background: #fff;
        box-shadow: none !important;
      }

      /* Eigene Hamburger-Linien statt des Bootstrap-Icons,
         damit das Symbol unabhängig von Navbar-Farbvariablen sichtbar ist. */
      .navbar-toggler .hamburger-line {
        display: block;
        width: 23px;
        height: 2px;
        flex: 0 0 2px;
        border-radius: 2px;
        background: #17130f;
      }

      .navbar-toggler:focus {
        outline: 2px solid rgba(0,0,0,.18);
        outline-offset: 2px;
      }

      .mobile-menu {
        display: block;
        background: #fff;
        padding: 0 24px;
      }

      .mobile-menu .menu-inner {
        padding: 8px 0 20px;
        border-top: 1px solid #eee;
      }

      .mobile-menu li { padding: 9px 0; }

      .verse-band {
        min-height: auto;
        padding: 27px 22px 29px;
        display: block;
      }

      .scroll img {
        display: block;
        margin: 0 auto 15px;
        width: 122px;
      }

      .verse-copy {
        max-width: 560px;
        margin: 0 auto;
        text-align: left;
        font-size: 22px;
        line-height: 1.48;
      }

      .main-layout {
        display: flex;
        flex-direction: column;
        flex: 0 0 auto; /* leeres main soll keinen Platz einnehmen */
        min-height: 0;
      }

      .desktop-menu { display: none; }

      /* Bild auf dem Handy wieder im normalen Fluss, ganz unten */
      .site-photo {
        position: static;
        width: auto;
        height: auto;
        flex: 1 0 auto;
        min-height: 48vh;
        min-height: 48svh;
        background-position: center 48%;
      }
    }

    @media (min-width: 768px) {
      .mobile-header,
      .mobile-menu { display: none !important; }
    }

    /* =========================================================
   Unterseiten (z. B. wer-sind-wir.html)
   NEU – nur dieser Block wurde ans Ende angehängt.
   ========================================================= */

.page-header {
  min-height: 150px;
  padding: 30px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
}

.page-title {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
}

.content-layout {
  display: grid;
  grid-template-columns: 27% 73%;
  flex: 1 0 auto;
}

/* Linke Spalte: Bild mit Menü unten drauf (nutzt zusätzlich .desktop-menu) */
.side-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 22px 120px;
  background: url("../assets/wasserfall.png") center / cover no-repeat;
}

.side-menu .site-link {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.65);
}

.page-content {
  padding: 18px 44px 50px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: .95rem;
  line-height: 1.75;
  letter-spacing: .08em;
}

.page-content p { margin: 0 0 1.6em; }

.page-content blockquote {
  margin: 0 0 1.6em;
  font-weight: 700;
}

.page-content cite {
  display: block;
  font-style: normal;
  font-weight: 400;
}

@media (max-width: 767.98px) {
  .page-header {
    min-height: 88px;
    padding: 17px 18px;
    justify-content: space-between;
  }

  .page-header .mobile-header {
    padding: 0;
    background: none;
  }

  .content-layout { display: block; }

  .side-menu { display: none; }

  .page-content { padding: 26px 22px 40px; }
}


/* =========================================================
   Gottesdienst (gottesdienst.html)
   NEU – nur Zusatz-Klassen, baut auf dem Block oben auf.
   ========================================================= */

.page-title--caps {
  text-transform: uppercase;
  letter-spacing: .2em;
}

/* Menü auf Sand statt auf Bild */
.side-menu--sand {
  justify-content: flex-start;
  padding: 100px 22px 40px;
  background: var(--sand);
}

.side-menu--sand .site-link {
  color: var(--ink);
  text-shadow: none;
}

.page-content--plain {
  padding-top: 70px;
  font-size: .9rem;
  line-height: 1.6;
  letter-spacing: .02em;
}

.service-day {
  margin: 0 0 .2em;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: inherit;
}

.service-time {
  margin: 0 0 3.5em;
  font-size: 1.15rem;
}

.service-time span { margin-left: .8em; }

.map-band iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

@media (max-width: 767.98px) {
  .page-content--plain { padding-top: 26px; }
  .map-band iframe { height: 260px; }
}

/* =========================================================
   Links (links.html)
   NEU – nur Zusatz-Klassen, baut auf den Blöcken oben auf.
   ========================================================= */

:root { --sand-light: #e9e2d9; }

/* Menü auf hellem Sand, etwas tiefer */
.side-menu--light {
  padding-top: 190px;
  background: var(--sand-light);
}

/* Rechte Spalte: Überschrift + Inhalt auf Sand */
.links-column {
  padding-bottom: 80px;
  background: var(--sand);
}

.links-list {
  max-width: 380px;
  margin: 0 auto;
  padding: 0 22px;
}

.links-list img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 80px;
}

.link-card {
  display: flex;
  align-items: center;
  min-height: 86px;
  margin-bottom: 80px;
  padding: 20px 8px;
  background: var(--sand-light);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity .2s ease;
}

.link-card:hover,
.link-card:focus-visible {
  color: var(--ink);
  opacity: .62;
}

@media (max-width: 767.98px) {
  .links-column { padding-bottom: 40px; }

  .links-list img,
  .link-card { margin-bottom: 40px; }

  .links-list { padding-top: 24px; }
}

/* =========================================================
   Kontakt/Impressum (kontakt-impressum.html)
   NEU – nur Zusatz-Klassen, baut auf den Blöcken oben auf.
   ========================================================= */

/* Sandbalken oben mit den Impressumsangaben */
/* Oberste Zeile: „Impressum“ + Hamburger-Button (mobil) */
.page-header--impressum {
  min-height: 0;
  justify-content: space-between;
  padding: 40px 36px 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.4;
}

.impressum-title {
 margin: 0;
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
}

/* Impressumsangaben – stehen NACH dem mobilen Menü */
.impressum-head {
  padding: 1.3em 36px 44px;
  background: var(--sand);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.4;
}

.impressum-head p { margin: 0 0 1.4em; }

.impressum-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  row-gap: 1.6em;
  margin: 0;
}

.impressum-grid dt { font-weight: 400; }
.impressum-grid dd { margin: 0; }

.impressum-head a,
.legal-text a {
  color: inherit;
  text-decoration: none;
}

.impressum-head a:hover,
.impressum-head a:focus-visible,
.legal-text a:hover,
.legal-text a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Weißer Bereich: Haftungsausschluss */
.legal-text {
  flex: 1 0 auto;
  padding: 30px 36px 60px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: .78rem;
  line-height: 1.7;
}

.legal-text h2,
.legal-text h3 {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

.legal-text h2 { margin-bottom: 2.4em; }
.legal-text p { margin: 0 0 1.8em; }

/* Sandbalken unten: Stand + Menü (Desktop) */
.page-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 30px 36px;
  background: var(--sand);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: .7rem;
  font-weight: 700;
}

.page-footer p { margin: 0; }

/* nutzt zusätzlich .desktop-menu → mobil automatisch ausgeblendet */
.footer-menu {
  padding: 0;
  background: none;
  font-family: var(--f-display);
  font-weight: 400;
}

.footer-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-menu li + li { margin-top: 0; }
.footer-menu .site-link { font-size: .9rem; }

@media (max-width: 767.98px) {
  .page-header--impressum {
    min-height: 0;
    padding: 24px 18px 0;
    font-size: .95rem;
  }

  .impressum-head {
    padding: 1.2em 18px 28px;
    font-size: .95rem;
  }

  .impressum-grid {
    grid-template-columns: 1fr;
    row-gap: .2em;
  }

  .impressum-grid dd { margin-bottom: 1.2em; }

  .legal-text,
  .page-footer { padding: 24px 18px; }
}
