:root {
    --bg: #05060a;
    --bg-elevated: #10121a;
    --accent: #4ea3ff;
    --accent-soft: rgba(78,163,255,0.15);
    --text: #f5f7ff;
    --muted: #9aa0b5;
    --border: #1b1f2b;
    --radius: 10px;
    --shadow-soft: 0 18px 40px rgba(0,0,0,0.45);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #151a2b 0, #05060a 55%);
    color: var(--text);
}

/* Header / Navigation */

header {
    background: #000;
    padding: 12px 20px;
    border-bottom: 1px solid #222;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;          /* <<< WICHTIG */
    flex-direction: row;    /* <<< WICHTIG */
    gap: 20px;              /* Abstand zwischen Menüpunkten */
}

nav li {
    display: inline-block;  /* <<< WICHTIG */
}

nav a {
    color: #eee;
    text-decoration: none;
    font-size: 1rem;
    padding: 6px 10px;
    border-radius: 4px;
}

nav a:hover,
nav a.active {
    background: rgba(255,255,255,0.15);
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        gap: 10px;
    }

    nav a {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
}

/* Layout */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 32px;
    align-items: center;
    margin-top: 24px;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    margin-bottom: 12px;
}

.hero-text p {
    color: var(--muted);
    max-width: 520px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.hero-card {
    background: radial-gradient(circle at top left, #1b2338 0, #0a0c13 55%);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: var(--shadow-soft);
}

.hero-card img {
    width: 100%;
    border-radius: 14px;
    display: block;
}

/* Sections */

.section-title {
    font-size: 1.4rem;
    margin: 32px 0 12px;
}

.section-subtitle {
    color: var(--muted);
    margin-bottom: 18px;
}

/* Gallery */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.gallery a {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.04);
    background: #05060a;
}

.gallery img {
    width: 100%;
    display: block;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery a::after {
    content: "Ansehen";
    position: absolute;
    inset: auto 10px 10px auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.7rem;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.25s ease;
}

.gallery a:hover img {
    transform: scale(1.04);
    opacity: 0.9;
}

.gallery a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Galerie-Item mit Caption */

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    border-radius: var(--radius);
}

.caption {
    margin-top: 6px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.3;
    max-width: 90%;
}

/* Carousel */

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel > img {
  flex: 0 0 100%;      /* jede Slide nimmt 100% der Wrapper-Breite */
  width: 100%;
  height: 60vh;        /* oder eine feste Höhe, je nach Layout */
  object-fit: cover;   /* sorgt für sauberes Zuschneiden */
  display: block;      /* entfernt Inline-Whitespace-Probleme */
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}


/* Galerie-Bilder auf Island-Seite etwas ruhiger */

.island-top-gallery img {
    height: 220px;
    object-fit: cover;
}

/* 360 Viewer */

.viewer-360-wrapper {
    margin-top: 16px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-soft);
    background: #05060a;
}

#panorama {
    width: 100%;
    height: 420px;
}

/* About */

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    margin-top: 24px;
}

.about-layout img {
    width: 100%;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

@media (max-width: 900px) {
    .hero,
    .about-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Footer */

footer {
    text-align: center;
    padding: 18px 10px 26px;
    color: var(--muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

/* Wasserzeichen nur im Lightbox-Hauptbild */
#lb-watermark {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 999999;
    opacity: 0.55;
    pointer-events: none;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    font-family: Arial, sans-serif;
    font-weight: 600;
    display: none; /* wird per JS sichtbar */
}

/* Lightbox2 erzeugt beim Öffnen ein Overlay mit der Klasse .lightbox */
.lightbox #lb-watermark {
    display: block;
}

/* Manche Versionen nutzen .lb-open am body */
body.lb-open #lb-watermark {
    display: block;
}

/* Andere Versionen erzeugen #lightbox als Container */
#lightbox ~ #lb-watermark {
    display: block;
}

/* Und manche erzeugen .lb-outerContainer */
.lb-outerContainer ~ #lb-watermark {
    display: block;
}

/* Social Media Box */
.social-card {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    text-align: center;
}

.social-card h3 {
    margin: 0 0 12px;
    color: #fff;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    font-size: 1.8rem;
    color: #fff;
    opacity: 0.75;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.social-icons a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* Schwebende Social Bubble */
.social-bubble {
    position: fixed;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.sb-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;

}

.sb-icon i {
    font-size: 24px;
    color: white;
    transition: color 0.3s ease;
}

.sb-icon:hover {
    box-shadow: 0 0 12px rgba(255,255,255,0.6);
}

/* Instagram Hover */
.sb-icon.instagram:hover {
    background: #E1306C;
    transform: scale(1.15);
}

/* Facebook Hover */
.sb-icon.facebook:hover {
    background: #1877F2;
    transform: scale(1.15);
}


/* Mobile: Bubble unten rechts */
@media (max-width: 768px) {
    .social-bubble {
        top: auto;
        bottom: 20px;
        right: 20px;
        transform: none;
        flex-direction: row;
    }
}

/* 360 stuff */

#panoOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    z-index: 99999;
}

#panoViewer {
    width: 100%;
    height: 100%;
}

#panoClose {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #000;
    cursor: pointer;
    z-index: 100000;
}

/* x=close für Lightbox */

/* Lightbox Close Button anpassen */
.custom-close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-close-btn:hover {
    background: rgba(255, 0, 0, 0.9);
    transform: rotate(90deg);
}

/* About */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.7;
}

.about-section h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.about-intro {
    font-size: 1.2rem;
    font-weight: 500;
}

.about-highlight {
    font-style: italic;
    margin-top: 20px;
    font-size: 1.1rem;
}

/* index.html */
.intro-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    line-height: 1.7;
}

.intro-section h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: 500;
}

.privacy-hint {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}




