:root {
    --bg-dark: #121212;
    --text-dark: #e0e0e0;
    --bg-light: #f4f4f4;
    --text-light: #333;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-black: rgba(0, 0, 0, 0.05);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.dark-mode {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

body.light-mode {
    background-color: var(--bg-light);
    color: var(--text-light);
}

body.light-mode h2,
body.light-mode #rates-title {
    color: var(--text-light) !important;
    opacity: 1;
}

/* Nav-Bar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    z-index: 1000;
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color var(--transition);
}

.theme-switch {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.theme-switch:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.theme-switch svg {
    width: 22px;
    height: 22px;
}

body.light-mode .theme-switch {
    background: var(--glass-black);
    border-color: rgba(0, 0, 0, 0.1);
}

.languages span {
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    display: inline-block;
    padding-bottom: 4px;
    margin-left: 20px;
    border-bottom: 2px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
}

.languages span.active {
    opacity: 1;
    font-weight: bold;
    border-bottom-color: currentColor;
}

body.light-mode nav {
    background-color: var(--bg-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Visually Hidden (for screen readers only) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Language Switcher (spans with button role) */
.languages span {
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    display: inline-block;
    padding-bottom: 4px;
    margin-left: 20px;
    border-bottom: 2px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
}

.languages span.active {
    opacity: 1;
    font-weight: bold;
    border-bottom-color: currentColor;
}

.languages span:hover {
    opacity: 0.8;
}

.languages span:focus {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}


/* Dark-Mode */
body.dark-mode .booking-pill {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #fff;
}

body.dark-mode .booking-text {
    color: #000000 !important;
}

.booking-pill:hover .booking-text {
    opacity: 1;
}

/* Sections */
section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 10%;
}

.full-section {
    padding-top: 100px;
    min-height: 100vh;
}

.split {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 300;
}

h2 {
    font-size: 2.0rem;
    margin-bottom: 15px;
    font-weight: 300;
}

p {
    max-width: 650px;
    line-height: 1.8;
    font-size: 1.15rem;
    opacity: 0.85;
}

/* Half-Section */
.half-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 50vh;
    flex-direction: row;
    width: 100%;
}

/* Profile-Photo */
.profile-photo {
    width: 100%;
    max-width: 180px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    display: block;
}

.profile-photo:hover {
    transform: scale(1.5);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.content-container p {
    margin-bottom: 30px;
    line-height: 1.6;
}

.content-container h3 {
    margin-top: 40px;
    color: #ffffff;
}

/* Das Formular-Feld passt sich jetzt dem Licht an */
.contact-input,
.contact-text-area {
    /* Hintergrund: Etwas dunkleres Glas, damit es auf Hell UND Dunkel abhebt */
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(15px);

    /* Rahmen: Muss immer sichtbar sein */
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;

    /* TEXT: Wir nutzen ein sehr dunkles Grau/Schwarz als Basis für Lesbarkeit */
    color: #1a1a1a;
    font-family: 'montserratregular', sans-serif;
    font-size: 1.25rem;
    padding: 22px;
    width: 90%;
    max-width: 900px;
    margin-bottom: 15px;
    outline: none;
    transition: all 0.3s ease;
}

/* Platzhalter: Etwas dunkler, damit man ihn sieht */
.contact-input::placeholder,
.contact-text-area::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Spezifisch für den DARKMODE (falls du eine .dark-mode Klasse am Body hast) */
/* Falls nicht, nutzen wir hier einen "Glass-Trick" für beide Welten */
body.dark-theme .contact-input,
body.dark-theme .contact-text-area {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

body.dark-theme .contact-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Fokus-Effekt */
.contact-input:focus,
.contact-text-area:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: #000;
    /* Klarer schwarzer Rand bei Fokus */
}

/* Der Button muss knallen */
.glass-submit-btn {
    all: unset;
    cursor: pointer;
    background: #1a1a1a;
    /* Solider Hintergrund im Hellen */
    color: #ffffff;
    padding: 21px 68px;
    font-size: 1.25rem;
    border-radius: 50px;
    font-family: 'montserratbold', sans-serif;
    transition: all 0.3s ease;
    text-align: center;
    pointer-events: auto;
}

.glass-submit-btn:hover {
    background: #444;
    transform: translateY(-2px);
}

/* 1. Basis-Stil (Light-Mode Standard) */
.contact-input,
.contact-text-area {
    background: var(--glass-black);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;

    /* Textfarbe aus deinen Root-Variablen */
    color: var(--text-light);
    font-family: inherit;
    font-size: 1.25rem;
    padding: 22px;
    width: 90%;
    max-width: 900px;
    margin-bottom: 15px;
    outline: none;
    transition: all var(--transition);
}

.contact-input::placeholder,
.contact-text-area::placeholder {
    color: var(--text-light);
    opacity: 0.5;
}

/* 2. Spezifisch für DARK-MODE (Korrektur des Klassennamens) */
body.dark-mode .contact-input,
body.dark-mode .contact-text-area {
    background: var(--glass-white);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

body.dark-mode .contact-input::placeholder,
body.dark-mode .contact-text-area::placeholder {
    color: var(--text-dark);
    opacity: 0.4;
}

/* 3. Fokus-Effekt (In beiden Modi sichtbar) */
.contact-input:focus,
.contact-text-area:focus {
    background: rgba(128, 128, 128, 0.1);
    border-color: currentColor;
    /* Nutzt die aktuelle Textfarbe als Rand */
}

/* 4. Der Button-Fix */
.glass-submit-btn {
    all: unset;
    cursor: pointer;
    background: var(--text-light);
    /* Schwarz im Lightmode */
    color: var(--bg-light);
    /* Weißer Text im Lightmode */
    padding: 21px 68px;
    font-size: 1.25rem;
    border-radius: 50px;
    font-weight: bold;
    transition: all var(--transition);
    text-align: center;
    pointer-events: auto;
}

body.dark-mode .glass-submit-btn {
    background: var(--text-dark);
    /* Weißlich im Darkmode */
    color: var(--bg-dark);
    /* Schwarzer Text im Darkmode */
}

.glass-submit-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Method-Icons */
.method-icon {
    width: 90px;
    height: auto;
    transition: var(--transition);
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.method-icon:hover {
    transform: translateY(-8px) scale(1.1);
}

/* Glass-Button */
.glass-icon {
    width: 90px;
    height: 90px;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

/* Hover-Action */
.glass-icon:hover {
    transform: translateY(-10px) scale(1.1);
    background: rgb(255, 255, 255);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Brightning-Hover */
.glass-icon:hover .method-icon {
    opacity: 1;
    ;
}

/* Reset-Brightning-Hover-Mode */
body.light-mode .booking-pill {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

body.light-mode .booking-text {
    color: #000000 !important;
}

/* Footer */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 50px;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.footer-col {
    flex: 1;
    display: flex;
}

footer {
    width: 100%;
    padding: 40px 0;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    display: flex;
    align-items: center;
}

.footer-col {
    flex: 1;
    display: flex;
    align-items: center;
}

.footer-col:nth-child(1) {
    justify-content: flex-start;
}

.footer-col:nth-child(2) {
    justify-content: center;
}

.footer-col:nth-child(3) {
    justify-content: flex-end;
}

.social-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#social-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    opacity: 0.5;
}

.social-footer {
    width: 35px;
    height: auto;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.social-link:hover #social-label {
    opacity: 1;
}

.social-link:hover .social-footer {
    transform: translateY(-3px);
}

.social-footer:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

.footer-link,
.footer-divider {
    font-size: 0.8rem;
    opacity: 0.6;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
}

/* Modal Background (The dark blur) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* The Glass Box */
.modal-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin: 10% auto;
    padding: 30px;
    width: 80%;
    max-width: 600px;
    color: white;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.close-btn {
    float: right;
    font-size: 28px;
    cursor: pointer;
}

/* Responsive */

/* Ipad-and-Mac */
@media screen and (min-width: 768px) {

    .photo-container {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 20px 0;
        overflow: visible;
    }
}

/* Ipad-Scale (768px and up) */
@media screen and (min-width: 768px) {
    .profile-photo {
        max-width: 280px;
        border-width: 6px;
    }
}

/* Mac-and-Desktop-Scale (1024px and up) */
@media screen and (min-width: 1024px) {
    .profile-photo {
        max-width: 400px;
        border-width: 8px;
    }
}

/* Mobile Optimization for iPhone SE and smaller */
@media screen and (max-width: 480px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
        text-align: center;
    }
}