/* ============================================
   Alzera - Hair & Beauty · Extensions
   ============================================ */

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

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --beige-light: #f5efe8;
    --beige: #e8ddd3;
    --beige-medium: #d4c5b5;
    --beige-dark: #c9b99a;
    --gold: #b8956a;
    --gold-dark: #9a7a55;
    --text-dark: #2c2c2c;
    --text-medium: #5a5a5a;
    --text-light: #8a8a8a;
    --white: #ffffff;
    --font-script: 'Great Vibes', cursive;
    --font-sans: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--beige-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(245, 239, 232, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--beige-medium);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo-img {
    height: 50px;
    width: auto;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-medium);
    position: relative;
    padding-bottom: 4px;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link.active {
    color: var(--text-dark);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

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

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

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

/* --- Hero / Willkommen --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('../images/hero.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 14, 10, 0.82) 0%,
        rgba(30, 20, 14, 0.75) 50%,
        rgba(20, 14, 10, 0.82) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__title {
    margin-bottom: 24px;
}

.hero__logo {
    max-width: 420px;
    width: 80vw;
    height: auto;
}

.hero__subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 24px;
}

.hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hero__divider::before,
.hero__divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.8;
}

.hero__heart {
    color: var(--gold);
    font-size: 1rem;
}

.hero__tagline {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.hero__slogan {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--white);
}

.hero__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero__cta {
    display: inline-block;
    padding: 16px 44px;
    border: 1.5px solid var(--white);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.hero__cta--primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.hero__cta--primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
}

.hero__cta:hover {
    background: var(--beige);
    border-color: var(--beige);
    color: var(--text-dark);
}

/* --- Section Shared --- */
.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--beige);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-family: var(--font-script);
    font-size: 3.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section__divider::before,
.section__divider::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.section__subtitle {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 300;
    letter-spacing: 1px;
}

/* --- Leistungen --- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 36px 28px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid var(--beige-medium);
    position: relative;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    background: var(--gold);
    border: 1.5px solid var(--gold);
    border-radius: 50%;
}

.service-card__icon svg {
    width: 28px;
    height: 28px;
}

.service-card__title {
    font-family: var(--font-script);
    font-size: 1.9rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card__text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* --- Preisliste --- */
.prices__categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.prices__tab {
    padding: 12px 32px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1.5px solid var(--beige-medium);
    border-radius: 30px;
    background: transparent;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.prices__tab:hover,
.prices__tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.prices__table {
    max-width: 650px;
    margin: 0 auto;
}

.prices__panel {
    display: none;
}

.prices__panel.active {
    display: block;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid var(--beige-medium);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row__name {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-dark);
}

.price-row__dots {
    flex: 1;
    border-bottom: 1px dotted var(--beige-dark);
    margin: 0 16px;
    min-width: 40px;
    position: relative;
    top: -4px;
}

.price-row__price {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gold-dark);
    white-space: nowrap;
}

.prices__category-title {
    font-family: var(--font-script);
    font-size: 1.7rem;
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
}

.prices__category-title:first-child {
    margin-top: 0;
}

/* --- Kontakt --- */
.contact-section {
    overflow: hidden;
}

.contact__top {
    background: var(--text-dark);
    padding: 100px 0 80px;
    text-align: center;
}

.contact__heading {
    font-family: var(--font-script);
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.contact__intro {
    font-size: 1.1rem;
    color: var(--beige-medium);
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.8;
}

.contact__cta-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.contact__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact__cta-btn--call {
    background: var(--gold);
    color: var(--white);
}

.contact__cta-btn--call:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 149, 106, 0.35);
}

.contact__cta-btn--mail {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.contact__cta-btn--mail:hover {
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

.contact__social-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact__social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--beige-medium);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact__social-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.contact__bottom {
    background: var(--beige);
    padding: 64px 0;
}

.contact__info-row {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.contact__address,
.contact__hours {
    flex: 1;
}

.contact__info-icon {
    color: var(--gold);
    margin-bottom: 16px;
}

.contact__address h3,
.contact__hours h3 {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact__address p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.contact__route-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 28px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gold-dark);
    border: 1.5px solid var(--gold);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact__route-btn:hover {
    background: var(--gold);
    color: var(--white);
}

.contact__divider-line {
    width: 1px;
    background: var(--beige-medium);
    align-self: stretch;
    flex-shrink: 0;
}

.hours-table {
    width: 100%;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--beige-medium);
    font-size: 1.05rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row__day {
    font-weight: 400;
    color: var(--text-dark);
}

.hours-row__time {
    color: var(--text-medium);
}

/* --- Footer --- */
.footer {
    background: var(--text-dark);
    color: var(--beige-medium);
    padding: 32px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer__links {
    margin-bottom: 12px;
}

.footer__links a {
    color: var(--beige-medium);
    margin: 0 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.footer__links a:hover {
    color: var(--gold);
}

.footer__copy {
    color: var(--text-light);
}

.footer__credit {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 8px;
}

.footer__credit a {
    color: var(--beige-medium);
}

.footer__credit a:hover {
    color: var(--gold);
}

/* --- Legal Pages --- */
.legal {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal h1 {
    font-family: var(--font-script);
    font-size: 3rem;
    margin-bottom: 40px;
    text-align: center;
}

.legal h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.legal p,
.legal ul {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal ul {
    padding-left: 20px;
}

.legal a {
    color: var(--gold-dark);
}

/* --- Floating Buttons --- */
.floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 900;
}

.floating__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating__item:hover {
    transform: translateY(-3px);
}

.floating__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.floating__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.floating__label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    background: var(--white);
    padding: 3px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* --- Modal --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 40px 36px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.modal.open .modal__content {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal__close:hover {
    color: var(--text-dark);
}

.modal__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.modal__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.modal__title {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--text-dark);
}

.modal__subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal__field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 6px;
}

.modal__field input,
.modal__field select,
.modal__field textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 1.5px solid var(--beige-medium);
    border-radius: 12px;
    background: var(--beige-light);
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s;
}

.modal__field input:focus,
.modal__field select:focus,
.modal__field textarea:focus {
    border-color: var(--gold);
}

.modal__field textarea {
    resize: vertical;
}

.modal__field-hint {
    display: block;
    font-size: 0.8rem;
    margin-top: 6px;
    color: var(--text-light);
}

.modal__field-hint.error {
    color: #c0392b;
}

.modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal__submit {
    margin-top: 8px;
    padding: 16px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal__submit:hover {
    background: var(--gold-dark);
}

/* Switch */
.modal__switch {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--beige-light);
    border-radius: 12px;
    margin-bottom: 4px;
}

.modal__switch-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch__slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--beige-medium);
    border-radius: 26px;
    transition: background 0.3s ease;
}

.switch__slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.switch input:checked + .switch__slider {
    background: var(--gold);
}

.switch input:checked + .switch__slider::before {
    transform: translateX(22px);
}

#terminFields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
}

#terminFields.hidden {
    display: none;
}

.modal__success {
    text-align: center;
    padding: 24px 0;
}

.modal__success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.modal__success h3 {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.modal__success p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
}

/* --- SVG Icons (inline) --- */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

/* --- Screen Reader Only --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__list {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(245, 239, 232, 0.98);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--beige-medium);
    }

    .nav__list.open {
        display: flex;
    }

    .nav__link {
        font-size: 0.9rem;
    }

    .hero__title {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .section {
        padding: 64px 0;
    }

    .section__title {
        font-size: 2.2rem;
    }

    .contact__top {
        padding: 64px 0 56px;
    }

    .contact__cta-btn {
        width: 100%;
        justify-content: center;
    }

    .contact__info-row {
        flex-direction: column;
        gap: 40px;
    }

    .contact__divider-line {
        width: 100%;
        height: 1px;
        align-self: auto;
    }

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

    .floating {
        right: 16px;
        bottom: 16px;
    }

    .floating__avatar,
    .floating__icon {
        width: 52px;
        height: 52px;
    }

    .modal__content {
        padding: 32px 24px;
    }

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