/* === Farb- & Layoutvariablen === */
:root {
    --bg-main: #faf7ef;
    --bg-nav: #f2d7a2;
    --text-main: #2f4f4f;
    --text-accent: #a00000;
    --border-color: #d2b48c;
    --font-family: "Segoe UI", Arial, sans-serif;
    --max-width: 1200px;
  
    --radius: 10px;
    --shadow: 0 2px 10px rgba(0,0,0,0.08);
  }
  
/* === Grundlayout === */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background: #fbebcf;
    font-family: Arial, sans-serif;
}

/* === 2-Spalten-Layout mit Grid === */
.layout {
    min-height: 100vh;
    margin-left: 220;
}

/* === Menü links === */
nav {
    background: #f5deb3;
    border-right: 2px solid #d2b48c;
    padding: 20px 16px;

    position: fixed;
    top: 0;
    left: 0;          /* WICHTIG */
    width: 220px;     /* WICHTIG */
    height: 100vh;    /* WICHTIG: geht bis ganz unten */

    overflow-y: auto;
    display: block;
}


/* Logo oben */
.menu-logo {
    width: 100%;
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

/* Links */
.menu-links {
	display: flex;
    flex-direction: column;
}

nav a {
    display: block;
    margin: 12px 0;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #2f4f4f;
}
nav a:hover {
    color: #b00000;
}
nav a.startseite {
    color: #b00000;
}

/* Social Icons unten */
.social-icons {
    margin-top: 10px;
    display: flex;          /* ← WICHTIG */
    justify-content: center; /* Icons zentrieren */
    gap: 10px;               /* Abstand zwischen Icons */
}

.social-icons img {
    width: 32px;
    margin: 0 8px;
}

/* === Toggle-Button (nur Handy) === */
.menu-toggle {
    display: none; /* Desktop: unsichtbar */
    background: none;
    border: 2px solid #2f4f4f;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    margin-bottom: 10px;
    color: #2f4f4f;
    align-self: center;
}

/* === Inhalt === */
main {
    padding: 40px;
    max-width: 1600px;     /* realistische Breite */
    /* margin-left: 280px;   Abstand zur Sidebar */
    margin-right: auto;   /* verhindert Rechtskleben */
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center;
    margin: 0 auto;
}

/* === Weihnachtsgruss === */
.weihnachtsgruss {
    font-size: 24px;
    font-weight: bold;
    color: darkred;
    text-align: center;
    margin: 40px 0;
    animation: fadeIn 3s ease-in-out, glow 2s infinite alternate, wave 4s infinite ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    from { text-shadow: 0 0 5px gold; }
    to { text-shadow: 0 0 20px gold; }
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* === Schneeflocken === */
.snowflake {
    position: fixed;
    top: -20px;
    color: rgb(159,182,205);
    font-size: 24px;
    pointer-events: none;
    z-index: 9999;
    animation: fall 10s linear infinite;
}

@keyframes fall {
    0% { transform: translateY(0); }
    100% { transform: translateY(110vh); }
}

/* === Header === */
header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

header .header-img {
    display: block;
    width: 90%;
    max-width: 1400px;
    height: auto;
    margin: 0 auto 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

header h1 {
    font-size: 2em;
    text-align: center;
}

.headergeschichte {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 900px;
}

.header-title {
    font-size: 2.2em;
    margin-top: 20px;
    color: var(--text);
    letter-spacing: 0.5px;
}
.weihnachtsbild {
    width: 100%;
    max-width: 1125px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.weihnachtsbildaktuell {
        width: 40%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
.geschichtsblatt-bild {
    width: 60%;
    height: auto;
}


/* === Content === */
.content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.contentdaten {
    max-width: 900px;
    margin: 40px auto;
    padding: 35px 40px;
    background: #fffdf4; /* warmes Papierweiß */
    border: 1px solid #d2b48c; /* dein Border-Ton */
    border-radius: 12px;
    box-shadow:
        0 4px 10px rgba(0,0,0,0.15),
        inset 0 0 8px rgba(0,0,0,0.08);
    line-height: 1.6;
    font-size: 17px;
    color: var(--text);
}

.contentdaten h2 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 22px;
    color: var(--accent); /* dein Rotton */
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}

.contentdaten a {
    color: var(--accent);
    text-decoration: underline;
}

.contentdaten p {
    margin-top: 30px;
    font-style: italic;
    text-align: right;
}

.contentmain {
    max-width: 800px;
    margin: 40px auto;
    padding: 35px;
    background: #fae8c9; /* leicht warmes Papierweiß */
    border: 1px solid #d2b48c; /* dein bestehendes Border-Beige */
    border-radius: 12px;
    box-shadow:
        0 4px 10px rgba(0,0,0,0.15),   /* weicher äußerer Schatten */
        inset 0 0 8px rgba(0,0,0,0.08); /* leichter innerer Schatten */
}

/* --- Link-Content (contentlink) --- */
.contentlink {
    max-width: 900px;
    margin: 40px auto;
    padding: 35px 40px;
    background: #fffdf4; /* warmes Papierweiß */
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow:
        0 4px 10px rgba(0,0,0,0.15),
        inset 0 0 8px rgba(0,0,0,0.08);
    line-height: 1.6;
    font-size: 17px;
    color: var(--text);
}

/* Überschriften (die <b>-Elemente) */
.contentlink b {
    display: block;
    margin-top: 25px;
    margin-bottom: 6px;
    font-size: 20px;
    color: var(--accent);
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}

/* Links */
.contentlink a {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    text-decoration: underline;
    word-break: break-word;
}

.contentlink a:hover {
    color: var(--accent);
}

/* Hinweisbox */
.contentlink .hinweis {
    margin-top: 30px;
    padding: 15px 20px;
    background: #f9f1dd;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
}

/* --- Link-Content (contentgeschichte) --- */
.contentgeschichte {
    max-width: 900px;
    margin: 40px auto;
    padding: 35px 40px;
    background: #fffdf4; /* warmes Papierweiß */
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow:
        0 4px 10px rgba(0,0,0,0.15),
        inset 0 0 8px rgba(0,0,0,0.08);
    line-height: 1.6;
    font-size: 17px;
    color: var(--text);
}

/* Überschriften (die <b>-Elemente) */
.contentgeschichte b {
    display: block;
    margin-top: 25px;
    margin-bottom: 6px;
    font-size: 20px;
    color: var(--accent);
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}

/* Links */
.contentgeschichte a {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    text-decoration: underline;
    word-break: break-word;
}

.contentgeschichte a:hover {
    color: var(--accent);
}

/* Hinweisbox */
.contentgeschichte .hinweis {
    margin-top: 30px;
    padding: 15px 20px;
    background: #f9f1dd;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
}
.contentgeschichte h3 {
    text-align: center;
    margin-top: 40px;
    font-size: 22px;
    color: var(--text);
}

.contentgeschichte .abschlussblock {
    text-align: center;
    margin-top: 20px;
}

.contentgeschichte .abschlussblock img {
    border: 2px solid #d2b48c;
    border-radius: 8px;
    margin-bottom: 10px;
}

.contentgeschichte .abschlussblock a {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    color: var(--accent);
}



.contentkirche {
    max-width: 800px;
    margin: 0 auto;
    padding: 35px;
    background: #fffdf4;
    border: 2px solid #d2b48c;
    border-radius: 8px;
    box-shadow:
        inset 0 0 10px rgba(0,0,0,0.15),
        0 4px 10px rgba(0,0,0,0.2);
}
/* Header für Neue Kirche */
.headerkirche {
    text-align: center;
    margin: 0 auto 30px;
    max-width: 900px;
}

/* Haupt-Content */
.contentkirche2 {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 35px 40px;
    background: #fffdf4;
    border: 1px solid #d2b48c;
    border-radius: 12px;
    box-shadow:
        0 4px 10px rgba(0,0,0,0.15),
        inset 0 0 8px rgba(0,0,0,0.08);
    text-align: center;
}

/* Galerie oben (2 Bilder nebeneinander) */
.kirche-galerie {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.kirche-galerie img {
    width: 285px;
    border: 2px solid #d2b48c;
    border-radius: 6px;
}

/* Innenansicht Block */
.kirche-innen {
    max-width: 500px;
    margin: 0 auto 30px;
}

.kirche-innen img {
    width: 311px;
    border: 2px solid #d2b48c;
    border-radius: 6px;
    margin-bottom: 10px;
}

.kirche-innen small {
    display: block;
    margin-bottom: 10px;
    color: #555;
}

.kirche-innen p {
    text-align: justify;
    line-height: 1.6;
}

/* Abschlusslink */
.kirche-link {
    margin-top: 20px;
    font-size: 18px;
}

.kirche-link a {
    color: var(--accent);
    font-weight: bold;
}

/* --- Totenzettel-Content --- */ 
.contenttotenzettel { 
	max-width: 900px; 
	margin: 40px auto; 
	padding: 40px 45px; 
	background: #fffdf4; /* warmes Papierweiß */ 
	border: 1px solid #d2b48c; 
	border-radius: 12px; 
	box-shadow: 0 6px 18px rgba(0,0,0,0.18), 	inset 0 0 10px rgba(0,0,0,0.08); 
	line-height: 1.7; 
	font-size: 18px; 
	color: var(--text); 
}
.contenttotenzettel p { 
	margin-bottom: 20px; 
	text-align: justify; 
}
.contenttotenzettel h2 
{ margin-top: 40px; 
	margin-bottom: 15px; 
	font-size: 24px; 
	color: var(--accent); 
	border-left: 4px solid 
	var(--accent); 
	padding-left: 10px; 
}
.contenttotenzettel a { 
	color: var(--accent); 
	text-decoration: underline; 
}
.contenttotenzettel .links { 
	margin: 20px 0; 
	padding: 20px; 
	background: #f9f1dd; 
	border-left: 4px solid 
	var(--accent); 
	border-radius: 8px; 
	line-height: 1.8; 
}
.contenttotenzettel .links a { 
	font-weight: bold; 
	color: var(--accent); 
}
/* --- Vereinsgeschichte-Content --- */
.contentverein {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 45px;
    background: #fffdf4; /* warmes Papierweiß */
    border: 1px solid #d2b48c;
    border-radius: 12px;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.18),
        inset 0 0 10px rgba(0,0,0,0.08);
    line-height: 1.7;
    font-size: 18px;
    color: var(--text);
}

.contentverein b {
    display: block;
    margin-top: 28px;
    margin-bottom: 8px;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}

.contentverein p,
.contentverein br {
    margin-bottom: 12px;
}

.contentverein a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: bold;
}

/* Header für die 800-Jahr-Seite */
.header800 {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 900px;
}

.header800 .header-img {
    margin-bottom: 10px;
}

.header800 .header-title {
    font-size: 2.2em;
    color: var(--text);
    letter-spacing: 0.5px;
    margin-top: 10px;
}

/* Haupt-Content */
.content800 {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 40px 45px;
    background: #fffdf4;
    border: 1px solid #d2b48c;
    border-radius: 12px;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.18),
        inset 0 0 10px rgba(0,0,0,0.08);
    line-height: 1.7;
    font-size: 18px;
    color: var(--text);
}

/* Titelbild */
.bild-hero {
    text-align: center;
    margin-bottom: 30px;
}

.bild-hero img {
    max-width: 100%;
    border: 2px solid #d2b48c;
    border-radius: 8px;
}

/* Überschriften */
.content800 h2 {
    margin-top: 35px;
    margin-bottom: 12px;
    font-size: 24px;
    color: var(--accent);
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}

/* Text */
.content800 p {
    margin-bottom: 18px;
    text-align: justify;
}

/* Links */
.content800 a {
    color: var(--accent);
    text-decoration: underline;
}

/* Header */
.headerkirche100 {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 900px;
}

.headerkirche100 .header-title {
    font-size: 2.2em;
    color: var(--text);
    letter-spacing: 0.5px;
}

/* Haupt-Content */
.contentkirche100 {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 40px 45px;
    background: #fffdf4;
    border: 1px solid #d2b48c;
    border-radius: 12px;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.18),
        inset 0 0 10px rgba(0,0,0,0.08);
    line-height: 1.7;
    font-size: 18px;
    color: var(--text);
}
/* Container für die Zoom-Seite */
.contentzoom {
    max-width: 1100px;
    margin: 50px auto;
    padding: 40px 50px;
    background: #fffdf4;
    border: 1px solid #d2b48c;
    border-radius: 14px;
    box-shadow:
        0 8px 22px rgba(0,0,0,0.18),
        inset 0 0 12px rgba(0,0,0,0.08);
    text-align: center;
}

/* Rahmen um das Bild */
.bildrahmen {
    display: inline-block;              /* sorgt für echte Zentrierung */
    padding: 12px;                      /* Abstand zwischen Bild und Rahmen */
    border: 3px solid #d2b48c;          /* dein warmer Beige-Ton */
    border-radius: 10px;
    background: #fffdf4;                /* harmoniert mit deinem Design */
    margin: 0 auto;                     /* zentriert den Rahmen */
}

/* Das Bild selbst */
.bildrahmen img {
    display: block;                     /* verhindert kleine Lücken */
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Artikelliste */
.artikel-liste {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.artikel-liste li {
    background: #f9f1dd;
    border-left: 4px solid var(--accent);
    padding: 12px 15px;
    margin-bottom: 12px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.artikel-liste li:hover {
    background: #f3e7c7;
}

.artikel-liste a {
    color: var(--accent);
    font-weight: bold;
    text-decoration: none;
}

.artikel-liste a:hover {
    text-decoration: underline;
}



.content p {
    text-align: justify;
}

.content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.content .highlight {
    color: red;
    font-weight: bold;
}

.content b {
    display: block;
    margin-top: 20px;
    margin-bottom: 5px;
    color: var(--text);
}

.content a {
    color: var(--text);
    text-decoration: underline;
}

.hinweis {
    font-style: italic;
    margin-top: 30px;
    text-align: justify;
}

/* === Geschichtsblätter Liste === */
.blatt-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 900px;
    display: grid;
    gap: 10px;
}

.blatt-list li a {
    display: grid;
    grid-template-columns: 4rem 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 12px 16px;
    background: #fffdf4;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blatt-list li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-color: #c8b08a;
}

.blatt-list .nr {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent);
    text-align: center;
}

.blatt-list .title {
    font-size: 1rem;
    font-weight: 600;
}

.blatt-list time {
    font-size: 0.9rem;
    color: #6b6b6b;
    font-variant-numeric: tabular-nums;
}


/* Header */
.headerkirche {
    text-align: left;
    max-width: 900px;
    margin: 0 auto 20px;
}

.headerkirche .zierlinie {
    width: 500px;
    height: 5px;
}

.headerkirche h1 {
    font-size: 2em;
    margin-top: 15px;
    color: var(--text);
}

/* Hauptbereich */
.contentkirche {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 40px 45px;
    background: #fffdf4;
    border: 1px solid #d2b48c;
    border-radius: 12px;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.18),
        inset 0 0 10px rgba(0,0,0,0.08);
    line-height: 1.7;
    font-size: 18px;
}

/* Bild links */
.bild-links {
    float: left;
    width: 170px;
    margin: 0 15px 10px 0;
    border-radius: 6px;
}

/* Textblock */
.textblock p {
    margin-bottom: 18px;
    text-align: justify;
}

/* Navigation unten */
.navigation {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation img {
    width: 30px;
    height: auto;
}

.navigation .weiter {
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(40, 40, 40, 0.95);
    color: #fff;
    padding: 20px 0;
    display: none;
    z-index: 9999;
    font-size: 16px;
}

.cookie-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cookie-banner p {
    margin: 0;
    line-height: 1.5;
}

#cookie-accept {
    background: #d2b48c;
    border: none;
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    color: #000;
    font-weight: bold;
}

#cookie-accept:hover {
    background: #c4a06f;
}
/* Footer */
.site-footer {
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
    background-color: var(--bg-nav);
    color: var(--text-main);
    border-top: 2px solid var(--border-color);
    font-size: 0.95em;
  }
  
  .site-footer p {
    margin: 0;
    line-height: 1.6;
  }
  
  .site-footer a {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: bold;
  }
  
  .site-footer a:hover {
    text-decoration: underline;
  }

    /* Titel */ 
    .issue-title { 
        text-align: center; 
        font-size: 2.2em; 
        margin: 20px 0 40px; 
        color: var(--text-accent); 
    }



      /* Grundlayout */
      body {
        margin: 0;
        font-family: var(--font-family);
        background-color: var(--bg-main);
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        color: var(--text-main);
      }
      
      /* Layout Wrapper */
      .layout-wrapper {
        display: flex;
        align-items: flex-start;
        flex: 1;
        gap: 0;
      }
      
      /* Navigation */
      .sidebar-nav {
        width: 230px;
        background-color: var(--bg-nav);
        padding: 30px 20px;
        box-sizing: border-box;
        border-right: 2px solid var(--border-color);
        box-shadow: var(--shadow);
        position: sticky;
        top: 0;
        height: 100vh;
      }
      
      .sidebar-logo {
        width: 160px;
        display: block;
        margin: 0 auto 25px;
        filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
      }
      
      .sidebar-link {
        display: block;
        margin: 14px 0;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
        color: var(--text-main);
        padding: 8px 6px;
        border-radius: var(--radius);
        transition: all 0.25s ease;
      }
      
      .sidebar-link:hover {
        background-color: rgba(255,255,255,0.4);
        color: var(--text-accent);
      }
      
      .sidebar-link.startseite {
        color: var(--text-accent);
      }
      
      /* Hauptbereich */
      .content-area {
        flex: 1;
        padding: 50px 60px;
        padding-top: 40px;
        max-width: var(--max-width);
        margin: 0 auto;
      }
      
      /* Titel */
      .issue-title {
        text-align: center;
        font-size: 2.4em;
        margin: 10px 0 50px;
        color: var(--text-accent);
        letter-spacing: 0.5px;
      }
      
      /* Artikel */
      /* Artikel-Container */
.post-article {
    background: #ffffff;
    padding: 40px 45px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 50px;
    max-width: 800px; 
    margin: 0 auto 60px;
  }
  
  /* Titel */
  .post-title {
    font-size: 2.1em;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    letter-spacing: 0.3px;
  }
  
  /* Autorenzeile */
  .post-byline {
    font-style: italic;
    opacity: 0.75;
    margin-bottom: 30px;
    font-size: 1.05em;
  }
  
  /* Text */
  .post-content p {
    line-height: 1.85;
    margin-bottom: 1.3em;
    font-size: 1.1em;
    color: var(--text-main);
  }
  
  /* Schöne Erstzeile */
  .post-content p:first-of-type::first-letter {
    font-size: 2.6em;
    float: left;
    line-height: 0.9;
    padding-right: 8px;
    padding-top: 4px;
    color: var(--text-accent);
    font-weight: bold;
  }
  
  /* Zitate */
  .post-content blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: #fff8e6;
    border-left: 4px solid var(--text-accent);
    border-radius: var(--radius);
    font-style: italic;
    box-shadow: var(--shadow);
  }
  
  /* Bilder im Artikel */
  .post-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 25px 0;
    box-shadow: var(--shadow);
  }
  
  /* Hinweisbox */
  .post-hint {
    background: #fff4d6;
    border-left: 4px solid var(--text-accent);
    padding: 18px 22px;
    margin-top: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 1.05em;
  }
  
  /* PDF-Button */
  .post-download {
    display: inline-block;
    margin-top: 35px;
    padding: 14px 24px;
    background-color: var(--text-accent);
    color: #eeeeee !important;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: background 0.25s ease, transform 0.15s ease;
  }
  
  .post-download:hover {
    background-color: #7a0000;
    transform: translateY(-2px);
    color: rgb(180, 176, 176);
  }
  @media (max-width: 600px) {
    main { 
        padding: 15px; 
        max-width: 100%; 
        margin-right: 50px;
    }
    header { 
        margin-left: 0; 
        margin-right: 0; 
        padding-top: 20px; 
    } 
    .post-article {
      padding: 22px 20px;
      border-radius: 8px;
    }
  
    .post-content p {
      font-size: 0.95em;
      line-height: 1.6;
    }
  
    .post-title {
      font-size: 1.5em;
    }
  
    .post-hint {
      padding: 15px 18px;
      font-size: 0.95em;
    }
  
    .post-download {
      padding: 12px 18px;
      font-size: 1em;
      
    }
    .layout {
        min-height: 100vh;
        margin: 0 auto;
    }
    
  }
  @media (max-width: 900px) {
    main { 
        padding: 15px; 
        max-width: 100%; 
        margin-right: 50px;
    }
    header { 
        margin-left: 0; 
        margin-right: 0; 
        padding-top: 20px; 
    } 
    .post-article {
      padding: 30px 28px;
    }
  
    .post-content p {
      font-size: 1em;
      line-height: 1.7;
    }
  
    .post-title {
      font-size: 1.7em;
    }
  
    .post-byline {
      font-size: 1em;
    }
    .layout {
        min-height: 100vh;
        margin: 0 auto;
    }
    nav {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 2px solid #d2b48c;
    }

    .menu-links {
        display: none; /* Menü versteckt */
    }

    .menu-links.show {
        display: flex; /* JS blendet es ein */
        flex-direction: column;
    }
    .menu-toggle { 
        display: block; 
    }
}


/* Mobile / Touch / 1280x800 / 1280x900 */
@media (max-width: 1400px) {
    header { 
        margin-left: 0; 
        margin-right: 0; 
        padding-top: 20px; 
    } 
    .menu-toggle {
        display: block;
    }

    nav {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 2px solid #d2b48c;
    }

    .menu-links {
        display: none;
    }

    .menu-links.show {
        display: flex;
        flex-direction: column;
    }

    .content-area {
        margin-left: 0;
        padding-top: 20px;
    }
    main { 
        padding: 20px; 
        max-width: 100%; 
        margin-left: 40px;
    }
}
@media (max-width: 1590px) {
  
    .content-area {
        margin-left: 0;
        padding-top: 20px;
    }
    main { 
        padding: 20px; 
        max-width: 100%; 
        margin-left: 160px;
    }
}
    .headerkirche{
        text-align: center;
        margin-bottom: 30px;
    }


    .headerkirche h1 {
        font-size: 2em;
        color: darkred;
        margin-bottom: 20px;
    }
/* ============================
   Verein – Termine + Wappen Box
   ============================ */

/* Hauptcontainer */
.verein-box { background: #fff; padding: 30px 35px; border-radius: var(--radius); box-shadow: var(--shadow); margin: 40px auto; max-width: 850px; display: flex; flex-direction: column; gap: 20px; }

/* Titel */
.verein-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.4px;
}

/* Terminliste */
.verein-list {
    margin: 0;
    padding-left: 20px;
    color: var(--text-main);
    font-size: 1.1em;
    line-height: 1.7;
}



/* Reihen oben und unten */
.verein-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

/* Trennlinie in der Box */
.trenner {
    border: none;
    border-top: 2px solid #ddd;
    margin: 10px 0;
}

/* Terminliste */
.verein-info ul {
    margin: 0;
    padding-left: 20px;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-main);
}

/* Bilder (Wappen + Flyer) */
.verein-bilder img {
    width: 140px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease;
}

.verein-bilder img:hover {
    transform: scale(1.05);
}


/* --- Overlay für Zoom --- */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius);
}

/* Responsive */
@media (max-width: 750px) {
    .verein-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .verein-wappen img {
        width: 160px;
        margin-top: 15px;
    }
}



/* Sanfte Animation */
@keyframes fadeIn2 {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jubilaeum-banner {
    text-align: center;
    max-width: 850px;
    margin: 40px auto;
    padding: 30px 40px;

    background: #fae8c9;
    border: 3px solid #b00000;
    border-radius: 12px;

    box-shadow:
        0 5px 15px rgba(0,0,0,0.15),
        inset 0 0 8px rgba(0,0,0,0.08);

    position: relative;
}

.jubilaeum-fahrzeug {
    display: block;
    margin: 0 auto 15px;
    width: 260px;
    max-width: 80%;
    height: auto;
}

.jubilaeum-banner h2 {
    color: #b00000;
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.jubilaeum-banner p {
    color: #2f4f4f;
    line-height: 1.6;
    margin-bottom: 15px;
}



.easter-footer {
    display: block;
    margin: 20px auto 0 auto; /* oben Abstand, zentriert */
    height: 100px;             /* Größe anpassen */
  }
  
  .ostern {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
    padding: 35px;
    background: #fae8c9; /* leicht warmes Papierweiß */
    border: 1px solid #d2b48c; /* dein bestehendes Border-Beige */
    border-radius: 12px;
    box-shadow:
        0 4px 10px rgba(0,0,0,0.15),   /* weicher äußerer Schatten */
        inset 0 0 8px rgba(0,0,0,0.08); /* leichter innerer Schatten */
    }

  header .header-img-ostern {
    display: block;
    margin: 0 auto 25px;
    width: 55%;              /* größer als vorher */
    max-width: 1200px;       /* optional größer */
    min-width: 350px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* --- News --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.2s;
  }
  
  .news-card:hover {
    transform: translateY(-5px);
  }
  
  .news-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }
  
  .news-card h3 {
    margin: 10px;
  }
  
  .news-card p {
    margin: 0 10px 15px;
    color: #555;
  }
  
  #article-view {
    margin-top: 30px;
  }
  
  #article-view img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px 0;
  }
  
  .hidden {
    display: none;
  }

