/* Fonts */
@font-face {
    font-family: 'Great Vibes';
    src: url('../fonts/GreatVibes-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Philosopher Bold';
    src: url('../fonts/Philosopher-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Philosopher';
    src: url('../fonts/Philosopher-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {


    /* Colors */
    --background: rgba(208, 191, 172, 0.1);
    --background-blur: rgba(88, 70, 37, 0.6);
    --element-background: rgba(109, 136, 112, 0.2);
    --element-background-active: rgba(174, 108, 50, 0.3);

    /* System Colors */
    --beige: #D0BFAC;
    --beige-50: rgba(208, 191, 172, 0.5);
    --brown: #584625;
    --brown-50: rgba(88, 70, 37, 0.5);
    --green: #6D8870;
    --green-50: rgba(109, 136, 112, 0.5);
    --black: #090801;
    --black-50: rgba(9, 8, 1, 0.5);
    --copper: #aa5206;
    --copper-50: #ae6c3280;
    --copper-glass: #e78128ad;
    --white: #ffffff;
    --white-50: rgba(255, 255, 255, 0.5);
    --copper-gradient: linear-gradient(to bottom, var(--copper), var(--copper-glass));

    /* Text Colors */
    --text-primary: #ffffff;
    /* weiß */
    --text-secondary: #2d1c0a;
    /* sehr dunkelbraun */
    --text-tertiary: #181818;
    /* sehr dunkelgrau */

    /* Text Shadow */
    --text-shadow: 1px 1px 1px var(--text-secondary);

    /* Materials */
    --glass-background: rgba(30, 30, 30, 0.6);
    --glass-blur: 30px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);

    /* Spacing */
    --space-xxs: 0.25em;
    --space-xs: 0.5em;
    --space-sm: 0.75em;
    --space-md: 1em;
    --space-lg: 1.5em;
    --space-xl: 2em;
    --space-xxl: 3em;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;

    /* Typography */
    --font-family: 'Arial', sans-serif;
    --great-vibes: 'Great Vibes';
    --philo-reg: 'Philosopher';
    --philo-bold: 'Philosopher Bold';
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;

    /* Line Height */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-inset-sm: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-inset-md: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-inset-lg: inset 0 4px 12px rgba(0, 0, 0, 0.15);

    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Depth and Layers */
    --depth-base: 0;
    --depth-raised: 10px;
    --depth-floating: 20px;

    /* Opacity */
    --opacity-disabled: 0.4;
    --opacity-hover: 0.8;

    /* Focus States */
    --focus-ring: 0 0 0 2px var(--beige);
    --focus-ring-offset: 2px;


    /* Layout */
    --max-width: 1440px;
}


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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-normal);
    color: var(--black-50);
    background-color: var(--beige-50);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul,
ol {
    list-style: none;
}


/* infobar */

.infobar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 35px;
    background: var(--green);
    color: var(--white);
    text-align: center;
    text-shadow: 1px 1px 1px var(--text-secondary);
    box-shadow:
        var(--shadow-inset-lg),
        var(--shadow-lg);
}

.infobar-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1em;
    max-width: var(--max-width);
    margin: 0 auto;

}

.infobar-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    font-size: var(--font-size-sm);
    font-weight: 100;
}

.infobar-item img {
    width: 18px;
}

@media (max-width: 1024px) {
    .infobar {
        display: none;
    }
}

/* HEADER SECTION */

header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--beige);
    box-shadow:
        var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.hide {
    transform: translateY(-100%);
}

.header-container {
    width: 100%;
    margin: 0 auto;
    position: sticky;
    z-index: 1001;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.25em 4.5em;
    color: var(--text-secondary);
    max-width: var(--max-width);
}


.logo-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
}

.logo-wrapper img {
    width: 2.75em;
}

.logo-img-text-wrapper {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    color: var(--black);
}

.logo-text {
    text-align: left;
    font-family: var(--font-family);
    font-weight: 700;
}

header h1 {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-tight);
    color: var(--text-secondary);
    font-weight: 300;
    padding: 4px 2px;
    font-family: Arial, Helvetica, sans-serif;
}

header p {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-tight);
    letter-spacing: 0.05em;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: var(--font-size-lg);
}

header ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1em;
}

.main-nav a {
    font-size: var(--font-size-md);
}

/* Minimal highlight for Jobs link in header and burger menu */
.nav-link-jobs {
    font-weight: 700;
    color: var(--copper);
}

.nav-link-jobs[aria-current="page"],
.nav-link-jobs:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}


@media (max-width: 1024px) {
    .header-container {
        padding: 0.25em 0.75em;
        display: flex;
        align-items: center;
    }

    header h1 {
        font-size: var(--font-size-xs);
    }

    header p {
        font-size: 1.25rem;
    }

    .main-nav {
        display: none;
    }

    .logo-wrapper img {
        width: 2.5em;
    }
}

/* Burger Menu */

.burger-btn {
    display: none;
}

.burger-menu {
    display: none;
}

@media (max-width: 1024px) {
    .burger-btn {
        display: flex;
        width: 44px;
        height: 44px;
        padding: 0.5em;
        background: url(../images/icons/burger.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center bottom;
        background-color: transparent;
        border: none;
        cursor: pointer;
        box-shadow: none;
        -webkit-tap-highlight-color: transparent;
    }

    .burger-btn:focus-visible {
        box-shadow: var(--focus-ring);
        background-color: var(--beige-50);
    }

    .burger-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--beige);
        color: var(--text-secondary);
        font-size: var(--font-size-xxl);
        line-height: var(--line-height-relaxed);
        font-weight: bold;
        text-align: center;
        padding: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-100%);
        will-change: transform, opacity;
    }

    .burger-menu.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .menu-close-btn {
        position: absolute;
        top: 1em;
        right: 1em;
        width: 44px;
        height: 44px;
        padding: 0.5em;
        background: url(../images/icons/cross.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        background-color: transparent;
        border: none;
        cursor: pointer;
        z-index: 10000;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-close-btn:focus-visible {
        box-shadow: var(--focus-ring);
        background-color: var(--beige-50);
        border-radius: var(--radius-sm);
    }

    .burger-menu ul {
        display: flex;
        flex-direction: column;
        gap: 0.5em;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .burger-menu a {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: var(--font-size-xxl);
        -webkit-tap-highlight-color: transparent;
    }

    /* Highlight only Jobs link in burger menu */
    .burger-menu a[href="/html/jobs.html"] {
        color: var(--copper);
    }
}



/* HERO SECTION */

.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background: url(../images/backgrounds/hero-image.webp);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: var(--shadow-inset-lg);

}


.hero-content {
    width: 50dvw;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    padding: 2em 3em;
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
    background: linear-gradient(to left, var(--copper-50), var(--beige-50));
    backdrop-filter: blur(var(--glass-blur));
    color: var(--text-secondary);
    box-shadow: var(--shadow-lg);

}

.hero-content h2 {
    font-size: var(--font-size-xxl);
    text-align: center;
}

.hero-content span {
    font-family: 'Great Vibes';
    font-size: 2.5rem;
    color: var(--copper);
}


.cta-button,
.cta-button:focus,
.cta-button:active,
.cta-button:hover {
    cursor: pointer;
}

.cta-button {
    padding: var(--space-sm) var(--space-xl);
    background: var(--copper);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-md);
    font-size: var(--font-size-lg);
    font-family: var(--font-family);
    transition: var(--transition-slow);
    backdrop-filter: blur(var(--glass-blur));
    outline: none;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.cta-button:hover,
.cta-button:active {
    background:
        var(--brown);
    box-shadow: var(--shadow-sm);
    transform: scale(1.03);
}


.cta-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.125em;
}

.empfohlen {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-shadow: 1px 1px 1px var(--text-secondary);
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-xs, 0 1px 4px 0 var(--brown-50));
    font-family: var(--font-family);
}

@media (max-width: 999px) {
    .hero {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        overflow: hidden;
        background: url(../images/backgrounds/hero-image-mobile.webp);
        background-size: cover;
        background-repeat: no-repeat;
        height: 500px;

    }

    .hero-content {
        text-align: center;
        border-top-left-radius: var(--radius-lg);
        border-top-right-radius: var(--radius-lg);
        border-bottom-left-radius: 0;
        padding: 1.5em 0.75em;
        box-shadow: none;
    }

    .hero-content h2 {
        font-size: var(--font-size-xl);
    }

    .cta-button {
        max-width: 240px;
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 768px) {
    .hero {
        background: url(../images/backgrounds/hero-image-mobile.webp);
        background-size: 100%;
        height: 750px;
    }

    .hero-content {
        width: 100%;

    }
}


/* Ablauf */


.ablauf-section {
    background-color: var(--beige-50);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-inset-lg);
    padding: var(--space-xxl);
}

.ablauf-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.ablauf-title-wrapper {
    text-align: center;
}

.ablauf-title {
    font-size: 2.5rem;
    color: var(--text-secondary);
    font-family: var(--philo-bold);
    margin-bottom: 10px;
}

.ablauf-subtitle {
    font-family: var(--philo-bold);
    font-size: 3rem;
    color: var(--copper);
    font-weight: 700;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
}

.icon-container {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon {
    width: 30px;
    height: 30px;
    color: var(--green);
}

.step-content h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: bold;
}

.phone {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--copper);
    margin: 0;
}

.arrow {
    width: 40px;
    height: 40px;
    color: var(--brown);
    flex-shrink: 0;
}

.arrow svg {
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {

    .ablauf-title,
    .ablauf-subtitle {
        font-size: 2rem;
    }


    .steps {
        flex-direction: column;
        gap: 10px;
    }

    .arrow {
        margin: 10px 0;
    }

    .arrow svg {
        transform: rotate(90deg);
    }

    .step {
        min-width: auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .ablauf-section {
        padding: 40px 15px;
    }

    .ablauf-title {
        font-size: 1.8rem;
    }

    .ablauf-subtitle {
        font-size: 1.8rem;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .icon-container {
        width: 60px;
        height: 60px;
        padding: 0.75em;
    }

    .icon {
        width: 50px;
        height: 50px;
    }
}



/* SEPERATOR VORTEILE */
.vorteile-section {
    width: 100%;
    box-shadow:
        var(--shadow-inset-md),
        var(--shadow-sm);
    background: var(--white-50);
    background: var(--beige);
    padding: var(--space-xxl);
}

.vorteile-title-wrapper {
    position: relative;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-md);
    margin-bottom: var(--space-xxl);
    border-radius: 48px;
    overflow: hidden;
    background: url(../images/backgrounds/pflege-angehoerige-hamburg-niendorf.webp);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow:
        var(--shadow-md);
}

.vorteile-title-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
    background: linear-gradient(to right, var(--green) 14%, var(--black-50) 100%);
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.vorteile-title-wrapper>* {
    position: relative;
    z-index: 2;
}

.vorteil-title {
    text-align: center;
    color: var(--text-primary);
    font-family: var(--philo-bold);
    font-size: 3rem;
    text-shadow: 1px 1px 1px var(--text-secondary);
}

.vorteil-subtitle {
    text-align: center;
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    text-shadow: 1px 1px 1px var(--text-secondary);

}

.vorteile-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.vorteil-card {
    flex: 1 1 300px;
    max-width: 350px;
    padding: var(--space-md);
    background: linear-gradient(to top, var(--brown), var(--brown-50));
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        var(--shadow-inset-md),
        var(--shadow-sm);
}

.vorteil-card img {
    width: 60px;
    height: 60px;
    padding: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: var(--glass-border);
    background: var(--copper-gradient);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}


.vorteil-card h3 {
    color: var(--white);
    margin-bottom: var(--space-xs);
    font-size: var(--font-size-xl);
    text-shadow: 1px 1px 1px var(--text-secondary);
}

.vorteil-card p {
    color: var(--white);
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    text-align: left;
    text-shadow: 1px 1px 1px var(--text-secondary);

}

@media (max-width: 1024px) {
    .vorteile-section {
        padding: var(--space-xxl) var(--space-xs);
    }

    .vorteile-title-wrapper {
        background-position: center right;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: var(--radius-sm);
        gap: 1em;
    }

    .vorteil-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .vorteil-subtitle {
        font-size: var(--font-size-md);
    }


    .vorteile-title-wrapper::before {
        background: linear-gradient(to top, var(--green) 10%, var(--black-50) 70%);
        border-radius: var(--radius-sm);

    }
}


/* Rezension Section*/
.rezension-section {
    width: 100%;
    padding: var(--space-xxl);
    box-shadow: var(--shadow-sm);
    position: relative;
    background: linear-gradient(to bottom, transparent, var(--green)), url(../images/backgrounds/pflege-angehoerige-hamburg-schnelsen-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.rezension-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, var(--copper-50));
    z-index: 1;
}

.rezension-section>* {
    position: relative;
    z-index: 2;
}

.rezension-title-wrapper {
    position: relative;
    width: 100%;
    max-width: var(--max-width);
    height: 400px;
    margin: 0 auto var(--space-xxl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-md);
    border-radius: 48px;
    overflow: hidden;
    background: linear-gradient(to right, transparent, var(--copper-50)), url(../images/backgrounds/pflege-angehoerige-hamburg-schnelsen.webp);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: var(--shadow-lg);
    border: var(--glass-border);

}

.rezension-title-wrapper>* {
    position: relative;
    z-index: 2;
}

.rezension-title {
    text-align: center;
    color: var(--text-primary);
    font-family: var(--philo-bold);
    font-size: 2.75rem;
    text-shadow: 1px 1px 1px var(--text-secondary);
    letter-spacing: -0.02em;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: var(--space-sm);
    border: var(--glass-border);
    border-radius: 48px;
    box-shadow: var(--shadow-lg);
}

.rezension-subtitle {
    text-align: center;
    font-family: var(--font-family);
    font-weight: 300;
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    text-shadow: 1px 1px 1px var(--text-secondary);
}

.rezension-content {
    display: flex;
    gap: var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-md) 0;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.rezension-card {
    flex: 0 0 auto;
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    background: var(--black-50);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    margin: 0 auto;
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
}

.rezension-card img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    border: var(--glass-border);
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    margin-top: -20px;
    transform: translateY(-20px);
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.rezension-image-wrapper {
    width: 100%;
    margin-top: -20px;
    margin-bottom: var(--space-md);
}

.rezension-image-wrapper img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    border: var(--glass-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: block;
    transform: none;
    -webkit-transform: none;
}

.rezension-quote {
    text-align: center;
    margin: 0;
    color: var(--text-primary);
}

.rezension-quote p {
    font-style: italic;
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-lg);
    padding: var(--space-sm);
    letter-spacing: -0.01em;
}

.rezension-quote-bottom {
    font-weight: 600;
    color: var(--white);
    font-size: var(--font-size-md);
    text-shadow: 1px 1px 1px var(--text-secondary);
}



@media (max-width: 999px) {
    .rezension-section {
        padding: var(--space-xl) var(--space-xs);
    }

    .rezension-content {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        cursor: grab;
        justify-content: flex-start;
    }

    .rezension-content:active {
        cursor: grabbing;
    }

    .rezension-content::-webkit-scrollbar {
        display: none;
    }

    .rezension-card {
        scroll-snap-align: center;
        width: 80%;
    }

    .rezension-title-wrapper {
        background-position: center left;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: var(--radius-sm);
        gap: 1em;
        border: none;
    }

    .rezension-title {
        width: 100%;
        font-size: 2.25rem;
        line-height: 1.2;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        margin-top: 1em;
        box-sizing: border-box;
    }

    .rezension-subtitle {
        margin-top: 1em;
        font-size: var(--font-size-lg);
    }
}

/* Leistungen */

.leistungen-section {
    width: 100%;
    padding: var(--space-xxl);
    background-color: var(--beige);
}

.leistungen-title-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto var(--space-xxl);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-sm);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(to top, var(--brown), var(--brown-50));
    box-shadow: var(--shadow-sm);
}

.leistungen-title {
    text-align: center;
    color: var(--text-primary);
    font-family: var(--philo-bold);
    font-size: 2.75rem;
    text-shadow: 1px 1px 1px var(--black);
}

.leistungen-subtitle {
    text-align: center;
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    text-shadow: 1px 1px 1px var(--black);
}

.leistungen-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.leistung-card {
    width: calc(33.333% - var(--space-xl));
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm),
        var(--shadow-inset-md);
    background: var(--white-50);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(139, 69, 19, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leistung-card img {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
    box-shadow: var(--shadow-inset-lg);
}

.leistung-text {
    padding: var(--space-lg);
}

.leistung-text h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.leistung-text p {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
    color: var(--text-tertiary);
}

@media (max-width: 1200px) {
    .leistung-card {
        width: calc(50% - var(--space-xl));
    }
}

@media (max-width: 999px) {
    .leistungen-section {
        padding: var(--space-xl) var(--space-md);
    }

    .leistungen-content {
        gap: var(--space-lg);
    }

    .leistung-card {
        width: calc(50% - var(--space-lg));
    }
}

@media (max-width: 768px) {
    .leistungen-section {
        padding: var(--space-xl) var(--space-xs);
    }

    .leistungen-title-wrapper {
        height: 200px;
        border-radius: var(--radius-md);
    }

    .leistungen-title {
        font-size: 2rem;
    }

    .leistungen-subtitle {
        font-size: var(--font-size-md);
    }

    .leistungen-content {
        flex-direction: column;
        align-items: center;
    }

    .leistung-card {
        width: 90%;
    }
}

/* Zitat seperator */
.quote-section {
    width: 100%;
    height: 350px;
    padding: var(--space-xl) 0;
    background: url(../images/backgrounds/quote-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, transparent, var(--green-50));
    opacity: 0.7;
}

.quote-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.quote-wrapper blockquote {
    text-align: center;
    font-size: var(--font-size-xl);
    font-style: italic;
    color: var(--text-primary);
    text-shadow: 1px 1px 1px var(--text-secondary);
    line-height: var(--line-height-relaxed);
    max-width: 800px;
    margin: 0 auto;
}

.quote-bottom {
    margin-top: var(--space-md);
    font-size: var(--font-size-md);
    color: var(--white-50);
    font-weight: 500;
    text-shadow: none;
}

@media (max-width: 768px) {
    .quote-wrapper {
        padding: var(--space-sm);
        width: 90%;
    }

    .quote-wrapper blockquote {
        font-size: var(--font-size-lg);
    }

    .quote-wrapper footer {
        font-size: var(--font-size-sm);
    }
}

/* Kontaktsection */
.contact-section {
    width: 100%;
    padding: var(--space-lg);
    background: linear-gradient(to top, var(--beige-50), var(--beige-50));
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.contact-section>* {
    position: relative;
    z-index: 2;
}

.contact-wrapper {
    max-width: var(--max-width);
    margin: var(--space-xxl) auto;
    padding: var(--space-sm);
    background: var(--green);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-header {
    width: 100%;
    margin: 0 auto var(--space-sm);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.form-header h2 {
    text-align: center;
    color: var(--text-primary);
    font-family: var(--philo-bold);
    font-size: 2.75rem;
    text-shadow: 1px 1px 1px var(--text-secondary);
}

.form-header p {
    text-align: center;
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    font-weight: 300;
    text-shadow: 1px 1px 1px var(--text-secondary);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    font-size: var(--font-size-md);
    font-weight: 500;
    text-shadow: 1px 1px 1px var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid var(--beige-50);
    border-radius: var(--radius-sm);
    background: var(--beige-50);
    color: var(--text-tertiary);
    font-size: var(--font-size-md);
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
    opacity: 0.8;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--copper);
    background: var(--beige);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--copper);
    box-shadow: 0 0 0 2px var(--copper-50);
    background: var(--beige);
}

.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.privacy-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.25em;
    accent-color: var(--copper);
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.privacy-consent label {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    line-height: 1.4;
    display: inline-block;
    vertical-align: middle;
}

.privacy-consent a {
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: 300;
    text-shadow: 1px 1px 1px var(--text-secondary);
    display: inline;
}

.privacy-consent a:hover {
    color: var(--white-50);
}

.submit-btn {
    width: 100%;
    padding: var(--space-md);
    background: var(--copper);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-md);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 1px var(--text-secondary);
}



.submit-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.form-status {
    margin-top: var(--space-md);
    text-align: center;
    color: var(--text-primary);
    font-size: var(--font-size-md);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
}

.form-status.status-loading {
    color: var(--text-primary);
    background: var(--brown-50);
}

.form-status.status-success {
    color: var(--text-primary);
    background: var(--green);
}

.form-status.status-error {
    color: var(--text-primary);
    background: var(--copper);
}

@media (max-width: 768px) {
    .contact-section {
        padding: var(--space-xl) var(--space-md);
    }

    .contact-wrapper {
        padding: var(--space-lg);
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .form-header p {
        font-size: var(--font-size-md);
    }

    .privacy-consent label {
        margin-top: 0.25em;
        font-size: var(--font-size-sm);
    }
}

/* Footer */


footer {
    background: linear-gradient(to top, var(--green-50), var(--green));
    color: var(--text-primary);
    padding: var(--space-lg) 0;
    width: 100%;
    text-align: center;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    flex: 1;
    min-width: 250px;
}

.footer-links,
.rechtliches,
.footer-contact {
    text-shadow: 1px 1px 1px var(--text-secondary);
}

.footer-links ul,
.rechtliches ul,
.footer-contact ul {
    width: 100%;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    flex: 1;
    min-width: 250px;

}

.footer-links a,
.rechtliches a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-md);
    transition: all 0.3s ease;
    padding: var(--space-xs) 0;
    line-height: var(--line-height-normal);
}

@media (min-width: 1025px) {

    .footer-links a:hover,
    .rechtliches a:hover {
        color: var(--white-50);
        transform: translateY(var(--space-xs));
    }
}

.footer-copyright {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--text-secondary);
    margin-top: var(--space-lg);
}

.footer-copyright p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: var(--line-height-normal);
}





.footer-logo-subtitle {
    font-size: var(--font-size-l);
    line-height: var(--line-height-tight);
    color: var(--black);
    font-weight: 300;
    padding: 4px 2px;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-logo-title {
    text-align: left;
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--black);
}

.logo-wrapper-centered {
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {

    footer {
        background: linear-gradient(to bottom, var(--green-50), var(--green));

    }

    .footer-container {
        flex-direction: column;
        gap: var(--space-xxl);
        padding: 0 var(--space-sm);
    }

    .footer-info,
    .footer-contact,
    .footer-links ul {
        align-items: center;
        text-align: center;
    }

    .footer-links ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-copyright {
        margin-top: var(--space-md);
        padding-top: var(--space-md);
    }




}

/* Datenschutz */

.datenschutz-container {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    padding: var(--space-lg);
    text-align: left;
    gap: var(--space-sm);
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .datenschutz-container {
        padding: var(--space-md);
        width: 90%;
    }
}

@media (max-width: 768px) {
    .datenschutz-container {
        padding: var(--space-sm);
        width: 90%;
    }
}

@media (max-width: 480px) {
    .datenschutz-container {
        padding: var(--space-xs);
        width: 90%;
    }
}

/* Cookies */

/*  */
/* Scroll-in Animations */
.animate-observe {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: transform, opacity;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* subtle variance for lists of cards */
.stagger-2:nth-child(2n) {
    transition-delay: 0.12s;
}

.stagger-3:nth-child(3n) {
    transition-delay: 0.2s;
}

/* Banner container */
.cookies-eu-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 10000;
    display: none;
    /* controlled via JS */
    width: min(960px, 92%);
    padding: var(--space-md);
    background: var(--beige);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: var(--glass-border);
}

.cookies-eu-banner p {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
}

#cookie-details-toggle {
    cursor: pointer;
    text-decoration: underline;
    color: var(--text-secondary);
    background: none;
    border: none;
}

#cookie-details {
    margin-top: var(--space-sm);
    font-size: var(--font-size-sm);
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.cookie-buttons button {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    font-size: var(--font-size-md);
}

#cookie-accept-all {
    background: var(--copper);
    color: var(--text-primary);
    text-shadow: var(--text-shadow);
}

#cookie-decline {
    background: var(--brown);
    color: var(--text-primary);
    text-shadow: var(--text-shadow);
}

#cookie-minimize {
    background: transparent;
    border-color: var(--brown-50);
    color: var(--text-secondary);
    border: 1px solid var(--brown-50);
}

/* Active state for cookie choice buttons */
.cookie-buttons button.cookie-active {
    outline: none;
    box-shadow: 0 0 0 2px var(--beige-50), 0 0 0 4px var(--brown-50);
    transform: translateY(-1px);
}

/* Jobs Section */
.jobs-section {
    width: 100%;
    min-height: 100vh;
    padding: var(--space-xxl) var(--space-md);
    background-color: var(--beige-50);
}

.jobs-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.jobs-header {
    background: var(--green);
    color: var(--text-primary);
    padding: var(--space-xxl) var(--space-xl);
    text-align: center;
}

.jobs-header h1 {
    font-size: 2rem;
    font-family: var(--font-family);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: var(--line-height-tight);
    text-shadow: 1px 1px 1px var(--text-secondary);
}

.job-type {
    font-size: var(--font-size-lg);
    font-weight: 300;
    text-shadow: 1px 1px 1px var(--text-secondary);
}

.jobs-content {
    padding: var(--space-xxl) var(--space-xl);
    color: var(--black);
}

.job-intro {
    margin-bottom: var(--space-xxl);

}

.job-intro p {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-sm);
}

.job-intro p:last-child {
    margin-bottom: 0;
}

.job-section {
    margin-bottom: var(--space-xxl);
}

.job-section h2 {
    font-size: var(--font-size-xl);
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--beige);
}

.job-section ul {
    list-style: disc;
    padding-left: var(--space-lg);
    margin-left: 0;
}

.job-section ul li {
    font-size: var(--font-size-md);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-sm);
}

.job-section ul li::marker {
    color: var(--black);
    font-size: 1em;
}

.job-apply {
    margin-top: var(--space-xxl);
    padding: var(--space-xl);
    background: var(--beige-50);
    border-radius: var(--radius-md);
    text-align: center;
}

.job-apply h2 {
    font-size: var(--font-size-xl);
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--space-md);
}

.job-apply p {
    font-size: var(--font-size-lg);
    color: var(--black);
    margin-bottom: var(--space-lg);
}

.job-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: var(--copper);
    color: var(--text-primary);
    border-radius: var(--radius-pill);
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.job-contact-btn:hover {
    background: var(--brown);
    box-shadow: var(--shadow-md);
}

.job-contact-btn img {
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .jobs-section {
        padding: var(--space-xl) var(--space-sm);
    }

    .jobs-header {
        padding: var(--space-xl) var(--space-md);
    }

    .jobs-header h1 {
        font-size: 1.5rem;
    }

    .job-type {
        font-size: var(--font-size-md);
    }

    .jobs-content {
        padding: var(--space-xl) var(--space-md);
    }

    .job-intro {
        padding: var(--space-md);
    }

    .job-intro p {
        font-size: var(--font-size-md);
    }

    .job-section h2 {
        font-size: var(--font-size-lg);
    }

    .job-section ul li {
        font-size: var(--font-size-sm);
    }

    .job-apply {
        padding: var(--space-lg) var(--space-md);
    }

    .job-apply h2 {
        font-size: var(--font-size-lg);
    }

    .job-apply p {
        font-size: var(--font-size-md);
    }

    .job-contact-btn {
        font-size: var(--font-size-md);
        padding: var(--space-sm) var(--space-lg);
        width: 100%;
        justify-content: center;
    }
}