:root {
    --red: #a8272d;
    --red-dark: #7f1f24;
    --cream: #faf8f3;
    --paper: #ffffff;
    --ink: #211f1c;
    --muted: #6f6a63;
    --brown: #6d4932;
    --blue: #6f98b8;
    --line: #e7e1d8;
    --shadow: 0 14px 34px rgba(33, 31, 28, .08);
    --radius: 20px;
    --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}
a { color: inherit; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250,248,243,.96); backdrop-filter: blur(14px); }
.brand-wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-size: 20px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.25); }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; min-width: 0; }
.brand-text strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text span { color: var(--red); font-weight: 800; font-size: 16px; }
.menu-toggle { border: 0; background: var(--ink); width: 46px; height: 46px; border-radius: 14px; display: grid; align-content: center; gap: 5px; padding: 0 12px; cursor: pointer; }
.menu-toggle span { height: 2px; background: #fff; border-radius: 3px; display: block; }
.main-menu { display: none; position: fixed; inset: 72px 0 0; background: var(--cream); padding: 22px 0; min-height: calc(100vh - 72px); }
.main-menu.open { display: block; }
.nav-list { display: grid; }
.nav-list a { text-decoration: none; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: clamp(20px, 7vw, 32px); font-weight: 850; letter-spacing: -.025em; }
.nav-list a.active { color: var(--red); }
.uniform-stripe { height: 5px; background: var(--red); position: relative; }
.uniform-stripe span { position: absolute; right: 12%; top: 0; width: 44px; height: 5px; background: var(--blue); }
.menu-open { overflow: hidden; }

/*ALTE CSS FÜR BILD AUF HOME*/
/*.hero-photo { min-height: 72svh; display: flex; align-items: flex-end; background: linear-gradient(180deg, rgba(33,31,28,.08), rgba(33,31,28,.75)), radial-gradient(circle at 70% 20%, var(--blue), transparent 27%), linear-gradient(135deg, #7f1f24, #302824 58%, #0f0f0f); }*/

.hero-photo {
    min-height: 72svh;
    display: flex;
    align-items: flex-end;

    background-image:
        linear-gradient(180deg, rgba(33,31,28,.08), rgba(33,31,28,.75)),
        url("../img/home.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay { color: #fff; padding-block: 68px 48px; }
.hero h1, .page-hero h1 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.045em; line-height: .94; margin: 8px 0 16px; }
.hero h1 { font-size: clamp(54px, 14vw, 96px); max-width: 760px; }
.hero-overlay > p:last-child { font-size: 18px; margin-bottom: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 900; color: var(--red); margin: 0; }
.hero .eyebrow { color: var(--blue); }
.section { padding-block: 56px; }
.section-soft { background: #f1ede5; }
.section-head { margin-bottom: 24px; }
.section-head h2, .page-hero h1 { margin-top: 6px; }
h2, h3, p { margin-top: 0; }
h2 { line-height: 1.1; font-size: clamp(28px, 8vw, 44px); letter-spacing: -.035em; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; border: 0; border-radius: 15px; background: var(--red); color: #fff; text-decoration: none; padding: 0 20px; font: inherit; font-weight: 800; cursor: pointer; }
.button-secondary { background: var(--ink); }
.event-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 72px 1fr; gap: 16px; box-shadow: var(--shadow); }
.event-card + .event-card { margin-top: 14px; }
.event-card.featured { margin-bottom: 18px; }
.date-badge { background: var(--red); color: #fff; border-radius: 16px; min-height: 80px; display: grid; place-content: center; text-align: center; line-height: 1; }
.date-badge strong { font-size: 29px; }
.date-badge span { margin-top: 5px; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.event-content h2, .event-content h3 { margin-bottom: 4px; font-size: 21px; line-height: 1.2; }
.event-content p { color: var(--muted); margin-bottom: 6px; }
.quick-grid { display: grid; gap: 12px; }
.quick-card { min-height: 150px; background: #fff; border-radius: var(--radius); padding: 22px; text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; box-shadow: var(--shadow); border-bottom: 4px solid var(--red); }
.quick-card:nth-child(2) { border-bottom-color: var(--brown); }
.quick-card:nth-child(3) { border-bottom-color: var(--blue); }
.quick-icon { font-size: 27px; margin-bottom: auto; }
.quick-card strong { font-size: 19px; }
.quick-card small { color: var(--muted); }
.page-hero { padding-block: 54px 24px; }
.page-hero h1 { font-size: clamp(52px, 15vw, 90px); }
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 0; width: 2px; background: var(--red); }
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item::before { content: ""; position: absolute; left: -24px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid var(--red); }
.timeline-year { color: var(--red); font-weight: 900; letter-spacing: .08em; font-size: 13px; }
.timeline-content h2 { font-size: 28px; margin: 4px 0 8px; }
.timeline-content p { color: var(--muted); }
.history-image { min-height: 180px; border-radius: 18px; display: grid; place-items: center; color: rgba(255,255,255,.8); font-weight: 800; background: linear-gradient(145deg, var(--brown), #26211e); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: #e9e3db; padding: 5px; border-radius: 15px; margin-bottom: 32px; }
.segmented a { text-decoration: none; text-align: center; padding: 12px 9px; border-radius: 11px; font-size: 13px; font-weight: 850; }
.segmented a.active { background: #fff; color: var(--red); box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.member-section + .member-section { margin-top: 42px; }
.member-heading { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 14px; }
.member-heading h2 { font-size: 25px; margin: 0; }
.member-heading span { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 50%; background: var(--blue); font-weight: 850; }
.member-grid { display: grid; gap: 12px; }
.member-card { background: #fff; border: 1px solid var(--line); border-radius: 17px; padding: 12px; display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 14px; }
.member-photo { width: 68px; aspect-ratio: 1; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(150deg, var(--red), var(--brown)); color: #fff; font-family: Georgia, serif; font-size: 30px; }
.member-photo img {
  width: 120%;
  height: 120%;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}
.member-card h3 { margin-bottom: 2px; }
.member-card p { margin-bottom: 0; color: var(--red); font-weight: 800; }
.member-card small { color: var(--muted); }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.calendar-toolbar > div { display: flex; flex-direction: column; }
.calendar-toolbar small { color: var(--muted); }
.calendar-placeholder, .integration-box { border: 2px dashed #c7bbb0; background: #fff; padding: 26px; border-radius: var(--radius); margin-bottom: 24px; }
.calendar-placeholder code, .integration-box code { display: block; overflow-x: auto; background: #23211f; color: #fff; padding: 12px; border-radius: 11px; margin-top: 14px; }
.text-link { color: var(--red); font-weight: 850; text-decoration: none; display: inline-block; margin-top: 7px; }
.integration-box { text-align: center; padding-block: 46px; }
.integration-icon { font-size: 42px; color: var(--red); }
.contact-layout { display: grid; gap: 18px; }
.contact-card, .contact-form { background: #fff; padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card a { color: var(--red); font-weight: 800; }
.contact-note { font-size: 13px; color: var(--muted); }
.contact-form { display: grid; gap: 14px; }
.contact-form label { font-weight: 800; display: grid; gap: 6px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #cec6bc; border-radius: 12px; padding: 13px 14px; font: inherit; background: #fcfbf8; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(185,216,229,.7); border-color: var(--red); }
.notice { background: #e9f4f7; border-left: 4px solid var(--blue); padding: 12px; border-radius: 8px; font-size: 14px; }
.site-footer { background: var(--ink); color: #fff; padding: 38px 0 calc(38px + env(safe-area-inset-bottom)); }
.site-footer p { color: #cfc9c1; margin-bottom: 0; }
.footer-grid { display: grid; gap: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: #fff; }

.site-logo {
    display: block;
    width: auto;
    height: 55px;
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 760px) {
    .container { width: min(calc(100% - 64px), var(--max)); }
    .brand-text strong { font-size: 14px; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .member-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: .85fr 1.15fr; align-items: start; }
    .footer-grid { grid-template-columns: 1fr auto; align-items: center; }

    .site-logo {
        height: 65px;
    }
}

@media (min-width: 980px) {
    .site-header { position: sticky; }
    .brand-wrap { height: 82px; }
    .menu-toggle { display: none; }
    .main-menu { display: block; position: static; min-height: 0; padding: 0; background: var(--ink); }
    .nav-list { display: flex; align-items: center; gap: 3px; }
    .nav-list a { border: 0; color: #fff; font-size: 14px; letter-spacing: 0; padding: 12px 16px; font-weight: 800; }
    .nav-list a.active { background: var(--red); color: #fff; }
    .hero-photo { min-height: 660px; }
    .section { padding-block: 78px; }
    .event-card { grid-template-columns: 88px 1fr; padding: 22px; }
    .member-grid { grid-template-columns: repeat(3, 1fr); }
    .timeline { padding-left: 80px; }
    .timeline::before { left: 30px; }
    .timeline-item::before { left: -57px; }

    .site-logo {
        height: 72px;
    }
}