:root {
    --vidi-accent: #c19f62;
    --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body p,
body li,
body label,
body input,
body textarea,
body button,
body .page-content,
body .vidi_content_holder,
body .contact-form,
body .vidi_bottom_line_holder p {
    font-family: var(--font-body);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .vidi_tag_line_title {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
}

body .vidi_header_menu_fixed > li > a,
body .vidi_main_menu > li > a {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 15px;
}

.vidi_head_holder .vidi_logo.vidi_logo--brand {
    margin: 10px 0;
    float: none;
}

.vidi_head_holder,
.vidi_head_holder .vidi_logo_holder {
    overflow: visible;
}

.vidi_head_holder {
    top: 0 !important;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.vidi_head_holder .vidi_logo-menu_container {
    padding-top: 4px;
    padding-bottom: 4px;
}

body.page .page-content {
    padding-top: 48px;
    padding-bottom: 48px;
}

body.page .vidi_content_holder {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-height, 100px));
}

body.page .vidi_footer_holder_main {
    margin-top: auto;
}

.about-photo-link {
    display: block;
    line-height: 0;
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.about-photo-link:hover {
    opacity: 0.92;
}

.about-photo {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 24px;
}

.about-intro {
    margin-bottom: 8px;
}

.about-intro__text p + p {
    margin-top: 1.25em;
}

@media (min-width: 992px) {
    .about-photo {
        margin-bottom: 0;
    }

    .about-intro__text {
        padding-left: 40px;
    }
}

.vidi_logo--brand .site-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    padding: 8px 0;
}

@media (max-width: 767px) {
    .vidi_logo--brand .site-logo {
        max-width: 220px;
        padding: 6px 0;
    }
}

.page-intro {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 1.5em;
}

.site-address {
    font-style: normal;
    margin: 0 0 1.25em;
    line-height: 1.6;
}

.site-footer-meta {
    margin: 0.35em 0 0;
    font-size: 0.9em;
}

.site-footer-meta a {
    color: #888;
}

.site-footer-meta a:hover {
    color: var(--vidi-accent);
}

/* Call-to-Action-Band über dem Footer: dunkel, edel, mit Goldakzent */
.site-cta {
    padding: 4.5rem 0 5rem;
    background: #131313;
    text-align: center;
}

.site-cta__rule {
    display: block;
    width: 56px;
    height: 2px;
    margin: 0 auto 2.2rem;
    background: var(--vidi-accent, #c19f62);
}

.site-cta__quote {
    margin: 0 auto 2.4rem;
    max-width: 820px;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #f5f1e8;
}

.site-cta__button {
    display: inline-block;
    padding: 15px 44px;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vidi-accent, #c19f62);
    border: 1px solid var(--vidi-accent, #c19f62);
    background: transparent;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.site-cta__button:hover,
.site-cta__button:focus {
    background: var(--vidi-accent, #c19f62);
    color: #131313;
    text-decoration: none;
}

@media (max-width: 767px) {
    .site-cta {
        padding: 3.2rem 0 3.6rem;
    }

    .site-cta__quote {
        font-size: 1.9rem;
        padding: 0 10px;
    }

    .site-cta__button {
        padding: 13px 32px;
        font-size: 1.05rem;
    }
}

.site-footer-address {
    margin: 0.65em 0 0;
    font-size: 1.05em;
    line-height: 1.55;
    color: inherit;
}

.site-footer-address .fa {
    margin-right: 0.45em;
    font-size: 1.1em;
}

a,
.colored,
.vidi_header_menu_fixed > li.current-menu-item > a,
.vidi_main_menu > li.current-menu-item > a {
    color: var(--vidi-accent);
}

a:hover,
.vidi_soc_icons a:hover {
    color: #a8864f;
}

.vidi-gallery-grid {
    margin-top: 20px;
}

.vidi-gallery-item {
    margin-bottom: 20px;
}

.vidi-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: calc(100svh - 90px);
    height: calc(100dvh - 90px);
    min-height: 220px;
    overflow: hidden;
    background: #111;
}

.hero-slider.flexslider {
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-slide-media {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    max-height: 100%;
}

.hero-slide-media__credit {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 4px;
    pointer-events: none;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

@media (max-width: 767px) {
    .hero-slide-media__credit {
        right: 8px;
        bottom: 8px;
        font-size: 1rem;
        padding: 5px 12px;
    }
}

.hero-slider .flex-viewport {
    height: 100% !important;
}

.hero-slider .slides {
    height: 100% !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-slider .slides > li {
    height: 100% !important;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #111;
}

.hero-slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 56px 52px;
    box-sizing: border-box;
}

.hero-slide-caption {
    position: absolute;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%) translateY(40px);
    z-index: 25;
    width: min(94%, 900px);
    padding: 26px 36px;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-left: 3px solid var(--vidi-accent);
    opacity: 0;
    pointer-events: none;
    box-sizing: border-box;
}

.hero-slide-caption__title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.1;
    color: #fff;
}

.hero-slide-caption__text {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(1.45rem, 3.8vw, 2.1rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.015em;
    color: rgba(255, 255, 255, 0.96);
}

.hero-slider .slides > li.flex-active-slide .hero-slide-caption {
    animation: heroCaptionIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

@keyframes heroCaptionIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.hero-slide-inner img {
    display: block;
    max-width: 100%;
    /* Feste Höhe, damit auch kleine Bilder auf Slider-Höhe hochskaliert werden */
    height: calc(100svh - 90px - 64px);
    width: auto !important;
    object-fit: contain;
    object-position: center;
}

/* Pfeile – immer sichtbar, Font Awesome statt fehlender FlexSlider-Icons */
.hero-slider .flex-direction-nav {
    list-style: none;
}

.hero-slider .flex-direction-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    opacity: 1;
    left: auto;
    right: auto;
    overflow: visible;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff;
    text-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-slider .flex-direction-nav a:hover {
    background: rgba(193, 159, 98, 0.85);
    border-color: rgba(193, 159, 98, 0.95);
    opacity: 1;
}

.hero-slider .flex-direction-nav .flex-prev {
    left: 20px;
}

.hero-slider .flex-direction-nav .flex-next {
    right: 20px;
}

.hero-slider .flex-direction-nav a:before {
    font-family: FontAwesome;
    font-size: 22px;
    line-height: 1;
    content: '\f104';
}

.hero-slider .flex-direction-nav a.flex-next:before {
    content: '\f105';
}

/* Punkte-Navigation unten */
.hero-slider .flex-control-nav {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    line-height: 1;
}

.hero-slider .flex-control-nav li {
    margin: 0 4px;
}

.hero-slider .flex-control-paging li a {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    text-indent: -9999px;
    overflow: hidden;
}

.hero-slider .flex-control-paging li a:hover {
    background: rgba(255, 255, 255, 0.75);
}

.hero-slider .flex-control-paging li a.flex-active {
    background: var(--vidi-accent);
    border-color: #fff;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .hero-slider {
        min-height: 180px;
    }

    .hero-slide-inner {
        padding: 8px 44px 48px;
    }

    .hero-slide-caption {
        bottom: 64px;
        padding: 20px 24px;
        width: calc(100% - 88px);
    }

    .hero-slide-caption__title {
        font-size: clamp(1.9rem, 5.5vw, 2.75rem);
    }

    .hero-slide-caption__text {
        font-size: clamp(1.3rem, 4.5vw, 1.85rem);
    }

    .hero-slider .flex-direction-nav .flex-prev {
        left: 8px;
    }

    .hero-slider .flex-direction-nav .flex-next {
        right: 8px;
    }

    .hero-slider .flex-direction-nav a {
        width: 36px;
        height: 36px;
    }

    .hero-slider .flex-direction-nav a:before {
        font-size: 18px;
    }

    /* Punkte-Navigation bringt auf dem Handy nichts */
    .hero-slider .flex-control-nav {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .hero-slide-inner {
        padding: 6px 36px 42px;
    }

    .hero-slide-caption {
        bottom: 56px;
        width: calc(100% - 72px);
        padding: 18px 20px;
    }

    .hero-slide-caption__title {
        font-size: 1.75rem;
    }

    .hero-slide-caption__text {
        font-size: 1.25rem;
    }

    .hero-slider .flex-direction-nav a {
        width: 32px;
        height: 32px;
    }
}

/* Handy hochkant: Bild volle Breite direkt unter dem Header, Text darunter */
@media screen and (max-width: 767px) and (orientation: portrait) {
    .hero-slide-inner {
        padding: 0;
        align-items: flex-start;
    }

    .hero-slide-media {
        width: 100%;
    }

    .hero-slide-inner img {
        width: 100% !important;
        height: auto !important;
    }

    .hero-slide-caption {
        top: calc(100vw / 1.5 + 14px);
        bottom: auto;
        width: calc(100% - 24px);
        padding: 16px 18px;
    }

    /* Pfeile vertikal auf dem Bild zentrieren (Bild ist 3:2) */
    .hero-slider .flex-direction-nav a {
        top: calc(100vw / 3);
        transform: translateY(-50%);
        margin: 0;
    }
}

.contact-section {
    padding: 50px 0 70px;
}

.contact-section hr,
.page-content hr {
    border-color: #ddd;
    margin: 40px 0;
}

.contact-form label {
    display: block;
    margin-bottom: 18px;
    font-weight: 400;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    background: #fff;
}

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.contact-form .btn-submit {
    background: var(--vidi-accent);
    color: #fff;
    border: 0;
    padding: 12px 28px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form .btn-submit:hover {
    background: #a8864f;
}

.form-message {
    padding: 12px 16px;
    margin-bottom: 20px;
}

.form-message.success {
    background: #eef8ee;
    border: 1px solid #b7dfb7;
    color: #2f6b2f;
}

.form-message.error {
    background: #fdeeee;
    border: 1px solid #efb5b5;
    color: #8a2f2f;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.page-content {
    padding: 40px 0 70px;
}

/* Handy: mehr Abstand zum Bildschirmrand */
@media (max-width: 767px) {
    .page-content {
        padding-left: 28px;
        padding-right: 28px;
    }
}

.page-content h1,
.page-content h2,
.page-content h3 {
    margin-top: 1.2em;
}

.page-content ul {
    padding-left: 1.2em;
}

.page-content .pdf-list a {
    display: block;
    margin-bottom: 8px;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 720px;
    margin: 20px auto;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.school-note {
    background: #faf7f1;
    border-left: 4px solid var(--vidi-accent);
    padding: 16px 20px;
    margin: 24px 0;
}
