/* ==================================================
   RESET
================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;

    color: #263d35;

    background: #f7f8f4;

    line-height: 1.7;
}


/* ==================================================
   HEADER
================================================== */

header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 115px;

    background: rgba(247, 248, 244, 0.97);

    border-bottom: 1px solid #dce3dc;

    z-index: 1000;
}


.navbar {
    max-width: 1300px;

    height: 115px;

    margin: auto;

    padding: 0 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}



.gallery-section {
    padding: 80px 8%;
    background: #f7f6f1;
}

.gallery-heading {
    text-align: center;
    margin-bottom: 45px;
}

.gallery-heading span {
    font-size: 12px;
    letter-spacing: 3px;
    color: #78877b;
    font-weight: 600;
}

.gallery-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #304438;
    margin-top: 12px;
}

.gallery-heading p {
    color: #777;
    font-size: 15px;
}

#multiCarousel {
    padding: 15px 45px;
}

#multiCarousel img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

#multiCarousel img:hover {
    transform: scale(1.02);
}

#multiCarousel .carousel-control-prev,
#multiCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: #66776b;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

#multiCarousel .carousel-control-prev {
    left: 0;
}

#multiCarousel .carousel-control-next {
    right: 0;
}

/* Handy */
@media (max-width: 767px) {

    .gallery-section {
        padding: 55px 5%;
    }

    .gallery-heading h2 {
        font-size: 28px;
    }

    #multiCarousel {
        padding: 10px 35px;
    }

    #multiCarousel img {
        height: 270px;
    }
}

/* ==================================================
   LOGO
================================================== */

.logo {
    display: flex;

    align-items: center;

    text-decoration: none;
}

.logo img {
    width: 100px;

    height: auto;

    display: block;
}


/* ==================================================
   NAVIGATION
================================================== */

.nav-links {
    display: flex;

    align-items: center;

    gap: 45px;

    list-style: none;
}

.nav-links a {
    font-family: "DM Sans", sans-serif;

    color: #263d35;

    text-decoration: none;

    font-size: 17px;

    font-weight: 500;

    letter-spacing: 0.2px;

    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #769582;
}


/* ==================================================
   HEADER BUTTON
================================================== */

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 25px;

    background: #66736b;
    color: #ffffff;

    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;

    border: 1px solid #66736b;
    border-radius: 3px;

    transition: all 0.3s ease;
}

/* Hover-Effekt */
.header-button:hover {
    background: #536158;
    border-color: #536158;
    color: #ffffff;

    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(50, 65, 55, 0.12);
}


/* ==================================================
   HERO / HOME
================================================== */

.hero {
    min-height: 100vh;

    padding: 150px 25px 100px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(247, 248, 244, 0.78),
            rgba(247, 248, 244, 0.88)
        ),
        url("2.jpg");

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


/* HERO CONTENT */

.hero-content {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* NAME */

.hero .eyebrow {
    margin-bottom: 28px;

    color: #769582;

    font-family: "DM Sans", sans-serif;

    font-size: 15px;
    font-weight: 600;

    letter-spacing: 4px;
    text-transform: uppercase;
}


/* HEADLINE */

.hero h1 {
    max-width: 850px;

    margin: 0;

    font-family: "Playfair Display", Georgia, serif;

    font-size: clamp(43px, 6vw, 82px);

    font-weight: 400;

    line-height: 1.15;

    color: #263d35;
}

.hero h1 span {
    color: #769582;
}


/* DESCRIPTION */

.hero-description {
    max-width: 560px;

    margin: 30px auto 38px;

    font-family: "DM Sans", sans-serif;

    font-size: clamp(15px, 1.5vw, 18px);

    line-height: 1.8;

    color: #5f6d65;
}


/* ==================================================
   HERO BUTTONS
================================================== */

.hero-buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}

.button,
.button-outline {
    display: inline-flex;

    justify-content: center;
    align-items: center;

    min-width: 155px;

    padding: 15px 28px;

    text-decoration: none;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    font-weight: 600;

    transition: all 0.3s ease;
}


/* PRIMARY BUTTON */

.button {
    background: #587363;

    color: white;

    border: 1px solid #587363;
}

.button:hover {
    background: #3f5849;

    border-color: #3f5849;

    transform: translateY(-3px);
}


/* SECONDARY BUTTON */

.button-outline {
    color: #587363;

    border: 1px solid #587363;
}

.button-outline:hover {
    background: #587363;

    color: white;

    transform: translateY(-3px);
}


/* ==================================================
   RESPONSIVE DESIGN
================================================== */

@media (max-width: 768px) {

    .hero {
        min-height: 85vh;

        padding: 130px 25px 80px;

        background-position: center;
    }

    .hero .eyebrow {
        font-size: 12px;

        letter-spacing: 3px;

        margin-bottom: 22px;
    }

    .hero h1 {
        font-size: clamp(40px, 8vw, 58px);

        line-height: 1.18;
    }

    .hero-description {
        max-width: 440px;

        font-size: 16px;

        line-height: 1.7;

        margin: 25px auto 32px;
    }

    .hero-buttons {
        gap: 12px;
    }

}


@media (max-width: 480px) {

    .hero {
        min-height: 80vh;

        padding: 120px 22px 65px;
    }

    .hero .eyebrow {
        font-size: 11px;

        letter-spacing: 2.5px;
    }

    .hero h1 {
        font-size: 41px;

        line-height: 1.2;
    }

    .hero-description {
        font-size: 15px;

        margin: 22px auto 28px;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;

        gap: 12px;
    }

    .button,
    .button-outline {
        width: 100%;

        max-width: 260px;

        padding: 15px 20px;
    }

}


/* ========================================
   ABOUT – ÜBER MICH
======================================== */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    width: 100%;
    overflow: hidden;
}

.about-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* ÜBERSCHRIFT */

.about-content h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 57px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 28px;
}

.about-content p {
    color: #66736b;
    margin-bottom: 20px;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: #587363;
    text-decoration: none;
    font-weight: 600;
}

/* TABLET UND HANDY */

@media (max-width: 1008px) {

    .about {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image {
        width: 100%;
    }

    .about-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .about-content h2 {
        font-size: 38px;
    }
}

/* ==================================================
   SERVICES
================================================== */

.services {
    padding: 130px 40px;

    background: #e9eee8;
}

.section-heading {
    max-width: 750px;

    margin: 0 auto 70px;

    text-align: center;
}

.section-heading h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 57px;

    font-weight: 400;

    line-height: 1.1;

    margin-bottom: 20px;
}

.section-heading > p:last-child {
    color: #68756d;
}


.service-grid {
    max-width: 1250px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.service-card {
    min-height: 340px;

    padding: 38px;

    background: #f9faf7;

    border: 1px solid #d8e0d8;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: #769582;
}

.service-number {
    color: #769582;

    font-size: 14px;

    font-weight: 700;
}

.service-card h3 {
    margin-top: 55px;

    margin-bottom: 17px;

    font-family: "Playfair Display", Georgia, serif;

    font-size: 26px;

    font-weight: 400;
}

.service-card p {
    color: #68756d;

    font-size: 14px;

    margin-bottom: 25px;
}

.service-card a {
    color: #587363;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}


/* ==================================================
   PHILOSOPHY
================================================== */

.philosophy {
    padding: 140px 10%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 120px;

    background: #30473b;

    color: white;
}

.philosophy .eyebrow {
    color: #b7c7bb;
}

.philosophy-left h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 82px;

    font-weight: 400;

    line-height: 0.98;

    margin-bottom: 40px;
}

.philosophy-left h2 span {
    color: #b7c7bb;
}

.philosophy-left > p:last-child {
    max-width: 520px;

    color: #d0d8d3;
}


.philosophy-right {
    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 35px;
}

.philosophy-item {
    display: grid;

    grid-template-columns: 50px 1fr;

    gap: 20px;

    padding-bottom: 30px;

    border-bottom: 1px solid #52675c;
}

.philosophy-item > span {
    color: #b7c7bb;

    font-size: 13px;

    font-weight: 700;
}

.philosophy-item h3 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 27px;

    font-weight: 400;

    margin-bottom: 8px;
}

.philosophy-item p {
    color: #c5cec8;

    font-size: 14px;
}


/* ==================================================
   QUOTE
================================================== */

.quote {
    padding: 140px 30px;

    text-align: center;

    background: #f7f8f4;
}

.quote-content {
    max-width: 850px;

    margin: auto;
}

.quote-mark {
    display: block;

    margin-bottom: -20px;

    color: #769582;

    font-family: Georgia, serif;

    font-size: 90px;
}

.quote h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 45px;

    font-weight: 400;

    line-height: 1.3;
}

.quote p {
    margin-top: 30px;

    color: #769582;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 4px;
}


/* ==================================================
   CONTACT
================================================== */

.contact {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;

    align-items: start;
}

.contact-info h2 {
    font-family: "Playfair Display", Georgia, serif;

    font-size: 57px;

    font-weight: 400;

    line-height: 1.1;

    margin-bottom: 25px;
}

.contact-info > p {
    color: #68756d;

    margin-bottom: 40px;
}

.contact-details {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;
}

.contact-details strong {
    color: #30473b;

    font-size: 14px;
}

.contact-details p {
    color: #68756d;

    font-size: 14px;
}



/* =========================================
   MODERNER VITAMED FOOTER
========================================= */

.modern-footer {
    background: #263d35;
    color: #ffffff;
    padding: 80px 6% 25px;
    font-family: "DM Sans", sans-serif;
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr;
    gap: 50px;
    padding-bottom: 65px;
}

/* Einleitung */

.footer-intro img {
    width: 115px;
    height: auto;
    margin-bottom: 28px;
    filter: brightness(0) invert(1);
}

.footer-intro h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 20px;
}

.footer-intro h2 span {
    display: block;
    color: #b5c9b9;
}

.footer-intro > p {
    max-width: 310px;
    color: #c1cec5;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 13px 18px;
    border: 1px solid #7e9a87;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.3s, color 0.3s;
}

.footer-cta:hover {
    background: #ffffff;
    color: #263d35;
}

/* Spalten */

.footer-column {
    padding-top: 12px;
    min-width: 0;
}

.footer-label {
    color: #a9c0ae;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0 0 28px;
}

.footer-column h3 {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 22px;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 25px;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid #536b5d;
    border-radius: 50%;
    color: #c4d4c8;
    font-size: 15px;
}

.footer-item h3 {
    margin: 2px 0 7px;
    font-size: 13px;
    font-weight: 600;
}

.footer-item p,
.footer-item a {
    color: #c1cec5;
    font-size: 12px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.footer-item p {
    margin: 0;
}

.footer-item a {
    text-decoration: none;
}

.footer-item a:hover {
    color: #ffffff;
}

/* Öffnungszeiten */

.opening-title {
    margin-bottom: 20px !important;
}

.opening-hours {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.opening-hours div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #405349;
    font-size: 11px;
}

.opening-hours div span:last-child {
    text-align: right;
    white-space: nowrap;
}

.opening-hours .closed {
    color: #91a197;
}

/* Navigation */

.footer-navigation {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.footer-navigation .footer-label {
    margin-bottom: 28px;
}

.footer-navigation h3 {
    margin-bottom: 15px;
}

.footer-navigation a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #405349;
    color: #c1cec5;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-navigation a:hover {
    color: #ffffff;
}

.footer-navigation a span {
    color: #91a197;
}

/* Unterer Abschluss */

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #405349;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p,
.footer-bottom a {
    color: #91a197;
    font-size: 11px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 24px;
}

.footer-bottom a {
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* Tablet */

@media (max-width: 1050px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 35px;
    }

    .footer-intro {
        grid-column: 1 / -1;
        max-width: 500px;
    }
}

/* Smartphone */

@media (max-width: 600px) {
    .modern-footer {
        padding: 55px 22px 22px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 40px;
    }

    .footer-intro {
        grid-column: auto;
    }

    .footer-intro h2 {
        font-size: 34px;
    }

    .footer-label {
        margin-bottom: 20px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-bottom div {
        gap: 20px;
    }
}


/* ==================================================
   RESPONSIVE – TABLET
================================================== */

@media (max-width: 1050px) {

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .header-button {
        display: none;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about,
    .contact {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .philosophy {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

}


/* ==================================================
   RESPONSIVE – MOBILE
================================================== */

@media (max-width: 650px) {

    header,
    .navbar {
        height: 90px;
    }

    .navbar {
        padding: 0 20px;
    }

    .logo img {
        width: 105px;
    }

    .nav-links {
        display: none;
    }


    .hero {
        padding: 140px 30px 80px;

        background:
            linear-gradient(
                rgba(247,248,244,0.88),
                rgba(247,248,244,0.88)
            ),
            url("pics/2.jpg");

        background-size: cover;

        background-position: center;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-description {
        font-size: 16px;
    }


    .section {
        padding: 90px 25px;
    }

    .about-content h2,
    .section-heading h2,
    .contact-info h2 {
        font-size: 42px;
    }

    .about-image img {
        height: 400px;
    }


    .services {
        padding: 90px 25px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }


    .philosophy {
        padding: 90px 30px;
    }

    .philosophy-left h2 {
        font-size: 60px;
    }


    .quote {
        padding: 90px 25px;
    }

    .quote h2 {
        font-size: 32px;
    }


    .contact-details {
        grid-template-columns: 1fr;
    }


    .footer-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom a {
        margin-left: 0;

        margin-right: 20px;
    }

}




/* =========================================
   MEIN WEG – TIMELINE
   ========================================= */

.career-section {
    padding: 100px 20px;
    background: #f7f7f7;
}

.career-container {
    max-width: 1000px;
    margin: 0 auto;
}


/* Überschrift */

.career-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.career-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #777;
}

.career-header h2 {
    margin: 0 0 18px;
    font-size: 48px;
    font-weight: 700;
    color: #171717;
}

.career-header p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #666;
}


/* Timeline */

.timeline {
    position: relative;
    padding: 10px 0;
}


/* Vertikale Linie */

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 140px;
    width: 2px;
    background: #d8d8d8;
}


/* Einzelner Eintrag */

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 120px 40px 1fr;
    align-items: start;
    margin-bottom: 55px;
}


/* Jahr */

.timeline-date {
    padding-top: 25px;
    padding-right: 20px;
    text-align: right;
    font-size: 17px;
    font-weight: 700;
    color: #555;
}


/* Punkt */

.timeline-dot {
    position: relative;
    z-index: 2;
    width: 16px;
    height: 16px;
    margin: 27px auto 0;
    border-radius: 50%;
    background: #171717;
    border: 4px solid #f7f7f7;
    box-shadow: 0 0 0 2px #171717;
}


/* Karte */

.timeline-card {
    display: flex;
    gap: 22px;
    padding: 28px 30px;
    margin-left: 20px;

    background: #ffffff;
    border-radius: 16px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* Hover */

.timeline-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.10);
}


/* Icon */

.timeline-icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    background: #f0f0f0;
    border-radius: 12px;

    font-size: 24px;
}


/* Text */

.timeline-card h3 {
    margin: 0 0 5px;

    font-size: 22px;
    font-weight: 700;

    color: #171717;
}

.timeline-card h4 {
    margin: 0 0 12px;

    font-size: 14px;
    font-weight: 600;

    color: #777;
}

.timeline-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1.7;

    color: #666;
}



/* ========================================
   LEISTUNGEN – MODERN & ELEGANT
======================================== */

.services {
    --service-bg: #f7f6f1;
    --service-card: #ffffff;
    --service-green: #294b40;
    --service-green-light: #e9eee8;
    --service-text: #303a34;
    --service-muted: #737b74;
    --service-border: #e7e8e1;

    background: var(--service-bg);
    padding: 110px 0;
    color: var(--service-text);
    font-family: "DM Sans", sans-serif;
}

/* Gemeinsame Breite */

.services .wrap {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* ========================================
   ÜBERSCHRIFT
======================================== */

.services .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 55px;
}

.services .eyebrow {
    margin: 0 0 18px;
    color: var(--service-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.services .section-heading h2 {
    margin: 0;
    color: var(--service-green);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 4.5vw, 58px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

.services .section-heading h2 em {
    color: #829783;
    font-weight: 400;
}

.services .section-heading > p {
    max-width: 390px;
    margin: 0 0 7px;
    color: var(--service-muted);
    font-size: 15px;
    line-height: 1.9;
}

/* ========================================
   KARTEN-GRID
======================================== */

.services .service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

/* ========================================
   EINZELNE LEISTUNGSKARTE
======================================== */

.services .service-card {
    min-width: 0;
    overflow: hidden;
    background: var(--service-card);
    border: 1px solid rgba(41, 75, 64, 0.07);
    border-radius: 5px;
    box-shadow: 0 8px 30px rgba(36, 51, 42, 0.035);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.services .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(36, 51, 42, 0.09);
}

/* ========================================
   BILDER
======================================== */

.services .service-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #e8ebe4;
}

.services .service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.services .service-card:hover .service-image img {
    transform: scale(1.045);
}

/* Dezenter Farbverlauf */

.services .service-image::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(20, 36, 28, 0.22)
    );
    pointer-events: none;
}

/* Nummer auf dem Bild */

.services .service-number {
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #ffffff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 17px;
}

/* ========================================
   KARTENINHALT
======================================== */

.services .service-body {
    padding: 30px 30px 27px;
}

.services .card-kicker {
    margin: 0 0 12px;
    color: #829783;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.6;
}

.services .service-body h3 {
    margin: 0 0 13px;
    color: var(--service-green);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(23px, 2.2vw, 29px);
    font-weight: 400;
    line-height: 1.3;
}

.services .service-summary {
    margin: 0;
    color: var(--service-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* ========================================
   MEHR ERFAHREN
======================================== */

.services .service-body details {
    margin-top: 24px;
    border-top: 1px solid var(--service-border);
}

.services .service-body summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 19px 0 2px;
    color: var(--service-green);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: color 0.25s ease;
}

.services .service-body summary::-webkit-details-marker {
    display: none;
}

.services .service-body summary:hover {
    color: #829783;
}

/* Pluszeichen */

.services .service-body summary span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--service-green-light);
    color: var(--service-green);
    font-size: 19px;
    font-weight: 400;
    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

/* Geöffneter Zustand */

.services .service-body details[open] summary span {
    transform: rotate(45deg);
    background: var(--service-green);
    color: #ffffff;
}

.services .service-body details[open] summary {
    padding-bottom: 14px;
}

/* Ausklappender Text */

.services .details-content {
    padding: 5px 0 8px;
    animation: serviceReveal 0.35s ease;
}

.services .details-content p {
    margin: 0 0 15px;
    color: var(--service-muted);
    font-size: 13px;
    line-height: 1.95;
}

.services .details-content strong {
    color: var(--service-green);
    font-weight: 600;
}

.services .details-content ul {
    display: grid;
    gap: 11px;
    margin: 12px 0 10px;
    padding: 0;
    list-style: none;
}

.services .details-content li {
    position: relative;
    padding-left: 22px;
    color: var(--service-muted);
    font-size: 13px;
    line-height: 1.8;
}

.services .details-content li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #829783;
}

/* Dezente Animation */

@keyframes serviceReveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 850px) {
    .services {
        padding: 85px 0;
    }

    .services .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 38px;
    }

    .services .section-heading > p {
        max-width: 520px;
    }

    .services .service-grid {
        gap: 20px;
    }

    .services .service-image {
        height: 220px;
    }

    .services .service-body {
        padding: 24px 22px;
    }
}

/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 580px) {
    .services {
        padding: 65px 0;
    }

    .services .wrap {
        width: calc(100% - 32px);
    }

    .services .section-heading {
        gap: 17px;
        margin-bottom: 30px;
    }

    .services .section-heading h2 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .services .section-heading > p {
        font-size: 14px;
        line-height: 1.8;
    }

    .services .service-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .services .service-image {
        height: 235px;
    }

    .services .service-body {
        padding: 25px 22px 23px;
    }

    .services .service-body h3 {
        font-size: 26px;
    }

    .services .service-summary {
        font-size: 14px;
    }
}

/* Barrierefreiheit: reduzierte Animationen */

@media (prefers-reduced-motion: reduce) {
    .services *,
    .services *::before,
    .services *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

















/* =========================
   ÜBER UNS - Anfang
========================= */

.about {
    max-width: 1250px;
    margin: 0 auto;
    padding: 120px 40px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 85px;
}

/* Bildbereich */

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.04);
}

/* Textbereich */

.about-content {
    max-width: 520px;
}

.about-content .eyebrow {
    margin-bottom: 22px;

    color: #769582;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Überschrift */

.about-content h2 {
    margin-bottom: 28px;

    color: #263d35;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1.15;
}

/* Fließtext */

.about-content p:not(.eyebrow) {
    margin-bottom: 20px;

    color: #68756d;
    font-size: 16px;
    line-height: 1.9;
}

/* Link */

.about-content .text-link {
    display: inline-block;
    margin-top: 12px;

    color: #587363;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    transition: color 0.3s ease;
}

.about-content .text-link:hover {
    color: #30473b;
}

/* Tablet */

@media (max-width: 900px) {
    .about {
        gap: 45px;
        padding: 90px 30px;
    }

    .about-image img {
        height: 450px;
    }

    .about-content h2 {
        font-size: 42px;
    }

    .about-content p:not(.eyebrow) {
        font-size: 15px;
    }
}

/* Smartphone */

@media (max-width: 650px) {
    .about {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 75px 24px;
    }

    .about-image img {
        height: 350px;
    }

    .about-content {
        max-width: 100%;
    }

    .about-content h2 {
        font-size: 40px;
    }

    .about-content p:not(.eyebrow) {
        font-size: 15px;
        line-height: 1.8;
    }
}





















/* =========================================
   GRUNDLAGEN - Alles
========================================= */

:root {
    --cream: #f7f5ef;
    --white: #ffffff;
    --green: #344b40;
    --green-light: #65796b;
    --text: #333b35;
    --muted: #7c8179;
    --line: #deded4;
    --accent: #c5b99f;

    --font-body: "DM Sans", sans-serif;
    --font-heading: "Playfair Display", serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

.cv-page {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}


































/* =========================================
   WERDEGANG – MINIMALISTISCH
========================================= */

.career-section {
    width: 100%;
    padding: 100px 24px;
    background: var(--cream);
    color: var(--text);
}

.career-inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}


/* Abschnittslabel */

.career-section .section-label {
    justify-content: center;
}


/* Überschrift */

.career-heading {
    max-width: 720px;
    margin: 60px auto 85px;
    text-align: center;
}

.career-eyebrow {
    margin-bottom: 22px;
    color: var(--green-light);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.career-heading h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4.6rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -1px;
}

.career-heading h2 em {
    color: var(--green-light);
    font-weight: 400;
}

.career-intro {
    max-width: 590px;
    margin: 25px auto 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 2;
}


/* Lebenslauf */

.career-list {
    max-width: 790px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.career-entry {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 55px;
    padding: 38px 0 42px;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.25s ease;
}


/* Nummer und Zeitraum */

.career-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.career-number {
    color: var(--green-light);
    font-family: var(--font-heading);
    font-size: 2.3rem;
    line-height: 1.2;
}

.career-period {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1px;
}


/* Stationstexte */

.career-content {
    max-width: 540px;
}

.career-category {
    margin: 0 0 10px;
    color: var(--green-light);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.career-content h3 {
    margin: 0 0 12px;
    color: var(--green);
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.4;
}

.career-content > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 2;
}


/* Dezenter Hover-Effekt */

@media (hover: hover) {
    .career-entry:hover {
        padding-left: 8px;
    }

    .career-entry:hover .career-number {
        color: var(--green);
    }
}


/* Abschluss */

.career-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    max-width: 650px;
    margin: 70px auto 0;
    text-align: center;
}

.career-footer-line {
    width: 46px;
    height: 1px;
    background: var(--accent);
}

.career-footer p {
    margin: 0;
    color: var(--green);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.8;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 700px) {

    .career-section {
        padding: 75px 24px;
    }

    .career-heading {
        margin: 45px auto 60px;
    }

    .career-entry {
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 28px;
        padding: 32px 0;
    }

    .career-number {
        font-size: 1.9rem;
    }

    .career-period {
        font-size: 0.6rem;
    }

}


/* =========================================
   SMARTPHONE
========================================= */

@media (max-width: 480px) {

    .career-section {
        padding: 60px 20px;
    }

    .career-heading {
        margin: 40px auto 45px;
    }

    .career-heading h2 {
        font-size: 2.5rem;
    }

    .career-intro {
        font-size: 0.87rem;
    }

    .career-entry {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 28px 0 32px;
    }

    .career-meta {
        flex-direction: row;
        align-items: baseline;
        gap: 14px;
    }

    .career-number {
        font-size: 1.5rem;
    }

    .career-period {
        font-size: 0.6rem;
    }

    .career-content h3 {
        font-size: 1.5rem;
    }

    .career-content > p:last-child {
        font-size: 0.85rem;
        line-height: 1.9;
    }

    .career-footer {
        margin-top: 45px;
    }

    .career-footer p {
        font-size: 1.15rem;
    }

}


/* Barrierefreiheit */

@media (prefers-reduced-motion: reduce) {
    .career-entry {
        transition: none;
    }
}





/* =========================================
   ABSTAND ZUM WERDEGANG VERKLEINERN
========================================= */

/* Oberen Abstand des Werdegangs reduzieren */
.career-section {
    padding-top: 45px;
    padding-bottom: 80px;
}

/* Abstand zwischen Überschrift und Timeline */
.career-heading {
    margin-top: 35px;
    margin-bottom: 50px;
}

/* Falls Über uns zu viel Abstand nach unten hat:
   Passe #ueber-uns an deine tatsächliche ID an. */
#ueber-uns {
    margin-bottom: 0;
    padding-bottom: 45px;
}

/* Smartphone */
@media (max-width: 600px) {
    .career-section {
        padding-top: 35px;
        padding-bottom: 55px;
    }

    .career-heading {
        margin-top: 30px;
        margin-bottom: 40px;
    }

    #ueber-uns {
        padding-bottom: 30px;
    }
}






/* =========================
   ZUSÄTZLICHE AUSBILDUNGEN
========================== */

.education-section {
    padding: 100px 7%;
    background-color: #f5f5ef;
}

.education-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Überschrift */

.education-heading {
    max-width: 650px;
    margin: 0 auto 55px;
    text-align: center;
}

.education-eyebrow {
    color: #82917b;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 18px;
}

.education-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    color: #263d32;
    margin-bottom: 20px;
}

.education-heading h2 em {
    color: #82917b;
    font-weight: 400;
}

.education-intro {
    color: #737970;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.8;
}


/* Ausbildungskästchen */

.education-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.education-card {
    flex: 1 1 300px;
    max-width: 370px;
    min-width: 0;

    display: flex;
    align-items: flex-start;
    gap: 22px;

    padding: 30px;
    background: #ffffff;
    border: 1px solid #e5e8df;
    border-radius: 4px;

    transition: 0.3s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    border-color: #82917b;
    box-shadow: 0 12px 30px rgba(38, 61, 50, 0.07);
}


/* Nummerierung */

.education-number {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #a5b19d;
    line-height: 1;
}


/* Texte */

.education-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    color: #263d32;
    margin: 0 0 10px;
}

.education-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #777e75;
    margin: 0;
}


/* =========================
   RESPONSIVE DESIGN
========================== */

@media (max-width: 768px) {

    .education-section {
        padding: 70px 6%;
    }

    .education-heading {
        margin-bottom: 35px;
    }

    .education-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .education-card {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        padding: 25px;
    }

}

@media (max-width: 480px) {

    .education-section {
        padding: 55px 5%;
    }

    .education-card {
        gap: 16px;
        padding: 22px;
    }

    .education-card h3 {
        font-size: 18px;
    }

}



/* ==========================================================
   VITAMED HEADER – RESPONSIVE NAVIGATION
   Diese Regeln überschreiben nur den Header-Bereich.
========================================================== */

header {
    height: 100px;
}

.navbar {
    position: relative;
    height: 100px;
    gap: 24px;
}

.logo {
    flex: 0 0 auto;
    min-width: 0;
}

.logo img {
    display: block;
    width: clamp(82px, 8vw, 105px);
    max-height: 78px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 36px);
    margin: 0;
    padding: 0;
    min-width: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a:not(.header-button) {
    white-space: nowrap;
}

.nav-cta-item {
    flex: 0 0 auto;
}

.nav-links .header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 12px 18px;
}

.menu-toggle {
    display: none;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #dce3dc;
    border-radius: 3px;
    background: #f7f8f4;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #263d35;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Tablet und Smartphone */
@media (max-width: 900px) {
    header,
    .navbar {
        height: 82px;
    }

    .navbar {
        padding: 0 24px;
        justify-content: space-between;
        gap: 16px;
    }

    .logo img {
        width: 88px;
        max-height: 68px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 1002;
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        z-index: 1001;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
        max-height: calc(100vh - 82px);
        overflow-y: auto;
        padding: 12px 24px 24px;
        background: rgba(247, 248, 244, 0.99);
        border-top: 1px solid #dce3dc;
        border-bottom: 1px solid #dce3dc;
        box-shadow: 0 16px 28px rgba(38, 61, 53, 0.09);
    }

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

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

    .nav-links a:not(.header-button) {
        display: block;
        width: 100%;
        padding: 13px 2px;
        white-space: normal;
        border-bottom: 1px solid #e4e9e3;
        font-size: 16px;
    }

    .nav-cta-item {
        padding-top: 18px;
    }

    .nav-links .header-button {
        display: inline-flex;
        width: 100%;
        min-height: 48px;
        padding: 12px 18px;
        border-bottom: 0;
        text-align: center;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Kleine Smartphones */
@media (max-width: 480px) {
    header,
    .navbar {
        height: 76px;
    }

    .navbar {
        padding: 0 18px;
    }

    .logo img {
        width: 82px;
        max-height: 62px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .nav-links {
        top: 76px;
        max-height: calc(100vh - 76px);
        padding: 10px 20px 22px;
    }
}

/* Fokus sichtbar machen – auch per Tastatur bedienbar */
.menu-toggle:focus-visible,
.nav-links a:focus-visible {
    outline: 2px solid #769582;
    outline-offset: 4px;
}

/* Kein seitliches Scrollen durch breite Inhalte */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


.foto-container {
    width: 100%;
    max-width: 1200px;
    height: 700px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 12px;
}

.foto-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}


/* Handy */
@media (max-width: 768px) {
    .foto-container {
        width: 92%;
        height: 350px;
    }

    .foto-container img {
        object-position: center 15%;
    }
}