:root {
    --text: #1f1d18;
    --muted: #615c55;
    --surface: #ffffff;
    --page-bg: #fbf7f1;
    --line: #ece5db;
    --primary: #111111;
    --shadow-soft: 0 14px 30px rgb(0 0 0 / 8%);
    --header-offset: 96px;
    --hero-height: calc(100vh - var(--header-offset) + 27px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        "Segoe UI",
        system-ui,
        -apple-system,
        sans-serif;
    color: var(--text);
    background: var(--page-bg);
    line-height: 1.6;
}

body.home {
    background: linear-gradient(180deg, #ffffff 0%, #fdf1e3 35%, #ffffff 100%);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1140px, 92%);
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    background: rgb(255 255 255 / 88%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    z-index: 20;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    height: clamp(2rem, 4vw, 2.8rem);
    width: auto;
    filter: brightness(0) saturate(100%);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

nav a:hover {
    color: var(--text);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

main section {
    padding: 5rem 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin-top: 0;
    font-weight: 300;
}

h2 {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
}

#hero {
    padding: 0;
}

.hero-shell {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow .glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(120px);
    opacity: 0.35;
}

.hero-glow .glow-1 {
    width: 420px;
    height: 420px;
    background: #f7c89b;
    top: -160px;
    left: -120px;
}

.hero-glow .glow-2 {
    width: 520px;
    height: 520px;
    background: #f2b36a;
    bottom: -220px;
    right: -140px;
    opacity: 0.3;
}

.hero-glow .glow-3 {
    width: 320px;
    height: 320px;
    background: #f8d7b4;
    top: 30%;
    right: 8%;
    opacity: 0.25;
}

.hero-intro {
    position: absolute;
    inset: 0;
    z-index: 5;
    width: min(1140px, 92%);
    margin: 0 auto;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    padding: clamp(1.5rem, 4vh, 3rem) 0;
    pointer-events: none;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.72rem;
    color: rgb(255 255 255 / 88%);
    margin: 0 0 1rem;
    text-shadow: 0 3px 14px rgb(0 0 0 / 45%);
}

.hero-intro h1 {
    font-size: clamp(2.7rem, 6vw, 5rem);
    margin-bottom: 1.2rem;
    color: #fff;
    text-shadow: 0 6px 24px rgb(0 0 0 / 45%);
}

.hero-subtitle {
    max-width: 640px;
    margin: 0 auto;
    color: rgb(255 255 255 / 92%);
    font-size: 1.05rem;
    text-shadow: 0 3px 18px rgb(0 0 0 / 45%);
}

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
    background: #000;
    touch-action: pan-y;
}

.carousel--fullsize {
    min-height: var(--hero-height);
    border-radius: 0;
    box-shadow: none;
}

.carousel--contained {
    aspect-ratio: 3 / 2;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.carousel--fullsize::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgb(0 0 0 / 46%) 0%,
        rgb(0 0 0 / 20%) 45%,
        rgb(0 0 0 / 38%) 100%
    );
    pointer-events: none;
}

.carousel-track {
    display: flex;
    transition: transform 0.55s ease;
}

.carousel--fullsize .carousel-track {
    height: var(--hero-height);
}

.carousel--contained .carousel-track {
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex: 0 0 100%;
    margin: 0;
    overflow: hidden;
}

.carousel--contained .carousel-slide {
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    object-fit: cover;
}

.carousel--fullsize .carousel-slide img {
    height: var(--hero-height);
}

.carousel--contained .carousel-slide img {
    height: 100%;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgb(255 255 255 / 90%);
    border-radius: 999px;
    background: rgb(255 255 255 / 85%);
    color: var(--text);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 6;
    box-shadow: 0 10px 18px rgb(0 0 0 / 18%);
    backdrop-filter: blur(6px);
}

.carousel-control:hover {
    background: rgb(255 255 255 / 95%);
}

.carousel-control.prev {
    left: 1rem;
}

.carousel-control.next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: clamp(0.9rem, 2.2vh, 1.4rem);
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 6;
}

.carousel-dot {
    width: 0.6rem;
    height: 0.6rem;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 65%);
    border: 1px solid rgb(255 255 255 / 85%);
    cursor: pointer;
}

.carousel-dot.is-active {
    background: #fff;
}

.store-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.section-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 2.5rem;
}

.section-intro--surface {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 2rem 2.4rem;
    max-width: 840px;
    margin: 0 auto 2.5rem;
    box-shadow: none;
}

.section-intro h2 {
    margin-bottom: 0.8rem;
}

.section-intro p {
    margin: 0;
    color: var(--muted);
}

.section-intro p + p {
    margin-top: 0.9rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 380px;
    box-shadow: var(--shadow-soft);
}

.card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.card-media--contain {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #fff;
}

.card-media--contain img {
    object-fit: contain;
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.card-content h3 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    margin-bottom: 0;
}

.card-content p {
    font-size: 1.08rem;
    margin-bottom: 0;
    color: var(--muted);
}

.card:nth-child(even) > :first-child {
    order: 2;
}

.occhio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--text);
    border-radius: 999px;
    background: var(--text);
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.occhio-link:hover {
    transform: translateY(-1px);
    border-color: var(--text);
    background: #2c2a25;
    box-shadow: 0 12px 24px rgb(0 0 0 / 14%);
}

.partners {
    background: transparent;
}

.partners h2 {
    text-align: center;
}
.partners p {
    text-align: center;
    color: var(--muted);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 0;
}

.partner {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.partner-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
}

.partner img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.tour {
    background: transparent;
}

.tour-intro {
    margin: 0 auto 2rem;
    max-width: 840px;
    text-align: center;
}

.tour-intro h2 {
    margin-bottom: 0.8rem;
}

.tour-intro p {
    margin: 0;
    color: var(--muted);
}

.map-embed {
    position: relative;
    width: 100%;
    min-height: 360px;
}

.map-embed--tour {
    min-height: 560px;
}

.map-embed--card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
}

.map-embed--tour iframe {
    min-height: 560px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(180deg, #f3efe8 0%, #f1ece4 100%);
    box-sizing: border-box;
}

/* Dashed outline only for the contact map */
.map-embed--contact {
    border-left: 2px dashed var(--line);
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
    height: 100%;
    display: block;
}

/* 360° Rundgang: full-bleed visual, no dashed outline */
.map-embed--tour .map-placeholder {
    position: relative;
    background: url("./store/186A7858.jpg");
    background-size: cover;
    background-position: center;
    color: #fff;
}

.map-embed--tour .map-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 65%), rgb(0 0 0 / 75%));
}

.map-embed--tour .map-placeholder > * {
    position: relative;
    z-index: 1;
}

.map-placeholder p {
    margin: 0;
    color: var(--muted);
    max-width: 520px;
}

.map-embed--tour .map-placeholder p {
    color: #fff;
    background: rgb(0 0 0 / 35%);
    padding: 0.9rem 1.2rem;
    border-radius: 16px;
    text-shadow: 0 8px 18px rgb(0 0 0 / 35%);
}

.map-consent {
    border: 1px solid var(--text);
    border-radius: 999px;
    background: var(--text);
    color: #fff;
    padding: 0.7rem 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.map-consent:hover {
    transform: translateY(-1px);
    border-color: var(--text);
    background: #2c2a25;
    box-shadow: 0 12px 24px rgb(0 0 0 / 14%);
}

.map-embed--tour .map-consent {
    background: #fff;
    color: var(--text);
    border-color: #fff;
}

.map-embed--tour .map-consent:hover {
    background: #f3f0ea;
    border-color: #f3f0ea;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    align-items: stretch;
}

.contact-box {
    padding: 2rem 2.2rem;
}

.contact-box p {
    margin: 0.3rem 0;
}

.contact-box a {
    color: var(--text);
}

iframe {
    width: 100%;
    min-height: 360px;
    height: 100%;
    border: 0;
}

footer {
    padding: 2rem 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-inner a {
    color: var(--muted);
    text-decoration: none;
}

.footer-inner a:hover {
    color: var(--text);
}

.section-intro--surface h3 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.section-intro--surface h3:first-of-type {
    margin-top: 0;
}

.section-intro--surface p {
    margin: 1rem 0;
    color: var(--muted);
    line-height: 1.8;
}

.section-intro--surface p strong {
    color: var(--text);
    font-weight: 600;
}

.section-intro--surface ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.section-intro--surface li {
    margin: 0.6rem 0;
    color: var(--muted);
    line-height: 1.8;
}

.section-intro--surface a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: border-color 0.2s ease;
}

.section-intro--surface a:hover {
    border-bottom-color: var(--text);
}

#impressum,
#datenschutz {
    background: transparent;
}

#impressum h1,
#datenschutz h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.content-box {
    max-width: 840px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
}

.content-box h2 {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.content-box h2:first-of-type {
    margin-top: 0;
}

.content-box p {
    margin: 1rem 0;
    color: var(--muted);
    line-height: 1.8;
}

.content-box p strong {
    color: var(--text);
    font-weight: 600;
}

.content-box ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-box li {
    margin: 0.6rem 0;
    color: var(--muted);
    line-height: 1.8;
}

.content-box a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: border-color 0.2s ease;
}

.content-box a:hover {
    border-bottom-color: var(--text);
}

@media (max-width: 900px) {
    :root {
        --hero-height: calc(100vh - var(--header-offset));
    }

    main section {
        padding: 4rem 0;
    }

    #hero {
        padding: 0;
    }

    .partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    nav {
        padding: 0.65rem 0;
    }

    .brand img {
        height: clamp(1.75rem, 6.5vw, 2.4rem);
    }

    nav ul {
        gap: 0.6rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    nav a {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .store-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .carousel-control {
        display: none;
    }

    .carousel-dots {
        bottom: 0.75rem;
    }

    .card {
        grid-template-columns: 1fr;
        height: auto;
    }

    .card-media--contain {
        padding: 2.8rem 1.5rem 1rem;
    }

    .card-media--contain + .card-content {
        padding-top: 1rem;
    }

    .card:nth-child(even) > :first-child {
        order: 0;
    }

    .content-box {
        padding: 2rem;
    }

    .content-box h2 {
        margin-top: 1.5rem;
    }
}

/* Mobile override for contact map divider */
@media (max-width: 900px) {
    .map-embed--contact {
        border-left: none;
        border-top: 2px dashed var(--line);
    }
    .map-embed--contact .map-placeholder {
        border-radius: 0;
        height: auto;
    }
}
