/* =====================================================
   DIE BOOTSWERKSTATT – Shared Stylesheet
   Farben: Blau (Hauptfarbe) + Koral (Akzent)
   Stil: Modern & minimalistisch, Klassisch & elegant
   ===================================================== */

/* --- Self-Hosted Fonts (DSGVO-konform, kein Google Fonts) --- */
/* Variable Font: eine Datei für alle Gewichtungen (300–700) */
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans.woff2') format('woff2'),
         url('../fonts/OpenSans.woff') format('woff');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/OpenSans-Italic.woff2') format('woff2'),
         url('../fonts/OpenSans-Italic.woff') format('woff');
    font-weight: 300 700;
    font-style: italic;
    font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
    --primary-blue: #486b87;
    --primary-dark: #3a5a75;
    --primary-darker: #2c4a63;
    --accent-light: #6a9ab8;
    --accent-bar: #7cb5d4;
    --accent-coral: #e07060;
    --accent-coral-dark: #c85a4a;
    --accent-coral-light: #e8887a;
    --light-bg: #f4f7f9;
    --cream-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-muted: #5a6a7a;
    --shadow-soft: 0 4px 20px rgba(44, 82, 120, 0.1);
    --shadow-medium: 0 8px 30px rgba(44, 82, 120, 0.15);
    --border-color: #e0e6ec;
    --nav-height: 70px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--accent-coral);
}


/* ============================
   NAVIGATION (Desktop + Mobile)
   ============================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--accent-coral-dark);
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
    background: rgba(180, 72, 58, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Wolfgang-Bereich: Blaue Navigation (dunkler als Hero) */
.site-nav.nav-blue {
    background: var(--primary-darker);
}
.site-nav.nav-blue.scrolled {
    background: rgba(44, 74, 99, 0.98);
}

/* Adrian-Bereich: Koral-Navigation (dunkler als Hero) */
.site-nav.nav-coral {
    background: var(--accent-coral-dark);
}
.site-nav.nav-coral.scrolled {
    background: rgba(180, 72, 58, 0.98);
}

/* Wolfgang-Bereich: Blaues Mobile-Menü */
.mobile-menu.mobile-menu-blue {
    background: var(--primary-dark);
}

/* Logo in Nav */
.nav-logo {
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.3;
}

.nav-logo .nav-logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
}

.nav-logo .nav-logo-sub {
    font-weight: 300;
    font-size: 0.75rem;
    opacity: 0.85;
    letter-spacing: 0.5px;
    display: block;
}

.nav-logo:hover {
    color: rgba(255, 255, 255, 0.85);
}

.nav-logo:hover .nav-logo-sub {
    opacity: 1;
}

/* Bereich-Switcher in Navigation */
.nav-switcher {
    margin-left: 0.75rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
}

.nav-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.4rem 0.9rem !important;
    border-radius: 20px;
    font-size: 0.82rem !important;
    font-weight: 400;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-switcher a::after {
    display: none !important;
}

/* Wechsel-Button: jeweils in der anderen Bereichsfarbe */
.nav-blue .nav-switcher a {
    background: var(--accent-coral);
    color: var(--text-light);
}

.nav-blue .nav-switcher a:hover {
    background: var(--accent-coral-dark);
    color: var(--text-light);
}

.nav-coral .nav-switcher a {
    background: var(--primary-blue);
    color: var(--text-light);
}

.nav-coral .nav-switcher a:hover {
    background: var(--primary-dark);
    color: var(--text-light);
}

.nav-switcher a svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
}

/* Bereich-Switcher Initial-Kreis */
.nav-switcher-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.nav-switcher-initial .switcher-arrow {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 400;
    padding: 0.5rem 0.9rem;
    position: relative;
    transition: color 0.3s ease;
    border-radius: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.9rem;
    right: 0.9rem;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu a:hover {
    color: var(--text-light);
}

/* Burger Button (hidden on desktop) */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-light);
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-coral-dark);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
}

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 300;
    padding: 1rem 2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--white);
}

/* Bereich-Switcher im Mobile-Menü */
.mobile-menu-switcher {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.mobile-menu-switcher span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem;
}

.mobile-menu-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem !important;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem !important;
    border-radius: 30px;
    transition: background 0.3s ease;
}

.mobile-menu-switcher a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* Mobile-Menü Switcher: jeweils in der anderen Bereichsfarbe */
.mobile-menu-blue .mobile-menu-switcher a {
    background: var(--accent-coral);
}

.mobile-menu-blue .mobile-menu-switcher a:hover {
    background: var(--accent-coral-dark);
}

.mobile-menu:not(.mobile-menu-blue) .mobile-menu-switcher a {
    background: var(--primary-blue);
}

.mobile-menu:not(.mobile-menu-blue) .mobile-menu-switcher a:hover {
    background: var(--primary-dark);
}

.mobile-menu-switcher .switcher-initial {
    display: none;
}


/* ============================
   PAGE HERO (Sub-Pages)
   ============================ */
.page-hero {
    padding-top: var(--nav-height);
    background: linear-gradient(160deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    text-align: center;
    padding-bottom: 60px;
    padding-left: 5%;
    padding-right: 5%;
    position: relative;
}

/* Adrian-Bereich: Koral-Hero */
.page-hero-coral {
    background: linear-gradient(160deg, var(--accent-coral) 0%, var(--accent-coral-dark) 100%);
}

.page-hero h1 {
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.05rem;
    font-weight: 300;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero .breadcrumb {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.page-hero .breadcrumb a {
    color: var(--text-light);
    opacity: 0.8;
}

.page-hero .breadcrumb a:hover {
    opacity: 1;
    color: var(--accent-coral-light);
}


/* ============================
   SECTION DEFAULTS
   ============================ */
.section {
    padding: 80px 5%;
}

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

.section-white {
    background: var(--white);
}

.section-cream {
    background: var(--cream-bg);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-blue);
    margin-bottom: 50px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.section-intro {
    text-align: center;
    max-width: 750px;
    margin: -30px auto 50px;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.btn-coral {
    background: var(--accent-coral);
    color: var(--text-light);
}

.btn-coral:hover {
    background: var(--accent-coral-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(224, 112, 96, 0.4);
}

.btn-blue {
    background: var(--primary-blue);
    color: var(--text-light);
}

.btn-blue:hover {
    background: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(72, 107, 135, 0.4);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}


/* ============================
   CARDS
   ============================ */
.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--light-bg);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}


/* ============================
   GRID LAYOUTS
   ============================ */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


/* ============================
   BOAT GRID (Projekte & Gebrauchtmarkt)
   ============================ */
.boat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.boat-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.boat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.boat-card-images {
    position: relative;
    height: 240px;
    background: var(--light-bg);
    overflow: hidden;
    cursor: pointer;
}

.boat-card-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.boat-card:hover .boat-card-images img {
    transform: scale(1.05);
}

.boat-card-badge {
    display: inline-block;
    background: var(--accent-coral);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.boat-card-boatname {
    font-weight: 300;
    font-style: italic;
    color: var(--text-muted);
}

.boat-card-beschreibung {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 1rem;
    padding: 10px 14px;
    background: var(--light-bg);
    border-radius: 4px;
    border-left: 3px solid var(--accent-coral);
}

.boat-card-arbeiten {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    padding: 8px 12px;
    background: var(--light-bg);
    border-radius: 4px;
    border-left: 3px solid var(--primary-blue);
}

.boat-card-arbeiten strong {
    color: var(--text-dark);
    font-weight: 600;
}

.boat-card-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.boat-card-count svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.boat-card-body {
    padding: 1.5rem;
}

.boat-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.boat-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.boat-card-meta .meta-item {
    font-size: 0.82rem;
    color: var(--text-muted);
    background: var(--light-bg);
    padding: 3px 10px;
    border-radius: 3px;
}

.boat-card-meta .meta-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.boat-card-note {
    font-size: 0.85rem;
    color: var(--accent-coral-dark);
    font-style: italic;
    margin-bottom: 1rem;
    padding: 8px 12px;
    background: rgba(224, 112, 96, 0.08);
    border-radius: 4px;
    border-left: 3px solid var(--accent-coral);
}

.boat-card-zubehoer {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.boat-card-zubehoer strong {
    color: var(--text-dark);
}

/* Line-clamp for card previews */
.boat-card-beschreibung.clamped,
.boat-card-arbeiten.clamped,
.boat-card-zubehoer.clamped {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.boat-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.boat-card-price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.boat-card-actions {
    display: flex;
    gap: 10px;
}

.boat-card-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.8rem;
}


/* ============================
   LIGHTBOX
   ============================ */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    cursor: default;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 4px 8px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--text-light);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
    font-size: 1.5rem;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

.lightbox-counter {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}


/* ============================
   DETAIL MODAL (Boat/Project Detail View)
   ============================ */
.detail-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.detail-overlay.open {
    display: flex;
}

.detail-modal {
    background: var(--white);
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
    flex-shrink: 0;
}

.detail-back {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s;
    min-width: 44px;
    min-height: 44px;
}

.detail-back:hover {
    color: var(--accent-coral);
}

.detail-header-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.detail-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.3s;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.detail-close:hover {
    color: var(--accent-coral);
}

.detail-scroll {
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.detail-gallery {
    position: relative;
    background: var(--light-bg);
}

.detail-gallery-main {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.detail-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: var(--text-dark);
    transition: background 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.detail-gallery-nav:hover {
    background: var(--white);
}

.detail-gallery-prev {
    left: 12px;
}

.detail-gallery-next {
    right: 12px;
}

.detail-gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
}

.detail-gallery-thumbs {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    overflow-x: auto;
    background: var(--light-bg);
}

.detail-gallery-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, border-color 0.3s;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.detail-gallery-thumb:hover,
.detail-gallery-thumb.active {
    opacity: 1;
    border-color: var(--accent-coral);
}

.detail-body {
    padding: 2rem;
}

.detail-badge {
    display: inline-block;
    background: var(--accent-coral);
    color: var(--text-light);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.detail-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.detail-meta .meta-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--light-bg);
    padding: 4px 12px;
    border-radius: 3px;
}

.detail-meta .meta-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.detail-price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.detail-section {
    margin-bottom: 1.25rem;
}

.detail-section-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.detail-section-content {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.75;
    white-space: pre-line;
}

.detail-note {
    font-size: 0.9rem;
    color: var(--accent-coral-dark);
    font-style: italic;
    padding: 10px 14px;
    background: rgba(224, 112, 96, 0.08);
    border-radius: 4px;
    border-left: 3px solid var(--accent-coral);
    margin-bottom: 1.25rem;
}

.detail-actions {
    display: flex;
    gap: 10px;
    padding: 0.85rem 1rem;
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-color);
    background: var(--white);
    flex-shrink: 0;
}

.detail-actions .btn {
    flex: 1;
    min-width: 0;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ============================
   FOOTER
   ============================ */
.site-footer {
    background: var(--primary-blue);
    color: var(--text-light);
    padding: 60px 5% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.65rem;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.75;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 1.5rem;
}

.footer-bottom a:hover {
    opacity: 1;
}


/* ============================
   COOKIE BANNER
   ============================ */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 5%;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 1;
}

.cookie-banner p a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}


/* ============================
   EMPTY STATE (kein Inhalt)
   ============================ */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 0 48px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    color: var(--text-muted);
    overflow: hidden;
}

.empty-state img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-bottom: 2rem;
    display: block;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    stroke: var(--border-color);
    fill: none;
    stroke-width: 1.5;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.empty-state p {
    font-size: 1.05rem;
    line-height: 1.7;
    padding: 0 2rem;
}


/* ============================
   LOADING SPINNER
   ============================ */
.spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
}

.spinner::after {
    content: '';
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ============================
   RESPONSIVE
   ============================ */

/* Tablet */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section {
        padding: 60px 5%;
    }

    .page-hero h1 {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }
}

/* Mobile: Burger Menu */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .burger {
        display: block;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 50px 5%;
    }

    .section-title {
        font-size: 1.4rem;
        letter-spacing: 2px;
        margin-bottom: 30px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
        letter-spacing: 3px;
        margin-top: 30px;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 1rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    /* Detail Modal: Fullscreen on mobile */
    .detail-overlay {
        padding: 0;
    }

    .detail-modal {
        border-radius: 0;
        max-width: 100%;
        max-height: 100vh;
        max-height: 100dvh;
        height: 100vh;
        height: 100dvh;
    }

    .detail-gallery-main {
        height: 260px;
    }

    .detail-body {
        padding: 1.5rem;
    }

    .detail-title {
        font-size: 1.2rem;
    }

    .detail-actions {
        position: sticky;
        bottom: 0;
        padding: 0.75rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        gap: 8px;
    }

    .detail-actions .btn {
        padding: 10px 12px;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}

/* ============================
   KONTAKTBEREICH (Seitenende)
   ============================ */
.contact-section {
    padding: 80px 5%;
    background: var(--cream-bg);
    text-align: center;
}

.contact-section .section-title {
    margin-bottom: 40px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 960px;
    margin: 0 auto 40px;
    overflow: hidden;
}

.contact-card {
    background: var(--white);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    background: var(--accent-coral);
}

.contact-card:hover .contact-card-icon svg {
    stroke: var(--white);
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary-blue);
    fill: none;
    stroke-width: 1.8;
    transition: stroke 0.3s ease;
}

.contact-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-card p a {
    color: var(--primary-blue);
}

.contact-card p a:hover {
    color: var(--accent-coral);
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}


/* Small phones */
@media (max-width: 480px) {
    :root {
        --nav-height: 60px;
    }

    .nav-logo .nav-logo-name {
        font-size: 0.95rem;
    }

    .nav-logo .nav-logo-sub {
        font-size: 0.7rem;
    }

    .boat-card-body {
        padding: 1.2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .detail-actions {
        flex-direction: column;
        gap: 6px;
        padding: 0.65rem 0.75rem;
        padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
    }

    .detail-actions .btn {
        flex: none;
        width: 100%;
        padding: 10px 16px;
        font-size: 0.78rem;
    }
}

/* Kontaktbereich Responsive (muss nach .contact-cards Base stehen) */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
    }

    .contact-section {
        padding: 50px 5%;
    }
}
