/* ============================= */
/* Strandsehnsucht Main Styles  */
/* ============================= */

/* Root Variables */
:root, [data-bs-theme=light] {
    --bs-primary: #b76b02;
    --bs-primary-rgb: 183,107,2;
    --bs-primary-text-emphasis: #492B01;
    --bs-primary-bg-subtle: #F1E1CC;
    --bs-primary-border-subtle: #E2C49A;
    --bs-secondary: #634100;
    --bs-secondary-rgb: 99,65,0;
    --bs-secondary-text-emphasis: #281A00;
    --bs-secondary-bg-subtle: #E0D9CC;
    --bs-secondary-border-subtle: #C1B399;
    --bs-success: #FF7E6B;
    --bs-success-rgb: 255,126,107;
    --bs-success-text-emphasis: #66322B;
    --bs-success-bg-subtle: #FFE5E1;
    --bs-success-border-subtle: #FFCBC4;
    --bs-body-color: #4B4B4B;
    --bs-body-color-rgb: 75,75,75;
    --bs-body-bg: #fdfbf9;
    --bs-body-bg-rgb: 253,251,249;
}

/* Body & Typography */
body {
    padding-top: 140px;
    background: var(--bs-body-bg);
    font-family: 'Didact Gothic', sans-serif;
    font-size: 1.2rem;
    color: var(--bs-body-color);
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
}

h1, h2, h3 {
    color: var(--bs-primary);
    margin-bottom: 10px;
    font-weight: 700;
    font-family: 'Shadows Into Light Two', serif;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.0rem; }
h3 { font-size: 1.2rem; }

/* Navigation */
#navigation {
    position: fixed;
    top: 20px;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -20px);
    animation: navbar-in 0.7s cubic-bezier(.42,2,.39,.97) 0.3s 1 forwards;
    width: calc(100% - 64px);
    max-width: 1200px;
    border-radius: 4rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    background: rgba(255,255,255,0.95);
    transition: box-shadow 0.3s cubic-bezier(.4,2,.5,1), 
                background 0.3s cubic-bezier(.4,2,.5,1), 
                top 0.3s;
    z-index: 1000;
    border: none !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: 'Didact Gothic', sans-serif;
    font-size: 18px;
}

#navigation .container-fluid {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

@keyframes navbar-in {
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 768px) {
    #navigation {
        width: calc(100% - 10px);
        top: 10px;
        border-radius: 2rem;
        max-width: 100%;
    }
    
    #navigation .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Navigation Links Animation */
#navigation .nav-link {
    position: relative;
    overflow: hidden;
    transition: color 0.25s;
}

#navigation .nav-link::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0.2em;
    height: 3px;
    background: var(--bs-primary);
    border-radius: 2px;
    opacity: 0.85;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.32s cubic-bezier(.22,1,.36,1), opacity 0.18s;
    pointer-events: none;
}

#navigation .nav-link:hover::after,
#navigation .nav-link:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
}

#navigation .nav-link.active::after {
    transform: scaleX(1.1);
    opacity: 1;
    animation: underline-grow 2.1s ease-in-out infinite alternate;
}

@keyframes underline-grow {
    0%, 60%, 100% { height: 2px; }
    30% { height: 4px; }
}

/* Buttons */
.btn-primary {
    --bs-btn-color: #FFFFFF;
    --bs-btn-bg: #b76b02;
    --bs-btn-border-color: #b76b02;
    --bs-btn-hover-color: #FFFFFF;
    --bs-btn-hover-bg: #C28128;
    --bs-btn-hover-border-color: #BE7A1B;
    --bs-btn-focus-shadow-rgb: 27,16,0;
    --bs-btn-active-color: #FFFFFF;
    --bs-btn-active-bg: #C58935;
    --bs-btn-active-border-color: #BE7A1B;
    border-radius: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.btn-outline-primary {
    --bs-btn-color: #b76b02;
    --bs-btn-border-color: #b76b02;
    --bs-btn-hover-color: #FFFFFF;
    --bs-btn-hover-bg: #b76b02;
    --bs-btn-hover-border-color: #b76b02;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Footer */
footer {
    background: rgba(255,255,255,0.9);
    border-top: 1px solid var(--bs-secondary-border-subtle);
    margin-top: 60px;
}

/* Utility Classes */
.step-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
}

.step-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.08);
    height: 100%;
}

.thumb-square {
    width: 72px;
    height: 72px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.thumb-square:hover {
    transform: scale(1.05);
}

.fade-img {
    transition: opacity 0.3s ease-in-out;
}

/* BS Icons (falls benötigt) */
.bs-icon {
    --bs-icon-size: 0.75rem;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    font-size: var(--bs-icon-size);
    width: calc(var(--bs-icon-size) * 2);
    height: calc(var(--bs-icon-size) * 2);
    color: var(--bs-primary);
}

.bs-icon-xs {
    --bs-icon-size: 1rem;
    width: calc(var(--bs-icon-size) * 1.5);
    height: calc(var(--bs-icon-size) * 1.5);
}

.bs-icon-sm { --bs-icon-size: 1rem; }
.bs-icon-md { --bs-icon-size: 1.5rem; }
.bs-icon-lg { --bs-icon-size: 2rem; }
.bs-icon-xl { --bs-icon-size: 2.5rem; }

.bs-icon.bs-icon-primary {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.bs-icon.bs-icon-primary-light {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.2);
}

.bs-icon.bs-icon-circle {
    border-radius: 50%;
}

.bs-icon.bs-icon-rounded {
    border-radius: 0.5rem;
}