/* ==========================================================================
   Floristera: Blumenladen & Blumenwerkstatt in Norderstedt
   Design: „Modern“ (Variante 2)
   ========================================================================== */

/* Schriften lokal eingebunden (kein Google-Fonts-Abruf, DSGVO) */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/quicksand-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Quicksand';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/quicksand-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Unternehmensfarben aus dem Floristera-Logo */
    --primary: #C4431F;
    --primary-light: #E0724A;
    --primary-dark: #9B3317;
    --secondary: #D8846C;
    --accent: #F0CCA8;
    --bg: #FFFBF8;
    --bg-alt: #FDF1E9;
    --text: #33251F;
    --text-light: #7A6559;
    --border: #FBE3D5;
    --white: #FFFFFF;
    --shadow: rgba(196, 67, 31, 0.12);
    --shadow-hover: rgba(196, 67, 31, 0.25);

    --font-display: 'Quicksand', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --radius: 20px;
    --radius-lg: 32px;
    --transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    --header-h: 110px;
    --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
    /* Overlay bewusst transparenter, damit die Farben der Fotos durchkommen */
    --hero-overlay: linear-gradient(135deg, rgba(155, 51, 23, 0.6) 0%, rgba(196, 67, 31, 0.38) 45%, rgba(216, 132, 108, 0.22) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    margin-bottom: 1.2rem;
}

h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

/* Karten-Überschriften: kleiner, damit lange Wörter in die Spalte passen */
.usp-card h3,
.leistung-card h3,
.team-card h3,
.kontakt-card h3,
.sortiment-content h3,
.meaning-card h3,
.step h3,
.location-card h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem);
    hyphens: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

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

:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

/* ---------- Header & Navigation ---------- */

header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 248, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid var(--border);
}

.site-nav {
    max-width: 1400px;
    height: calc(var(--header-h) - 2px);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.6rem;
    list-style: none;
    align-items: center;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a,
.nav-sub-toggle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0;
}

.nav-links > li > a:not(.nav-cta)::after,
.nav-sub-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient);
    border-radius: 10px;
    transition: var(--transition);
}

.nav-links > li > a:not(.nav-cta):hover::after,
.nav-links > li > a[aria-current="page"]::after,
.nav-sub-toggle:hover::after,
.has-sub.is-current .nav-sub-toggle::after {
    width: 100%;
}

.nav-sub-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.has-sub:hover .nav-sub-toggle svg,
.has-sub.open .nav-sub-toggle svg {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 270px;
    list-style: none;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 18px 50px var(--shadow-hover);
    padding: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Unsichtbare Brücke, damit das Menü beim Hovern nicht zuklappt */
.submenu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -18px;
    height: 18px;
}

.has-sub:hover .submenu,
.has-sub:focus-within .submenu,
.has-sub.open .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 8px);
}

.submenu a {
    display: block;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    color: var(--text);
    transition: background 0.2s ease, color 0.2s ease;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
    background: var(--bg-alt);
    color: var(--primary);
}

.nav-cta {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 0.9rem 1.8rem !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--shadow);
    white-space: nowrap;
}

.nav-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--gradient);
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 999;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2.5rem;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-inner {
    max-width: 520px;
    margin: 0 auto;
}

.mobile-group + .mobile-group {
    margin-top: 1.8rem;
    padding-top: 1.8rem;
    border-top: 2px solid var(--border);
}

.mobile-group-title {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.7rem;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.mobile-menu ul a {
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
}

.mobile-menu ul a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.mobile-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.2rem;
}

.mobile-cta-buttons a {
    padding: 1.1rem;
    text-align: center;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
}

.mobile-cta-buttons .btn-primary {
    background: var(--gradient);
    color: var(--white);
}

.mobile-cta-buttons .btn-outline {
    border: 3px solid var(--primary);
    color: var(--primary);
}

/* ---------- Hero ---------- */

main {
    padding-top: var(--header-h);
}

.hero,
.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
}

.hero {
    height: calc(100vh - var(--header-h));
    min-height: 620px;
    max-height: 900px;
}

.page-hero {
    min-height: 520px;
    padding: 5rem 0 4.5rem;
}

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

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 38%;
}

.hero-bg video {
    position: absolute;
    inset: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    text-align: center;
    padding: 2rem;
}

/* Weicher Schatten nur hinter dem Text: lesbar, ohne das ganze Bild abzudunkeln */
.hero-content::before {
    content: '';
    position: absolute;
    inset: -10% -12%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(51, 37, 31, 0.38), rgba(51, 37, 31, 0.18) 60%, rgba(51, 37, 31, 0));
    pointer-events: none;
}

.hero-content h1 {
    margin-bottom: 1.6rem;
    text-shadow: 0 2px 24px rgba(51, 37, 31, 0.45);
    letter-spacing: -0.02em;
}

.hero-kicker {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.6rem;
    line-height: 1.75;
    text-shadow: 0 1px 14px rgba(51, 37, 31, 0.5);
}

.page-hero .hero-content h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.8rem);
}

.breadcrumb {
    position: relative;
    z-index: 2;
    margin-bottom: 1.4rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    text-shadow: 0 1px 10px rgba(51, 37, 31, 0.5);
}

.breadcrumb li + li::before {
    content: '›';
    margin-right: 0.4rem;
    opacity: 0.8;
}

.breadcrumb a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
    padding: 1.1rem 2.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    border: 3px solid var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-4px) scale(1.03);
}

.btn-fill {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 8px 25px var(--shadow);
}

.btn-fill:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 35px var(--shadow-hover);
}

.btn-ghost {
    border: 3px solid var(--primary);
    color: var(--primary);
}

.btn-ghost:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px) scale(1.03);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* ---------- Layout ---------- */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.container-narrow {
    max-width: 900px;
}

.section-alt {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--white) 100%);
}

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

.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.section-footer {
    text-align: center;
    margin-top: 3.5rem;
}

.intro-text {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-light);
}

.intro-text p + p {
    margin-top: 1.2rem;
}

.intro-text strong {
    color: var(--text);
}

.intro-text a,
.step p a,
.featured-text p a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- USP ---------- */

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 2.5rem;
}

.usp-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.usp-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.usp-icon,
.kontakt-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--bg-alt), var(--border));
    border: 2px solid var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px var(--shadow);
}

.kontakt-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.usp-icon svg,
.kontakt-icon svg {
    width: 46%;
    height: 46%;
}

.usp-card h3,
.leistung-card h3,
.team-card h3,
.kontakt-card h3,
.sortiment-content h3,
.meaning-card h3,
.location-card h3,
.step h3 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.usp-card h3 {
    margin-bottom: 1.2rem;
}

.usp-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ---------- Bewertungen ---------- */

.trust-content {
    text-align: center;
}

.rating-text {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.rating-subtext {
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2.5rem;
    text-align: left;
}

.review-card {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--white) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.review-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-8px);
    box-shadow: 0 15px 50px var(--shadow-hover);
}

.review-text {
    font-style: italic;
    margin-bottom: 1.8rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.review-author {
    font-weight: 700;
    color: var(--primary);
}

/* ---------- Sortiment-Karten ---------- */

.sortiment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 2.5rem;
}

.sortiment-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 8px 30px var(--shadow);
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
}

.sortiment-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px var(--shadow-hover);
    border-color: var(--primary-light);
}

.sortiment-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.sortiment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sortiment-card:hover .sortiment-image img {
    transform: scale(1.1) rotate(2deg);
}

.sortiment-image img.pos-urn { object-position: center 36%; }
.sortiment-image img.pos-bloom { object-position: center 40%; }
.sortiment-image img.pos-table { object-position: center 45%; }
.sortiment-image img.pos-work { object-position: 28% 32%; }

.sortiment-content {
    padding: 2.2rem 2.2rem 2.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sortiment-content h3 {
    margin-bottom: 1rem;
}

.sortiment-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.6rem;
    flex: 1;
}

.sortiment-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.sortiment-link:hover {
    gap: 1.4rem;
}

/* Ganze Karte klickbar, Link bleibt das eigentliche Element */
.card-link-stretched {
    position: relative;
}

.card-link-stretched .sortiment-link::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* ---------- Text + Bild ---------- */

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.featured-text h2 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.6rem;
}

.featured-text p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.3rem;
    font-size: 1.12rem;
}

.featured-text p strong {
    color: var(--text);
}

.featured-text .btn-group {
    margin-top: 1.6rem;
}

.featured-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 50px var(--shadow-hover);
    border: 3px solid transparent;
    aspect-ratio: 4 / 5;
}

.featured-image.featured-image-wide {
    aspect-ratio: 4 / 3;
}

.featured-image:hover {
    border-color: var(--primary-light);
}

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

img[data-edit-id="blumen-straeusse.section-4.img"] {
    object-position: center 40%;
    transform: scale(1.45);
    transform-origin: center 42%;
}

.featured-reverse .featured-image {
    order: -1;
}

.featured-image.featured-video {
    aspect-ratio: 9 / 16;
    max-width: 340px;
    width: 100%;
    justify-self: center;
    background: #2a1c18;
}

.featured-image.featured-video-square {
    aspect-ratio: 1;
    max-width: 520px;
}

.featured-image.featured-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #2a1c18;
}

/* ---------- Listen ---------- */

.check-list {
    list-style: none;
    margin: 0.5rem 0 1.5rem;
    display: grid;
    gap: 0.7rem;
}

.check-list li {
    position: relative;
    padding-left: 2.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.check-list li strong {
    color: var(--text);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: var(--gradient);
}

.check-list li::after {
    content: '';
    position: absolute;
    left: 0.42rem;
    top: calc(0.35em + 0.3rem);
    width: 0.38rem;
    height: 0.62rem;
    border: solid var(--white);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.check-list.cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    column-gap: 2rem;
}

/* ---------- Leistungen ---------- */

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: 2.5rem;
}

.leistung-card {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--white) 100%);
    padding: 2.4rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--shadow);
}

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

.leistung-card:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow-hover);
    border-color: var(--primary-light);
}

.leistung-card h3 {
    margin-bottom: 1rem;
}

.leistung-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.leistung-card .sortiment-link,
.leistung-card .btn,
.usp-card .btn {
    margin-top: 1.2rem;
}

/* Outline-Buttons sind für dunkle Flächen (Hero, CTA) weiß.
   Auf hellen Karten müssen Rahmen und Schrift in der Markenfarbe bleiben. */
.leistung-card .btn-outline,
.usp-card .btn-outline,
.featured-text .btn-outline,
.location-card .btn-outline,
.prose .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.leistung-card .btn-outline:hover,
.usp-card .btn-outline:hover,
.featured-text .btn-outline:hover,
.location-card .btn-outline:hover,
.prose .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ---------- Ablauf / Schritte ---------- */

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 2rem;
    counter-reset: step;
}

.step {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem 2rem;
    box-shadow: 0 6px 24px var(--shadow);
    counter-increment: step;
}

.step::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.3rem;
    box-shadow: 0 6px 18px var(--shadow-hover);
}

.step h3 {
    margin-bottom: 0.7rem;
}

.step p {
    color: var(--text-light);
}

/* ---------- Blumen-Bedeutungen ---------- */

.meaning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 1.8rem;
}

.meaning-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.meaning-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-6px);
    box-shadow: 0 12px 34px var(--shadow);
}

.meaning-card h3 {
    margin-bottom: 0.3rem;
}

.meaning-card .meaning-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--bg-alt);
    border-radius: 50px;
    padding: 0.2rem 0.8rem;
    margin-bottom: 0.9rem;
}

.meaning-card p {
    color: var(--text-light);
}

/* ---------- Vorher / Nachher ---------- */

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.before-after figure {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 34px var(--shadow);
}

.before-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-after figure:first-child img {
    /* filter: saturate(0.55) brightness(1.05); */
}

img[data-edit-id="blumen-straeusse.section-3.img"] {
    filter: none;
}

.before-after figcaption {
    position: absolute;
    left: 1rem;
    top: 1rem;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* ---------- Hinweis- / Partner-Box ---------- */

.partner-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 10px 34px var(--shadow);
    max-width: 1100px;
    margin: 0 auto;
}

.partner-box .kontakt-icon {
    margin: 0;
}

.partner-box h2,
.partner-box h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    margin-bottom: 0.6rem;
    color: var(--primary-dark);
}

.partner-box p {
    color: var(--text-light);
}

.partner-box .btn {
    white-space: nowrap;
}

.info-note {
    background: var(--bg-alt);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    color: var(--text);
    margin: 1.5rem 0;
}

/* ---------- Standort-Karten ---------- */

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
}

.location-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.4rem 2.2rem;
    border: 2px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-8px);
    box-shadow: 0 14px 40px var(--shadow-hover);
}

.location-card .kontakt-icon {
    margin: 0 0 1.4rem;
    width: 64px;
    height: 64px;
}

.location-card h3 {
    margin-bottom: 0.8rem;
}

.location-card p {
    color: var(--text-light);
    margin-bottom: 1.4rem;
    flex: 1;
}

.location-card .sortiment-link::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* ---------- Team ---------- */

.team-intro {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.9;
}

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

.team-gallery figure {
    margin: 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: 0 8px 30px var(--shadow);
}

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

.team-gallery figure:nth-child(1) img { object-position: 72% 28%; }
.team-gallery figure:nth-child(2) img { object-position: 68% 38%; }
.team-gallery figure:nth-child(3) img { object-position: 32% 18%; }

.clip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    justify-content: center;
    gap: 1.6rem 1.8rem;
    margin: 0 auto 2.8rem;
}

.clip-grid--3-2 {
    grid-template-columns: repeat(6, minmax(0, calc((280px - 1.8rem) / 2)));
}

.clip-grid--3-2 > .clip {
    grid-column: span 2;
}

.clip-grid--3-2 > .clip:nth-child(4) {
    grid-column: 2 / span 2;
}

.clip {
    margin: 0;
}

.clip-single {
    max-width: 280px;
    margin: 0.6rem auto 2.6rem;
}

.clip-square {
    max-width: 440px;
}

.clip-square video {
    aspect-ratio: 1;
}

.before-after + .clip-grid,
.leistungen-grid + .clip-single,
.steps + .clip-grid {
    margin-top: 2.6rem;
}

.clip video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: var(--radius-lg);
    background: #2a1c18;
    box-shadow: 0 12px 40px var(--shadow);
}

.clip figcaption {
    margin-top: 0.75rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.faq-with-video,
.with-video {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 2.2rem 2.8rem;
    align-items: start;
}

.faq-with-video .faq-container {
    max-width: none;
    margin: 0;
}

.faq-with-video .clip,
.with-video > .clip {
    position: sticky;
    top: calc(var(--header-h) + 1.2rem);
    max-width: 280px;
    width: 100%;
    margin: 0;
}

.with-video .leistungen-grid,
.with-video .usp-grid {
    margin: 0;
}

.with-video--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
}

.with-video--pairs .leistungen-grid,
.with-video--pairs .leistungen-grid:has(> :nth-child(4):last-child),
.with-video--pairs .leistungen-grid:has(> :nth-child(3):last-child),
.with-video--pairs .usp-grid {
    grid-template-columns: repeat(2, 1fr);
}

.with-video--stack .leistungen-grid,
.with-video--stack .leistungen-grid:has(> :nth-child(4):last-child),
.with-video--stack .leistungen-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: 1fr;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 1.8rem;
}

.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
    overflow: hidden;
}

.team-card:not(:has(.team-photo)) {
    padding: 2rem;
}

.team-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.team-photo {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-body {
    padding: 1.6rem 1.4rem 1.8rem;
}

.team-card h3 {
    margin-bottom: 0.4rem;
}

.team-card p {
    color: var(--text-light);
}

/* ---------- FAQ ---------- */

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

.faq-item {
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--white) 100%);
    background-origin: border-box;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

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

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    padding: 1.6rem 2.2rem;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.faq-heading {
    font-family: var(--font-body);
    font-size: inherit;
    line-height: 1.5;
}

.faq-icon {
    font-size: 2rem;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

.faq-answer-content {
    padding: 0 2.2rem 1.8rem;
    color: var(--text-light);
    line-height: 1.9;
}

.faq-answer-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Anfrage-Formular ---------- */

.anfrage-form {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px var(--shadow);
    border: 2px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    padding: 1rem 1.2rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    min-width: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 4px 15px var(--shadow);
}

.form-group textarea {
    resize: vertical;
}

.form-check {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.form-check input {
    margin-top: 0.35rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.form-check a,
.form-hint a {
    color: var(--primary);
    text-decoration: underline;
}

.form-hint {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.btn-form {
    background: var(--gradient);
    color: var(--white);
    width: 100%;
    box-shadow: 0 8px 25px var(--shadow);
}

.btn-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--shadow-hover);
}

.form-note {
    margin-top: 1.5rem;
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    background: var(--bg-alt);
    border-left: 5px solid var(--primary);
}

/* ---------- Kontakt ---------- */

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 2.5rem;
}

.kontakt-card {
    background: var(--white);
    padding: 2.6rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--shadow);
    border: 2px solid transparent;
}

.kontakt-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-hover);
}

.kontakt-card h3 {
    margin-bottom: 1rem;
}

.kontakt-card p {
    color: var(--text-light);
    line-height: 2;
}

.kontakt-card a {
    color: var(--primary);
    font-weight: 600;
}

.kontakt-card a:hover {
    color: var(--primary-light);
}

.opening-hours p {
    margin-bottom: 0.4rem;
}

.map-box {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 40px var(--shadow);
    background: var(--white);
}

.map-placeholder {
    position: relative;
    min-height: 360px;
    background:
        radial-gradient(circle at 30% 40%, rgba(224, 114, 74, 0.25), transparent 45%),
        repeating-linear-gradient(35deg, var(--bg-alt) 0 22px, var(--white) 22px 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.map-placeholder .kontakt-icon {
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: var(--text-light);
    max-width: 320px;
    margin: 0 auto 1.2rem;
}

.map-details {
    padding: 2.8rem 2.4rem;
}

.map-details h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.map-details p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* ---------- CTA-Band ---------- */

.cta-band {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
    color: var(--white);
}

.cta-band .container {
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
}

.cta-band h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-band p {
    font-size: 1.2rem;
    max-width: 720px;
    margin: 0 auto 2.4rem;
    opacity: 0.95;
}

/* ---------- Rechtstexte ---------- */

.prose {
    max-width: 860px;
    margin: 0 auto;
}

.prose h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.prose .breadcrumb ol {
    justify-content: flex-start;
    text-shadow: none;
    color: var(--text-light);
}

.prose .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.prose h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    color: var(--primary-dark);
    margin: 2.6rem 0 1rem;
}

.prose h3 {
    font-size: 1.25rem;
    margin: 1.8rem 0 0.6rem;
}

.prose p,
.prose li {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.prose ul {
    padding-left: 1.4rem;
}

.prose a {
    color: var(--primary);
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.placeholder {
    background: #FFF3C4;
    color: #6B4E00;
    padding: 0 0.3rem;
    border-radius: 4px;
}

/* ---------- Footer ---------- */

footer.site-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 5rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 72px;
    width: auto;
    margin-bottom: 1.25rem;
}

.footer-section .footer-title {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--white);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.88);
    line-height: 2;
    display: block;
}

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

.footer-section a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-section a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-partner {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.95rem;
}

.footer-partner a {
    font-weight: 600;
    color: var(--white);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2.2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.footer-bottom nav {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ---------- Raster: feste Spalten je Breakpoint, damit keine Einzelkarte übrig bleibt ---------- */

.usp-grid,
.kontakt-grid,
.steps,
.team-grid,
.meaning-grid {
    grid-template-columns: repeat(4, 1fr);
}

.reviews-grid,
.location-grid,
.leistungen-grid {
    grid-template-columns: repeat(3, 1fr);
}

.leistungen-grid:has(> :nth-child(4):last-child),
.location-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

.leistungen-grid:has(> :nth-child(8):last-child) {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .usp-grid,
    .kontakt-grid,
    .steps,
    .team-grid,
    .meaning-grid,
    .leistungen-grid,
    .leistungen-grid:has(> :nth-child(8):last-child) {
        grid-template-columns: repeat(2, 1fr);
    }

    .leistungen-grid:has(> :nth-child(3):last-child) {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .reviews-grid,
    .location-grid,
    .leistungen-grid:has(> :nth-child(3):last-child) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .usp-grid,
    .kontakt-grid,
    .steps,
    .meaning-grid,
    .leistungen-grid,
    .leistungen-grid:has(> :nth-child(4):last-child),
    .leistungen-grid:has(> :nth-child(8):last-child),
    .location-grid:has(> :nth-child(2):last-child),
    .with-video--pairs .leistungen-grid,
    .with-video--pairs .leistungen-grid:has(> :nth-child(4):last-child),
    .with-video--pairs .leistungen-grid:has(> :nth-child(3):last-child),
    .with-video--pairs .usp-grid {
        grid-template-columns: 1fr;
    }

    .clip-grid--3-2 {
        grid-template-columns: minmax(220px, 280px);
    }

    .clip-grid--3-2 > .clip,
    .clip-grid--3-2 > .clip:nth-child(4) {
        grid-column: auto;
    }
}

/* ---------- Bildergalerie (Floristik-Unterseiten) ---------- */

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.galerie-grid--einzeln {
    grid-template-columns: minmax(0, 380px);
    justify-content: center;
}

.galerie-item {
    margin: 0;
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-alt);
    box-shadow: 0 8px 30px var(--shadow);
}

.galerie-link {
    display: block;
    width: 100%;
    height: 100%;
}

.galerie-link:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: -3px;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.galerie-link:hover img,
.galerie-link:focus-visible img {
    transform: scale(1.05);
}

.galerie-nr {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.galerie-kategorien {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    max-width: 960px;
    margin: -1.5rem auto 4rem;
    padding: 0;
    list-style: none;
}

.galerie-kategorien a {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--primary-dark);
    font-weight: 500;
    transition: var(--transition);
}

.galerie-kategorien a:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.galerie-gruppe + .galerie-gruppe {
    margin-top: 4rem;
}

.galerie-gruppe h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    color: var(--primary-dark);
    margin-bottom: 1.4rem;
}

/* Großansicht */
.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--white);
}

.lightbox::backdrop {
    background: rgba(33, 22, 18, 0.92);
}

.lightbox-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 4.5rem 5.5rem 2rem;
}

.lightbox-figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    max-width: 100%;
    max-height: 100%;
}

.lightbox-figure img {
    max-width: 100%;
    max-height: calc(100vh - 13rem);
    max-height: calc(100dvh - 13rem);
    width: auto;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-caption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem 1.2rem;
    text-align: center;
}

.lightbox-caption .galerie-nr {
    position: static;
    font-size: 1rem;
}

.lightbox-caption .btn {
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
}

.lightbox-btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    transition: background 0.2s ease;
}

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

.lightbox-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

@media (max-width: 1100px) {
    .galerie-grid:not(.galerie-grid--einzeln) {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .galerie-grid:not(.galerie-grid--einzeln) {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .galerie-nr {
        left: 0.5rem;
        bottom: 0.5rem;
        padding: 0.15rem 0.6rem;
        font-size: 0.8rem;
    }

    .galerie-kategorien {
        margin: -0.5rem auto 2.5rem;
    }

    .galerie-gruppe + .galerie-gruppe {
        margin-top: 3rem;
    }

    .lightbox-inner {
        padding: 4.5rem 1rem 5.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 1.2rem;
        transform: none;
    }

    .lightbox-figure img {
        max-height: calc(100vh - 19rem);
        max-height: calc(100dvh - 19rem);
    }
}

.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;
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
    .nav-links {
        gap: 1.8rem;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content .footer-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1100px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .featured-content {
        gap: 3rem;
    }

    .partner-box {
        grid-template-columns: auto 1fr;
    }

    .partner-box .btn {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 900px) {
    .featured-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 4.5rem 2rem;
    }

    .featured-content .featured-text {
        order: 2;
    }

    .featured-content .featured-image,
    .featured-reverse .featured-image {
        order: 1;
        aspect-ratio: 4 / 3;
    }

    .featured-content .featured-image.featured-video,
    .featured-reverse .featured-image.featured-video {
        aspect-ratio: 9 / 16;
        max-width: 300px;
        width: 100%;
        margin-inline: auto;
    }

    .featured-content .featured-image.featured-video-square,
    .featured-reverse .featured-image.featured-video-square {
        aspect-ratio: 1;
        max-width: 420px;
    }

    .faq-with-video,
    .with-video,
    .with-video--reverse {
        grid-template-columns: 1fr;
    }

    .faq-with-video .clip,
    .with-video > .clip {
        position: static;
        max-width: 280px;
        margin-inline: auto;
    }

    .map-box {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        min-height: 280px;
    }

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

@media (max-width: 768px) {
    :root {
        --header-h: 80px;
    }

    .site-nav {
        padding: 0 1.25rem;
    }

    .container {
        padding: 4rem 1.25rem;
    }

    .featured-content {
        padding: 4rem 1.25rem;
    }

    .logo img {
        height: 44px;
    }

    .hero {
        height: auto;
        min-height: calc(88vh - var(--header-h));
        padding: 3rem 0;
    }

    .page-hero {
        min-height: 0;
        padding: 3.5rem 0 3rem;
    }

    .hero-content {
        padding: 1.5rem 1.25rem;
    }

    .hero-content p {
        margin-bottom: 2rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header p,
    .intro-text {
        font-size: 1.08rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .anfrage-form {
        padding: 2rem 1.25rem;
    }

    .hero-buttons,
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        padding: 1rem 1.6rem;
    }

    .sortiment-image {
        height: 230px;
    }

    .sortiment-content,
    .review-card,
    .leistung-card,
    .usp-card {
        padding: 1.8rem 1.5rem;
    }

    .usp-grid,
    .sortiment-grid,
    .leistungen-grid,
    .reviews-grid {
        gap: 1.5rem;
    }

    .team-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .team-gallery figure:nth-child(3) {
        display: none;
    }

    .before-after {
        grid-template-columns: 1fr;
    }

    .partner-box {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        text-align: left;
    }

    .partner-box .btn {
        justify-self: stretch;
        white-space: normal;
    }

    .faq-question {
        padding: 1.3rem 1.4rem;
        font-size: 1.02rem;
    }

    .faq-answer-content {
        padding: 0 1.4rem 1.4rem;
    }

    .map-details {
        padding: 2rem 1.5rem;
    }

    .cta-band .container {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    footer.site-footer {
        padding: 3.5rem 1.25rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 400px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .team-card-body {
        padding: 1rem 0.6rem 1.2rem;
    }

    .team-card p {
        font-size: 0.9rem;
    }
}

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

    .hero-video {
        display: none;
    }
}
