/* ═══════════════════════════════════════════════════════════════════════════
   RÄDERWERK VILLACH – styles.css   ·   Fassung 3
   Eine Datei. Ersetzt base.css, theme-overrides.css, navigation-overrides.css.

   Neu in Fassung 3
   ───────────────────────────────────────────────────────────────────────────
   • Ruhigeres Raster: Inhaltsbreite 1200 px statt 1360 px
   • Deutlich weniger Leerraum über und unter den Überschriften
   • Logo über die Höhe gesteuert, sitzt nicht mehr eingequetscht
   • Kontaktbereich zweispaltig: links Text und Öffnungszeiten als dunkle
     Karte, rechts die vier Kontaktfelder als 2×2-Raster
   • Service als festes 2×2-Raster

    1. Grundlagen        6. Sortiment: Artikelliste   11. Über uns
    2. Kopfzeile/Menü    7. Artikelkarte              12. Kontakt/Fusszeile
    3. Hero              8. Artikelseite              13. Fenster
    4. Abschnittsköpfe   9. Service                   14. Bildschirmgrößen
    5. Bereichswahl     10. Ankauf
   ═══════════════════════════════════════════════════════════════════════════ */


/* ── 1. Grundlagen ───────────────────────────────────────────────────────── */

:root {
  --ink:          #17191b;
  --ink2:         #232629;
  --accent:       #b3262d;
  --accent-dark:  #8f1e24;
  --muted:        #687075;
  --muted-light:  #b6bcbf;
  --line:         #dedfdd;
  --line-dark:    #3a3d3e;
  --soft:         #f6f6f3;
  --green:        #31a96b;
  --wa:           #25d366;
  --mail-blue:    #2563eb;
  --wh-blue:      #0f4c8a;

  --shell:        min(1200px, calc(100% - 48px));
  --shadow:       0 18px 44px rgba(23, 25, 27, .11);
  --header-h:     72px;
  --gap-col:      clamp(1.8rem, 3.6vw, 4rem);
  --pad-section:  clamp(3.2rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  margin: 0; padding-top: var(--header-h);
  color: var(--ink); background: #fff;
  font: 17px/1.62 Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
           overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; background: #fff; padding: .8rem; }
.skip-link:focus { top: 1rem; }

.eyebrow { display: block; margin-bottom: 12px; color: var(--accent);
           font-size: .74rem; font-weight: 900; letter-spacing: .15em; }
.eyebrow.light { color: #f3b2b7; }

.is-dark { background: var(--ink); color: #fff; }
.is-dark .section-head > p,
.is-dark .lead { color: var(--muted-light); }

.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
          padding: 0 22px; border: 0; font-size: .84rem; font-weight: 850; cursor: pointer; transition: .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-glass { border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08);
                color: #fff; backdrop-filter: blur(8px); }
.button-outline { border: 1px solid #6b6f6c; color: #fff; }
.button-outline:hover { background: #fff; color: var(--ink); }


/* ── 2. Kopfzeile und Menü ───────────────────────────────────────────────── */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: transform .26s cubic-bezier(.22,.61,.36,1); will-change: transform;
}
.site-header.header-hidden { transform: translateY(calc(-100% - 2px)); }
.site-header:focus-within, .site-header.menu-visible { transform: translateY(0); }

.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

/* Logo über die Höhe steuern – so bleibt oben und unten Luft */
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: clamp(30px, 2.9vw, 38px); width: auto; }

.nav { display: flex; gap: clamp(1.2rem, 2.2vw, 2rem); margin-left: auto; }
.nav a { position: relative; padding: 25px 0; font-size: .88rem; font-weight: 800; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 16px;
                height: 2px; background: var(--accent); transition: .2s; }
.nav a:hover, .nav a.active { color: var(--accent-dark); }
.nav a:hover::after, .nav a.active::after { right: 0; }

.menu-button { display: none; width: 40px; height: 40px; place-content: center; gap: 4px;
               margin-left: auto; padding: 0; border: 1px solid transparent; border-radius: 50%;
               background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu-button:hover, .menu-button:focus-visible { border-color: var(--line); background: var(--soft); outline: none; }
.menu-button span { display: block; width: 20px; height: 1.5px; border-radius: 2px;
                    background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

body.menu-open { overflow: hidden; }
body.menu-open::before { content: ""; position: fixed; inset: 0; z-index: 35; background: rgba(12,14,15,.45); }


/* ── 3. Hero ─────────────────────────────────────────────────────────────── */

.hero { position: relative; min-height: min(72vh, 660px); display: flex; align-items: end;
        color: #fff; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; height: 100%; }
.hero-image { object-fit: cover; }
.hero-shade { background:
  linear-gradient(90deg, rgba(15,17,18,.90) 0%, rgba(15,17,18,.64) 46%, rgba(15,17,18,.10) 84%),
  linear-gradient(0deg, rgba(10,12,13,.70), transparent 58%); }

.hero-content { position: relative; padding: clamp(2.4rem, 4vw, 3.6rem) 0 clamp(1.8rem, 2.6vw, 2.4rem); }
.hero h1 { margin: 0; max-width: 24ch; font-size: clamp(2.5rem, 4.6vw, 4.3rem);
           line-height: 1.06; letter-spacing: -.03em; }
.hero h1 em { color: #f0a9af; font-style: normal; font-weight: 700; text-shadow: 0 2px 18px rgba(0,0,0,.22); }
.hero-content > p { max-width: 58ch; margin: 18px 0 26px; color: #e2e4e5;
                    font-size: clamp(.98rem, 1.1vw, 1.08rem); line-height: 1.68; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.hero-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
              gap: 6px 32px; max-width: 800px; margin-top: clamp(1.6rem, 2.6vw, 2.4rem);
              padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); }
.hero-facts span { padding: 3px 0; color: #c3c8ca; font-size: .82rem; }
.hero-facts b { display: block; margin-bottom: 3px; color: #fff; font-size: .92rem; }


/* ── 4. Abschnittsköpfe ──────────────────────────────────────────────────── */

.section-head { margin-bottom: clamp(1.6rem, 2.6vw, 2.3rem); }
.section-head h2 { margin: 0 0 14px; font-size: clamp(1.95rem, 3.4vw, 3.05rem);
                   line-height: 1.1; letter-spacing: -.028em; }
.section-head h2 em { color: var(--accent); font-style: normal; }
.section-head > p { margin: 0; max-width: 64ch; color: var(--muted);
                    font-size: 1rem; line-height: 1.68; }
.lead { color: var(--muted); }


/* ── 5. Sortiment: Bereichswahl ──────────────────────────────────────────── */

.range-gate { padding: var(--pad-section) 0; background: var(--soft); scroll-margin-top: var(--header-h); }
.range-gate[hidden] { display: none; }

.gate-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }

.gate-card {
  width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px; align-items: center; text-align: left;
  padding: clamp(1.4rem, 2.1vw, 1.9rem);
  border: 1px solid #d6d7d4; background: #fff; color: var(--ink);
  cursor: pointer; transition: .22s;
}
.gate-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.gate-card > div { min-width: 0; }
.gate-card strong { display: block; margin-bottom: 8px; line-height: 1.18;
                    font-size: clamp(1.35rem, 1.9vw, 1.7rem); letter-spacing: -.022em; }
.gate-text { display: block; max-width: 48ch; color: var(--muted); font-size: .93rem; line-height: 1.6; }
.gate-card > b { color: var(--accent-dark); font-size: .82rem; white-space: nowrap; }


/* ── 6. Sortiment: Artikelliste ──────────────────────────────────────────── */

.shop-section { padding: var(--pad-section) 0; background: var(--soft); scroll-margin-top: var(--header-h); }
.shop-section[hidden] { display: none; }

.catalog-back { margin-bottom: 20px; }
.catalog-back button { min-height: 40px; padding: 0 15px; border: 1px solid var(--line);
                       background: #fff; color: var(--ink); font-size: .84rem; font-weight: 800; cursor: pointer; }
.catalog-back button:hover { border-color: var(--accent); color: var(--accent-dark); }

.catalog-tools {
    position: sticky;
    top: var(--header-h);
    z-index: 30;
    display: grid;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(17,28,36,.05);
    transition: top .26s cubic-bezier(.22,.61,.36,1);
}

body.kopf-weg .catalog-tools {
    top: 0;
}

.load-more {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-top: 24px;
}

    .load-more button {
        min-height: 50px;
        padding: 0 28px;
        border: 1px solid var(--ink);
        background: #fff;
        color: var(--ink);
        font-size: .84rem;
        font-weight: 850;
        cursor: pointer;
        transition: .2s;
    }

        .load-more button:hover {
            background: var(--ink);
            color: #fff;
        }

    .load-more small {
        color: var(--muted);
        font-size: .82rem;
    }

    .load-more[hidden] {
        display: none;
    }
.search-field { min-height: 48px; display: flex; align-items: center; gap: 10px;
                padding: 0 15px; background: var(--soft); border: 1px solid transparent; }
.search-field:focus-within { border-color: var(--accent); }
.search-field svg { width: 20px; flex: 0 0 auto; fill: none; stroke: #6d7472; stroke-width: 1,7; }
.search-field input { width: 100%; border: 0; outline: 0; background: none; }

.context-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.context-filters label { display: grid; gap: 5px; }
.context-filters span { color: #7d8482; font-size: .69rem; font-weight: 900;
                        letter-spacing: .1em; text-transform: uppercase; }
.context-filters select { min-height: 44px; padding: 0 12px; border: 1px solid var(--line);
                          background: #fff; font-size: .88rem; font-weight: 700; }
.context-filters select:focus { outline: 2px solid var(--accent); outline-offset: -2px; }

.catalog-status { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 18px 2px 12px; }
.catalog-status p { display: flex; align-items: center; gap: 9px; margin: 0; font-size: .88rem; }
.catalog-status small { color: #7d8482; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green);
              box-shadow: 0 0 0 4px rgba(49,169,107,.13); }

.empty-state { padding: clamp(1.8rem, 3.4vw, 2.8rem); background: #fff; border: 1px solid var(--line); text-align: center; }
.empty-state p { max-width: 58ch; margin: 12px auto 18px; color: var(--muted); }

.inventory-callout { margin-top: 20px; padding: clamp(1.3rem, 2.2vw, 1.8rem);
                     display: flex; align-items: center; justify-content: space-between;
                     gap: 24px; flex-wrap: wrap; background: var(--ink); color: #fff;
                     border-left: 4px solid var(--accent); }
.inventory-callout span { color: #f0a9af; font-size: .71rem; font-weight: 900; letter-spacing: .12em; }
.inventory-callout strong { display: block; margin-top: 5px; font-size: 1.05rem; }
.inventory-callout p { margin: 4px 0 0; color: var(--muted-light); font-size: .88rem; }


/* ── 7. Artikelkarte ─────────────────────────────────────────────────────── */

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.product-card { background: #fff; border: 1px solid var(--line); transition: .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card.hidden { display: none; }
.product-open { width: 100%; padding: 0; border: 0; background: #fff; color: inherit; text-align: left; cursor: pointer; }

.product-image { position: relative; display: block; aspect-ratio: 1; overflow: hidden;
                 background: #e9eae7; isolation: isolate; }
.product-image img { height: 100%; object-fit: cover; transition: .4s; }
.product-card:hover .product-image img { transform: scale(1.025); }

.product-image > em { position: absolute; z-index: 2; top: 0; left: 0; height: 36px; min-width: 90px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 13px;
  background: rgba(255,255,255,.96); color: var(--ink);
  border-right: 1px solid rgba(23,25,27,.14); border-bottom: 1px solid rgba(23,25,27,.14);
  font-size: .71rem; font-style: normal; font-weight: 900; letter-spacing: .04em; }

.season-badge { position: absolute; z-index: 2; top: 0; right: 0; width: 36px; height: 36px;
  display: grid; place-items: center; background: rgba(255,255,255,.96);
  border-left: 1px solid rgba(23,25,27,.14); border-bottom: 1px solid rgba(23,25,27,.14);
  font-size: 1rem; font-style: normal; }
.season-badge.winter { color: #27699b; }
.season-badge.summer { color: #e6a21a; }
    .season-badge.allseason {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
    }

        .season-badge.allseason i {
            font-style: normal;
            font-size: .8rem;
            line-height: 1;
        }

            .season-badge.allseason i:first-child {
                color: #e6a21a;
            }

            .season-badge.allseason i:last-child {
                color: #27699b;
            }
.new-badge { position: absolute; z-index: 2; bottom: 0; left: 0; height: 27px;
  display: inline-flex; align-items: center; padding: 0 11px;
  border-top: 3px solid var(--accent); background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: 0 -6px 16px rgba(23,25,27,.14);
  font-size: .67rem; font-style: normal; font-weight: 900; letter-spacing: .12em; }
.sold-badge { position: absolute; z-index: 2; bottom: 0; left: 0; height: 27px;
  display: inline-flex; align-items: center; padding: 0 11px;
  border-top: 3px solid #8a8f8c; background: rgba(255,255,255,.96); color: #55595a;
  font-size: .67rem; font-style: normal; font-weight: 900; letter-spacing: .12em; }
.product-card.sold .product-image img { filter: grayscale(1); opacity: .55; }

.product-copy { display: block; padding: 18px; }
.product-copy > small { color: var(--accent-dark); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.product-copy > strong { display: block; min-height: 50px; margin: 8px 0 13px; font-size: 1.04rem; line-height: 1.38; }

.quick-specs { display: grid; border-top: 1px solid #e8e9e6; }
.quick-specs i { display: grid; grid-template-columns: 108px 1fr; gap: 10px; padding: 7px 0;
                 border-bottom: 1px solid #e8e9e6; color: #4f5553; font-size: .85rem; font-style: normal; }
.quick-specs b { color: #8b9190; font-size: .71rem; text-transform: uppercase; letter-spacing: .04em; }

.product-foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 15px; }
.product-foot > b { font-size: 1.28rem; }
.product-foot > i { color: var(--accent-dark); font-size: .79rem; font-style: normal; font-weight: 850; }


/* ── 8. Artikelseite ─────────────────────────────────────────────────────── */

.product-page { padding: clamp(1.4rem, 2.4vw, 2.2rem) 0 var(--pad-section); }
.product-page[hidden] { display: none; }

.product-page-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.product-page-bar button { min-height: 40px; padding: 0 15px; border: 1px solid var(--line);
                           background: #fff; font-size: .84rem; font-weight: 800; cursor: pointer; }
.product-page-bar button:hover { border-color: var(--accent); color: var(--accent-dark); }
.product-page-bar span { color: #7d8482; font-size: .75rem; font-weight: 900; letter-spacing: .1em; }

.product-page-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
                       gap: var(--gap-col); align-items: start; }
.page-gallery { min-width: 0; }
.gallery-square { position: relative; aspect-ratio: 1; overflow: hidden; background: #e9eae7; border: 1px solid var(--line); }
.gallery-square img { height: 100%; object-fit: cover; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
                 width: 40px; height: 40px; border: 0; border-radius: 50%;
                 background: rgba(23,25,27,.5); color: #fff; font-size: 1.2rem; cursor: pointer; }
.gallery-arrow:hover { background: rgba(23,25,27,.75); }
.gallery-arrow.previous { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-square > em { position: absolute; right: 12px; bottom: 12px; padding: 6px 10px;
                       background: rgba(23,25,27,.88); color: #fff; font-size: .74rem;
                       font-style: normal; font-weight: 800; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 8px; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--accent); }
.gallery-thumbs img { aspect-ratio: 1; object-fit: cover; }

.page-product-copy { min-width: 0; }
    .page-product-copy h1 {
        margin: 0 0 18px;
        font-size: clamp(1.7rem, 2.6vw, 2.5rem);
        line-height: 1.12;
        letter-spacing: -.028em;
    }

.page-price {
    display: block;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.7rem, 2.2vw, 2.1rem);
    font-weight: 800;
}

.ship-calc {
    margin-top: 4px;
    padding: 20px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    background: var(--soft);
}

    .ship-calc label {
        display: block;
        margin: 0 0 12px;
        color: var(--ink);
        font-size: .73rem;
        font-weight: 900;
        letter-spacing: .11em;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .ship-calc select {
        width: 100%;
        min-height: 52px;
        padding: 0 14px;
        border: 1px solid var(--line);
        border-radius: 0;
        background: #fff;
        color: var(--ink);
        font-size: .93rem;
        font-weight: 750;
        cursor: pointer;
    }

        .ship-calc select:focus {
            outline: 2px solid rgba(179, 38, 45, .18);
            outline-offset: 0;
            border-color: var(--accent);
        }

.ship-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

    .ship-total b {
        color: var(--ink);
        font-size: 1.22rem;
        font-weight: 850;
        line-height: 1;
    }

    .ship-total small {
        color: var(--muted);
        font-size: .79rem;
        line-height: 1.45;
        text-align: right;
    }

.detail-notes {
    display: grid;
    gap: 0;
    margin: 26px 0 22px;
    border: 1px solid var(--line);
    background: #fff;
}
    .detail-notes::before {
        content: "KAUF & ÜBERGABE";
        grid-column: 1 / -1;
        padding: 13px 16px 11px;
        border-bottom: 2px solid var(--accent);
        color: var(--ink);
        font-size: .73rem;
        font-weight: 900;
        letter-spacing: .12em;
        line-height: 1.3;
        text-transform: uppercase;
    }
    .detail-notes span {
        position: relative;
        min-height: 60px;
        display: flex;
        align-items: center;
        padding: 14px 16px 14px 46px;
        border-bottom: 0;
        border-right: 1px solid var(--line);
        color: var(--ink);
        font-size: .88rem;
        line-height: 1.45;
    }

        .detail-notes span:last-child {
            border-right: 0;
        }
.detail-notes span::before { content: "✓"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(179,38,45,.35); color: var(--accent); font-size: .7rem; }
.detail-inquiry { width: 100%; }

.detail-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
                 gap: 18px; margin-top: clamp(1.8rem, 3vw, 2.6rem); }
.detail-group { padding: 19px; border: 1px solid var(--line); background: #fff; }
.detail-group.full { grid-column: 1 / -1; }
    .detail-group h3 {
        margin: 0 0 14px;
        padding: 0 0 11px;
        border-bottom: 2px solid var(--accent);
        color: var(--ink);
        font-size: .73rem;
        font-weight: 900;
        letter-spacing: .12em;
        line-height: 1.3;
        text-transform: uppercase;
    }
.detail-group dl { margin: 0; }
.spec-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 8px 0;
            border-bottom: 1px solid #e8e9e6; font-size: .92rem; line-height: 1.62; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt { color: #7d8482; }
.spec-row dd { margin: 0; font-weight: 650; }
.vehicle-list { display: flex; flex-wrap: wrap; gap: 7px; }
.vehicle-list span { padding: 8px 11px; background: var(--soft); font-size: .88rem; }
.detail-text { margin: 0; font-size: .93rem; }

.info-blocks { margin-top: clamp(1.8rem, 3vw, 2.6rem); border-top: 1px solid var(--line); }
.info-block { border-bottom: 1px solid var(--line); }
.info-block > button { width: 100%; min-height: 58px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 0; border: 0; background: none;
  color: inherit; font-size: .95rem; font-weight: 800; text-align: left; cursor: pointer; }
.info-block > button::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
.info-block > button[aria-expanded="true"]::after { content: "–"; }
.info-block-body { padding: 0 0 20px; max-width: 78ch; color: var(--muted); font-size: .93rem; }
.info-block-body[hidden] { display: none; }


/* ── 9. Service (dunkel) ─────────────────────────────────────────────────── */

.service-section { padding: var(--pad-section) 0; scroll-margin-top: var(--header-h); }
.service-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
                  gap: var(--gap-col); align-items: center; }
/* Festes 2×2-Raster */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
                margin-top: 26px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.service-list article { min-height: 160px; padding: 20px;
                        border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.service-list h3 { display: inline-block; margin: 0 0 9px; padding-bottom: 8px;
                   border-bottom: 2px solid var(--accent); font-size: 1rem; }
.service-list p { margin: 0; color: var(--muted-light); font-size: .89rem; line-height: 1.6; }
.service-actions { margin-top: 24px; }
.service-photo img { aspect-ratio: .92; object-fit: cover; }


/* ── 10. Ankauf (hell) ───────────────────────────────────────────────────── */

.purchase-section { padding: var(--pad-section) 0; background: #f1efec; scroll-margin-top: var(--header-h); }
.purchase-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
                 gap: var(--gap-col); align-items: center; }
.purchase-card { padding: clamp(1.4rem, 2.3vw, 2rem); background: #fff; box-shadow: var(--shadow); }
.purchase-card small { color: var(--accent); font-size: .73rem; font-weight: 900; letter-spacing: .1em; }
.purchase-card ul { margin: 18px 0; padding: 0; list-style: none; }
.purchase-card li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 700; }
.purchase-card li::before { content: "✓"; margin-right: 11px; color: var(--accent); }
.purchase-card p { margin: 0; color: var(--muted); font-size: .89rem; }


/* ── 11. Über uns (dunkel) ───────────────────────────────────────────────── */

.business-section { padding: var(--pad-section) 0; scroll-margin-top: var(--header-h); }
.business-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
                 gap: var(--gap-col); align-items: center; }
.business-photo { position: relative; overflow: hidden; }
.business-photo img { aspect-ratio: 1.2; object-fit: cover; }
.business-photo span { position: absolute; left: 0; bottom: 20px;
                       padding: 11px 17px; background: var(--accent); color: #fff;
                       font-size: .79rem; font-weight: 850; }

.business-copy .lead { margin: 0 0 24px; }
.trust-list { border-top: 1px solid var(--line-dark); }
.trust-list > div { position: relative; padding: 16px 0 16px 22px; border-bottom: 1px solid var(--line-dark); }
.trust-list > div::before { content: ""; position: absolute; left: 0; top: 23px;
                            width: 8px; height: 8px; background: var(--accent); }
.trust-list strong { display: block; margin-bottom: 4px; font-size: .99rem; }
.trust-list span { color: var(--muted-light); font-size: .91rem; line-height: 1.6; }


/* ── 12. Kontakt und Fusszeile ───────────────────────────────────────────── */

.contact-section { padding: var(--pad-section) 0; scroll-margin-top: var(--header-h); }

/* Links Text und Öffnungszeiten, rechts die vier Felder als 2×2 */
.contact-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
                  gap: var(--gap-col); align-items: start; }
.contact-intro .section-head { margin-bottom: clamp(1.4rem, 2.2vw, 2rem); }

/* Öffnungszeiten als dunkle Karte – bewusst gesetzter Blickfang */
.hours-card {
    display: grid;
    grid-template-columns: minmax(230px, .9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: start;
    margin-top: 32px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    background: #fff;
    color: var(--ink);
}

.hours-label {
    grid-column: 1 / -1;
    display: block;
    margin: 0;
    color: #8b9190;
    font-size: .70rem;
    font-weight: 850;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hours-block {
    padding: 0;
    border: 0;
}

    .hours-block b {
        display: block;
        margin: 0 0 8px;
        color: var(--ink);
        font-size: 1rem;
        font-weight: 800;
        line-height: 1.38;
    }

.hours-times {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 15px;
}

    .hours-times span {
        color: var(--ink);
        font-size: .88rem;
        font-weight: 650;
        line-height: 1.5;
        font-variant-numeric: tabular-nums;
    }

        .hours-times span + span {
            padding-left: 14px;
            border-left: 1px solid var(--line);
        }
.hours-note {
    align-self: end;
    margin: 0;
    padding: 0 0 0 22px;
    border-left: 1px solid var(--line);
    color: var(--muted);
    font-size: .87rem;
    font-weight: 400;
    line-height: 1.6;
}
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-grid a { padding: 20px; display: grid; align-content: start; gap: 9px;
                  border: 1px solid var(--line); transition: .2s; }
.contact-grid a:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.contact-grid small { color: #8b9190; font-size: .7rem; font-weight: 800; letter-spacing: .11em; }
.contact-grid strong { margin: 0; font-size: 1rem; line-height: 1.38; }
.contact-grid span { margin: 0; color: var(--accent-dark); font-size: .79rem; font-weight: 850; }

.footer { padding: 24px 0; background: var(--ink); color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 26px; }
.footer-logo { display: flex; align-items: center; }
.footer-logo img { height: clamp(28px, 2.6vw, 34px); width: auto; }
.footer-legal { display: flex; justify-content: center; gap: 20px; }
.footer-legal a { color: #d7dad8; font-size: .83rem; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.footer small { justify-self: end; color: #9aa09d; font-size: .79rem; white-space: nowrap; }


/* ── 13. Fenster ─────────────────────────────────────────────────────────── */

dialog { padding: 0; border: 0; box-shadow: 0 30px 95px rgba(0,0,0,.4); }
dialog::backdrop { background: rgba(12,14,15,.82); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 14px; top: 14px; z-index: 4; width: 40px; height: 40px;
                border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { border-color: var(--accent); color: var(--accent); }

.inquiry-dialog { width: min(560px, calc(100% - 28px)); }
.inquiry-panel { position: relative; padding: clamp(1.5rem, 2.6vw, 2.2rem); }
.inquiry-panel h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.18; }
.inquiry-panel > p { margin: 0 0 18px; color: var(--muted); font-size: .93rem; }

.contact-actions { display: grid; gap: 10px; }
.contact-action { padding: 15px 17px; display: grid; gap: 2px; border: 1px solid transparent; transition: .18s; }
.contact-action:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-action small { font-size: .67rem; font-weight: 900; letter-spacing: .1em; }
.contact-action strong { font-size: .99rem; }
.contact-action span { font-size: .81rem; font-weight: 750; }
.contact-action[hidden] { display: none; }

.contact-action.action-wa { background: var(--wa); color: #08320f; }
.contact-action.action-wa small, .contact-action.action-wa span { color: rgba(8,50,15,.75); }
.contact-action.action-call { background: #fff; border-color: var(--line); color: var(--ink); }
.contact-action.action-call small, .contact-action.action-call span { color: var(--muted); }
.contact-action.action-mail { background: var(--mail-blue); color: #fff; }
.contact-action.action-mail small, .contact-action.action-mail span { color: rgba(255,255,255,.8); }
.contact-action.action-wh { background: var(--wh-blue); color: #fff; }
.contact-action.action-wh small, .contact-action.action-wh span { color: rgba(255,255,255,.8); }

.inquiry-hint { display: block; margin-top: 16px; color: var(--muted); font-size: .79rem; }

.legal-dialog { width: min(800px, calc(100% - 28px)); max-height: calc(100vh - 40px); }
.legal-panel { position: relative; padding: clamp(1.5rem, 2.6vw, 2.2rem); max-height: calc(100vh - 40px); overflow: auto; }
.legal-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 56px 20px 0; }
.legal-tab { min-height: 40px; padding: 0 15px; border: 1px solid var(--line); background: #fff;
             font-size: .85rem; font-weight: 800; cursor: pointer; }
.legal-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.legal-body { font-size: .93rem; line-height: 1.68; }
.legal-body[hidden] { display: none; }
.legal-body h3 { margin: 0 0 13px; font-size: 1.28rem; }
    .legal-body h4 {
        margin: 20px 0 6px;
        font-size: .94rem;
    }

/* Bild-Vollansicht (wird von script.js erzeugt) */
.bild-zoom {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    place-items: center;
    padding: clamp(8px, 1.6vw, 20px);
    background: rgba(10, 12, 13, .94);
    backdrop-filter: blur(4px);
}

    .bild-zoom.open {
        display: grid;
    }

    .bild-zoom img {
        justify-self: center;
        align-self: center;
        width: min(94vw, 88vh);
        height: auto;
        max-width: 94vw;
        max-height: 92vh;
        object-fit: contain;
    }

.bild-zoom-close, .bild-zoom-arrow {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 0;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    cursor: pointer;
    transition: background .2s;
}

    .bild-zoom-close:hover, .bild-zoom-arrow:hover {
        background: rgba(255, 255, 255, .3);
    }

.bild-zoom-close {
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    font-size: 1.6rem;
    line-height: 1;
}

.bild-zoom-arrow {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 72px;
    font-size: 1.8rem;
}

    .bild-zoom-arrow.zoom-prev {
        left: 12px;
    }

    .bild-zoom-arrow.zoom-next {
        right: 12px;
    }

    .bild-zoom-arrow[hidden] {
        display: none;
    }

#bild-zoom-count {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 14px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
}

body.zoom-open {
    overflow: hidden;
}

@media (max-width: 620px) {
    .bild-zoom-arrow {
        width: 42px;
        height: 60px;
        font-size: 1.5rem;
    }

    .bild-zoom-close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
    }
}
.legal-body p { margin: 0 0 10px; color: var(--muted); }


/* ── 14. Bildschirmgrößen ────────────────────────────────────────────────── */

@media (max-width: 1120px) {
  :root { --shell: min(1000px, calc(100% - 40px)); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-intro .hours-card { max-width: 560px; }
}

@media (max-width: 980px) {
  :root { --shell: min(800px, calc(100% - 32px)); }

  .menu-button { display: grid; }
  .nav { position: fixed; z-index: 36; top: var(--header-h); left: 0; right: 0;
         display: grid; gap: 0; max-height: calc(100dvh - var(--header-h));
         margin: 0; padding: 8px 20px 18px; overflow-y: auto;
         background: #fff; border-top: 1px solid var(--line);
         transform: translateY(-125%); visibility: hidden; opacity: 0; pointer-events: none;
         transition: transform .24s, opacity .2s, visibility .2s; }
  .nav.open { transform: translateY(0); visibility: visible; opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }

  .service-layout, .purchase-grid, .business-grid, .product-page-layout { grid-template-columns: 1fr; }
  .service-photo img { aspect-ratio: 1.5; }
  .detail-groups { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 24px); --header-h: 64px; }

  .hero { min-height: 78vh; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-facts { grid-template-columns: 1fr; gap: 0; }
  .hero-facts span { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-facts span:last-child { border-bottom: 0; }

  .gate-cards, .product-grid, .contact-grid { grid-template-columns: 1fr; }
  .gate-card { grid-template-columns: 1fr; gap: 14px; }
  .gate-card > b { justify-self: start; }
  .service-list { grid-template-columns: 1fr; }
  .inventory-callout .button { width: 100%; }

  .hours-times span { font-size: 1.15rem; }
  .footer-inner { grid-template-columns: 1fr; justify-items: start; }
  .footer small { justify-self: start; }
  .footer-legal { justify-content: flex-start; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
  .spec-row dt { font-size: .82rem; }
}

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


/* ── Service-Karten: feste, kleine Symbole neben der Überschrift ─────────── */
.service-actions { display: none !important; }
.service-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  border: 0;
}
.service-list article {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  align-content: start;
  gap: 5px 13px;
  min-height: 0;
  padding: 18px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.02);
}
.service-list article .svc-icon {
  grid-column: 1;
  grid-row: 1;
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  margin: 2px 0 0 !important;
  color: #fff;
}
.service-list article .svc-icon svg {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
}
.service-list article > div {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.service-list article h3 { margin: 0 0 9px; }
.service-list article p { margin: 0; }

/* Footer-Logo ohne weiße Hinterlegung. */
.footer-logo { padding: 0; background: transparent; }
.footer-logo img { height: clamp(30px, 2.8vw, 38px); width: auto; filter: none; }

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


/* ═══════════════════════════════════════════════════════════════════════════
   Öffentliche Website – finale Ergänzungen
   ═══════════════════════════════════════════════════════════════════════════ */

/* Kopfzeile und Hero */
.brand img { height: clamp(38px, 3.6vw, 48px); }
.hero { display: grid; align-items: center; }
.hero-content { display: grid; justify-items: start; text-align: left; padding: clamp(2.6rem,4.4vw,4rem) 0; }
.hero h1 { max-width: 26ch; }
.hero-actions { justify-content: flex-start; }
.hero-facts { width: 100%; max-width: 780px; justify-items: start; text-align: left; }

/* Sortiment */
.gate-card > .gate-text, .gate-card div span { max-width: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Service: jede Kachel klickbar, Symbol klein neben Titel */
.service-actions { display: none !important; }
.service-layout { align-items: stretch; }
.service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 26px; border: 0; }
.service-card, .service-list article { display: grid !important; grid-template-columns: 28px minmax(0,1fr) !important; gap: 5px 13px; align-content: start; min-height: 0; padding: 18px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.02); cursor: pointer; transition: border-color .2s,background .2s,transform .2s; }
.service-card:hover { transform: translateY(-3px); border-color: var(--accent); background: rgba(255,255,255,.05); }
.service-list article .svc-icon { grid-column:1; grid-row:1; display:block!important; width:28px!important; height:28px!important; margin:2px 0 0!important; color:#fff; }
.service-list article .svc-icon svg { display:block!important; width:28px!important; height:28px!important; max-width:28px!important; max-height:28px!important; }
.service-list article > div { grid-column:2; grid-row:1; min-width:0; }
.service-list article h3 { margin:0 0 9px; }
.service-list article p { margin:0; }

/* Ankauf und Über uns: gleiche Zeichen und Zeilenrhythmus */
.purchase-card { box-shadow:none; border:1px solid var(--line); }
    .purchase-card li, .trust-list div {
        position: relative;
        padding: 15px 0 15px 30px
    }

        .purchase-card li::before, .trust-list div::before {
            content: "✓";
            position: absolute;
            left: 0;
            width: 19px;
            height: 19px;
            display: grid;
            place-items: center;
            margin: 0;
            border: 1px solid rgba(179,38,45,.4);
            border-radius: 50%;
            background: none;
            color: var(--accent);
            font-size: .68rem;
            font-weight: 900
        }

        .purchase-card li::before {
            top: 50%;
            transform: translateY(-50%)
        }

        .trust-list div::before {
            top: 18px;
            transform: none
        }
.business-photo span { left:auto; right:0; }

/* Kontaktseite: vier weiße Kontaktfelder und kompakte Zeiten */
.contact-layout, .contact-columns { display:block; }
.contact-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.contact-grid a { background:#fff; color:var(--ink); }
.contact-grid strong { color:var(--ink); }
.hours-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:8px clamp(1rem,1.8vw,1.6rem); align-items:center; margin-top:clamp(1.4rem,2.4vw,2rem); padding:clamp(1rem,1.6vw,1.3rem) clamp(1.1rem,1.8vw,1.5rem); background:#fff; color:var(--ink); border:1px solid var(--line); border-left:4px solid var(--accent); }
.hours-label { grid-column:1/-1; margin-bottom:2px; color:var(--accent); font-size:.68rem; }
.hours-block { padding-bottom:0; border-bottom:0; }
.hours-block > b { margin-bottom:5px; font-size:.88rem; }
.hours-times span { font-size:1.12rem; }
.hours-times span + span { padding-left:14px; border-left-color:var(--line); }
.hours-note { margin:0; padding-left:clamp(1rem,1.8vw,1.6rem); border-left:1px solid var(--line); color:var(--muted); font-size:.85rem; line-height:1.55; }

/* Anfragefenster: alle Kontaktwege gleich */
.contact-actions { display:grid; gap:10px; }
.contact-action { display:grid; gap:6px; min-height:84px; padding:16px 18px; background:#fff; color:var(--ink); border:1px solid rgba(179,38,45,.45); transition:border-color .2s,box-shadow .2s,transform .2s; }
.contact-action:hover { transform:translateY(-2px); border-color:var(--accent); box-shadow:var(--shadow); }
.contact-action small { color:#8b9190; font-size:.68rem; font-weight:850; letter-spacing:.12em; }
.contact-action strong { color:var(--ink); font-size:1rem; font-weight:800; line-height:1.35; }
.contact-action span { color:var(--accent-dark); font-size:.79rem; font-weight:850; }

/* Artikelseite */
.product-image > em { height:44px; min-width:100px; padding:0 15px; }
.season-badge { width:44px; height:44px; }
.page-product-copy { padding-bottom:clamp(1.4rem,2.4vw,2.2rem); }
.page-product-copy h1 { font-size:clamp(1.55rem,2.1vw,2rem); }
.page-price { font-size:clamp(1.85rem,2.5vw,2.35rem); }
.ship-calc { padding:0; border:0; background:transparent; }
.fitment-box { margin:20px 0 0; }
.fitment-box h3 { margin:0 0 11px; padding-bottom:9px; border-bottom:2px solid var(--accent); font-size:.79rem; letter-spacing:.11em; text-transform:uppercase; }
.detail-notes { grid-template-columns:repeat(3,minmax(0,1fr)); }
.detail-notes::before { grid-column:1/-1; }
.detail-notes span { border-bottom:0; border-right:1px solid var(--line); }
.detail-notes span:last-child { border-right:0; }
.detail-groups { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 18px; }
.additional-info-toggle { width:100%; min-height:52px; display:flex; align-items:center; justify-content:space-between; padding:0; border:0; background:none; color:inherit; font:inherit; font-weight:800; text-align:left; cursor:pointer; }
.additional-info-toggle::after { content:"+"; color:var(--accent); font-size:1.3rem; }
.additional-info-toggle[aria-expanded="true"]::after { content:"–"; }
.info-blocks {
    max-width: none;
}

/* Footer-Logo: separate weiße PNG ohne Hinterlegung */
.footer-logo { padding:0; background:transparent; }
.footer-logo img { height:clamp(30px,2.8vw,38px); width:auto; filter:none; }

@media (max-width:1080px) { .contact-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:900px) { .service-list { grid-template-columns:1fr; } }
@media (max-width:780px) {
    .hours-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }

    .hours-label {
        grid-column: auto;
    }

    .hours-note {
        padding: 15px 0 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }}
@media (max-width:680px) { .brand img { height:34px; }.contact-grid,.detail-groups,.detail-notes { grid-template-columns:1fr; }.detail-notes span { border-right:0; border-bottom:1px solid var(--line); }.detail-notes span:last-child { border-bottom:0; }.gate-card > .gate-text,.gate-card div span { white-space:normal; }.service-list article .svc-icon,.service-list article .svc-icon svg { width:24px!important; height:24px!important; } }

/* ── Anfrage-Fenster: WhatsApp-Knopf mit dezentem Hellgrün ──────────────── */
.inquiry-dialog #whatsapp-link {
  background: #e5f2e9;
  border-color: #e5f2e9;
}
.inquiry-dialog #whatsapp-link:hover {
  background: #dcede1;
  border-color: rgba(49, 169, 107, .45);
}
