/* =========================================
   FONTS
   ========================================= */
@font-face {
    font-family: "Coda";
    src: url("../fonts/Coda-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "Coda";
    src: url("../fonts/Coda-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}
/* =========================================
   COLORS
   ========================================= */
:root {
    --orange: #E0A33A;
    --orange-light: #E0AF59;
    --blue-dark: #002438;
    --blue-medium: #003049;
    --blue-light: #003954;
    --background: #E0D9CE;
    --white: #FFFFFF;
}
/* =========================================
   BASIC
   ========================================= */
* {
    box-sizing: border-box;
}
html {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    padding: 0;
    font-family: "Coda", sans-serif;
    font-weight: 400;
    background: var(--background);
    color: var(--blue-dark);
}
/* =========================================
   NAVIGATION
   ========================================= */
.site-navigation {
    width: 100%;
    background: var(--orange);
    position: fixed;
    top: 0;
    z-index: 1000;
}
.nav-inner {
    width: 100%;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 15px 10px 30px;
}
/* =========================================
   LOGO
   ========================================= */
.nav-logo {
    display: block;
    flex-shrink: 1;
}
.nav-logo img {
    display: block;
    width: 330px;
    height: auto;
    max-width: 100%;
}
/* =========================================
   MENU
   ========================================= */
.nav-menu {
    display: flex;
    align-items: center;
    transform: translateY(10px);
}
.nav-link,
.nav-theme-label {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 22px;
    color: var(--blue-light);
    font-family: "Coda", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.5s ease;
}
.nav-link:hover {
    color: var(--white);
}
/* Trennlinien */
.nav-menu > * + * {
    border-left: 1px solid var(--white);
}
/* Aktiver Menüpunkt */
.nav-link-active {
    color: var(--white);
}
/* =========================================
   THEMEN
   ========================================= */
.nav-theme {
    position: relative;
}
.nav-theme-label {
    cursor: default;
}
/* =========================================
   MOBILE BUTTON
   ========================================= */
.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translateY(5px);
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    margin: 6px 0;
    background: var(--blue-light);
    border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    max-width: 100%;
    height: auto;
    background: var(--orange);
    z-index: 1100;
    box-shadow: -8px 8px 12px rgba(0, 0, 0, 0.6);
}
.mobile-menu a,
.mobile-menu-heading {
    display: block;
    padding: 14px 22px;
    color: var(--blue-light);
    font-family: "Coda", sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.5s ease;
}
.mobile-menu a:hover {
    color: var(--white);
    background: var(--orange-light);
}
.mobile-menu-active {
    color: var(--white) !important;
}
/* =========================================
   THEME DROPDOWN
   ========================================= */
.theme-menu {
    display: none;
    position: absolute;
    top: calc(100%);
    left: 0;
    min-width: 250px;
    padding: 10px 0;
    background: var(--orange);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.theme-menu a {
    display: block;
    padding: 14px 22px;
    color: var(--blue-light);
    font-family: "Coda", sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.5s ease;
}
.theme-menu a:hover {
    color: var(--white);
    background: var(--orange-light);
}
.mobile-menu a:nth-of-type(2),
.mobile-menu a:nth-of-type(3),
.mobile-menu a:nth-of-type(4),
.mobile-menu a:nth-of-type(5),
.mobile-menu a:nth-of-type(6) {
    padding-left: 42px;
}
/* Desktop: Themen beim Überfahren öffnen */
.nav-theme:hover .theme-menu {
    display: block;
}
/* =========================================
   STARTSEITE – HERO
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 300px);
    height: 1300px;
    min-height: 500px;
    background-size: cover;
    overflow: hidden;
}
.hero-background {
    position: absolute;
    top: 0px;
    left: -125px;
    width: 130%;
    height: 110%;
    background-position: left top;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-position: left top;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
}
.hero-slide:nth-child(1) {
    background-position: 15% top;
}
.hero-slide:nth-child(2) {
    background-position: 15% top;
}
.hero-slide:nth-child(3) {
    background-position: 30% top;
}
.hero-slide:nth-child(4) {
    transform: scaleX(-1);
    background-position: 60% top;
}
.hero-slide:nth-child(5) {
    transform: scaleX(-1);
    background-position: 65% top;
}
.hero-overlay {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 48, 73, 0.48);
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-welcome {
    margin-bottom: 55px;
    color: var(--white);
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    opacity: 0;
    animation: hero-welcome-fade 5s ease forwards;
}
.hero-logo {
    display: block;
    width: 700px;
    max-width: 80%;
    height: auto;
}
.hero + h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@keyframes hero-welcome-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
img,
button,
a.button {
    border-radius: 5px;
}
/* =========================================
   STARTSEITE – INHALT
   ========================================= */
.start-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
    background: var(--background);
}
.intro-box {
    display: flex;
    align-items: center;
    min-height: 0;
    padding: 30px;
    background: var(--blue-dark);
}
.intro-box p {
    margin: 0;
    color: var(--white);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.55;
}
.theme-box {
    padding: 20px;
    background: var(--blue-light);
    text-align: center;
}
.theme-box h2 {
    margin: 0 0 18px;
    color: var(--orange);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}
.theme-box h3 {
    margin: 0 0 30px;
    color: var(--white);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}
.theme-box img {
    display: block;
    width: 100%;
    height: auto;
}
.theme-box a {
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.55);
    transition: color 0.5s ease, background-color 0.5s ease;
    display: block;
    margin-top: 22px;
    padding: 18px 20px;
    background: var(--orange);
    color: var(--white);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
}
.theme-box a:hover {
    color: var(--blue-light);
    background-color: var(--orange-light);
}
.theme-box img {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.0s ease;
}
.theme-box img.is-visible {
    transform: translateY(0);
    opacity: 1;
}
.theme-triple {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px;
    padding: 0 0 20px;
    background: var(--background);
}
/* =========================================
   KUNDENSTIMMEN
   ========================================= */
.customer-reviews {
    padding: 20px 0 20px;
    background: var(--background);
}
.customer-reviews > h2 {
    margin: 0 0 30px;
    color: #666666;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.review-box {
    display: flex;
    flex-direction: column;
    padding: 14px;
    color: var(--white);
    background: var(--blue-dark);
    text-decoration: none;
}
.review-box h3 {
    margin: 0 0 4px;
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}
.review-stars {
    margin-bottom: 22px;
    color: var(--orange);
    font-size: 18px;
    line-height: 1;
    text-align: center;
}
.review-box p {
    margin: 0;
    color: var(--white);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
}
.review-box span {
    margin-top: auto;
    padding-top: 20px;
    color: var(--white);
    font-size: 16px;
    text-align: center;
}
.review-box:hover {
    background: var(--blue-light);
}
.site-footer {
    width: 100%;
    background: var(--blue-dark);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85px;
    padding: 20px 30px;
}
.footer-copyright {
    display: flex;
    align-items: center;
    width: 100%;
    color: var(--white);
    font-size: 12px;
    line-height: 1.4;
}
.footer-copyright a {
    color: var(--orange);
    text-decoration: none;
}
.footer-copyright a:first-of-type {
    margin-left: auto;
}
.footer-copyright span {
    margin: 0 8px;
}
.footer-copyright a:hover {
    color: var(--white);
}
.footer-copyright span {
    color: var(--white);
}
/* =========================================
   MOBILE NAVIGATION
   ========================================= */
@media (max-width: 770px) {
    .nav-menu { display: none; }
    .nav-toggle { display: block; }
    .start-content {
        grid-template-columns: 1fr !important;
    }
    .theme-triple {
        grid-template-columns: 1fr !important;
    }
    .customer-reviews {
        padding-top: 20px;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   GALLERY
   ========================================= */
.gallery-item {
    opacity: 0;
    transform: translateX(-80px);
    transition: transform 0.8s ease, opacity 0.8s ease;
}
.gallery-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
}
.gallery-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.gallery-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 50px;
    height: 50px;
    border: 0;
    color: var(--white);
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}
.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 70px;
    border: 0;
    color: var(--white);
    background: rgba(0, 0, 0, 0.25);
    font-family: Arial, sans-serif;
    font-size: 50px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.gallery-lightbox-prev {
    left: 20px;
}
.gallery-lightbox-next {
    right: 20px;
}
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    color: var(--orange);
    background: rgba(0, 0, 0, 0.5);
}