@font-face {
    font-family: 'Manrope Local';
    src: url('../fonts/Manrope-Variable.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: block;
}

@media (max-width: 900px) {
    .branch-card {
        grid-template-columns: 1fr;
    }

    .meta-row {
        flex-direction: column;
        gap: 0.1rem;
    }

    .meta-label {
        min-width: 0;
    }

    .staff-box {
        align-items: flex-start;
    }

    .cube-scene {
        min-height: 220px;
    }

    .cube {
        --cube-size: 108px;
    }

    .cube-face {
        font-size: 1.45rem;
    }
}

@keyframes cube-spin {
    from {
        transform: rotateX(-18deg) rotateY(0deg);
    }

    to {
        transform: rotateX(-18deg) rotateY(360deg);
    }
}

.cube-showcase {
    overflow: hidden;
}

.cube-scene {
    display: grid;
    place-items: center;
    min-height: 260px;
    margin-top: 0.5rem;
    perspective: 900px;
    background: radial-gradient(circle at center, rgba(15, 110, 116, 0.08), transparent 64%);
    border-radius: 26px;
}

.cube {
    --cube-size: 140px;
    --cube-depth: calc(var(--cube-size) / 2);
    position: relative;
    width: var(--cube-size);
    height: var(--cube-size);
    transform-style: preserve-3d;
    transform: rotateX(-18deg) rotateY(25deg);
    cursor: grab;
    touch-action: none;
    user-select: none;
    will-change: transform;
}

.cube.is-dragging {
    cursor: grabbing;
}

.cube-face {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    backface-visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(62, 145, 62, 0.18));
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.18), 0 18px 30px rgba(23, 16, 12, 0.12);
    color: var(--brand-dark);
    font-family: 'Cormorant Local', Georgia, serif;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cube-face-front {
    transform: translateZ(var(--cube-depth));
}

.cube-face-back {
    transform: rotateY(180deg) translateZ(var(--cube-depth));
}

.cube-face-right {
    transform: rotateY(90deg) translateZ(var(--cube-depth));
}

.cube-face-left {
    transform: rotateY(-90deg) translateZ(var(--cube-depth));
}

.cube-face-top {
    transform: rotateX(90deg) translateZ(var(--cube-depth));
}

.cube-face-bottom {
    transform: rotateX(-90deg) translateZ(var(--cube-depth));
}

@font-face {
    font-family: 'Cormorant Local';
    src: url('../fonts/CormorantGaramond-Variable.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
    font-display: block;
}

:root {
    --bg-cream: #f9d4d4;
    --bg-sand: #f2b8b8;
    --bg-paper: #fff1f1;
    --text: #2a241e;
    --muted: #6f6258;
    --brand: #a1551d;
    --brand-dark: #7f3f13;
    --accent: #0f6e74;
    --accent-soft: #7eb4b8;
    --line: rgba(42, 36, 30, 0.14);
    --shadow: 0 20px 45px rgba(23, 16, 12, 0.14);
    --radius-xl: 40px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(1180px, 92vw);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope Local', 'Segoe UI', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f7c9c9, #fff1f1);
    line-height: 1.62;
}

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

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--brand-dark);
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.8rem;
    font-family: 'Cormorant Local', Georgia, serif;
    line-height: 1.08;
    letter-spacing: 0.02em;
}

@keyframes brand-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

h1 {
    font-size: clamp(2.1rem, 5vw, 4.8rem);
}

h2 {
    font-size: clamp(1.8rem, 3.8vw, 3.2rem);
}

h3 {
    font-size: clamp(1.3rem, 2.6vw, 2rem);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
}

.skip-link:focus {
    top: 16px;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 8% 12%, rgba(178, 44, 44, 0.18) 0, transparent 44%),
        radial-gradient(circle at 90% 20%, rgba(214, 92, 92, 0.2) 0, transparent 43%),
        radial-gradient(circle at 30% 85%, rgba(162, 34, 34, 0.16) 0, transparent 40%);
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.site-main {
    overflow: clip;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);
    background: linear-gradient(95deg, rgba(255, 232, 232, 0.88), rgba(241, 190, 190, 0.82));
}

.nav-shell {
    display: flex;
    align-items: center;
    width: min(1280px, 96vw);
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 0;
}

.brand {
    display: inline-flex;
    font-weight: 700;
    align-items: center;
    gap: 1rem;
    color: var(--text);
}

.brand-mark {
    width: 3.8rem;
    height: 3.8rem;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(150deg, var(--brand), #c0844e);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 1.45rem;
}

.brand-copy small {
    color: var(--muted);
    font-size: 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-wrap: nowrap;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: nowrap;
}

.site-nav a {
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 1.08rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.22s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
    border-color: rgba(161, 85, 29, 0.33);
    color: var(--brand-dark);
    background: rgba(255, 255, 255, 0.72);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 999px;
    padding: 0.76rem 1.34rem;
    background: linear-gradient(140deg, var(--brand), #b56f3a);
    color: #fff;
    font-weight: 650;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(122, 60, 23, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    filter: saturate(1.06);
    box-shadow: 0 18px 28px rgba(122, 60, 23, 0.26);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(161, 85, 29, 0.42);
    color: var(--brand-dark);
    box-shadow: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    color: var(--brand-dark);
    background: rgba(255, 255, 255, 0.92);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.44);
    box-shadow: none;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.3);
}

.btn-small {
    padding: 0.6rem 0.92rem;
    font-size: 0.86rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.66);
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin-inline: 10px;
    background: var(--text);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(68vh, 76vh, 810px);
    display: grid;
    align-items: end;
    color: #fff;
    margin: 1rem auto 3.2rem;
    width: var(--container);
    border-radius: 54px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(8, 10, 11, 0.72) 15%, rgba(8, 10, 11, 0.18) 70%),
        radial-gradient(circle at 80% 20%, rgba(126, 180, 184, 0.32), transparent 42%);
    z-index: 2;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.15s ease, transform 7s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: clamp(2.3rem, 6vw, 5rem);
    max-width: 760px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.33rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 65ch;
    color: rgba(255, 250, 244, 0.94);
    font-size: clamp(1.02rem, 1.2vw, 1.2rem);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-bubbles {
    position: absolute;
    right: clamp(0.9rem, 3vw, 2.5rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    z-index: 4;
    display: flex;
    gap: 0.4rem;
}

.hero-bubbles button {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.hero-bubbles button.is-active {
    background: #fff;
}

.section {
    width: var(--container);
    margin-inline: auto;
    margin-bottom: 4.2rem;
}

.section-card {
    background: rgba(255, 252, 247, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 3vw, 2.6rem);
    box-shadow: var(--shadow);
}

.section-head {
    max-width: 73ch;
    margin-bottom: 1.8rem;
}

.section-head p {
    color: var(--muted);
}

.lead {
    font-size: clamp(1.04rem, 1.2vw, 1.2rem);
    color: #4d433c;
}

.tag {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(15, 110, 116, 0.1);
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    font-weight: 650;
    padding: 0.35rem 0.68rem;
    margin-bottom: 0.9rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.highlight-card {
    position: relative;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(245, 233, 219, 0.8));
    border: 1px solid rgba(161, 85, 29, 0.18);
    border-radius: 34px;
    padding: 1.25rem 1.25rem 1.4rem;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at center, rgba(15, 110, 116, 0.16), transparent 70%);
    top: -60px;
    right: -40px;
    border-radius: 50%;
}

.highlight-card h3 {
    margin-top: 0.2rem;
}

.icon-circle {
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(161, 85, 29, 0.13);
    color: var(--brand-dark);
    font-size: 1rem;
    font-weight: 700;
}

.metrics {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.metric {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
}

.metric strong {
    font-size: 1.55rem;
    display: block;
    color: var(--brand-dark);
    font-family: 'Cormorant Local', Georgia, serif;
}

.split-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(1rem, 3.6vw, 2rem);
    align-items: center;
}

.split-grid.reverse {
    grid-template-columns: 1fr 1.15fr;
}

.image-stack {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 0.75rem;
}

.image-stack img,
.media-blob img,
.gallery-card img,
.branch-media img,
.staff-portrait img,
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-stack .tall {
    border-radius: 34% 66% 58% 42% / 42% 43% 57% 58%;
    height: 360px;
}

.image-stack .wide {
    border-radius: 65% 35% 42% 58% / 40% 54% 46% 60%;
    height: 360px;
}

.page-hero {
    width: var(--container);
    margin: 2rem auto 2rem;
    background: linear-gradient(130deg, rgba(15, 110, 116, 0.9), rgba(17, 88, 92, 0.8));
    color: #fff;
    border-radius: 42px;
    padding: clamp(1.6rem, 4.2vw, 3.2rem);
    position: relative;
    overflow: hidden;
}

.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.page-hero::before {
    width: 260px;
    height: 260px;
    top: -120px;
    right: -40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
}

.page-hero::after {
    width: 200px;
    height: 200px;
    bottom: -110px;
    left: -40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.92);
    max-width: 70ch;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.story-item {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.05rem;
}

.story-item h3 {
    margin-bottom: 0.4rem;
}

.timeline {
    position: relative;
    margin-top: 1.2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: linear-gradient(var(--brand), transparent);
}

.timeline-item {
    position: relative;
    margin-left: 2.4rem;
    margin-bottom: 1.2rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem 1rem 1rem 1.2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    left: -1.75rem;
    top: 1.2rem;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 6px rgba(161, 85, 29, 0.15);
}

.timeline-item time {
    font-size: 0.86rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-card {
    overflow: hidden;
    border-radius: 24px;
    min-height: 280px;
    position: relative;
}

.gallery-card img {
    height: 100%;
    transition: transform 0.45s ease;
}

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

.gallery-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.8rem 0.9rem;
    color: #fff;
    font-size: 0.9rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.64));
}

.branches {
    display: grid;
    gap: 1.35rem;
    width: min(100%, 980px);
    margin-inline: auto;
}

.branch-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.95), rgba(246, 228, 228, 0.9));
    border: 1px solid rgba(161, 85, 29, 0.12);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(23, 16, 12, 0.12);
    transition: none;
}

.branch-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--brand), rgba(161, 85, 29, 0.2));
    pointer-events: none;
}

.branch-media {
    min-width: 0;
    overflow: hidden;
    min-height: 320px;
    background: rgba(255, 255, 255, 0.3);
}

.branch-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    transition: none;
}

.branch-content {
    min-width: 0;
    display: grid;
    gap: 0.9rem;
    align-content: start;
    justify-items: start;
    padding: 1.35rem 1.35rem 1.35rem 1.2rem;
}

.branch-content h3 {
    font-size: clamp(1.45rem, 2vw, 2.1rem);
    color: var(--brand-dark);
}

.branch-content > div:first-child p {
    color: var(--muted);
}

.branch-meta {
    display: grid;
    gap: 0.6rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(15, 110, 116, 0.06);
    border: 1px solid rgba(15, 110, 116, 0.12);
}

.meta-row {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.meta-row a {
    font-weight: 700;
}

.meta-label {
    min-width: 116px;
    font-weight: 700;
    color: var(--brand-dark);
}

.staff-box {
    display: flex;
    gap: 0.95rem;
    align-items: center;
    padding: 0.8rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 110, 116, 0.08), rgba(161, 85, 29, 0.08));
    border: 1px solid rgba(15, 110, 116, 0.16);
}

.staff-box strong {
    display: block;
    font-size: 1.08rem;
    margin-bottom: 0.2rem;
}

.staff-box p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.staff-portrait {
    width: 84px;
    aspect-ratio: 1 / 1.15;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
}

#altstadt {
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.96), rgba(245, 228, 218, 0.9));
}

#altstadt::before {
    background: linear-gradient(180deg, #a1551d, #d28c59);
}

#koenigswiesen {
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.96), rgba(239, 238, 249, 0.9));
}

#koenigswiesen::before {
    background: linear-gradient(180deg, #0f6e74, #7eb4b8);
}

#ost {
    background: linear-gradient(135deg, rgba(255, 252, 247, 0.96), rgba(250, 232, 241, 0.9));
}

#ost::before {
    background: linear-gradient(180deg, #a1551d, #d77a9e);
}

.products-nav {
    position: sticky;
    top: 85px;
    z-index: 5;
    margin-bottom: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    padding: 0.65rem;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--line);
}

.products-nav a {
    font-size: 0.87rem;
    color: var(--text);
    border-radius: 999px;
    padding: 0.4rem 0.74rem;
    border: 1px solid transparent;
}

.products-nav a:hover {
    border-color: rgba(15, 110, 116, 0.3);
    color: var(--accent);
}

.product-section {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 1.2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
}

.product-card img {
    aspect-ratio: 1 / 1;
}

.product-card .copy {
    padding: 0.8rem;
}

.product-card .copy p {
    color: var(--muted);
    margin-bottom: 0.7rem;
    font-size: 0.93rem;
}

.price {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.85);
}

.service-image {
    height: 220px;
}

.service-copy {
    padding: 1rem;
}

.service-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.65rem;
}

.service-list li {
    position: relative;
    padding-left: 1.4rem;
}

.service-list li::before {
    content: '●';
    position: absolute;
    left: 0.25rem;
    color: var(--brand);
}

.faq-list {
    display: grid;
    gap: 0.7rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.86);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.95rem 1.05rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.faq-question::after {
    content: '+';
    color: var(--accent);
    font-size: 1.2rem;
    line-height: 1;
}

.faq-item.is-open .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.05rem;
}

.faq-item.is-open .faq-answer {
    max-height: 280px;
    padding-bottom: 1rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
}

.contact-card,
.form-card {
    background: rgba(255, 255, 255, 0.89);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 1.2rem;
}

.contact-points {
    display: grid;
    gap: 0.7rem;
}

.contact-points li {
    border-radius: 14px;
    background: rgba(15, 110, 116, 0.08);
    border: 1px solid rgba(15, 110, 116, 0.16);
    padding: 0.7rem;
}

.contact-form {
    display: grid;
    gap: 0.7rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

label {
    display: grid;
    gap: 0.34rem;
    font-size: 0.92rem;
    color: #3f362f;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(42, 36, 30, 0.2);
    border-radius: 12px;
    padding: 0.75rem 0.82rem;
    font: inherit;
    color: inherit;
    background: #fff;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(15, 110, 116, 0.2);
    border-color: rgba(15, 110, 116, 0.46);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.86rem;
}

.form-check input {
    width: auto;
    margin-top: 0.2rem;
}

.map-card {
    display: grid;
    gap: 0.9rem;
}

.branch-map {
    position: relative;
    min-height: 380px;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2) 26%, transparent 27%),
        linear-gradient(180deg, rgba(255, 250, 245, 0.92), rgba(242, 224, 224, 0.88)),
        repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(161, 85, 29, 0.08) 22px, rgba(161, 85, 29, 0.08) 23px),
        repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(15, 110, 116, 0.08) 22px, rgba(15, 110, 116, 0.08) 23px);
}

.branch-map::before {
    content: 'Regensburg';
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 1;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.branch-map__pin {
    position: absolute;
    z-index: 2;
    width: 140px;
    transform: translate(-50%, -100%);
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    text-align: center;
    color: var(--text);
    font-weight: 700;
}

.branch-map__pin:hover,
.branch-map__pin:focus-visible {
    color: var(--brand-dark);
}

.branch-map__dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 10px 20px rgba(23, 16, 12, 0.2);
}

.branch-map__label {
    padding: 0.38rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 24px rgba(23, 16, 12, 0.12);
    font-size: 0.88rem;
    line-height: 1.15;
}

.branch-map__pin--altstadt {
    left: 39%;
    top: 46%;
}

.branch-map__pin--koenigswiesen {
    left: 61%;
    top: 58%;
}

.branch-map__pin--ost {
    left: 72%;
    top: 34%;
}

.branch-map__pin--altstadt .branch-map__dot,
.branch-map__legend-mark--altstadt {
    background: linear-gradient(180deg, #a1551d, #d28c59);
}

.branch-map__pin--koenigswiesen .branch-map__dot,
.branch-map__legend-mark--koenigswiesen {
    background: linear-gradient(180deg, #0f6e74, #7eb4b8);
}

.branch-map__pin--ost .branch-map__dot,
.branch-map__legend-mark--ost {
    background: linear-gradient(180deg, #a1551d, #d77a9e);
}

.branch-map__legend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.branch-map__legend a {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.8rem 0.85rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
}

.branch-map__legend strong {
    color: var(--brand-dark);
}

.branch-map__legend-mark {
    width: 0.9rem;
    height: 0.9rem;
    margin-top: 0.28rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(23, 16, 12, 0.14);
}

@media (max-width: 720px) {
    .branch-map__legend {
        grid-template-columns: 1fr;
    }
}

.honeypot {
    position: absolute;
    left: -200vw;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    border-radius: 14px;
    padding: 0.76rem 0.9rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(23, 137, 89, 0.14);
    border: 1px solid rgba(23, 137, 89, 0.35);
    color: #0f5c3c;
}

.alert-error {
    background: rgba(177, 42, 34, 0.11);
    border: 1px solid rgba(177, 42, 34, 0.36);
    color: #85211a;
}

.alert ul {
    list-style: disc;
    padding-left: 1.1rem;
}

.note-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    padding: 1rem;
}

.map-card {
    margin-top: 0.9rem;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
}

.map-visual {
    position: relative;
    display: block;
    width: 100%;
    min-height: 280px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(241, 236, 226, 0.92)),
        radial-gradient(circle at 20% 20%, rgba(15, 110, 116, 0.08), transparent 35%),
        radial-gradient(circle at 80% 30%, rgba(161, 85, 29, 0.08), transparent 32%);
}

.map-visual::before,
.map-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.map-visual::before {
    background:
        linear-gradient(rgba(42, 36, 30, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(42, 36, 30, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.7;
}

.map-visual::after {
    background:
        radial-gradient(circle at 24% 34%, transparent 0 18px, rgba(15, 110, 116, 0.14) 19px 20px, transparent 21px),
        radial-gradient(circle at 67% 58%, transparent 0 18px, rgba(161, 85, 29, 0.11) 19px 20px, transparent 21px);
}

.map-marker {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: rgba(161, 85, 29, 0.92);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
    z-index: 2;
    text-decoration: none;
}

.map-marker::before {
    content: '';
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: #ff5a5a;
    box-shadow: 0 0 0 6px rgba(255, 90, 90, 0.18);
    flex-shrink: 0;
}

.map-marker:hover,
.map-marker:focus-visible {
    color: #fff;
    transform: translateY(-1px);
}

.map-marker span {
    line-height: 1;
}

.map-marker-altstadt {
    top: 24%;
    left: 18%;
}

.map-marker-koenigswiesen {
    top: 44%;
    left: 57%;
}

.map-marker-ost {
    top: 62%;
    left: 76%;
}

.map-marker {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transform: translate(-50%, -50%);
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(161, 85, 29, 0.22);
    background: rgba(255, 255, 255, 0.94);
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(23, 16, 12, 0.12);
}

.map-marker::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 6px rgba(161, 85, 29, 0.14);
    flex-shrink: 0;
}

.map-marker span {
    pointer-events: none;
}

.map-marker:hover,
.map-marker:focus-visible {
    color: var(--brand-dark);
    background: #fff;
    transform: translate(-50%, -50%) translateY(-2px);
}

.map-marker-altstadt {
    left: 29%;
    top: 36%;
}

.map-marker-koenigswiesen {
    left: 56%;
    top: 58%;
}

.map-marker-ost {
    left: 74%;
    top: 43%;
}

.map-marker {
    scroll-margin-top: 110px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.7rem 0.45rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 248, 248, 0.92);
    border: 1px solid rgba(161, 85, 29, 0.18);
    box-shadow: 0 10px 22px rgba(23, 16, 12, 0.14);
    color: var(--brand-dark);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    z-index: 3;
    transform: translate(-50%, -50%);
}

.map-marker::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ff6666, #c91f1f);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.84);
    flex: 0 0 14px;
}

.map-marker span {
    display: block;
}

.map-marker:hover,
.map-marker:focus-visible {
    color: var(--brand);
    transform: translate(-50%, -50%) scale(1.03);
}

.map-marker-altstadt {
    left: 31%;
    top: 48%;
}

.map-marker-koenigswiesen {
    left: 58%;
    top: 66%;
}

.map-marker-ost {
    left: 76%;
    top: 39%;
}
        radial-gradient(circle at 48% 72%, transparent 0 18px, rgba(15, 110, 116, 0.12) 19px 20px, transparent 21px);
    mix-blend-mode: multiply;
}

.map-marker {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.map-marker::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50% 50% 50% 0;
    background: #d61f1f;
    transform: rotate(-45deg);
    box-shadow: 0 0 0 4px rgba(214, 31, 31, 0.16), 0 10px 18px rgba(0, 0, 0, 0.16);
}

.map-marker span {
    padding: 0.28rem 0.52rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(42, 36, 30, 0.1);
    box-shadow: 0 8px 18px rgba(23, 16, 12, 0.08);
}

.map-marker:hover span,
.map-marker:focus-visible span {
    color: var(--brand-dark);
}

.map-marker-altstadt {
    top: 34%;
    left: 30%;
}

.map-marker-koenigswiesen {
    top: 56%;
    left: 52%;
}

.map-marker-ost {
    top: 42%;
    left: 72%;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #dff1fb, #b9def4);
    color: #1f3b53;
    padding-top: 3rem;
}

.footer-wave {
    display: none;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    padding-bottom: 1.4rem;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid rgba(22, 50, 74, 0.14);
}

.footer-bottom small,
.footer-bottom a {
    color: rgba(22, 50, 74, 0.9);
}

.footer-grid > section {
    min-width: 0;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.site-footer h3 {
    font-size: 1.55rem;
    color: #16324a;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(22, 50, 74, 0.9);
}

.footer-links,
.footer-contact,
.footer-legal {
    display: grid;
    gap: 0.45rem;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    margin-top: 1.6rem;
    padding: 0.9rem 0 1.4rem;
    border-top: 1px solid rgba(22, 50, 74, 0.14);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.to-top {
    display: inline-flex;
    padding: 0.35rem 0.66rem;
    border-radius: 999px;
    border: 1px solid rgba(22, 50, 74, 0.18);
}

.legal-content {
    display: grid;
    gap: 0.85rem;
}

.legal-content article {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes floaty {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 1100px) {
    .site-nav ul {
        gap: 0.2rem;
    }

    .site-nav a {
        font-size: 0.86rem;
        padding: 0.4rem 0.64rem;
    }

    .highlights-grid,
    .metrics,
    .service-grid,
    .product-grid,
    .story-grid,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-grid,
    .split-grid.reverse,
    .branch-card,
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 4vw;
        left: 4vw;
        border-radius: 18px;
        padding: 0.9rem;
        background: rgba(255, 252, 248, 0.98);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav ul {
        display: grid;
    }

    .site-nav a {
        justify-content: flex-start;
    }

    .hero {
        border-radius: 28px;
        min-height: 70vh;
    }

    .hero-content {
        padding: 1.4rem;
    }

    .section {
        margin-bottom: 2.8rem;
    }

    .highlights-grid,
    .metrics,
    .service-grid,
    .product-grid,
    .story-grid,
    .gallery-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .products-nav {
        top: 72px;
        border-radius: 20px;
    }

    .faq-item.is-open .faq-answer {
        max-height: 420px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
