
/* STARTSEITE – EINHEITLICHE FARBEN */
:root {
--atl-kick-bg: #a18925;
--atl-qty-bg: #a9b194;
--atl-cart-bg: #a9b194;
}
a { text-decoration: none;}
/* Container */
.wr-home-container {max-width: 1340px;margin: 0 auto;padding: 0 24px;}
.wr-home-section {padding: 48px 0;border-bottom: 1px solid #ddd;}

/* ========================================
ABSCHNITT 1: HERO GRID
Links 4 | Mitte Hero | Rechts 4
======================================== */
.wr-home-hero-grid {display: grid;grid-template-columns: 320px 1fr 260px;gap: 40px;}

.wr-home-hero-grid__left,.wr-home-hero-grid__right {display: flex;flex-direction: column;gap: 24px;}
.wr-home-hero-grid__center {padding: 0 20px;}
/* Hero */
.wr-home-hero__image {
width: 100%;
height: auto;
display: block;
margin-bottom: 16px;
}


.wr-home-hero__title {
    font-family: var(--font-serif);
    font-size: var(--fz-xxl);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    margin: 20px 0 15px 0;
    color: var(--color-text);
}

.wr-home-hero__title a {
    color: var(--color-text);
    text-decoration: none;
}

.wr-home-hero__title a:hover {
    color: var(--color-link);
}

.wr-home-hero__link {
    color: #000;
    text-decoration: none;
}

.wr-home-hero__link:hover {
    color: var(--color-link);
}

.wr-home-hero__text {
    font-family: var(--font-sans);
    font-size: var(--fz-m);
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 20px 0 15px 0;
}

.wr-home-hero__caption {
    font-family: var(--font-serif);

    font-size: var(--fz-s);
font-style:italic;
    letter-spacing: 0.1em;
    color: #000;
    margin: -10px 0 0 0;
}

/* Teaser (klein) */
.wr-home-teaser {
padding-bottom: 16px;
}

/* Rechte Teaser: keine Border, SVGs sind Trenner */
.wr-home-hero-grid__right .wr-home-teaser {
border-bottom: none;
}

.wr-home-teaser__image {
width: 100%;
height: auto;
display: block;
margin-bottom: 10px;
}

.wr-home-teaser__title {
font-family: system-ui, sans-serif;
font-size: 16px;
font-weight: 700;
line-height: 1.3;
margin: 0 0 6px;
}

.wr-home-teaser__title a {
color: #222;
text-decoration: none;
}

.wr-home-teaser__title a:hover {
color: #0b6b8c;
}

.wr-home-teaser__text {
font-size: 14px;
line-height: 1.5;
color: #555;
margin: 0 0 8px;
}

.wr-home-teaser__caption {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #888;
}

.wr-home-teaser__footer {
font-size: 12px;
color: #666;
display: block;
margin-top: 4px;
}

/* ========================================
   RECHTE SPALTE: Text links, Bild rechts
======================================== */
.wr-home-hero-grid__right .wr-home-teaser--small {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
}

.wr-home-hero-grid__right .wr-home-teaser--small .wr-home-teaser__body {
    flex: 1;
    min-width: 0;
}

.wr-home-hero-grid__right .wr-home-teaser--small .wr-home-teaser__media {
    flex-shrink: 0;
    width: 100px;
}

.wr-home-hero-grid__right .wr-home-teaser--small .wr-home-teaser__image {
    width: 100px;
    height: auto;
    display: block;
    margin: 0;
}

.wr-home-hero-grid__right .wr-home-teaser--small .wr-home-teaser__title {
    margin: 0 0 6px;
}

.wr-home-hero-grid__right .wr-home-teaser--small .wr-home-teaser__footer {
    margin: 0;
}

/* ========================================
ABSCHNITT 2: WEINE GRID (4 cols)
======================================== */
.wr-home-section--wines {
background: #fff;
}

.wr-home-wines-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
margin-bottom: 32px;
}

.wr-home-wines-grid:last-child {
margin-bottom: 0;
}

/* Grid: Flasche links | Body rechts */
.wr-home-wine__grid {
display: grid;
grid-template-columns: 120px 1fr;
gap: 16px;
align-items: start;
}

/* Flasche-Link */
.wr-home-wine__media {
display: block;
width: 120px;
}

/* Region + Titel als Link */
.wr-home-wine__head {
display: block;
text-decoration: none;
color: inherit;
margin-bottom: 8px;
}

.wr-home-wine__head:hover .wr-home-wine__title {
color: #0b6b8c;
}

.wr-home-wine__image {
width: 100%;
max-height: 320px;
height: 320px;
object-fit: contain;
display: block;
}

.wr-home-wine__caption {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #888;
margin: 0 0 6px;
}

.wr-home-wine__title {
font-family: system-ui, sans-serif;
font-size: 18px;
font-weight: 700;
line-height: 1.3;
margin: 0;
color: #222;
transition: color 0.2s ease;
}

.wr-home-wine__text {
font-size: 14px;
line-height: 1.5;
color: #555;
margin: 0 0 8px;
}

.wr-home-wine__region {
display: block;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #666;
margin-bottom: 4px;
}

/* Grundpreis / Versand / Gesetzl. in einer Zeile unter dem Grid */
.wr-home-wine__footer {
display: flex;
flex-wrap: wrap;
gap: 4px 12px;
font-size: 11px;
color: #666;
margin: 8px 0 15px 0;
padding-top: 8px;
border-bottom: 1px solid #eee;
letter-spacing: 0.04rem;
justify-content: flex-end;
}

.wr-home-wine__price p{ margin: 40px 0 20px 0; }
.wr-home-wine__price span.value{ font-weight: bold; font-size: 32px;letter-spacing:0; }
.wr-home-wine__price span.volume{ font-weight: normal; font-size: 13px; }


.wr-home-wine__footer .grundpr { color: #444;}
.wr-home-wine__footer .accw-vol { color: #666;}
.wr-home-wine__footer a {    color: var(--color-link, #0a95c7);
text-decoration: none;
}

.wr-home-wine__footer a:hover {text-decoration: underline;}

/* Wein-Aktionen (Kaufen) - unter dem Text im Body */
.wr-home-wine__actions {
display: flex;
gap: 8px;
margin-top: 8px;
align-items: center;
}

/* Qty-Chip: versteckt bis aktiv */
.wr-home-wine__chip {
min-width: 24px;
height: 24px;
line-height: 24px;
text-align: center;
font-size: 12px;
font-weight: 700;
background: var(--color-gruen);
color: #fff;
border-radius: 12px;
cursor: pointer;
}

.wr-home-wine__chip[aria-hidden="true"] { display: none; }



/* Kick-Badge */
.wr-home-wine__kick {
display: inline-block;
padding: 0.06rem 0.55rem;
font-size: var(--fz-s);
background: var(--atl-kick-bg);
color: #fff;
border-radius: 4px;
margin-bottom: 0.5rem;
font-weight: var(--fw-bold);
letter-spacing: 0.3px;
width: 91%;
line-height: 18px;
text-align: center;
opacity: 0.6;

}


/* Kauf-Zone schöner */
.wr-home-wine__actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.75rem;
margin-top: 0.75rem;
}

/* Chip hübscher machen */
/* ALWAYS round qty chip */
.wr-home-wine__chip {
width: 32px;
height: 32px;
min-width: 32px;
min-height: 32px;

padding: 0 !important;
display: flex;
align-items: center;
justify-content: center;

border-radius: 50%;
font-size: var(--fz-s);
font-weight: var(--fw-bold);

background: var(--atl-qty-bg);
color: var(--color-grau-dunkler);

transition: background .2s, color .2s;
}

.wr-home-wine__chip.active {
background: rgba(198, 82, 64, 0.85); /* dezenter Rotton */
color: #fff;
}


.wr-home-wine__chip.active {
background: var(--atl-cart-bg);
color: #fff;
}

/* Kaufen-Button etwas eleganter */
.wr-home-wine__actions .wr-btn {
padding: 0.35rem 1.1rem;
border-radius: 8px;
background: var(--atl-cart-bg);
color: #fff;
font-size: var(--fz-s);
}





/* Schmale Buttons */
.wr-btn--narrow {
font-family: var(--font-sans);
font-weight: var(--fw-regular);
letter-spacing: var(--ls-008);
font-size: clamp(11px, 0.75vw + 2px, 12px);
flex: 1;
padding: 10px 14px;
border-radius: 5px;
border: 0;
background: #f4f4f4;
color: #000;
white-space: nowrap;
}

.wr-btn--ghost {
background: transparent;
border: 1px solid #ccc;
color: #666;
}

.wr-btn--ghost:hover {
border-color: #999;
color: #333;
}

/* ========================================
ABSCHNITT 3 & 4: CONTENT GRID
Links 50% | Rechts 50% (2x2)
======================================== */
.wr-home-content-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
}

.wr-home-content-grid__left {
padding-right: 20px;
}

.wr-home-content__title {
font-family: Georgia, serif;
font-size: 28px;
font-weight: 700;
line-height: 1.25;
margin: 0 0 16px;
}

.wr-home-content__title a {
color: #222;
text-decoration: none;
}

.wr-home-content__title a:hover {
color: #0b6b8c;
}

.wr-home-content__text {
font-family: Georgia, serif;
font-size: 17px;
line-height: 1.65;
color: #333;
margin: 0 0 12px;
}

.wr-home-content__caption {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.1em;
color: #888;
display: block;
margin-bottom: 16px;
}

.wr-home-content__image {
width: 100%;
height: auto;
display: block;
}

/* Rechts: Mini-Teaser */
.wr-home-content-grid__right {
display: flex;
flex-direction: column;
gap: 20px;
}

.wr-home-mini--wide {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
align-items: start;
border-bottom: 1px solid #eee;
padding-bottom: 20px;
}

.wr-home-mini__title {
font-family: system-ui, sans-serif;
font-size: 18px;
font-weight: 700;
line-height: 1.3;
margin: 0 0 8px;
}

.wr-home-mini__title a {
color: #222;
text-decoration: none;
}

.wr-home-mini__title a:hover {
color: #0b6b8c;
}

.wr-home-mini__image {
width: 100%;
height: auto;
display: block;
}

.wr-home-mini__caption {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #888;
}

/* 2x2 Mini Grid */
.wr-home-mini-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}

.wr-home-mini-grid .wr-home-mini__image {
height: 120px;
object-fit: cover;
margin-bottom: 10px;
}

.wr-home-mini-grid .wr-home-mini__title {
font-size: 15px;
}

/* Alt Section */
.wr-home-section--alt {
background: #fafafa;
}

/* ========================================
   RELAUNCH: Abschnitte versteckt bis Aktivierung
======================================== */
.relaunch {
    display: none !important;
}

/* ========================================
   MOBILE-ARTIKEL BLOCK (zwischen Weinreihen)
   Desktop: versteckt | Mobile: sichtbar
======================================== */
.wr-home-mobile-articles {
    display: none;
}

.wr-home-mobile-article {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.wr-home-mobile-article:last-child {
    border-bottom: none;
}

.wr-home-mobile-article__media {
    display: block;
}

.wr-home-mobile-article__image {
    width: 100%;
    height: auto;
    display: block;
}

.wr-home-mobile-article__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wr-home-mobile-article__title {
    font-family: system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px;
}

.wr-home-mobile-article__title a {
    color: #222;
    text-decoration: none;
}

.wr-home-mobile-article__title a:hover {
    color: var(--color-link);
}

.wr-home-mobile-article__footer {
    font-size: 12px;
    color: #666;
}

/* ========================================
RESPONSIVE
======================================== */

/* TABLET (1024px) */
@media (max-width: 1024px) {
    .wr-home-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .wr-home-hero-grid__left {
        grid-column: 1;
    }

    .wr-home-hero-grid__center {
        grid-column: 2;
        padding: 0;
    }

    .wr-home-hero-grid__right {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .wr-home-wines-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wr-home-content-grid {
        grid-template-columns: 1fr;
    }

    .wr-home-content-grid__left {
        padding-right: 0;
    }
}

/* MOBILE (768px)
   Reihenfolge: Hero → 4 Weine → Artikel → 4 Weine
======================================== */
@media (max-width: 768px) {
    .wr-home-container {
        padding: 0 16px;
    }

    .wr-home-section {
        padding: 24px 0;
    }

    /* HERO-GRID: Nur Hero zeigen, Rest ausblenden */
    .wr-home-hero-grid {
        display: block;
    }

    .wr-home-hero-grid__left,
    .wr-home-hero-grid__right {
        display: none;
    }

    /* MOBILE-ARTIKEL: Sichtbar auf Mobile */
    .wr-home-mobile-articles {
        display: block;
        margin: 24px 0;
        padding: 0;
        border-top: 1px solid #ddd;
    }

    .wr-home-hero-grid__center {
        padding: 0;
    }

    .wr-home-hero__title {
        font-size: 24px;
    }

    .wr-home-hero__text {
        font-size: 16px;
    }

    /* WEINE: 2 Spalten */
    .wr-home-wines-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 24px;
    }

    .wr-home-wine__grid {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }

    .wr-home-wine__media {
        width: 80px;
    }

    .wr-home-wine__image {
        height: auto;
        max-height: 200px;
    }

    .wr-home-wine__title {
        font-size: 15px;
    }

    .wr-home-wine__text {
        font-size: 13px;
        display: none; /* Platz sparen */
    }

    .wr-home-wine__price span.value {
        font-size: 22px;
    }

    .wr-home-wine__footer {
        font-size: 10px;
    }

    /* CONTENT: Einspaltig */
    .wr-home-content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .wr-home-content-grid__left {
        padding-right: 0;
    }

    .wr-home-content__title {
        font-size: 22px;
    }

    .wr-home-content__text {
        font-size: 15px;
    }

    .wr-home-mini--wide {
        grid-template-columns: 1fr;
    }

    .wr-home-mini-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .wr-home-mini-grid .wr-home-mini__image {
        height: 100px;
    }

    .wr-home-mini-grid .wr-home-mini__title {
        font-size: 14px;
    }
}

/* SMALL MOBILE (480px) */
@media (max-width: 480px) {
    .wr-home-wines-grid {
        grid-template-columns: 1fr;
    }

    .wr-home-wine__grid {
        grid-template-columns: 100px 1fr;
    }

    .wr-home-wine__media {
        width: 100px;
    }

    .wr-home-wine__image {
        max-height: 240px;
    }

    .wr-home-mini-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SVG-LINIEN (Ornamente)
======================================== */
.wr-svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.wr-line {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Hero-Linie: zentriert unter dem Hero-Grid */
.wr-line--hero {
    max-width: 660px;
    height: 30px;
    margin: 24px auto 0;
}

/* Linke Teaser-Wrapper */
.wr-home-teaser-wrapper {
    display: block;
}

/* Linke Artikel: Winzer-Ornament */
.wr-home-hero-grid__left .wr-line--left {
    display: block;
    width: 110%;
    height: auto;
    margin: -25px 0 15px -5%;
}

/* Rechte Artikel: Raute/Bobble abwechselnd */
.wr-line--right {
    max-width: 280px;
    height: 18px;
    margin: -35px auto 35px;
}

/* Mobile-SVGs: Standard versteckt */
.wr-line--mobile-top,
.wr-line--mobile-bottom {
    display: none;
}

/* Responsive: Linien auf Mobile ausblenden oder kleiner */
@media (max-width: 768px) {
    .wr-line--hero {
        max-width: 90%;
        height: 20px;
        margin: 16px auto 0;
    }

    .wr-line--left,
    .wr-line--right {
        display: none;
    }

    /* Mobile-SVGs sichtbar */
    .wr-line--mobile-top,
    .wr-line--mobile-bottom {
        display: block;
        width: 110%;
        max-width: none;
        height: auto;
        margin-left: -5%;
    }

    /* Oberes SVG um 180° gedreht */
    .wr-line--mobile-top {
        transform: rotate(180deg);
        margin-bottom: -25px;
        margin-top: 32px;
    }

    /* Unteres SVG normal */
    .wr-line--mobile-bottom {
        margin-top: -25px;
        margin-bottom: 32px;
    }

    /* Mehr Abstand Mobile-Artikel zu Weinen */
    .wr-home-mobile-articles {
        margin: 0;
        padding: 16px 0;
        border-top: none;
    }
}

