/* =========================================
   VARIABLES & DESIGN TOKENS
   ========================================= */
:root {
    /* Colors - Lemon Chiffon Cream Theme */
    --primary-color: #1a365d; /* Deep slate navy blue */
    --primary-light: #fff7cc;
    --primary-hover: #2b6cb0;
    --secondary-color: #2b6cb0; /* Slate accent blue */
    
    --text-main: #1f2937; /* Dark text */
    --text-muted: #4b5563; /* Slate subtext */
    --bg-main: #faf8f5; /* Very soft warm off-white/porcelain */
    --bg-light: #f2eee7; /* Soft warm light section background */
    --border-color: #e6e0d4;
    
    /* Typography */
    --font-main: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-accent: 'Poppins', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Radii & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transit-fast: 0.2s ease;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-sm);
}

h3, h4 {
    font-family: var(--font-accent);
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: var(--spacing-sm);
}

/* Scroll Reveal Animations (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

body.js-loaded .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

body.js-loaded .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transit-fast);
}

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

ul {
    list-style: none;
}

/* Layout Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: 3.5rem 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary-color); }

.text-white, .text-white p, .text-white h1, .text-white h2 {
    color: #ffffff;
}

.center { text-align: center; }

/* =========================================
   COMPONENTS
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-accent);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transit-fast);
    border: 2px solid transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-white {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    color: var(--primary-color);
}

.btn-outline-white {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline-white:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

/* Section Header */
.section-header {
    margin-bottom: 2rem;
}

.section-header h2,
.cta h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.section-header .subtitle {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header .line {
    display: none;
}

/* =========================================
   SECTIONS
   ========================================= */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-accent);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.15;
}

.logo-sub {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-family: var(--font-accent);
    font-weight: 500;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all var(--transit-fast);
}

.mobile-only-btn {
    display: none;
}

.hide-on-mobile {
    display: inline-flex;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    padding-top: calc(2.5rem + 70px);
    padding-bottom: 3.5rem;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text h1 {
    font-size: 2.95rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero-text h1 span {
    color: var(--secondary-color);
    display: inline;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/5;
    background-color: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 600;
    border: 2px dashed var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

/* Welcome Section */
.welcome-box {
    max-width: 980px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 2.5rem 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.welcome-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 2rem;
    text-align: justify;
    text-justify: inter-word;
    hyphens: manual;
    -webkit-hyphens: manual;
    word-break: normal;
}

.welcome-question {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.welcome-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1rem;
}

.welcome-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.35rem 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main);
}

.welcome-list li:hover {
    border-color: transparent;
    background-color: transparent;
    transform: none;
    box-shadow: none;
}

.welcome-bullet {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .welcome-box {
        padding: 1.75rem 1.25rem;
    }
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-main);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transit-fast), box-shadow var(--transit-fast);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.icon-box {
    width: 44px;
    height: 44px;
    background-color: transparent;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.25rem;
}

.icon-box svg {
    width: 36px;
    height: 36px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card ul {
    margin-top: 1rem;
}

.service-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* About Section */
.about-content {
    max-width: 100%;
}

.about-text-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 2rem;
    text-align: justify;
    text-justify: inter-word;
}

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-main);
}

.feature-list svg {
    width: 22px;
    height: 22px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

/* CTA Section */
.cta-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
footer {
    background-color: #0f172a; /* Very dark blue */
    color: #e2e8f0;
    padding-top: var(--spacing-xl);
}

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

.footer-logo-img {
    max-width: 250px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin-top: -3.5rem;
}

footer h3, footer h4 {
    color: #fff;
}

footer a {
    color: #94a3b8;
}

footer a:hover {
    color: #fff;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    transition: all var(--transit-fast);
}

.footer-social-link:hover {
    color: #38bdf8;
    transform: translateX(3px);
}

.footer-social-link svg {
    flex-shrink: 0;
}

footer li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

/* =========================================
   ELEMENTS (Banner, Modal)
   ========================================= */

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.calendar-modal-content {
    max-width: 900px;
    padding: 0;
    overflow-y: auto;
    max-height: 95vh;
}

.calendar-layout {
    display: flex;
    flex-wrap: wrap;
}

.calendar-info {
    flex: 1;
    min-width: 100%;
    background-color: var(--bg-light);
    padding: 2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .calendar-info {
        min-width: 300px;
        padding: 3rem 2.5rem;
        border-right: 1px solid var(--border-color);
        border-bottom: none;
    }
}

.calendar-info h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.info-item svg {
    color: var(--secondary-color);
}

.calendar-info .divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1.25rem 0;
}

.selected-date {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary-color);
}

.booking-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.booking-inputs .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.booking-inputs label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    font-family: var(--font-accent);
}

.booking-inputs input,
.booking-inputs textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.875rem;
    color: var(--text-main);
    background-color: #fff;
    transition: border-color var(--transit-fast), box-shadow var(--transit-fast);
}

.booking-inputs input:focus,
.booking-inputs textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 139, 0.15);
}

.confirm-btn {
    width: 100%;
}

.booking-success-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
}

.success-icon-badge {
    width: 52px;
    height: 52px;
    background-color: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 0.75rem;
}

.booking-success-box h3 {
    color: #15803d;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-family: var(--font-accent);
}

.booking-success-box p {
    color: #166534;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.booking-success-box .success-sub-text {
    color: #4b5563;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.calendar-picker {
    flex: 2;
    min-width: 100%;
    padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
    .calendar-picker {
        min-width: 350px;
        padding: 3rem 2.5rem;
    }
}

.calendar-picker h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-nav {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transit-fast);
    color: var(--primary-color);
    font-weight: bold;
}

.calendar-nav:hover {
    background-color: var(--primary-light);
    border-color: var(--secondary-color);
}

.month-year {
    font-weight: 600;
    color: var(--text-main);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 0.5rem;
}

.calendar-grid.days {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.calendar-grid.dates span {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 0.9rem;
    color: #cbd5e1;
    cursor: default;
}

@media (min-width: 400px) {
    .calendar-grid.dates span {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
}

.calendar-grid.dates span.available {
    color: var(--primary-color);
    background-color: var(--primary-light);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transit-fast);
}

.calendar-grid.dates span.available:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.calendar-grid.dates span.selected {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
}

.time-slots {
    margin-top: 2.5rem;
}

.selected-date {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
}

@media (min-width: 400px) {
    .slots {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 1rem;
    }
}

.slot-btn {
    padding: 0.75rem;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transit-fast);
}

.slot-btn:hover {
    background-color: var(--primary-light);
}

.slot-btn.active {
    background-color: var(--primary-color);
    color: #fff;
}

.confirm-btn {
    width: 100%;
    margin-top: 2rem;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.close-btn:hover {
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 900px) {
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hide-on-mobile {
        display: none; /* Hide primary button on header */
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding: 2rem;
    }
    
    .nav-links.nav-active {
        right: 0;
    }
    
    .mobile-only-btn {
        display: inline-flex;
        margin-top: 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        margin: 0 auto 2rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .calendar-picker h3 {
        font-size: 1.1rem;
    }
    
    .month-year {
        font-size: 0.9rem;
    }
}

/* =========================================
   LEGAL PAGE STYLES (Impressum / Datenschutz)
   ========================================= */
.legal-page {
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.legal-page h1 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.legal-page h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.legal-page hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 1.75rem 0;
}

.legal-page p {
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-page a {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .legal-page {
        padding: 2rem 1.5rem;
    }
}

/* =========================================
   BACK TO TOP BUTTON
   ========================================= */
.back-to-top {
    position: fixed;
    bottom: 2.25rem;
    right: 2.25rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}
