/* ===================== CSS VARIABLEN ===================== */
:root {
    --dark:    #e6e7e8;
    --panel:   #d8dada;
    --card:    #cfd1d2;
    --border:  rgba(0,0,0,0.08);
    --accent:  #128c46;
    --accent2: #9EC5A8;
    --text:    #1a1a1a;
    --muted:   #555f58;
    --white:   #ffffff;
    --r:       10px;
    --pad:     70px;
}

/* ===================== BASE ===================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Frutiger', sans-serif;
    background-color: #e6e7e8;
    color: var(--text);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================== HEADER ===================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--pad);
    height: 64px;
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #128c46;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

header img {
    height: 34px;
    width: auto;
    filter: brightness(0) invert(1);
}

header nav a,
header a {
    font-family: 'Frutiger', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

header nav a:hover,
header a:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    padding: 8px;
    position: relative;
    z-index: 10000;
    pointer-events: auto;
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
    padding: 1rem var(--pad);
    font-size: 0.8rem;
    color: #666;
}

.breadcrumb a {
    color: #128c46;
    text-decoration: none;
}

.breadcrumb-sep {
    margin: 0 0.4rem;
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
    margin: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            rgba(0,0,0,0.65) 40%,
            rgba(0,0,0,0.1) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.hero-text {
    position: relative;
    z-index: 2;
    padding: 3rem var(--pad);
    max-width: 820px;
}

.hero-text h1 {
    font-family: 'Frutiger', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 0.75rem 0;
}

.hero-text h2 {
    font-family: 'Frutiger', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9EC5A8;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-text h2::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 1px;
    background: #9EC5A8;
    flex-shrink: 0;
}

.hero-text p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.75;
}

/* ===================== ARTIKEL LAYOUT ===================== */
.newstitel {
    font-family: 'Frutiger', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.news-eyebrow,
.artikel-datum {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #128c46;
    margin-bottom: 0.75rem;
    padding: 0;
}

.news-eyebrow::before,
.artikel-datum::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: #128c46;
}

.artikel-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    max-width: 100%;
    margin: 0;
    padding: 2rem var(--pad) 4rem;
    align-items: start;
    box-sizing: border-box;
}

.artikel-main {
    min-width: 0;
}

/* ===================== INFO SECTION ===================== */
.info-section {
    padding: 0;
    margin: 0;
    background: transparent;
}

.info-text {
    font-size: 1rem;
    line-height: 1.85;
    color: #2a2a2a;
    hyphens: auto;
}

.info-text p {
    margin-bottom: 1.5rem;
}

.info-text h2 {
    font-family: 'Frutiger', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin: 2.5rem 0 1rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.info-text h3 {
    font-family: 'Frutiger', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2rem 0 0.75rem 0;
}

.info-text ul,
.info-text ol {
    padding-left: 0;
    margin: 1.5rem 0;
    list-style: none;
}

.info-text ul li,
.info-text ol li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #2a2a2a;
    line-height: 1.7;
}

.info-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #128c46;
}

.info-text ol {
    counter-reset: item;
}

.info-text ol li::before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #128c46;
    font-size: 0.85rem;
}

.info-text a {
    color: #128c46;
    text-decoration: none;
    border-bottom: 1px solid rgba(18,140,70,0.3);
    transition: border-color 0.2s;
}

.info-text a:hover {
    border-color: #128c46;
}

.info-text strong,
.info-text b {
    font-weight: 700;
    color: #1a1a1a;
}

.info-text blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 3px solid #128c46;
    background: #ffffff;
    border-radius: 0 var(--r) var(--r) 0;
    font-style: italic;
    color: #444;
}

/* ===================== BILDER SLIDESHOW ===================== */
.veranstaltungen-section {
    padding: 0;
    margin: 2rem 0 0 0;
}

.veranstaltungen-section h2,
.veranstaltungen-section h3 {
    font-family: 'Frutiger', sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.veranstaltungen-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    border-radius: 12px;
}

.veranstaltungen-slideshow {
    position: relative;
    max-width: 100%;
    margin: 0;
    overflow: visible;
    border-radius: 12px;
}

.veranstaltungen-carousel {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0;
    box-sizing: border-box;
}

.veranstaltungen-slideshow .slide img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: opacity 0.2s;
}

.veranstaltungen-slideshow .slide img:hover {
    opacity: 0.9;
}

.veranstaltungen-slideshow .prev,
.veranstaltungen-slideshow .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1.2rem;
    color: #128c46;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    transition: background 0.2s;
    z-index: 50;
    line-height: 1;
}

.veranstaltungen-slideshow .prev:hover,
.veranstaltungen-slideshow .next:hover {
    background: #ffffff;
}

.veranstaltungen-slideshow .prev { left: 12px; }
.veranstaltungen-slideshow .next { right: 12px; }

.dots-container {
    text-align: center;
    margin: 1rem 0 0.5rem 0;
}

.dot {
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 0 4px;
    background-color: rgba(0,0,0,0.2);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #128c46;
}

/* ===================== ZURÜCK-LINK ===================== */
.back-link,
.zurueck {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #128c46;
    text-decoration: none;
    margin-bottom: 1.5rem;
    padding: 0;
    transition: gap 0.2s;
}

.back-link:hover,
.zurueck:hover {
    gap: 0.65rem;
}


/* ===================== TABLET 1400px ===================== */
@media (max-width: 1400px) {
    :root { --pad: 40px; }
}

/* ===================== TABLET 1200px ===================== */
@media (max-width: 1200px) {
    .slide { grid-template-columns: repeat(2, 1fr); }
}

/* ===================== MOBILE 900px ===================== */
@media (max-width: 900px) {
    :root { --pad: 24px; }

    .nav-toggle { display: block; margin-left: auto; }

    .hero { height: 280px; }
    .hero-text h1 { font-size: 1.4rem; }

    .newstitel { font-size: 1.4rem; }

    .artikel-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .artikel-sidebar { position: static; }

    .info-text { font-size: 0.95rem; }
    .info-text h2 { font-size: 1.1rem; }

    .slide {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .veranstaltungen-slideshow .slide img { height: 220px; }
}