/* ════════════════════════════════════════════
   Mr. Barberko – Hauptstylesheet
   ════════════════════════════════════════════ */

/* ── Variablen ── */
:root {
    --beige:       #f5ede0;
    --beige-dark:  #e8d9c4;
    --brown:       #6b4226;
    --brown-light: #9c6644;
    --brown-dark:  #3d2010;
    --text-dark:   #2b1a0e;
    --text-muted:  #7a6352;
}

/* ── Base ── */
* {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--beige);
    color: var(--text-dark);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

/* ════════════════════════════════════════════
   SHARED: Navbar
   ════════════════════════════════════════════ */
.navbar {
    background-color: var(--beige);
    padding: 1rem 0;
    border-bottom: 1px solid var(--beige-dark);
    box-shadow: 0 2px 12px rgba(107, 66, 38, 0.08);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--brown-dark) !important;
    letter-spacing: 1px;
    text-decoration: none;
}

.navbar-brand span {
    color: var(--brown);
}

.nav-link {
    color: var(--brown) !important;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--brown-dark) !important;
}

/* ── Animated Burger ── */
.burger-btn {
    background: none;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
}

@media (min-width: 992px) {
    .burger-btn {
        display: none;
    }
}

.burger-btn .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--brown-dark);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

.burger-btn.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.open .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ════════════════════════════════════════════
   SHARED: Footer
   ════════════════════════════════════════════ */
footer {
    background-color: var(--brown-dark);
    color: rgba(245, 237, 224, 0.7);
    padding: 2.5rem 0;
    font-size: 0.88rem;
}

footer .brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--beige);
}

footer a {
    color: rgba(245, 237, 224, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--beige);
}

/* ════════════════════════════════════════════
   SHARED: Legal pages (Impressum, Datenschutz)
   ════════════════════════════════════════════ */
.page-header {
    background: linear-gradient(135deg, var(--brown-dark), var(--brown));
    padding: 5rem 0 3.5rem;
    margin-top: 73px;
}

.page-header .label {
    color: rgba(245, 237, 224, 0.65);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.page-header h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0;
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brown);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--brown-dark);
}

.legal-content h2 {
    color: var(--brown-dark);
    font-size: 1.35rem;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--beige-dark);
}

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

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

.legal-content p,
.legal-content address,
.legal-content li {
    color: var(--text-muted);
    line-height: 1.85;
    font-style: normal;
    font-size: 0.96rem;
    margin-bottom: 0.8rem;
}

.legal-content ul {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

.legal-content a {
    color: var(--brown);
    text-decoration: none;
}

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

.info-box {
    background: #fff;
    border: 1px solid var(--beige-dark);
    border-left: 4px solid var(--brown-light);
    border-radius: 0.75rem;
    padding: 1.2rem 1.5rem;
    margin-top: 2.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.last-updated {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: block;
}

/* ════════════════════════════════════════════
   INDEX: Buttons
   ════════════════════════════════════════════ */
.btn-booking {
    background-color: var(--brown);
    color: var(--beige);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    border: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(107, 66, 38, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-booking:hover {
    background-color: var(--brown-dark);
    color: var(--beige);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(107, 66, 38, 0.4);
}

.btn-booking-outline {
    background: transparent;
    color: var(--brown);
    border: 2px solid rgba(107, 66, 38, 0.4);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-booking-outline:hover {
    border-color: var(--brown);
    color: var(--brown-dark);
    background: rgba(107, 66, 38, 0.07);
}

/* ════════════════════════════════════════════
   INDEX: Hero
   ════════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    background: linear-gradient(150deg, var(--beige) 0%, var(--beige-dark) 60%, #ddc9ae 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236b4226' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
    display: inline-block;
    background-color: rgba(107, 66, 38, 0.1);
    border: 1px solid rgba(107, 66, 38, 0.25);
    color: var(--brown);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--brown-dark);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--brown);
    display: block;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 480px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-scissors {
    font-size: 18rem;
    color: rgba(107, 66, 38, 0.06);
    position: absolute;
    right: 3%;
    bottom: 5%;
    transform: rotate(-20deg);
    pointer-events: none;
}

/* ════════════════════════════════════════════
   INDEX: Sections generic
   ════════════════════════════════════════════ */
section {
    padding: 6rem 0;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brown-light);
    font-weight: 500;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--brown-dark);
    margin-top: 0.5rem;
    margin-bottom: 1.2rem;
}

.divider {
    width: 50px;
    height: 3px;
    background: var(--brown-light);
    border-radius: 2px;
    margin: 0 auto 2.5rem;
}

/* ════════════════════════════════════════════
   INDEX: About
   ════════════════════════════════════════════ */
.about-section {
    background-color: #fff;
}

.about-img-wrap {
    position: relative;
    display: inline-block;
}

.about-img-wrap img {
    border-radius: 1rem;
    width: 100%;
    max-width: 480px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(107, 66, 38, 0.2);
}

/* ════════════════════════════════════════════
   INDEX: Services
   ════════════════════════════════════════════ */
.services-section {
    background-color: var(--beige);
}

.service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--beige-dark);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(107, 66, 38, 0.12);
    border-color: var(--brown-light);
}

.service-icon {
    font-size: 2rem;
    color: var(--brown);
    margin-bottom: 1rem;
    display: block;
}

.service-card h4 {
    color: var(--brown-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--brown);
    font-weight: 700;
}

.service-card-cta {
    background: linear-gradient(135deg, var(--brown-dark), var(--brown));
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(61, 32, 16, 0.25);
}

.service-card-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px rgba(61, 32, 16, 0.35);
}

.service-card-cta .cta-text h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.service-card-cta .cta-text p {
    color: rgba(245, 237, 224, 0.75);
    font-size: 0.9rem;
    margin: 0;
}

.service-card-cta .cta-arrow {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 50px;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s;
}

.service-card-cta:hover .cta-arrow {
    background: rgba(255, 255, 255, 0.25);
}

/* ════════════════════════════════════════════
   INDEX: Booking CTA section
   ════════════════════════════════════════════ */
.cta-section {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
    color: var(--beige);
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
}

.cta-section p {
    color: rgba(245, 237, 224, 0.8);
    font-size: 1.1rem;
    font-weight: 300;
}

/* ════════════════════════════════════════════
   INDEX: Opening Hours
   ════════════════════════════════════════════ */
.hours-section {
    background-color: #fff;
}

.hours-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--beige-dark);
    color: var(--text-dark);
}

.hours-table td:first-child {
    font-weight: 500;
    color: var(--brown);
    width: 50%;
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.closed {
    color: var(--text-muted) !important;
}

/* ════════════════════════════════════════════
   INDEX: Contact
   ════════════════════════════════════════════ */
.contact-section {
    background-color: var(--beige);
}

.contact-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--beige-dark);
    text-align: center;
    height: 100%;
    transition: box-shadow 0.3s;
}

.contact-card:hover {
    box-shadow: 0 10px 30px rgba(107, 66, 38, 0.1);
}

.contact-card i {
    font-size: 2rem;
    color: var(--brown);
    margin-bottom: 1rem;
}

.contact-card h5 {
    color: var(--brown-dark);
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.contact-card p,
.contact-card a {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--brown);
}

/* ════════════════════════════════════════════
   INDEX: Sticky booking button
   ════════════════════════════════════════════ */
.sticky-book {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    white-space: nowrap;
    transition: opacity 0.3s, transform 0.3s;
}

.sticky-book.hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}
