:root {
    --gold: #c9a24d;
    --gold-dark: #907335;
    --ink: #202020;
    --muted: #67635d;
    --line: #e8e1d4;
    --soft: #faf8f4;
    --white: #ffffff;
    --shadow: 0 16px 42px rgba(42, 34, 23, 0.08);
    --radius: 16px;
    --content-small: 960px;
    --content-medium: 1180px;
    --content-large: 1320px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

body.content-protection {
    -webkit-user-select: none;
    user-select: none;
}

body.content-protection input,
body.content-protection textarea,
body.content-protection select,
body.content-protection [contenteditable="true"] {
    -webkit-user-select: text;
    user-select: text;
}

body.content-protection img {
    -webkit-user-drag: none;
}

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

a {
    color: var(--gold-dark);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--gold);
}

button,
input,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.7em;
    color: var(--gold-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    line-height: 1.22;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
}

h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

p {
    margin: 0 0 1rem;
}

ul,
ol {
    padding-left: 1.35rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.7rem 1rem;
    color: var(--white);
    background: var(--ink);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(201, 162, 77, 0.16);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 2rem, 1120px);
    min-height: 112px;
    margin: 0 auto;
    gap: 2rem;
}

.brand {
    flex: 0 0 auto;
}

.brand img {
    width: 260px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
}

.nav-link,
.more-menu-panel a {
    display: block;
    color: var(--ink);
    text-decoration: none;
}

.nav-link {
    padding: 0.6rem 0.8rem;
    border-radius: 5px;
    white-space: nowrap;
    transition: color 160ms ease, background 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
    color: var(--ink);
    background: var(--gold);
}

.more-menu {
    position: relative;
}

.more-menu summary {
    list-style: none;
    cursor: pointer;
}

.more-menu summary::-webkit-details-marker {
    display: none;
}

.more-menu summary::after {
    content: "•••";
    letter-spacing: 0.12em;
}

.more-menu summary {
    font-size: 0;
}

.more-menu-panel {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    width: 250px;
    padding: 0.55rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.more-menu-panel a {
    padding: 0.65rem 0.8rem;
    border-radius: 7px;
}

.more-menu-panel a:hover,
.more-menu-panel a:focus-visible {
    color: var(--ink);
    background: var(--soft);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
    display: block;
    width: 24px;
    height: 2px;
    margin: auto;
    background: var(--ink);
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines {
    position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle-lines::before {
    top: -7px;
}

.menu-toggle-lines::after {
    top: 7px;
}

.nav-open .menu-toggle-lines {
    background: transparent;
}

.nav-open .menu-toggle-lines::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .menu-toggle-lines::after {
    transform: translateY(-7px) rotate(-45deg);
}

.site-main {
    min-height: 60vh;
    overflow: hidden;
}

.section-root {
    position: relative;
    padding: 1rem 0;
}

.section-geometry-rectangle:nth-of-type(even),
.page-kontakt .section-root:first-child,
.page-preisliste .section-root:first-child {
    background: var(--soft);
}

.section-inner-width {
    width: min(100% - 2rem, var(--content-medium));
    margin-inline: auto;
}

.section-inner-width-small {
    max-width: var(--content-small);
}

.section-inner-width-medium {
    max-width: var(--content-medium);
}

.section-inner-width-large {
    max-width: var(--content-large);
}

.section-content {
    position: relative;
}

.grid-row-root {
    min-width: 0;
}

.grid-row-has-columns {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
}

.grid-column-root {
    min-width: 0;
    grid-column: span 12;
    padding: clamp(0.5rem, 1.4vw, 1rem);
}

.grid-column-small-12 {
    grid-column: span 12;
}

.module-container-root {
    margin-bottom: 0.7rem;
}

.heading-root > div,
.text-root > div {
    max-width: 100%;
}

.text-root p:last-child,
.module-container-root:last-child {
    margin-bottom: 0;
}

.image-container {
    display: flex;
    width: 100%;
}

.image-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.image-wrapper .image-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-wrapper > a {
    position: absolute;
    inset: 0;
}

.image-wrapper > a .image-img {
    position: absolute;
}

.page-startseite .section-root:first-child .image-wrapper {
    max-width: 960px;
    margin-inline: auto;
}

.page-startseite .section-root:first-child h1 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.45;
}

.page-startseite .section-root:first-child .text-root {
    text-align: left;
}

.button-button,
.button-primary-button,
.button-fill-filled,
a.button-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.72rem 1.15rem;
    color: var(--white);
    background: var(--gold-dark);
    border: 1px solid var(--gold-dark);
    border-radius: 7px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button-button:hover,
.button-button:focus-visible,
.button-primary-button:hover,
.button-primary-button:focus-visible {
    color: var(--white);
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 8px 22px rgba(144, 115, 53, 0.22);
    transform: translateY(-1px);
}

.price-card {
    height: 100%;
    padding: clamp(1.1rem, 2vw, 1.5rem);
    color: #333;
    background: var(--white);
    border: 1px solid #eee9df;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.price-card h2 {
    padding-bottom: 0.5rem;
    margin-bottom: 1.1rem;
    color: var(--gold);
    border-bottom: 1px solid #eee;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
}

.price-card .item,
.price-card .item2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
}

.price-card .price {
    flex: 0 0 auto;
    color: var(--gold-dark);
    font-weight: 800;
    white-space: nowrap;
}

.price-card .desc,
.price-card .item2 {
    color: #666;
    font-size: 0.84rem;
}

.price-card .desc {
    margin-top: -0.2rem;
    margin-bottom: 0.9rem;
}

.special-badge-wrap {
    text-align: center;
    margin: 1rem 0 0.6rem;
}

.special-badge {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    color: var(--white);
    background: #b00000;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.special-offer {
    padding: 0.65rem 0.8rem;
    background: #fff5f5;
    border: 1px solid #dfb7b7;
    border-radius: 9px;
}

.html-code-module-root {
    height: 100%;
}

.map-placeholder {
    display: grid;
    place-content: center;
    min-height: 390px;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f4ec, #eee5d5);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.map-placeholder small {
    display: block;
    max-width: 520px;
    margin: 1rem auto 0;
    color: var(--muted);
}

.splide__track {
    overflow: visible;
}

.splide__list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.splide__slide {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.splide__slide__container {
    aspect-ratio: 4 / 3;
    background: var(--soft);
}

.image-gallery-img-slideshow {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-gallery-title {
    padding: 0.85rem;
    font-size: 0.9rem;
    font-weight: 650;
}

.image-gallery-slideshow-link {
    position: absolute;
    inset: 0;
}

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

.image-gallery-wrapper-item,
.image-gallery-wrapper {
    min-width: 0;
}

.image-gallery-wrapper-image {
    overflow: hidden;
    background: var(--soft);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(42, 34, 23, 0.08);
}

.image-gallery-wrapper-image > a {
    display: block;
    aspect-ratio: 1 / 1;
}

.image-gallery-img-grid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-gallery-wrapper-item > .image-gallery-title,
.image-gallery-wrapper > .image-gallery-title {
    margin: 0.65rem 0 0;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 650;
}

.glightbox-desc {
    padding: 0.75rem 0.9rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.glightbox-desc p {
    margin: 0;
}

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

.image-gallery-item-masonry {
    position: relative;
    overflow: hidden;
    background: var(--soft);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.image-gallery-link-element-masonry {
    position: absolute;
    inset: 0;
}

.image-gallery-img-masonry {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-downloads .button-button,
.page-dwn1983 .button-button {
    width: 100%;
}

.page-unser-team .image-img {
    object-position: center top;
}

.page-rezensionen .section-inner-width,
.page-impressum .section-inner-width,
.page-datenschutzerklarung .section-inner-width,
.page-uv-hinweise .section-inner-width,
.page-agb .section-inner-width,
.page-widerrufserklaerung .section-inner-width {
    max-width: 960px;
}

.page-rezensionen .text-root {
    padding: 1rem 0;
}

.page-rezensionen .grid-row-has-columns + .grid-row-has-columns {
    border-top: 1px solid var(--line);
}

.page-impressum .text-root,
.page-datenschutzerklarung .text-root,
.page-uv-hinweise .text-root,
.page-agb .text-root,
.page-widerrufserklaerung .text-root {
    max-width: 820px;
    margin-inline: auto;
}

.page-pflegeprodukte-wilhelmshaven .grid-row-has-columns {
    align-items: start;
}

.page-pflegeprodukte-wilhelmshaven .image-wrapper {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(42, 34, 23, 0.08);
}

.review-form-section,
.not-found {
    padding-top: clamp(3rem, 7vw, 6rem);
    padding-bottom: clamp(3rem, 7vw, 6rem);
}

.review-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.eyebrow {
    margin-bottom: 0.45rem;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.review-form {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.review-form label:not(.checkbox-row) {
    margin-top: 0.55rem;
    font-weight: 700;
}

.review-form input[type="text"],
.review-form input[type="email"],
.review-form textarea {
    width: 100%;
    padding: 0.78rem 0.9rem;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #cfc7b9;
    border-radius: 8px;
    outline: none;
}

.review-form input:focus,
.review-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.18);
}

.review-form small {
    color: var(--muted);
}

.checkbox-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: start;
    margin: 0.8rem 0;
}

.checkbox-row input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.25rem;
    accent-color: var(--gold-dark);
}

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

.form-message {
    padding: 1rem 1.1rem;
    margin: 1.25rem 0;
    border-radius: 9px;
}

.form-message.success {
    color: #205b2f;
    background: #edf8ef;
    border: 1px solid #a8d7b0;
}

.form-message.error {
    color: #7f1d1d;
    background: #fff1f1;
    border: 1px solid #edb5b5;
}

.form-message ul {
    margin-bottom: 0;
}

.review-form-image {
    position: sticky;
    top: 150px;
    padding: 1.5rem;
    margin: 0;
    background: var(--soft);
    border-radius: var(--radius);
}

.empty-page-spacer {
    min-height: 34vh;
}

.not-found {
    text-align: center;
}

.site-footer {
    margin-top: 2rem;
    color: #423d35;
    background: var(--soft);
    border-top: 3px solid var(--gold);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 2rem;
    width: min(100% - 2rem, 1120px);
    padding: 3rem 0;
    margin-inline: auto;
}

.footer-brand img {
    width: 210px;
    margin-bottom: 0.7rem;
}

.footer-brand p {
    margin-bottom: 0.35rem;
}

.footer-links,
.social-links {
    display: grid;
    align-content: start;
    gap: 0.45rem;
}

.footer-links a,
.social-links a {
    color: #423d35;
    text-decoration: none;
}

.footer-links a:hover,
.social-links a:hover {
    color: var(--gold-dark);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 2rem, 1120px);
    padding: 1.1rem 0;
    margin-inline: auto;
    border-top: 1px solid var(--line);
    font-size: 0.88rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    text-decoration: none;
}

@media (min-width: 720px) {
    .grid-column-medium-3 {
        grid-column: span 3;
    }

    .grid-column-medium-4 {
        grid-column: span 4;
    }

    .grid-column-medium-6 {
        grid-column: span 6;
    }

    .grid-column-medium-8 {
        grid-column: span 8;
    }

    .grid-column-medium-9 {
        grid-column: span 9;
    }

    .grid-column-medium-12 {
        grid-column: span 12;
    }
}

@media (min-width: 1024px) {
    .grid-column-large-2 {
        grid-column: span 2;
    }

    .grid-column-large-3 {
        grid-column: span 3;
    }

    .grid-column-large-4 {
        grid-column: span 4;
    }

    .grid-column-large-6 {
        grid-column: span 6;
    }

    .grid-column-large-8 {
        grid-column: span 8;
    }

    .grid-column-large-10 {
        grid-column: span 10;
    }

    .grid-column-large-12 {
        grid-column: span 12;
    }
}

@media (max-width: 920px) {
    .header-inner {
        min-height: 86px;
    }

    .brand img {
        width: 205px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .main-nav {
        position: fixed;
        inset: 86px 0 auto 0;
        display: none;
        max-height: calc(100vh - 86px);
        padding: 1rem;
        overflow: auto;
        background: var(--white);
        border-top: 1px solid var(--line);
        box-shadow: 0 18px 35px rgba(30, 25, 17, 0.12);
    }

    .nav-open .main-nav {
        display: grid;
        align-items: stretch;
        justify-content: stretch;
    }

    .nav-link {
        padding: 0.8rem 0.9rem;
    }

    .more-menu-panel {
        position: static;
        width: auto;
        padding: 0.3rem 0 0.3rem 0.8rem;
        border: 0;
        box-shadow: none;
    }

    .more-menu summary::after {
        content: "Mehr";
        letter-spacing: 0;
    }

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

    .image-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .review-form-grid {
        grid-template-columns: 1fr;
    }

    .review-form-image {
        position: static;
        order: -1;
    }
}

@media (max-width: 680px) {
    .section-inner-width,
    .header-inner,
    .footer-inner,
    .footer-bottom {
        width: min(100% - 1.25rem, var(--content-medium));
    }

    .grid-column-root {
        padding: 0.65rem 0.2rem;
    }

    .price-card .item,
    .price-card .item2 {
        gap: 0.7rem;
    }

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

    .image-gallery-grid,
    .image-gallery-masonry {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        padding: 2.2rem 0;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
