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

:root {
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --accent-color: #111827;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    gap: 1rem;
}


.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    height: 50px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-brand a:hover {
    opacity: 0.8;
}

.nav-brand img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
    opacity: 0.95;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-lang-wrap {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* Language toggle: EN [track with thumb + flag] DE */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.lang-option {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

html[lang="de"] .lang-option.lang-en {
    color: #9ca3af;
}

html[lang="de"] .lang-option.lang-de {
    color: var(--text-dark);
}

html[lang="en"] .lang-option.lang-en {
    color: var(--text-dark);
}

html[lang="en"] .lang-option.lang-de {
    color: #9ca3af;
}

.lang-track {
    --track-h: 1.5rem;
    --track-inner: calc(var(--track-h) - 3px); /* content height after 1.5px border top+bottom */
    --thumb-size: var(--track-h); /* thumb fills track height and reaches track edges */
    position: relative;
    display: flex;
    align-items: center;
    width: 3rem;
    height: var(--track-h);
    border-radius: 999px;
    border: 1.5px solid var(--text-dark);
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

.lang-track-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: background 0.25s ease;
    box-sizing: border-box;
}

/* Full track: German flag when DE selected */
html[lang="de"] .lang-track-inner {
    background-image: linear-gradient(to bottom, #000 0%, #000 33.33%, #DD0000 33.33%, #DD0000 66.66%, #FFCE00 66.66%, #FFCE00 100%);
}

/* Full track: UK flag (Union Jack) when EN selected */
html[lang="en"] .lang-track-inner {
    background-color: #012169;
    background-image: url("Assets/flag-uk.svg");
}

.lang-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: var(--thumb-size);
    width: var(--thumb-size);
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--text-dark);
    transition: left 0.25s ease;
    pointer-events: none;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* EN selected = thumb left; DE selected = thumb right (slides) */
html[lang="en"] .lang-thumb {
    left: 0;
}

html[lang="de"] .lang-thumb {
    left: calc(100% - var(--thumb-size));
}

.lang-switch:hover .lang-track {
    border-color: var(--primary-color);
}

.lang-switch:active .lang-thumb {
    transform: scale(0.98);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section – slideshow */
section.hero,
#home.hero,
.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide-active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transform: translateZ(20px);
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-title-line1 {
    display: block;
}

.hero-title-line2 {
    display: block;
    font-size: 0.65em;
    font-weight: 500;
    margin-top: 1rem;
    opacity: 0.95;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-title-more {
    display: block;
    font-size: 0.8em;
    font-weight: 500;
    margin-top: 0.25rem;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--white);
    font-weight: 500;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--bg-dark);
    color: var(--white);
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary:hover {
    background: #1f2937;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.hero-content .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.hero-content .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.scroll-indicator {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 25px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: scroll 2s infinite;
}

.scroll-phone {
    display: none;
}

@media (max-width: 968px) {
    .scroll-indicator {
        display: none;
    }
}


@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Section Styles */
.section {
    padding: 100px 0;
    background: var(--white);
}

.section-dark {
    background: var(--bg-light);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Geschichte Section */
.geschichte-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.geschichte-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.geschichte-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.geschichte-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Marken Section */
.marken-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.marke-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid transparent;
}

.marke-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.marke-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.marke-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.marke-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.marke-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.marke-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.marke-link:hover {
    transform: translateX(5px);
}

.marke-card-coming-soon {
    position: relative;
    opacity: 0.8;
    background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
}

.coming-soon-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Customer Reviews Section – horizontal tabs/cards */
.reviews-carousel {
    position: relative;
    padding: 0 3rem;
}

.reviews-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.reviews-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
}

/* Card width leaves a "peek" of the next card so last + first (clone) are visible = continuous loop */
.reviews-carousel-track .review-card {
    flex: 0 0 auto;
    width: min(380px, calc((100vw - 8rem) * 0.82));
    min-width: 260px;
}

@media (min-width: 768px) {
    .reviews-carousel-track .review-card {
        width: min(360px, calc((100vw - 6rem) / 2 * 0.9));
    }
}

@media (min-width: 1024px) {
    .reviews-carousel-track .review-card {
        width: min(340px, calc((100vw - 6rem) / 3 * 0.92));
    }
}

.reviews-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.reviews-carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.reviews-carousel-prev { left: 0; }
.reviews-carousel-next { right: 0; }

.review-card {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    text-align: left;
    display: inline-block;
    vertical-align: top;
    box-shadow: none;
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #fbf0ca;
    color: #2d2d2d;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-user {
    flex: 1;
    min-width: 0;
}

.review-user .review-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d2d2d;
}

.review-date-meta {
    display: block;
    font-size: 0.78rem;
    color: #757575;
    margin-top: 0.1rem;
}

.review-service {
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    color: #757575;
    white-space: nowrap;
    flex-shrink: 0;
}

.review-rating-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
}

.review-stars {
    color: #0f9d58;
    font-size: 1rem;
    letter-spacing: 0.06em;
}

.review-verified {
    font-size: 0.8rem;
    color: #0f9d58;
    font-weight: 500;
}

.review-body {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #2d2d2d;
    margin: 0 0 0.75rem 0;
}

.review-source {
    font-size: 0.8rem;
    color: #757575;
    font-style: italic;
}

.review-body .review-stay {
    display: block;
    font-size: 0.78rem;
    color: #757575;
    margin-top: 0.35rem;
}

.review-more {
    color: #1a73e8;
    text-decoration: none;
    font-size: 0.9rem;
}

.review-more:hover {
    text-decoration: underline;
}

/* Karriere Section */
.karriere-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.karriere-intro h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.jobs-listing h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.jobs-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.job-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.job-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.job-type {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.job-location {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.job-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Bewerbungsformular Pop-up (themed modal) */
.job-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.job-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.job-modal-box {
    position: relative;
    background: var(--white);
    padding: 0;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-xl);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.job-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 1.5rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.job-modal-close:hover {
    background: var(--primary-color);
    color: var(--white);
}

.job-apply-form {
    background: var(--white);
    padding: 2rem 2rem 2rem 2rem;
    border-radius: 15px;
}

.job-apply-form-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.job-apply-fields .form-row {
    margin-bottom: 1.25rem;
}

.job-apply-fields .form-row-split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.job-apply-fields .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.job-apply-fields label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.job-apply-fields input[type="text"],
.job-apply-fields input[type="email"],
.job-apply-fields input[type="tel"],
.job-apply-fields select,
.job-apply-fields textarea {
    padding: 0.6rem 0.85rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s ease;
}

.job-apply-fields input:focus,
.job-apply-fields select:focus,
.job-apply-fields textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.job-apply-fields input[type="file"] {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.job-apply-fields .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.job-apply-fields .form-actions .btn {
    padding: 0.65rem 1.5rem;
}

@media (max-width: 640px) {
    .job-apply-form { padding: 1.5rem; }
    .job-apply-fields .form-row-split { grid-template-columns: 1fr; }
}

.initiative-bewerbung {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.initiative-bewerbung p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.initiative-bewerbung a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.initiative-bewerbung a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .geschichte-content,
    .karriere-content {
        grid-template-columns: 1fr;
    }

    .marken-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

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

@media (max-width: 640px) {
    .hero {
        min-height: 240px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

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

    .holiday-homes-grid {
        grid-template-columns: 1fr;
    }
}

/* Holiday Homes Page Styles */

/* Medulin Map & Description Section */
.map-description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#medulin-map {
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.map-description-content {
    padding: 0 0.5rem;
}

.map-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.map-description-text {
    color: var(--text-light);
    line-height: 1.8;
}

.map-description-text p {
    margin-bottom: 1.25rem;
}

.map-description-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 968px) {
    .map-description-grid {
        grid-template-columns: 1fr;
    }
    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 640px) {
    .map-wrapper {
        height: 300px;
    }
}

.page-header {
    padding: 140px 0 60px;
    background: var(--bg-light);
}

.page-header-imprint {
    position: relative;
    padding: 200px 0 90px;
    background: var(--bg-light) url('Assets/imprint-header.png') center / cover no-repeat;
}

.page-header-imprint::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.page-header-imprint .container {
    position: relative;
    z-index: 1;
}

.page-header-imprint .page-title,
.page-header-imprint .page-subtitle {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.page-header-imprint .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.page-header-privacy {
    position: relative;
    padding: 200px 0 90px;
    background: var(--bg-light) url('Assets/privacy-header.png') center / cover no-repeat;
}

.page-header-privacy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.page-header-privacy .container {
    position: relative;
    z-index: 1;
}

.page-header-privacy .page-title,
.page-header-privacy .page-subtitle {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.page-header-privacy .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.page-header-content {
    text-align: center;
    padding-top: 0;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-back-wrap {
    margin-bottom: 3rem;
}

.page-back-link {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-dark);
    line-height: 1.7;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.legal-content ul {
    margin: 0.5rem 0 1rem 1.25rem;
    padding: 0;
}

.legal-content li {
    margin-bottom: 0.25rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--primary-dark);
}

/* Privacy accordion – spacious dropdown style */
.privacy-accordion {
    max-width: 720px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

.accordion-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 4rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    font: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-title {
    flex: 1;
    padding-right: 1rem;
    line-height: 1.4;
}

.accordion-icon {
    flex-shrink: 0;
    width: 2rem;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: #9ca3af;
    transition: color 0.2s ease;
}

.accordion-item.is-open .accordion-icon {
    font-weight: 300;
}

.accordion-panel[hidden] {
    display: none;
}

.accordion-body {
    padding: 0.5rem 0 1.5rem 0;
    color: var(--text-dark);
    line-height: 1.7;
}

.accordion-body p {
    margin-bottom: 1rem;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.accordion-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.accordion-body h3:first-child {
    margin-top: 0;
}

.accordion-body ul {
    margin: 0.5rem 0 1rem 1.25rem;
    padding: 0;
}

.accordion-body li {
    margin-bottom: 0.25rem;
}

.accordion-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.accordion-body a:hover {
    color: var(--primary-dark);
}

.legal-updated {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Imprint page grid */
.imprint-grid {
    display: grid;
    grid-template-columns: minmax(160px, 200px) 1fr;
    gap: 1.25rem 2.5rem;
    max-width: 720px;
    margin: 0 auto;
    align-items: start;
    color: var(--text-dark);
    line-height: 1.6;
}

.imprint-label {
    font-weight: 600;
    color: var(--text-dark);
    padding-top: 0.15rem;
}

.imprint-value {
    color: var(--text-dark);
    margin: 0;
}

.imprint-value a {
    color: var(--primary-color);
    text-decoration: underline;
}

.imprint-value a:hover {
    color: var(--primary-dark);
}

@media (max-width: 640px) {
    .imprint-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem 0;
    }
    .imprint-label {
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    .imprint-label:first-child {
        padding-top: 0;
        border-top: none;
    }
}

.holiday-homes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.holiday-home-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.holiday-home-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.holiday-home-image {
    width: 100%;
    height: 220px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.holiday-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
}

.holiday-home-content {
    padding: 1.5rem;
}

.holiday-home-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.holiday-home-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.holiday-home-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.holiday-home-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag-hidden {
    display: none;
}

.feature-tag-hidden.expanded {
    display: inline-block;
    animation: fadeIn 0.3s ease;
}

.feature-expand-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.feature-expand-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.feature-expand-btn:active {
    transform: translateY(0);
}

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

.holiday-home-content .btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.5rem;
}

@media (max-width: 968px) {
    .holiday-homes-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

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

@media (max-width: 640px) {
    .holiday-homes-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 120px 0 40px;
    }

    .page-header-imprint,
    .page-header-privacy {
        padding: 165px 0 70px;
    }
}
