/* ==========================================================================
   STARTSEITEN TEMPLATE - STYLESHEET
   Struktur: Base > Layout > Globale Komponenten > Sections (1-8)
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. VARIABLEN & BASIS
   -------------------------------------------------------------------------- */
:root {
    --col-green: #89a026;
    --col-darkgreen: #6c7f1d;
    --col-lightgreen: #f4faed;
    --col-lightblue: #eaf4f8;
    --col-blue: #3498db;
    --col-beige: #f8f4ef;
    --col-white: #ffffff;
    --col-black: #2c3e50;
    --col-text: #555555;

    --radius: 12px;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 7rem;
}

.hp-main {
    font-family: inherit;
    color: var(--col-text);
}

.hp-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hp-container--narrow {
    max-width: 800px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   B. GLOBALE TYPOGRAFIE
   -------------------------------------------------------------------------- */
.hp-title {
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.hp-title--green { color: var(--col-green) !important; }
.hp-title--black { color: var(--col-black) !important; }
.hp-title--white { color: var(--col-white) !important; }

.hp-subtitle {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.hp-text--white {
    color: var(--col-white);
}

/* --------------------------------------------------------------------------
   C. GLOBALE BUTTONS
   -------------------------------------------------------------------------- */
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Der neue Lift-Effekt für ALLE Buttons auf der Startseite */
.hp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Der Anfahrt-Button (Grün) - Wird BLAU (#a0bcc8) beim Hovern */
.hp-btn--primary {
    background: var(--col-green);
    color: var(--col-white);
    border: 1px solid var(--col-green);
}
.hp-btn--primary:hover {
    background-color: #a0bcc8;
    border-color: #a0bcc8;
    color: var(--col-white);
}

/* Der "Auf Karte"-Button (Transparenter Rand) - Wird GRÜN beim Hovern */
.hp-btn--outline {
    border: 2px solid var(--col-green);
    color: var(--col-green);
    background: transparent;
}
.hp-btn--outline:hover {
    background: var(--col-green);
    color: var(--col-white);
}

/* Der Standard-Button (Hellblau) - Wird GRÜN beim Hovern */
.hp-btn--pill-blue {
    background-color: #a0bcc8;
    color: var(--col-white);
    border: 1px solid #a0bcc8;
}
.hp-btn--pill-blue:hover {
    background-color: var(--col-green);
    border-color: var(--col-green);
    color: var(--col-white);
}

.hp-btn--small {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.hp-btn--mt-auto {
    margin-top: auto; /* Drückt den Button in Flex-Cards immer nach unten */
    align-self: flex-start;
}

/* --------------------------------------------------------------------------
   D. GLOBALE GRID-SYSTEME
   -------------------------------------------------------------------------- */
.hp-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hp-grid--2col { grid-template-columns: 1fr 1fr; }
    .hp-grid--3col { grid-template-columns: repeat(3, 1fr); }
    .hp-grid--75-25 { grid-template-columns: 2fr 1fr; }
    .hp-grid--5col { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .hp-grid--5col { grid-template-columns: repeat(5, 1fr); }
}

.hp-grid--align-center {
    align-items: center;
}

.hp-grid > * {
    min-width: 0;
}

/* --------------------------------------------------------------------------
   E. GLOBALE SECTIONS & HELPER
   -------------------------------------------------------------------------- */
.hp-section {
    padding: var(--spacing-md) 0;
}
@media (min-width: 768px) {
    .hp-section { padding: var(--spacing-lg) 0; }
}

.hp-section--white { background-color: var(--col-white); }
.hp-section--beige { background-color: var(--col-beige); }
.hp-section--lightblue { background-color: var(--col-lightblue); }
.hp-section--lightgreen { background-color: var(--col-lightgreen); }
.hp-section--thin { padding: 0 !important; }

.hp-section__header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}
.hp-section__header--left {
    text-align: left;
}

.hp-img-responsive {
    width: 100%;
    height: auto;
    display: block;
}
.hp-img-radius {
    border-radius: var(--radius);
}


/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
#hp-section-1.hp-hero {
    height: 54vh;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
}
#hp-section-1.hp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Falls später ein dunkles Overlay nötig ist: background: rgba(0,0,0,0.3); */
}
#hp-section-1 .hp-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}
#hp-section-1 .hp-hero__title {
    color: var(--col-white);
    font-size: clamp(1rem, 4vw, 3rem);
    margin: 0;
    text-transform: uppercase;
}
#hp-section-1 .hp-hero__subline {
    color: var(--col-white);
    font-size: clamp(2.1rem, 3vw, 3.5rem);
    margin-top: 1rem;
    margin-bottom: 0;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}


/* ==========================================================================
   2. SECTION: AKTIONEN & NEUHEITEN
   ========================================================================== */
#hp-section-2 {
    padding: 2rem 0 3rem 0;
}
#hp-section-2 .hp-s2-title {
    margin-bottom: 1rem;
    font-size: 1.5rem !important;
    font-weight: normal;
}
#hp-section-2 .hp-card--slim {
    background: var(--col-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: block;
}

/* --- Aktions-Karte (Links) --- */
#hp-section-2 .hp-card--action {
    /* Wir animieren nur den Schatten, kein unruhiges Springen mehr */
    transition: box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
#hp-section-2 .hp-card--action:hover {
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

#hp-section-2 .hp-card__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    /* Luxuriöser 1s Zoom-Effekt */
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* ==========================================================================
   2. SECTION: NEUHEITEN SLIDER (Premium Upgrade)
   ========================================================================== */
.hp-col--news {
    position: relative;
    display: flex;
    flex-direction: column;
}

.hp-news-slider-wrapper {
    position: relative;
    width: 100%;
}

.hp-news-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    gap: 0;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    cursor: grab;
    -webkit-overflow-scrolling: touch;
}
.hp-news-slider::-webkit-scrollbar { display: none; }

/* Wenn der Slider mit der Maus gezogen wird (Maus gedrückt) */
.hp-news-slider.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.hp-card--news-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    display: block;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    user-select: none;
}

.hp-card__img--news {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    /* Gleicher luxuriöser Zoom wie links */
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* 1. Bild strikt fixieren (Maximaler Schutz für Grafiken & Texte) */
#hp-section-2 .hp-card__img,
.hp-card__img--news {
    transform: none !important;
    transition: filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: filter;
}

/* 2. Die Karte selbst: Subtiles Schweben mit extrem weichem, tiefen Schatten */
#hp-section-2 .hp-card--action,
.hp-card--news-item {
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, box-shadow;
}

#hp-section-2 .hp-card--action:hover,
.hp-card--news-item:hover {
    /* Ein minimaler Lift (nur 4px), der Eleganz statt Verspieltheit ausstrahlt */
    transform: translateY(-4px);
    /* Ein tiefer, weit gestreuter Premium-Schatten */
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* 3. Subtiles Nachschärfen des Bildes (wirkt "brillant", nicht animiert) */
#hp-section-2 .hp-card--action:hover .hp-card__img,
.hp-card--news-item:hover .hp-card__img--news {
    filter: contrast(1.04) saturate(1.05);
}

/* Der Text-Bereich im Slider (News) OHNE Gradient */
.hp-news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent !important; /* Gradient komplett entfernt */
    padding: 3rem 1.5rem 0.5rem 1rem;
    color: #fff;
    display: flex;
    flex-direction: column;
}

.hp-news-title {
    color: #fff !important;
    font-size: 2rem !important;
    margin-bottom: 0.3rem !important;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* Schatten minimal verstärkt für perfekte Lesbarkeit */
}

.hp-news-subtext {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.5rem 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    font-weight: bold;
}

.hp-news-price {
    font-size: 1rem;
    font-weight: bold;
    color: var(--col-lightgreen);
}

.hp-news-price del {
    color: rgba(255,255,255,0.6);
    font-weight: normal;
    font-size: 0.85rem;
    margin-right: 8px;
}

/* --- DOTS PAGINATION --- */
.hp-news-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.hp-news-dot {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hp-news-dot.is-active {
    background-color: var(--col-green);
    width: 24px;
    border-radius: 4px;
}


/* ==========================================================================
   3. SECTION: SERVICES / KATEGORIEN (Beige)
   ========================================================================== */
#hp-section-3 .hp-s3-title {
    font-size: clamp(1.8rem, 2vw, 2.5rem) !important;
    margin-bottom: 0.2rem;
}

section#hp-section-3 {
    padding-top: 5rem !important;
}

#hp-section-3 .hp-s3-subtitle {
    font-size: 1.8rem; /* HIER anpassen */
    font-weight: 700;
    margin-top: 0;
    color: #36302c;
}

#hp-section-3 .hp-category-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}
#hp-section-3 .hp-category-item__img-link {
    display: block;
    margin-bottom: 1.5rem;
    overflow: hidden; /* Wichtig, damit das Bild beim Zoomen im Radius bleibt */
    border-radius: var(--radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: box-shadow 0.4s ease;
}

#hp-section-3 .hp-category-item__img-link:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

#hp-section-3 .hp-category-item__img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#hp-section-3 .hp-category-item__img-link:hover .hp-category-item__img {
    transform: scale(1.04);
}
#hp-section-3 .hp-category-item__img--placeholder {
    background: #e2e2e2;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}
#hp-section-3 .hp-category-item__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}
#hp-section-3 .hp-category-item__title {
    font-size: 1.5rem;
    color: var(--col-black);
    margin-bottom: 0.2rem;
    margin-top: 0.5rem;
    font-weight: 700;
}
#hp-section-3 .hp-category-item__sub {
    font-size: 1.2rem;
    font-weight: 700;
    color: #36302c;
    margin-top: 0;
    margin-bottom: 0;
}
#hp-section-3 .hp-category-item__text {
    color: var(--col-text);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   SECTION 3: Textwechsel (Swap)
   ========================================================================== */
#hp-section-3 .hp-btn--swap {
    position: relative;
    overflow: hidden;
    /* Verhindert, dass der Button schrumpft/wächst, wenn der Text wechselt */
    min-width: 160px;
}

/* Beide Text-Ebenen vorbereiten */
#hp-section-3 .hp-btn__text-default,
#hp-section-3 .hp-btn__text-hover {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
}

/* Der Hover-Text wird unsichtbar nach unten geschoben positioniert */
#hp-section-3 .hp-btn__text-hover {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 150%);
    opacity: 0;
    white-space: nowrap;
}

/* Hover-Status: Default-Text fährt nach oben weg */
#hp-section-3 .hp-btn--swap:hover .hp-btn__text-default {
    transform: translateY(-150%);
    opacity: 0;
}

/* Hover-Status: Neuer Text fährt von unten exakt in die Mitte */
#hp-section-3 .hp-btn--swap:hover .hp-btn__text-hover {
    transform: translate(-50%, -50%);
    opacity: 1;
}


#hp-section-3 .hp-btn {
   width: 220px;
}

/* ==========================================================================
   4. SECTION: FULLWIDTH BILD (STATIC)
   ========================================================================== */
#hp-section-4.hp-section--fullwidth-static {
    background-image: var(--fw-bg);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
}

h2#s5-heading {
    font-size: 2.7rem !important;
}

#hp-section-4.hp-section--fullwidth-static::before {
    content: '';
    position: absolute;
    inset: 0;
}
#hp-section-4 .hp-container {
    position: relative;
    z-index: 1;
}
#hp-section-4 .hp-s4-title {
    margin-bottom: 1.5rem;
}
#hp-section-4 .hp-s4-text {
    font-size: 1.6rem;
}


/* ==========================================================================
   5. SECTION: BLOG (Hellblau)
   ========================================================================== */
h2#s5-heading {
    font-size: 2.7rem !important;
}

#hp-section-5 .hp-s5-subline {
    margin-top: 0;
    font-size: 2rem;
    color: #36302c;
    font-weight: 700;
}
#hp-section-5 .hp-card--blog {
    background: var(--col-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}
#hp-section-5 .hp-card--blog {
    /* (Deine bestehenden Werte wie background, border-radius etc. bleiben erhalten) */
    background: var(--col-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#hp-section-5 .hp-card--blog:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

#hp-section-5 .hp-card__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 285px;
    transition: transform 0.8s ease;
}

#hp-section-5 .hp-card--blog:hover .hp-card__img {
    transform: scale(1.03);
}
#hp-section-5 .hp-card__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 285px;
}
#hp-section-5 .hp-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
#hp-section-5 .hp-card__meta {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #afc7d3;
}
#hp-section-5 .hp-card__title {
    margin-bottom: 0.5rem;
    text-transform: none !important;
}


/* ==========================================================================
   6. SECTION: WER WIR SIND (Breakout)
   ========================================================================== */

/* Zwingt die komplette Sektion auf Desktop UND Mobile auf Weiß */
#hp-section-6.hp-section,
#hp-section-6 .hp-grid-breakout,
#hp-section-6 .hp-grid-breakout__text-inner {
    background-color: #ffffff !important;
}

#hp-section-6 .hp-grid-breakout {
    display: grid;
    grid-template-columns: 1fr;
}
#hp-section-6 .hp-grid-breakout__img-col {
    position: relative;
    overflow: hidden;
    height: 300px;
}
#hp-section-6 .hp-img-breakout {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    /* Luxuriöse, weiche Animation für das Bild */
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Wenn die Maus über den gesamten Breakout-Bereich fährt, zoomt das Bild */
#hp-section-6 .hp-grid-breakout:hover .hp-img-breakout {
    transform: scale(1.04);
}
#hp-section-6 .hp-grid-breakout__text-inner {
    padding: 3rem 1.5rem;
}
#hp-section-6 .hp-s6-title {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem) !important;
    margin-bottom: 1rem;
    width: 500px;
}

.hp-text {
    font-size: 1.5rem;
    line-height: 1.3;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}

@media (min-width: 768px) {
    #hp-section-6 .hp-grid-breakout {
        grid-template-columns: minmax(1.5rem, 1fr) minmax(0, 600px) minmax(0, 600px) minmax(1.5rem, 1fr);
        height: 400px; /* INDIVIDUELLE HÖHE FÜR SECTION 6 */
    }
    #hp-section-6 .hp-grid-breakout__img-col {
        grid-column: 1 / 3;
        height: 100%;
    }
    #hp-section-6 .hp-grid-breakout__text-col {
        grid-column: 3 / 4;
        display: flex;
        align-items: center;
        height: 100%;
    }
    #hp-section-6 .hp-grid-breakout__text-inner {
        padding: 0 0 0 10rem;
    }
}


#hp-section-6 .hp-btn {
    height: 50px;
    min-width: 250px;
    font-size: 1.5rem;
    font-weight: normal;
}


/* ==========================================================================
   7. SECTION: STORE LOCATOR (Hellgrün)
   ========================================================================== */

/* --- 1. Symmetrisches Layout & Abstände --- */
#hp-section-7 .hp-grid {
    align-items: center; /* Zwingt Bild und Text exakt auf eine Höhe (mittig symmetrisch) */
    gap: 2rem;
}

section#hp-section-7 {
    padding: 3rem 0 2rem 0;
}

h2#s7-heading {
    font-size: 2.7rem !important;
}

#hp-section-7 .hp-subtitle {
    font-size: 2rem;
    margin: 0;
    padding-top: 0;
    color: #36302c;
    font-weight: 700;
}

@media (min-width: 768px) {
    #hp-section-7 .hp-grid {
        gap: 4rem; /* Deutlich mehr Abstand zwischen Bild und Text */
    }
}

@media (min-width: 1024px) {
    #hp-section-7 .hp-grid {
        gap: 6rem; /* Extremer Freiraum auf großen Bildschirmen */
    }
}

/* --- 2. Linke Spalte: Bild (flacher/schmaler) --- */
#hp-section-7 .hp-img-static-s7 {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Macht das Bild flach wie ein Panorama (deutlich schmaler in der Höhe) */
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- 3. Rechte Spalte: Header --- */
#hp-section-7 .hp-store-status {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

#hp-section-7 .hp-separator {
    width: 90px;
    height: 2px;
    background-color: var(--col-green);
    border: none;
    margin: 1.5rem 0;
}

/* --- 4. Der Slider (Unsichtbarer Rahmen) --- */
#hp-section-7 .hp-store-slider-container {
    position: relative;
    margin-top: 1rem;
}

#hp-section-7 .hp-store-slider--single {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 0;
}
#hp-section-7 .hp-store-slider--single::-webkit-scrollbar {
    display: none;
}

/* --- 5. Die Händler-Karte (Transparent) --- */
#hp-section-7 .hp-store-card--transparent {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

#hp-section-7 .hp-store-card__details {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    margin-left: 0.5rem;
}

/* --- 6. SVG Icons & Kontakt --- */
#hp-section-7 .hp-store-card__icon-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.8rem;
    cursor: default; /* Optional, damit die Reihe interaktiv wirkt */
}

#hp-section-7 .hp-svg-icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    display: inline-block;
}

#hp-section-7 .hp-svg-icon svg {
    width: 100%;
    height: 100%;
    fill: #888;
    /* Weiche Premium-Animation für Farbe und Bewegung */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
}

#hp-section-7 .hp-svg-icon--green svg {
    fill: var(--col-green);
}

#hp-section-7 .hp-store-card__icon-row p {
    font-size: 0.95rem;
    color: var(--col-text);
    margin: 0;
    line-height: 1.5;
}

#hp-section-7 .hp-store-card__icon-row p a {
    text-decoration: none;
    color: inherit;
    /* Die gleiche weiche Kurve für den Text */
    transition: color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 1. Icon wird grün, wächst minimal (15%) und hebt sich 2px an */
#hp-section-7 .hp-store-card__icon-row:hover .hp-svg-icon svg {
    fill: var(--col-green);
    transform: scale(1.15) translateY(-2px);
}

/* 2. Text (falls es ein Link ist) wird synchron grün */
#hp-section-7 .hp-store-card__icon-row:hover p a {
    color: var(--col-green);
}

/* --- 7. Buttons & Entfernung --- */
#hp-section-7 .hp-store-card__distance {
    margin-top: 1rem;
    font-weight: 700;
    color: var(--col-green);
    font-size: 0.9rem;
}

#hp-section-7 .hp-store-card__buttons {
    display: flex;
    gap: 1rem;
    max-width: 400px;
}

/* Zwingt alle Buttons in Section 7 auf exakt die gleiche Breite */
#hp-section-7 .hp-store-card__buttons .hp-btn {
    flex: 1; /* Teilt den Platz gleichmäßig auf alle vorhandenen Buttons auf */
    padding-left: 5px; /* Etwas reduziertes Padding, damit auch lange Wörter nebeneinander passen */
    padding-right: 5px;
    text-align: center;
    width: 100%;
}

/* --- 8. Slider Dots --- */
#hp-section-7 .hp-slider-dots {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 2rem;
}

#hp-section-7 .hp-slider-dot {
    width: 8px;
    height: 8px;
    background-color: #ccd7bf;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

#hp-section-7 .hp-slider-dot.is-active {
    background-color: var(--col-green);
    width: 24px;
    border-radius: 4px;
}

/* Versteckt beim ersten Laden alle Händler ab Position 11, damit der Slider sauber bleibt */
#hp-section-7 .hp-store-card:nth-child(n+11) {
    display: none !important;
}

/* ==========================================================================
   KARTEN-OVERLAY (Leaflet)
   ========================================================================== */

#hp-section-7 .hp-map-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

section#hp-section-8 {
    padding: 5rem 0 4rem 0;
}

#hp-section-7 .hp-map-wrapper .hp-img-static-s7 {
    transition: opacity 0.55s ease, transform 0.55s ease;
}

#hp-section-7 .hp-map-wrapper.is-map-active .hp-img-static-s7 {
    opacity: 0;
    transform: scale(1.06);
}

#hp-section-7 .hp-map-container {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.55s ease;
}

#hp-section-7 .hp-map-wrapper.is-map-active .hp-map-container {
    opacity: 1;
    pointer-events: auto;
}

#hp-section-7 .hp-map-back-btn {
    position: absolute;
    top: 12px;
    left: 55px;
    z-index: 10;
    display: none;
    align-items: center;
    gap: 6px;
    background: var(--col-white);
    color: var(--col-black);
    border: none;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    transition: background 0.3s ease;
}

#hp-section-7 .hp-map-back-btn:hover {
    background: #f0f0f0;
}

#hp-section-7 .hp-section__header {
    margin-bottom: 2rem;
}

    /* Leaflet Custom Pin - remove default bg */
.hp-map-pin {
    background: none !important;
    border: none !important;
}

/* ==========================================================================
   FEATURE: ADRESSE KOPIEREN (Store Locator)
   ========================================================================== */
#hp-section-7 .hp-store-card__icon-row--copy {
    cursor: pointer;
}

#hp-section-7 .hp-store-card__icon-row--copy p {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Das kleine "Kopieren" Badge */
.hp-copy-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    background: #e8f0df; /* Passendes hellgrün */
    color: var(--col-green);
    padding: 3px 8px;
    border-radius: 20px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none; /* Blockiert keine Klicks */
}

/* Auf dem Desktop beim Hovern weich einblenden */
@media (min-width: 768px) {
    #hp-section-7 .hp-store-card__icon-row--copy:hover .hp-copy-badge {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Auf dem Handy immer leicht sichtbar lassen, damit man die Funktion erkennt */
@media (max-width: 767px) {
    .hp-copy-badge {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Erfolgs-Status (Klasse wird per JS gesetzt) */
#hp-section-7 .hp-store-card__icon-row--copy.is-copied .hp-copy-badge {
    background: var(--col-green);
    color: #ffffff;
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   8. SECTION: LOGOS (Weiß)
   ========================================================================== */

h2#s8-heading {
    font-size: 3rem !important;
    text-transform: uppercase !important;
}

#hp-section-8 .hp-logo-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#hp-section-8 .hp-logo-card__img-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 150px; /* Feste Höhe für die Symmetrie */
    background: transparent; /* Absolut durchsichtig */
}

#hp-section-8 .hp-logo-card__img-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#hp-section-8 .hp-logo-card__img-wrapper a:hover {
    transform: translateY(-4px);
}

/* Das wichtigste für verschiedene Logo-Formen: */
#hp-section-8 .hp-img-logo-fit {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Das Logo wird nie verzerrt und passt immer komplett rein */
    display: block;
}

#hp-section-8 .hp-subtitle {
    font-size: 1.35rem;
    color: #36302c;
    font-weight: normal; /* oder 700, wenn es fett sein soll */
    margin-top: 0;
}

#hp-section-8 .hp-logo-card__title {
    font-size: 1.2rem;
    color: var(--col-black);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

#hp-section-8 .hp-logo-card__text {
    font-size: 1rem;
    color: var(--col-text);
    line-height: 1.4;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}
/* ==========================================================================
   ENFOLD OVERLAY DEAKTIVIEREN (Nur für Startseite)
   ========================================================================== */
.hp-main .image-overlay,
.hp-main .image-overlay-inside {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* --- HILFSKLASSEN ZUR TRENNUNG VON DESKTOP & MOBILE --- */
@media (min-width: 768px) {
    .hp-show-on-mobile { display: none !important; }
}

/* ==========================================================================
   MOBILE OPTIMIERUNG (Max-Width: 767px) - OPTIMIERT
   ========================================================================== */

@media (max-width: 767px) {
    /* ----------------------------------------------------------------------
       GENERELLE MOBILE ANPASSUNGEN
       ---------------------------------------------------------------------- */
    :root {
        --spacing-md: 2.5rem;
        --spacing-lg: 3.5rem;
    }

    #header_meta {
        padding-top: 10px  !important;
    }

    #header .container {
        padding-bottom: 0 !important;
    }

    .hp-section {
        padding: var(--spacing-md) 0;
    }

    .hp-subtitle {
        font-size: 1.4rem !important;
        margin-bottom: 1.5rem;
    }

    .hp-text,
    .hp-category-item__text,
    .hp-s4-text {
        font-size: 1.1rem !important;
    }

    .hp-grid {
        gap: 2.5rem;
    }

    /* ----------------------------------------------------------------------
       1. HERO SECTION
       ---------------------------------------------------------------------- */
    #hp-section-1.hp-hero {
        background-image: var(--hero-bg-mobile) !important;
        height: 320px;
        aspect-ratio: auto;
        padding-bottom: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }

    #hp-section-1 .hp-hero__inner {
        width: 100%;
        padding: 0 1rem;
    }

    #hp-section-1 .hp-hero__title {
        font-size: 1.6rem;
    }

    #hp-section-1 .hp-hero__subline {
        font-size: 1.2rem;
        margin-top: 0;
    }

    /* ----------------------------------------------------------------------
   2. AKTIONEN & NEUHEITEN (Nur Mobile!)
   ---------------------------------------------------------------------- */
    /* --- AKTIONEN HINTERGRUND AUF VOLLE BILDSCHIRMBREITE --- */
    #hp-section-2 .hp-grid > .hp-col:first-child {
        background-color: var(--col-beige);
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        margin-top: -2.5rem;
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    }

    /* --- AKTIONEN ÜBERSCHRIFT --- */
    #hp-section-2 .hp-grid > .hp-col:first-child .hp-s2-title {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem
    }

    /* 1. BREITE DER KARTE (Bereinigt) */
    #hp-section-2 .hp-card--news-item {
        flex: 0 0 80% !important;
        scroll-snap-align: start;
        position: relative;
        border-radius: var(--radius);
    }

    /* 2. HÖHE DER KARTE */
    #hp-section-2 .hp-card__img--news {
        height: 210px !important;
        object-fit: cover;
    }

    /* Mobile Helper Classes */
    .hp-hide-on-mobile {
        display: none !important;
    }

    /* Erzwungenes Anzeigen auf Mobile (überschreibt Desktop-Ausblendung) */
    span.hp-show-on-mobile {
        display: inline-block !important;
    }

    div.hp-show-on-mobile {
        display: flex !important;
    }

    /* Aktionen Bild schmaler */
    #hp-section-2 .hp-card--action .hp-card__img {
        height: 106px;
    }

    /* Der Slider selbst - macht die Karten nebeneinander wischbar */
    .hp-news-slider {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 15px;
        padding-bottom: 0.5rem;
    }

    .hp-news-slider::-webkit-scrollbar {
        display: none;
    }

    /* Das "Neuheiten" Badge (Oben Links auf dem Bild) */
    .hp-news-badge {
        position: absolute;
        top: 10px;
        left: 15px;
        color: #fff;
        font-size: 1.1rem;
        z-index: 10;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    /* Text-Container auf Mobile (Ohne Verlauf, linksbündig passend zum Badge) */
    #hp-section-2 .hp-news-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto !important;
        background: transparent !important;
        /* Padding links exakt auf 15px setzen, genau wie das Badge oben links (left: 15px) */
        padding: 2rem 15px 0px 15px !important;
        justify-content: flex-end;
        align-items: flex-start; /* Schiebt alles nach links */
        text-align: left;
    }

    #hp-section-2 .hp-news-title {
        font-size: 1.5rem !important;
        text-align: left !important; /* Linksbündig */
        color: #fff !important;
        margin-bottom: 0 !important;
    }

    #hp-section-2 .hp-news-subtext {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        margin: 0 0 0.5rem 0;
        text-align: left;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
        font-weight: bold;
    }

    #hp-section-2 .hp-news-price {
        text-align: left !important; /* Linksbündig */
        color: #fff;
        font-size: 0.95rem;
    }

    .hp-news-title {
        font-size: 1.4rem !important;
        text-align: left;
        color: #fff !important;
    }

    .hp-news-price {
        text-align: left;
        color: #fff;
    }

    /* Dots erzwingen und zentrieren */
    #hp-section-2 .hp-news-dots {
        display: flex !important;
        justify-content: center !important;
        margin-top: 1rem;
        gap: 8px;
    }

    #hp-section-2 .hp-news-dot {
        background-color: #e8f0df; /* Helles Grün als Inaktiv-Status */
    }

    #hp-section-2 .hp-news-dot.is-active {
        background-color: var(--col-green); /* Dunkles Grün aktiv */
    }

    /* ----------------------------------------------------------------------
       3. SERVICES / KATEGORIEN
       ---------------------------------------------------------------------- */
    /* Wieder linksbündig, wie gewünscht */
    #hp-section-3 .hp-section__header,
    #hp-section-3 .hp-category-item__content {
        text-align: left;
        align-items: flex-start;
    }

    #hp-section-3 .hp-s3-title {
        font-size: 1.6rem !important;
        text-align: center;
        line-height: 1.2;
    }

    #hp-section-3 .hp-s3-subtitle {
        font-size: 1.3rem !important;
        text-align: center;
    }

    #hp-section-3 .hp-category-item__title {
        font-size: 1.6rem;
    }

    section#hp-section-3 {
        padding-top: 3rem !important;
    }

    #hp-section-3 .hp-btn {
        padding: 0.45rem 1rem;
        font-weight: normal;
        font-size: 1.2rem;
    }

    /* Absatztext ausblenden */
    #hp-section-3 .hp-category-item__text {
        display: none !important;
    }

    #hp-section-3 .hp-category-item__sub {
        margin-bottom: 0.8rem;
        font-size: 1.1rem;
    }

    /* ----------------------------------------------------------------------
       4. FULLWIDTH BILD
       ---------------------------------------------------------------------- */
    #hp-section-4.hp-section--fullwidth-static {
        padding: 35px 0;
    }

    #hp-section-4 .hp-s4-title {
        font-size: 1.6rem !important;
    }

    #hp-section-4 .hp-text, .hp-category-item__text, .hp-s4-text {
        font-size: 1.1rem !important;
    }


    /* ----------------------------------------------------------------------
   5. BLOG / MAGAZIN (Mobile Maße & Text - OPTIMIERT FÜR MEHR TEXT)
   ---------------------------------------------------------------------- */
    h2#s5-heading {
        font-size: 1.6rem !important;
    }

    .hp-section__header {
        margin-bottom: 1.5rem;
    }

    /* DER CONTAINER: Zwingt die Karten nebeneinander und aktiviert das Swipen */
    #hp-section-5 .hp-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        padding: 0 0.5rem 0 0.5rem;
        margin: 0 -0.5rem;
        align-items: stretch; /* WICHTIG: Alle Karten bleiben gleich hoch */
    }

    #hp-section-5 .hp-grid::-webkit-scrollbar {
        display: none;
    }

    /* 1. BREITE DER CARDS */
    #hp-section-5 .hp-card--blog {
        flex: 0 0 100% !important;
        scroll-snap-align: center;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    /* --- NEU: MEHR PLATZ IM CONTENT-BEREICH --- */
    #hp-section-5 .hp-card__content {
        padding: 1.2rem 1.2rem !important;
        display: flex;
        flex-direction: column;
        flex-grow: 1; /* Füllt den verfügbaren Platz in der Karte aus */
        min-height: 220px; /* Erzeugt eine Mindesthöhe für den Textbereich */
    }

    /* 2. HÖHE DER BILDER */
    #hp-section-5 .hp-card__img {
        height: 200px !important; /* Etwas niedriger, um mehr Platz für Text zu lassen */
        min-height: 200px !important;
        object-fit: cover;
    }

    /* 3. TEXTGRÖSSEN ANPASSEN */
    #hp-section-5 .hp-card__meta {
        font-size: 0.75rem !important;
        margin-bottom: 0.5rem;
    }

    #hp-section-5 .hp-card__title {
        font-size: 1.2rem !important; /* Minimal vergrößert */
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    /* --- OPTIMIERT: ABSATZTEXT (EXCERPT) --- */
    #hp-section-5 .hp-card__excerpt {
        font-size: 1.2rem !important; /* Etwas besser lesbar */
        line-height: 1.5;
        margin-bottom: 1.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 4; /* ERHÖHT: Zeigt jetzt bis zu 4 Zeilen an */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Der Button innerhalb der Karte */
    #hp-section-5 .hp-card__content .hp-btn {
        font-size: 1.2rem !important;
        padding: 7px 35px;
        margin-top: auto;
        font-weight: normal;
    }

    /* Abstand der Sektions-Header verringern */
    #hp-section-5 .hp-s5-subline {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem;
    }

    /* ----------------------------------------------------------------------
   6. WER WIR SIND
   ---------------------------------------------------------------------- */
    #hp-section-6 .hp-grid-breakout__img-col {
        height: 190px;
    }

    #hp-section-6 .hp-grid-breakout__text-inner {
        padding: 2.5rem 2rem;
        background-color: #ffffff !important;
    }

    #hp-section-6 .hp-text {
        font-size: 1.35rem !important;
    }

    #hp-section-6 .hp-s6-title {
        width: 100%;
        font-size: 1.5rem !important;
    }

    #hp-section-6 .hp-btn {
        width: auto;
        min-width: 180px !important;
        font-size: 1.2rem;
        height: 40px;
        margin: 0 !important;
    }

    /* ----------------------------------------------------------------------
       7. STORE LOCATOR
       ---------------------------------------------------------------------- */
    #hp-section-7 {
        padding: 3rem 0;
    }

    h2#s7-heading {
        font-size: 1.5rem !important;
    }

    #hp-section-7 .hp-subtitle {
        font-size: 1.3rem !important;
        padding: 0 3.5rem;
    }

    /* 2 Buttons nebeneinander, 1 darunter */
    #hp-section-7 .hp-store-card__buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Button 1 und 2 */
    #hp-section-7 .hp-store-card__buttons .hp-btn:nth-child(1),
    #hp-section-7 .hp-store-card__buttons .hp-btn:nth-child(2) {
        flex: 1 1 calc(50% - 5px);
        width: auto;
    }

    /* Button 3 */
    #hp-section-7 .hp-store-card__buttons .hp-btn:nth-child(3) {
        flex: 1 1 100%;
        width: 100%;
    }

    /* Dots exakt zentrieren */
    #hp-section-7 .hp-slider-dots {
        justify-content: center !important;
        margin-top: 1.5rem;
    }

    /* ----------------------------------------------------------------------
       8. LOGOS (Perfekt zentriert & nächstes Item sichtbar)
       ---------------------------------------------------------------------- */
    /* Headline und Subline kleiner */
    h2#s8-heading { font-size: 1.6rem !important; }
    #hp-section-8 .hp-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 1.5rem;
        padding: 0 3rem;
    }

    #hp-section-8 .hp-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1.5rem;

        /* Zieht den Slider weiterhin bis exakt an die Bildschirmkante */
        margin: 0 -1.5rem !important;

        /* DIE NEUE MATHEMATIK: 20vw links + 60vw Karte + 20vw rechts = 100vw (Perfekte Mitte) */
        padding: 1rem 20vw 2rem 20vw !important;

        align-items: stretch;
    }
    #hp-section-8 .hp-grid::-webkit-scrollbar { display: none; }

    #hp-section-8 .hp-logo-card {
        /* Karte ist jetzt schmaler. Dadurch sieht man rechts sofort das nächste Logo! */
        flex: 0 0 60vw !important;
        scroll-snap-align: center !important;
    }

    #hp-section-8 .hp-logo-card__img-wrapper { height: 120px; }

    /* Dots in Section 8 zentrieren */
    #hp-section-8 .hp-slider-dots,
    #hp-section-8 .hp-news-dots {
        display: flex;
        justify-content: center !important;
        margin-top: 1rem;
    }
}

/* Versteckt die dynamischen Slider-Dots auf dem Desktop */
@media (min-width: 768px) {
    .hp-hide-on-desktop { display: none !important; }
}
