/* ============================================================
   Holzbrikettfarm – Stylesheet
   Farben: Logo-Rot / Schwarz / Weiß + warme Holztöne
   ============================================================ */

:root {
    --rot: #e30613;
    --rot-dunkel: #b30510;
    --schwarz: #1c1917;
    --anthrazit: #2b2623;
    --holz-dunkel: #6b4a2f;
    /* Etwas abgedunkelt: #a4713f erreichte als Text auf Weiß und als
       Button-Hintergrund nur 4,18:1 und verfehlte damit WCAG AA (4,5:1). */
    --holz: #96683a;
    --holz-hell: #d9b48c;
    --creme: #f7f1e8;
    --creme-hell: #fcf9f4;
    --weiss: #ffffff;
    --grau: #6f6a64;
    --schatten: 0 6px 24px rgba(28, 25, 23, 0.12);
    --radius: 14px;
    --uebergang: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--schwarz);
    background: var(--creme-hell);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--rot);
    text-decoration: none;
}

/* Links innerhalb von Fließtext müssen auch ohne Farbe erkennbar sein
   (WCAG 1.4.1 "Use of Color") - daher unterstrichen. Navigation, Buttons
   und Produktkarten bleiben davon unberührt. */
.rechtliches-inhalt a,
.konto-box p a,
.konto-box .unter a,
.konto-box .wechsel a,
.hinweis-dummy a,
.form-hinweis a,
.detail-info .beschreibung a,
.gpsr-block a {
    text-decoration: underline;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* ------------------------------------------------------------
   Barrierefreiheit: Sprungmarke, sichtbarer Tastaturfokus,
   reduzierte Bewegung
   ------------------------------------------------------------ */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 1000;
    background: var(--schwarz);
    color: var(--weiss);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

:focus-visible {
    outline: 3px solid var(--rot);
    outline-offset: 2px;
}

/* Eigene Farbverläufe (z.B. Hero) brauchen einen Fokusring mit
   ausreichend Kontrast auch auf dunklem Grund. */
.hero-dots button:focus-visible,
.hero-pause-btn:focus-visible,
.slider-btn:focus-visible {
    outline: 3px solid var(--weiss);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------------------------------------------------------------
   Header / Navigation
   ------------------------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 12px rgba(28, 25, 23, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.6rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand img {
    height: 56px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

.main-nav a {
    display: block;
    padding: 0.55rem 1rem;
    color: var(--schwarz);
    font-weight: 600;
    border-radius: 8px;
    transition: background var(--uebergang), color var(--uebergang);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--rot);
    color: var(--weiss);
}

.warenkorb-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    margin-left: 0.3rem;
    border-radius: 999px;
    background: var(--rot);
    color: var(--weiss);
    font-size: 0.72rem;
    font-weight: 800;
}

.main-nav a.active .warenkorb-badge,
.main-nav a:hover .warenkorb-badge {
    background: var(--weiss);
    color: var(--rot);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background: var(--schwarz);
    border-radius: 2px;
    transition: transform var(--uebergang), opacity var(--uebergang);
}

/* ------------------------------------------------------------
   Hero-Slider
   ------------------------------------------------------------ */
.hero {
    position: relative;
    height: min(78vh, 640px);
    min-height: 420px;
    overflow: hidden;
    background: var(--schwarz);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s linear;
}

.hero-slide.active img {
    transform: scale(1.12);
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(28, 25, 23, 0.82) 0%,
            rgba(28, 25, 23, 0.55) 45%,
            rgba(28, 25, 23, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--weiss);
    max-width: 640px;
}

.hero-content .tagline {
    display: inline-block;
    background: var(--rot);
    color: var(--weiss);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
    width: fit-content;
}

.hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    margin-bottom: 1.8rem;
    color: #f0ebe4;
}

.hero-dots {
    position: absolute;
    bottom: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 3;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--weiss);
    background: transparent;
    cursor: pointer;
    transition: background var(--uebergang);
}

.hero-dots button.active {
    background: var(--rot);
    border-color: var(--rot);
}

.hero-pause-btn {
    position: absolute;
    bottom: 1.3rem;
    right: 1.5rem;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--weiss);
    background: rgba(28, 25, 23, 0.45);
    color: var(--weiss);
    font-size: 0.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-pause-btn:hover {
    background: rgba(28, 25, 23, 0.7);
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
    display: inline-block;
    padding: 0.8rem 1.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform var(--uebergang), box-shadow var(--uebergang), background var(--uebergang);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--rot);
    color: var(--weiss);
    box-shadow: 0 6px 18px rgba(227, 6, 19, 0.35);
}

.btn-primary:hover {
    background: var(--rot-dunkel);
    color: var(--weiss);
}

.btn-outline {
    background: transparent;
    color: var(--weiss);
    border: 2px solid var(--weiss);
    margin-left: 0.8rem;
}

.btn-outline:hover {
    background: var(--weiss);
    color: var(--schwarz);
}

.btn-holz {
    background: var(--holz);
    color: var(--weiss);
}

.btn-holz:hover {
    background: var(--holz-dunkel);
    color: var(--weiss);
}

.btn-gefahr {
    background: var(--rot-dunkel);
    color: var(--weiss);
}

.btn-gefahr:hover {
    background: #8f0009;
    color: var(--weiss);
}

.btn-klein {
    padding: 0.5rem 1.1rem;
    font-size: 0.88rem;
}

.btn:disabled {
    opacity: 0.65;
    cursor: default;
    transform: none;
}

/* ------------------------------------------------------------
   Sektionen
   ------------------------------------------------------------ */
section {
    padding: 4.5rem 0;
}

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-head .eyebrow {
    color: var(--rot);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin: 0.4rem 0 0.8rem;
}

.section-head p {
    color: var(--grau);
}

/* Über uns */
.ueber-uns {
    background: var(--weiss);
}

.ueber-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ueber-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin: 0.4rem 0 1rem;
}

.ueber-text .eyebrow {
    color: var(--rot);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
}

.ueber-text p {
    margin-bottom: 1rem;
    color: #3d3833;
}

.ueber-bild {
    position: relative;
}

.ueber-bild img {
    border-radius: var(--radius);
    box-shadow: var(--schatten);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.ueber-bild::before {
    content: "";
    position: absolute;
    inset: 1.2rem -1.2rem -1.2rem 1.2rem;
    border: 3px solid var(--holz-hell);
    border-radius: var(--radius);
    z-index: -1;
}

/* Vorteile */
.vorteile {
    background: linear-gradient(180deg, var(--creme) 0%, var(--creme-hell) 100%);
}

.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.vorteil-card {
    background: var(--weiss);
    border-radius: var(--radius);
    padding: 2rem 1.6rem;
    text-align: center;
    box-shadow: var(--schatten);
    border-top: 4px solid var(--holz);
    transition: transform var(--uebergang);
}

.vorteil-card:hover {
    transform: translateY(-6px);
}

.vorteil-card .icon {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
}

.vorteil-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.vorteil-card p {
    color: var(--grau);
    font-size: 0.95rem;
}

/* Einblicke in den Betrieb (Startseite) */
.einblicke {
    background: var(--weiss);
}

/* Feste drei Spalten: mit auto-fit wäre bei mittlerer Breite eine 2+1-Reihe
   entstanden - das dritte Bild hing dann allein und linksbündig darunter.
   Die schmalere Maxbreite hält die Fotos in einer ruhigen Größe. */
.einblicke-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}

.einblick {
    margin: 0;
}

.einblick img {
    display: block;
    width: 100%;
    /* height:auto hebt den Praesentationshinweis aus den width/height-
       Attributen auf - sonst bliebe die feste Pixelhoehe stehen und
       aspect-ratio waere wirkungslos. */
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--schatten);
}

.einblick figcaption {
    margin-top: 0.8rem;
    color: #3d3833;
    font-size: 0.92rem;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 620px) {
    .einblicke-grid {
        grid-template-columns: 1fr;
        max-width: 330px;
        gap: 1.8rem;
    }
}

/* Produkt-Slider (Startseite) */
.produkt-slider-wrap {
    position: relative;
}

.produkt-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.5rem 0.25rem 1.5rem;
    scrollbar-width: none;
}

.produkt-slider::-webkit-scrollbar {
    display: none;
}

.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--weiss);
    color: var(--schwarz);
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--schatten);
    z-index: 5;
    transition: background var(--uebergang), color var(--uebergang);
}

.slider-btn:hover {
    background: var(--rot);
    color: var(--weiss);
}

.slider-btn.prev {
    left: -12px;
}

.slider-btn.next {
    right: -12px;
}

/* Produktkarten */
.produkt-card {
    background: var(--weiss);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--schatten);
    flex: 0 0 300px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: transform var(--uebergang);
}

.produkt-card:hover {
    transform: translateY(-6px);
}

.produkt-card .bild {
    height: 200px;
    overflow: hidden;
    background: var(--creme);
}

.produkt-card .bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.produkt-card:hover .bild img {
    transform: scale(1.08);
}

.produkt-card .inhalt {
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.produkt-card .kategorie {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--holz);
    margin-bottom: 0.3rem;
}

.produkt-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.produkt-card .kurz {
    color: var(--grau);
    font-size: 0.92rem;
    flex: 1;
}

.produkt-card .fuss {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* schiebt Preisblock + Aktion nach unten, damit Karten bündig abschließen */
    margin-top: auto;
    padding-top: 1rem;
}

.produkt-card .preis {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--rot);
}

.produkt-card .preis small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--grau);
}

.produkt-card .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.produkt-card .btn-karte-warenkorb {
    width: 100%;
    margin-top: 0.9rem;
    padding: 0.6rem 1rem;
}

/* Liefergebiet */
.liefergebiet {
    background: var(--anthrazit);
    color: var(--weiss);
}

.liefer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.liefer-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin: 0.4rem 0 1rem;
}

.liefer-text .eyebrow {
    color: var(--holz-hell);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
}

.liefer-text p {
    color: #d8d2cb;
    margin-bottom: 1rem;
}

.liefer-map {
    display: flex;
    justify-content: center;
}

.map-kreis {
    position: relative;
    width: min(340px, 80vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.18) 0%, rgba(227, 6, 19, 0.05) 55%, transparent 70%);
    border: 2px dashed rgba(227, 6, 19, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulsieren 3.5s ease-in-out infinite;
}

@keyframes pulsieren {
    0%, 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.25); }
    50% { box-shadow: 0 0 0 24px rgba(227, 6, 19, 0); }
}

.map-kreis .pin {
    text-align: center;
}

.map-kreis .pin .punkt {
    width: 18px;
    height: 18px;
    background: var(--rot);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin: 0 auto 0.6rem;
    box-shadow: 0 3px 10px rgba(227, 6, 19, 0.6);
}

.map-kreis .pin strong {
    display: block;
    font-size: 1.1rem;
}

.map-kreis .pin span {
    color: #d8d2cb;
    font-size: 0.9rem;
}

.map-kreis .radius-label {
    position: absolute;
    top: 8%;
    right: 4%;
    background: var(--rot);
    color: var(--weiss);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
}

/* Kontakt-Banner */
.kontakt-banner {
    background: linear-gradient(120deg, var(--rot) 0%, var(--rot-dunkel) 100%);
    color: var(--weiss);
    text-align: center;
    padding: 3.5rem 0;
}

.kontakt-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 0.6rem;
}

.kontakt-banner p {
    margin-bottom: 1.6rem;
    color: #ffe2e4;
}

.kontakt-banner .btn {
    background: var(--weiss);
    color: var(--rot);
}

/* ------------------------------------------------------------
   Shop-Seite
   ------------------------------------------------------------ */
.seiten-hero {
    background: linear-gradient(100deg, rgba(28, 25, 23, 0.88), rgba(28, 25, 23, 0.6)),
        url("../img/holz2.jpg") center/cover;
    color: var(--weiss);
    padding: 4.5rem 0;
    text-align: center;
}

.seiten-hero h1 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    margin-bottom: 0.5rem;
}

.seiten-hero p {
    color: #e6e0d8;
    max-width: 560px;
    margin: 0 auto;
}

/* ------------------------------------------------------------
   Rechtliche Seiten (Impressum, Datenschutz)
   ------------------------------------------------------------ */
.rechtliches {
    padding: 3.5rem 0 5rem;
}

.rechtliches-inhalt {
    max-width: 780px;
    line-height: 1.7;
}

.rechtliches-inhalt h2 {
    margin: 2.2rem 0 0.6rem;
    font-size: 1.25rem;
    color: var(--anthrazit);
}

.rechtliches-inhalt h2:first-child {
    margin-top: 0;
}

.rechtliches-inhalt p,
.rechtliches-inhalt ul {
    margin-bottom: 0.9rem;
    color: #3d3833;
}

.rechtliches-inhalt ul {
    padding-left: 1.3rem;
}

.rechtliches-inhalt h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.05rem;
    color: var(--holz-dunkel);
}

/* Honeypot-Feld gegen Formular-Spam: aus dem sichtbaren Bereich geschoben
   und aus der Tabreihenfolge genommen, daher für Menschen und Screenreader
   (aria-hidden) unsichtbar - Bots füllen es dagegen aus. */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Aufruf zur elektronischen Widerrufsfunktion (§ 356a BGB) */
.widerruf-cta {
    background: var(--creme);
    border: 1px solid var(--holz-hell);
    border-left: 4px solid var(--rot);
    border-radius: var(--radius);
    padding: 1.3rem 1.6rem;
    margin: 0 0 2rem;
}

.widerruf-cta p {
    margin-bottom: 1rem;
}

/* Muster-Widerrufsformular zum Ausdrucken/Abtippen */
.widerruf-formular {
    background: var(--creme);
    border: 1px solid var(--holz-hell);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    margin: 1rem 0 1.5rem;
}

.widerruf-formular p {
    margin-bottom: 0.8rem;
}

/* Versandkosten- und Infotabellen */
.tabelle-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
}

.info-tabelle {
    width: 100%;
    border-collapse: collapse;
    background: var(--weiss);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--schatten);
}

.info-tabelle th,
.info-tabelle td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee5d8;
    font-size: 0.95rem;
}

.info-tabelle th {
    background: var(--creme);
    font-weight: 700;
}

.info-tabelle tr:last-child td {
    border-bottom: none;
}

.filter-leiste {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-leiste button {
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: 2px solid var(--holz-hell);
    background: var(--weiss);
    color: var(--schwarz);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--uebergang);
}

.filter-leiste button:hover,
.filter-leiste button.active {
    background: var(--rot);
    border-color: var(--rot);
    color: var(--weiss);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
}

.shop-grid .produkt-card {
    flex: initial;
}

.hinweis-dummy {
    text-align: center;
    background: var(--creme);
    border: 1px dashed var(--holz);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    color: var(--holz-dunkel);
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

/* ------------------------------------------------------------
   Produkt-Detailseite
   ------------------------------------------------------------ */
.detail-wrap {
    padding: 3.5rem 0;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--grau);
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--grau);
}

.breadcrumb a:hover {
    color: var(--rot);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.detail-bild {
    background: var(--weiss);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--schatten);
}

.detail-bild img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.detail-info .kategorie {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--holz);
}

.detail-info h1 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin: 0.3rem 0 1rem;
}

.detail-info .preis {
    font-size: 2rem;
    font-weight: 800;
    color: var(--rot);
}

.detail-info .preis small {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grau);
    margin-left: 0.4rem;
}

.detail-info .beschreibung {
    margin: 1.4rem 0;
    color: #3d3833;
}

.preis-anfrage {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--rot);
}

.produkt-card .preis .preis-anfrage {
    font-size: 1.05rem;
}

/* Pflichtangaben nach PAngV: Grundpreis, MwSt- und Versandkostenhinweis */
.preis-zusatz {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.grundpreis {
    font-size: 0.85rem;
    font-weight: 600;
    color: #3d3833;
}

.grundpreis:empty {
    display: none;
}

/* Auf Produktkarten die Zeile auch ohne Grundpreis reservieren,
   damit die Karten im Raster bündig abschließen. */
.produkt-card .grundpreis {
    display: block;
    min-height: 1.15em;
}

.preis-hinweis {
    font-size: 0.8rem;
    color: var(--grau);
    line-height: 1.5;
}

.preis-hinweis a {
    color: var(--grau);
    text-decoration: underline;
}

.preis-hinweis a:hover {
    color: var(--rot);
}

.detail-info .preis-zusatz {
    margin-bottom: 0.6rem;
}

.detail-info .grundpreis {
    font-size: 0.95rem;
}

.anfrage-formular {
    margin: 0.4rem 0 1.2rem;
    max-width: 420px;
}

.varianten-auswahl {
    margin: 1rem 0 1.4rem;
}

.varianten-auswahl label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
}

.varianten-auswahl select {
    width: 100%;
    max-width: 380px;
    padding: 0.65rem 0.8rem;
    border: 1px solid #ddd6cc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--weiss);
}

.varianten-auswahl select:focus {
    border-color: var(--rot);
}

.eigenschaften {
    list-style: none;
    margin: 1.5rem 0;
    border-top: 1px solid #eee5d8;
}

.eigenschaften li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #eee5d8;
    font-size: 0.95rem;
}

.eigenschaften li span:first-child {
    color: var(--grau);
}

.eigenschaften li span:last-child {
    font-weight: 600;
    text-align: right;
}

/* Pflichtangaben nach GPSR (Hersteller + Sicherheitshinweise) */
.gpsr-block {
    margin: 1.5rem 0;
    padding-top: 1.2rem;
    border-top: 1px solid #eee5d8;
}

.gpsr-block h2 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--anthrazit);
}

.gpsr-block .eigenschaften {
    margin: 0.6rem 0 0;
    border-top: none;
}

.sicherheitshinweise {
    background: #fdf6e8;
    border-left: 4px solid var(--holz);
    border-radius: 0 8px 8px 0;
    padding: 0.9rem 1.1rem;
    margin-top: 1rem;
    font-size: 0.92rem;
    color: #3d3833;
}

.detail-hinweis {
    background: var(--creme);
    border-left: 4px solid var(--holz);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1rem 1.3rem;
    font-size: 0.92rem;
    color: var(--holz-dunkel);
    margin-top: 1.5rem;
}

.warenkorb-aktion {
    display: flex;
    align-items: end;
    gap: 0.8rem;
    margin: 0.4rem 0 1.2rem;
}

.warenkorb-aktion label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.warenkorb-aktion input[type="number"] {
    width: 80px;
    padding: 0.65rem 0.6rem;
    border: 1px solid #ddd6cc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

/* ------------------------------------------------------------
   Warenkorb-Seite
   ------------------------------------------------------------ */
.bestellungen-tabelle input.warenkorb-menge {
    padding: 0.4rem 0.5rem;
    border: 1px solid #ddd6cc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
}

/* ------------------------------------------------------------
   Kasse (Checkout)
   ------------------------------------------------------------ */
.kasse-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}

.kasse-abschnitt-titel {
    font-size: 1.05rem;
    color: var(--rot);
    margin: 1.6rem 0 0.8rem;
}

.kasse-abschnitt-titel:first-child {
    margin-top: 0;
}

.adress-optionen {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.adress-option {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ddd6cc;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.92rem;
}

.adress-option input {
    margin-top: 0.25rem;
}

.checkbox-zeile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    cursor: pointer;
}

/* Mehrzeilige Zustimmung (AGB/Widerruf) - Haken oben ausrichten */
.checkbox-zeile.mehrzeilig {
    align-items: flex-start;
    font-size: 0.85rem;
    line-height: 1.5;
}

.checkbox-zeile.mehrzeilig input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.kasse-uebersicht {
    position: sticky;
    top: 5.5rem;
}

.kasse-position {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ece5da;
    font-size: 0.92rem;
}

.kasse-gesamt {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--rot);
    margin: 1rem 0;
}

/* ------------------------------------------------------------
   Adressverwaltung (Kundenkonto)
   ------------------------------------------------------------ */
.adress-karte {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    border-bottom: 1px solid #ece5da;
}

.adress-karte:last-child {
    border-bottom: none;
}

.adress-typ {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--holz);
    margin-bottom: 0.3rem;
}

.adress-karte-aktionen {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .kasse-grid {
        grid-template-columns: 1fr;
    }

    .kasse-uebersicht {
        position: static;
    }
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
    background: var(--schwarz);
    color: #cfc9c2;
    padding: 3.5rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-grid h4 {
    color: var(--weiss);
    margin-bottom: 0.9rem;
    font-size: 1.05rem;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid li {
    margin-bottom: 0.5rem;
}

.footer-grid a {
    color: #cfc9c2;
    transition: color var(--uebergang);
}

.footer-grid a:hover {
    color: var(--weiss);
}

.footer-logo {
    background: var(--weiss);
    border-radius: 10px;
    padding: 0.7rem;
    width: fit-content;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 52px;
    width: auto;
}

.footer-bottom {
    border-top: 1px solid #3a342f;
    padding-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #8f8880;
}

/* Rechtslinks im Footer: Das Logo-Rot erreicht auf dem dunklen Grund nur
   3,58:1 und verfehlt damit WCAG AA (4,5:1). Helle Schrift + Unterstreichung
   erfüllen sowohl den Kontrast als auch die Erkennbarkeit ohne Farbe. */
.footer-bottom a {
    color: #cfc9c2;
    text-decoration: underline;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: var(--weiss);
}

/* ------------------------------------------------------------
   Scroll-Animationen
   ------------------------------------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.sichtbar {
    opacity: 1;
    transform: none;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    .ueber-grid,
    .liefer-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--weiss);
        box-shadow: var(--schatten);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .main-nav.offen {
        max-height: 320px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 0.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slider-btn.prev {
        left: 4px;
    }

    .slider-btn.next {
        right: 4px;
    }
}
