/* ─── LOCAL FONTS (kein Google-Kontakt) ─── */
@font-face {
  font-family: 'Charm';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/charm-regular-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Charm';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/charm-regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Charm';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/charm-bold-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Charm';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/charm-bold-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url('../fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
    --green-dark:   #5c7a2b;
    --green-medium: #7a9a3c;
    --green-light:  #c5dba0;
    --green-pale:   #edf6e2;
    --white:        #ffffff;
    --text-dark:    #2d3a1e;
    --text-body:    #4a5240;
    --text-light:   #8a9880;
    --nav-height:   115px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    color: var(--text-body);
    background: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-top: var(--nav-height);
}

@media (max-width: 768px) {
    body { padding-top: 0; }
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.6rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    border-bottom: 1px solid var(--green-pale);
}

.nav-logo img {
    height: 96px;
    width: auto;
    margin-top: 0.4rem;
}

@media (min-width: 769px) {
    .nav-logo img { margin-top: 0; }
}

.nav-right-mobile { display: flex; align-items: center; gap: 0.8rem; }
.nav-star { height: 40px; width: auto; display: block; cursor: pointer; }
.nav-star-mobile { display: block; }
.nav-star-desktop { display: none; list-style: none; }

.nav-star-wrapper { position: relative; }
.nav-star-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.6rem);
    background: var(--white);
    border: 1px solid var(--green-pale);
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    min-width: 220px;
    padding: 1rem 1.2rem 0.6rem;
    z-index: 200;
}
.nav-star-wrapper.nav-star-open .nav-star-dropdown { display: block; }
.nav-star-info {
    font-family: 'Nunito', sans-serif;
    font-size: 0.88rem;
    color: var(--green-dark);
    margin: 0 0 0.8rem;
    line-height: 1.4;
}
.nav-logout-btn {
    display: block;
    width: 100%;
    padding: 0.55rem 0;
    background: none;
    border: none;
    border-top: 1px solid var(--green-pale);
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: var(--green-medium);
    text-align: left;
}
.nav-logout-btn:hover { color: var(--green-dark); }

.nav-links {
    display: flex;
    gap: 2.8rem;
    list-style: none;
    align-items: center;
}
.nav-star-desktop { margin-left: -1.4rem; }

.nav-links a {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--green-dark); }

/* ─── FOOTER ─── */
footer {
    margin-top: auto;
    padding: 1.2rem 4rem;
    background: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer p {
    font-size: 0.9rem;
    color: var(--green-pale);
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-block;
    padding: 0.75rem 2.2rem;
    background: var(--green-dark);
    color: var(--white);
    font-family: 'Nunito', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--green-medium);
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--green-light);
    border: 1px solid var(--green-dark);
    color: var(--green-dark);
    box-sizing: border-box;
}

.btn-outline:hover { background: var(--green-medium); color: var(--white); transform: none; }

.btn-pagejump,
.btn-newsletter {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.btn-pagejump {
    padding: 0.62rem 2.2rem;
}
.btn-newsletter::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m2 7 10 7 10-7'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ─── TYPOGRAPHY UTILS ─── */
.label {
    font-family: 'Charm', cursive;
    font-size: 1rem;
    color: var(--green-medium);
    display: block;
    margin-bottom: 0.8rem;
}

.intro-text p      { font-size: 1.15rem; }
.intro-text .label { font-size: 1.7rem; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2,
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--text-dark);
}

.admin-title { padding: 8rem 1.5rem 1rem; }

/* ─── PAGE HEADER (Unterseiten) ─── */
.page-header {
    padding: 1rem 4rem 0.4rem;
    background: var(--green-pale);
    text-align: center;
}

.videos { display: grid; grid-template-columns: repeat(auto-fill, 320px); gap: 1.4rem; margin-top: 2rem; justify-content: center; max-width: calc(3 * 320px + 2 * 1.4rem); margin-left: auto; margin-right: auto; }
.video-card {
    background: var(--green-pale);
    border-radius: 10px;
    padding: 0.8rem 0.8rem 0;
    display: inline-flex;
    flex-direction: column;
}
.video-card-text { padding: 0.7rem 0.2rem 0.8rem; }
.video-day {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0.8rem 0 0.1rem;
}
.video-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--green-dark);
    margin: 0 0 0.8rem;
}
.video-player { width: 100%; display: block; border-radius: 6px; }

.content-loading-hint {
    text-align: center;
    padding: 1.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    color: var(--green-medium);
    letter-spacing: 0.03em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.content-loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--green-pale);
    border-top-color: var(--green-medium);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.page-header .label { margin-bottom: 1rem; }

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.page-header h1 em {
    font-style: italic;
    color: var(--green-dark);
    white-space: nowrap;
}

.page-header p {
    margin-top: -0.3rem;
    margin-bottom: 0.0rem;
    font-size: 1.15rem;
    color: var(--text-body);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.85;
}

.page-header p + p {
    margin-top: -0.4rem;
    color: var(--green-dark);
}

/* ─── BURGER ─── */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.28s ease, opacity 0.2s ease;
    transform-origin: center;
}

/* X-Animation wenn offen */
nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
nav.nav-open .nav-star-mobile { display: none; }

@media (min-width: 769px) {
    .nav-right-mobile { display: none; }
    .nav-star-mobile { display: none; }
    .nav-star-desktop { display: flex; align-items: center; }
    .nav-star { height: 38px; vertical-align: middle; }
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
    nav {
        position: static;
        padding: 0.6rem 1.5rem 0.6rem 0.6rem;
        flex-wrap: wrap;
        align-items: center;
    }

    .nav-burger { display: flex; }
    .nav-right-mobile { margin-top: 0.4rem; }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0.5rem 0 1rem;
        border-top: 1px solid var(--green-pale);
        margin-top: 0.4rem;
    }

    nav.nav-open .nav-links { display: flex; }

    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 0.85rem 0.5rem;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--green-pale);
    }

    .nav-links li:last-child a { border-bottom: none; }

    .page-header { padding: 1.2rem 1.5rem 1rem; }
    .page-header h1 { font-size: 1.6rem; margin-bottom: 0.5rem; }
    .page-header p { font-size: 0.9rem; line-height: 1.5; }
    .admin-title { padding: 2rem 1.5rem 0.5rem; }
    footer { padding: 2rem 1.5rem; flex-direction: column; gap: 0.8rem; text-align: center; }
}

/* ─── PAGE SECTION ─── */
.page-section {
    padding: 3rem 4rem;
    max-width: 1060px;
    margin: 0 auto;
}

.download-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 3rem;
    align-items: start;
}

.download-cover {
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
}

.download-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.download-text p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

@media (max-width: 860px) {
    .page-section { padding: 2rem 1.5rem; }
    .download-card { grid-template-columns: 1fr; gap: 1.5rem; }
    .download-cover { max-width: 190px; }
}

/* ─── INTRO ─── */
.intro { padding: 6rem 4rem; background: var(--white); }

.intro-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.intro-photo-caption {
    display: block;
    text-align: center;
    margin-top: 0.8rem;
    font-family: 'Charm', cursive;
    font-size: 1.7rem;
    color: var(--green-medium);
}

.intro-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

.intro-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2.4rem, 3.6vw, 3.4rem);
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.intro-text p {
    line-height: 1.95;
    color: var(--text-body);
    margin-bottom: 1rem;
}

/* ─── STÖRER ─── */
.stoerer { padding: 1.5rem 4rem; background: var(--green-pale); text-align: center; }

.stoerer h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.7rem, 2.8vw, 2.2rem);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.stoerer p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-body);
    max-width: 520px;
    margin: 0 auto 0.3rem;
}

.stoerer p:last-of-type { margin-bottom: 1.4rem; }

/* ─── TESTIMONIAL ─── */
.testimonial { padding: 1.8rem 4rem; background: var(--green-dark); text-align: center; }

.testimonial blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.5;
    color: var(--white);
    max-width: 680px;
    margin: 0 auto 0.6rem;
}

.testimonial cite {
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    color: var(--green-light);
    font-style: normal;
}

/* ─── LEGAL PAGES ─── */
.legal-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 2.8rem;
    color: var(--green-dark);
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 2rem;
    color: var(--green-dark);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.legal-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--green-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
}

.legal-content h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-body);
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}

.legal-content p {
    margin-bottom: 0.5rem;
}

@media (max-width: 860px) {
    .intro { padding: 4rem 1.5rem; }
    .intro-inner { grid-template-columns: 1fr; gap: 2.5rem; justify-items: center; text-align: center; }
    .intro-photo { width: 220px; height: 220px; }
    .intro-text h2 { font-size: 2.1rem; }
    .intro-text p { font-size: 1.05rem; }
}

@media (max-width: 768px) {
    .stoerer, .testimonial { padding: 1.5rem 1.5rem; }
}

@media (max-width: 860px) {
    .legal-content { text-align: left; }
    .legal-content h1 { font-size: 2rem; }
    .legal-content h2 { font-size: 1.5rem; }
    .legal-content h3 { font-size: 1.2rem; }
}
