/* ==========================================================================
   Weingut Linter – Grund-Design (1:1 aus der bisherigen Startseite übernommen)
   ========================================================================== */

@font-face{font-family:'Newsreader';font-style:normal;font-weight:400 500;font-display:swap;src:url(../fonts/newsreader-latin-opsz-normal.woff2) format('woff2')}
@font-face{font-family:'Newsreader';font-style:italic;font-weight:400 500;font-display:swap;src:url(../fonts/newsreader-latin-opsz-italic.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/inter-latin-wght-normal.woff2) format('woff2')}

html{scroll-behavior:smooth}
body{margin:0;background:#f7f4ed}

#linter{
  --beige:#f7f4ed; --sand:#e8e5dd; --gruen:#38423b; --gold:#a08c5b; --gold-text:#74633a; --gold-em:#937e4d; --text:#2f3a33; --grau:#5f5d54;
  font-family:'Newsreader',Georgia,serif; color:var(--text); background:var(--beige); font-size:19px; line-height:1.7;
  overflow-x:clip; min-height:100vh; display:flex; flex-direction:column;
}
#linter > main{flex:1 0 auto}
#linter *{box-sizing:border-box}
#linter h1,#linter h2,#linter h3,#linter p{margin:0}
#linter a{color:inherit;text-decoration:none}
#linter h1,#linter h2{font-weight:400;line-height:1.08;letter-spacing:-.01em}
#linter h1 em,#linter h2 em{color:var(--gold-em);font-style:italic}
#linter .ui{font-family:'Inter',system-ui,sans-serif}
#linter .label{font-family:'Inter',sans-serif;font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-text)}
#linter .wrap{max-width:1180px;margin:0 auto;padding:0 32px}
#linter a:focus-visible,#linter button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
#linter img{max-width:100%;height:auto}

.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.skip-link:focus{clip:auto;clip-path:none;height:auto;width:auto;left:12px;top:12px;z-index:100000;background:#fff;color:#2f3a33;padding:12px 18px;font:500 15px 'Inter',sans-serif}

/* ===== Bildflächen: ruhige Farbe, bis das Bild geladen ist ===== */
#linter .slot{position:relative;overflow:hidden;background:var(--sand)}
#linter .slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;display:block}

/* ===== Kopfzeile ===== */
#linter .top{background:var(--beige);position:relative;z-index:50}
#linter .top .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:30px;padding-bottom:30px;flex-wrap:wrap}
#linter .logo{display:flex;align-items:center;gap:14px}
#linter .logo .l{width:50px;height:50px;border:1.5px solid var(--gold);border-radius:50%;display:grid;place-items:center;font-style:italic;font-size:28px;color:var(--gold);line-height:1}
#linter .logo small{display:block;font:500 11px/1 'Inter',sans-serif;letter-spacing:.3em;color:var(--grau)}
#linter .logo b{display:block;font:600 22px/1.2 'Inter',sans-serif;letter-spacing:.26em;color:var(--text)}
#linter .hauptmenue{display:flex;align-items:center;gap:44px;font:400 16px 'Inter',sans-serif}
#linter .hauptmenue a:hover{color:var(--gold-text)}
#linter .hauptmenue .shop{border-bottom:1px solid var(--gold);padding-bottom:6px;padding-top:7px}
#linter .hauptmenue .aktiv{color:var(--gold-text)}
#linter .menue-knopf{display:none}

/* ===== Hero ===== */
#linter .hero{position:relative;min-height:88vh;display:flex;align-items:center;color:#fff;background:#2b332d}
#linter .hero .slot{position:absolute;inset:0;background:#2b332d}
#linter .hero .slot img{filter:brightness(.68)}
#linter .hero .slot::after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(20,25,22,.5) 0%,rgba(20,25,22,.28) 55%,rgba(20,25,22,0) 85%)}
#linter .hero .inhalt{position:relative;z-index:3;width:100%;text-shadow:0 2px 24px rgba(0,0,0,.55)}
#linter .hero .label{color:#d9c78f;margin-bottom:22px}
#linter .hero h1{font-size:clamp(54px,9vw,112px);max-width:9.5em;color:#cdb87c}
#linter .hero h1 em{color:#cdb87c}
#linter .hero p{font-size:clamp(19px,2.1vw,24px);margin:30px 0 40px;line-height:1.5}
#linter .btn-rahmen{display:inline-flex;gap:46px;align-items:center;border:1px solid currentColor;padding:18px 32px;font:500 15px 'Inter',sans-serif;color:#fff;transition:background .2s,color .2s}
#linter .btn-rahmen:hover{background:#fff;color:var(--gruen);text-shadow:none}
#linter .koord{position:absolute;z-index:3;left:0;right:0;bottom:26px;font:400 11px 'Inter',sans-serif;letter-spacing:.2em;color:#fff;text-transform:none}
#linter .koord .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

/* ===== Anspruch ===== */
#linter .anspruch{padding:130px 0}
#linter .anspruch .wrap{display:grid;grid-template-columns:1fr 2fr;gap:60px;align-items:center}
#linter .anspruch .bild{aspect-ratio:3/4;width:100%}
#linter .anspruch h2{font-size:clamp(40px,5.4vw,70px);max-width:11em}
#linter .anspruch p{margin:36px 0 26px;max-width:34em;color:var(--grau);font-size:20px}
#linter .linkpfeil{font:500 15px 'Inter',sans-serif;border-bottom:1px solid var(--gold);padding-bottom:7px;display:inline-block;color:var(--text)}
#linter .linkpfeil:hover{color:var(--gold-text)}

/* ===== Weine ===== */
#linter .weine{background:var(--sand);padding:110px 0}
#linter .weine .kopf{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;flex-wrap:wrap;margin:22px 0 70px}
#linter .weine h2{font-size:clamp(42px,6vw,76px)}
#linter .weine .kopf p{max-width:15em;color:var(--grau);font-size:19px;line-height:1.55}
#linter .raster{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:26px;list-style:none;margin:0;padding:0}
#linter .wein{min-width:0;container-type:inline-size;margin:0;padding:0;list-style:none}

/* Wein-Karte: das ganze Bild ist anklickbar */
#linter .wein .slot{
  display:block;aspect-ratio:3/4.4;background-color:#dedad0;cursor:pointer;
  box-shadow:0 10px 30px rgba(47,58,51,.12);
  transition:box-shadow .3s ease, transform .3s ease;
}
#linter .wein .slot:hover{box-shadow:0 18px 44px rgba(47,58,51,.28);transform:translateY(-4px)}
#linter .wein .slot img{transition:transform .6s ease}
#linter .wein .slot:hover img{transform:scale(1.06)}
#linter .wein .slot::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(to top, rgba(22,27,24,.78) 0%, rgba(22,27,24,.34) 20%, rgba(22,27,24,0) 42%);
}
#linter .wein .slot:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
#linter .wein .info{position:absolute;left:0;right:0;bottom:0;z-index:3;padding:0 14px 14px;color:#fff}
#linter .wein h3{font-size:30px;font-weight:400;color:#fff;line-height:1.15;margin:0 0 10px;font-family:'Newsreader',Georgia,serif}
#linter .wein .cta{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid rgba(255,255,255,.7);padding:6px 6px 6px 11px;
  font:500 11.5px/1 'Inter',sans-serif;letter-spacing:.03em;color:#fff;white-space:nowrap;
  transition:background .25s ease,border-color .25s ease;
}
#linter .wein .cta .kurz{display:none}
#linter .wein .cta i{
  font-style:normal;font-size:14px;line-height:1;width:18px;height:18px;border-radius:50%;
  display:grid;place-items:center;background:#fff;color:var(--gruen);flex:none;
  transition:transform .3s ease;
}
#linter .wein .slot:hover .cta,
#linter .wein .slot:focus-visible .cta{background:var(--gold-text);border-color:var(--gold-text)}
#linter .wein .slot:hover .cta i{transform:rotate(90deg)}
@container (max-width:210px){
  #linter .wein .cta .lang{display:none}
  #linter .wein .cta .kurz{display:inline}
}

#linter .weine .hinweis{text-align:center;margin-top:38px;font:400 14px 'Inter',sans-serif;letter-spacing:.04em;color:var(--grau)}
#linter .weine .shopzeile{display:flex;justify-content:center;align-items:center;gap:30px;margin-top:70px;flex-wrap:wrap}
#linter .weine .shopzeile em{font-size:22px;color:var(--grau)}
#linter .btn-dunkel{display:inline-flex;gap:40px;align-items:center;justify-content:center;background:var(--gruen);color:#fff;padding:20px 32px;font:500 15px 'Inter',sans-serif;transition:background .2s;border:0;cursor:pointer;text-align:center}
#linter .btn-dunkel:hover{background:#262e28}

/* ===== Zuhause ===== */
#linter .zuhause{padding:140px 0}
#linter .zuhause .wrap{display:grid;grid-template-columns:1fr 1.1fr;gap:70px;align-items:center}
#linter .zuhause h2{font-size:clamp(40px,5.2vw,66px);margin:24px 0 34px}
#linter .zuhause p{color:var(--grau);max-width:28em;margin-bottom:28px}
#linter .fotos{position:relative;height:640px}
#linter .fotos .gross{position:absolute;top:0;left:0;width:72%;height:76%}
#linter .fotos .klein{position:absolute;bottom:0;right:0;width:52%;height:52%;border:10px solid var(--beige)}
#linter .fotos .unterschrift{position:absolute;left:18px;bottom:16px;z-index:3;font-style:italic;font-size:16px;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.7)}

/* ===== Besuch ===== */
#linter .besuch{display:grid;grid-template-columns:1fr 1fr;background:var(--gruen);color:#fff;min-height:620px}
#linter .besuch .slot{min-height:420px;background:#2f3832}
#linter .besuch .text{padding:80px clamp(32px,6vw,90px);display:flex;flex-direction:column;justify-content:center}
#linter .besuch .label{color:#cdb87c}
#linter .besuch h2{font-size:clamp(40px,4.6vw,60px);margin:22px 0 30px}
#linter .besuch h2 em{color:#cdb87c}
#linter .besuch p{color:#e4e2d8;font-size:19px;margin-bottom:44px}
#linter .daten{display:flex;gap:60px;flex-wrap:wrap;margin-bottom:44px}
#linter .daten .label{font-size:11px;display:block;margin-bottom:10px}
#linter .daten div{font-size:19px;line-height:1.6}
#linter .daten a:hover{color:#cdb87c}
#linter address{font-style:normal}

/* ===== Fuß ===== */
#linter .fuss{background:var(--beige);padding:60px 0 36px}
#linter .fuss .oben{display:flex;justify-content:space-between;align-items:center;gap:30px;flex-wrap:wrap}
#linter .fuss .spruch{font-style:italic;color:var(--grau);font-size:19px;line-height:1.6;text-align:right}
#linter .fuss .unten{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:56px;padding-top:26px;border-top:1px solid var(--sand);font:400 12px 'Inter',sans-serif;color:var(--grau)}
#linter .fuss .rechtliches{display:flex;flex-wrap:wrap;gap:4px 0;align-items:center}
#linter .fuss .rechtliches a,#linter .fuss .cookie-link{display:inline-block;padding:8px 0;min-height:24px}
#linter .fuss .rechtliches > *:not(:last-child)::after{content:"·";margin:0 8px}
#linter .fuss .rechtliches a:hover,#linter .fuss .cookie-link:hover{color:var(--text)}
#linter .fuss .cookie-link{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}

/* ===== Schwebender Warenkorb-Button ===== */
#linter .warenkorb-float{
  position:fixed;right:24px;bottom:24px;z-index:8000;width:62px;height:62px;border-radius:50%;
  border:2px solid var(--gold);background:var(--gruen);color:#fff;cursor:pointer;
  display:none;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.28);transition:transform .2s ease,background .2s ease;
}
#linter .warenkorb-float.sichtbar{display:flex}
#linter .warenkorb-float:hover{transform:scale(1.07);background:#262e28}
#linter .warenkorb-float .zahl{
  position:absolute;top:-6px;right:-6px;min-width:24px;height:24px;padding:0 6px;border-radius:12px;
  background:var(--gold-text);color:#fff;font:600 12px/24px 'Inter',sans-serif;text-align:center;
}
body.cookie-offen #linter .warenkorb-float{display:none}

/* ===== Inhaltsseiten (Impressum, Datenschutz, AGB …) ===== */
#linter .seite{padding:90px 0 120px}
#linter .seite .wrap{max-width:860px}
#linter .seite h1{font-size:clamp(40px,6vw,64px);margin:18px 0 40px}
#linter .prose{color:var(--text)}
#linter .prose > * + *{margin-top:1.1em}
#linter .prose h2{font-size:clamp(28px,3.4vw,38px);margin-top:1.8em}
#linter .prose h3{font:600 15px/1.4 'Inter',sans-serif;letter-spacing:.04em;margin-top:1.8em}
#linter .prose a{color:var(--gold-text);text-decoration:underline;text-underline-offset:3px}
#linter .prose ul,#linter .prose ol{padding-left:1.3em}
#linter .prose li + li{margin-top:.4em}
#linter .prose table{width:100%;border-collapse:collapse;font:400 15px/1.5 'Inter',sans-serif}
#linter .prose th,#linter .prose td{border-bottom:1px solid var(--sand);padding:10px 8px;text-align:left;vertical-align:top}

/* ===== 404 ===== */
#linter .fehler{min-height:70vh}
#linter .fehler .knoepfe{display:flex;gap:18px;flex-wrap:wrap}

/* ===== Cookie-Banner (DSGVO) ===== */
.linter-consent{position:fixed;left:24px;bottom:24px;z-index:99999;max-width:460px;width:calc(100% - 48px);
  background:#f7f4ed;color:#2f3a33;border-top:3px solid #a08c5b;box-shadow:0 20px 60px rgba(0,0,0,.3);
  padding:28px 28px 24px;font:400 15px/1.6 'Inter',system-ui,sans-serif}
.linter-consent[hidden]{display:none}
.linter-consent h2{font:400 26px/1.15 'Newsreader',Georgia,serif;margin:0 0 10px;color:#2f3a33}
.linter-consent p{margin:0 0 18px;color:#4a4840}
.linter-consent a{color:#74633a;text-decoration:underline;text-underline-offset:3px}
.linter-consent .knoepfe{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.linter-consent button{font:500 14px/1.2 'Inter',sans-serif;cursor:pointer;padding:14px 16px;border:1px solid #38423b;transition:background .2s,color .2s}
.linter-consent .ja,.linter-consent .nein,.linter-consent .speichern{background:#38423b;color:#fff}
.linter-consent .ja:hover,.linter-consent .nein:hover,.linter-consent .speichern:hover{background:#262e28}
.linter-consent .mehr{grid-column:1/-1;background:transparent;color:#2f3a33;border-color:transparent;text-decoration:underline;text-underline-offset:3px;padding:8px}
.linter-consent .mehr:hover{color:#74633a}
.linter-consent button:focus-visible,.linter-consent input:focus-visible + .schalter{outline:3px solid #a08c5b;outline-offset:2px}
.linter-consent .kategorien{margin:0 0 18px;padding:0;list-style:none;border-top:1px solid #e8e5dd}
.linter-consent .kategorien li{border-bottom:1px solid #e8e5dd;padding:12px 0}
.linter-consent .kategorien label{display:flex;justify-content:space-between;align-items:center;gap:14px;font-weight:600;cursor:pointer}
.linter-consent .kategorien small{display:block;font-weight:400;color:#5f5d54;font-size:13px;margin-top:4px}
.linter-consent .kategorien input{position:absolute;opacity:0;width:1px;height:1px}
.linter-consent .schalter{flex:none;width:44px;height:24px;border-radius:12px;background:#c9c5ba;position:relative;transition:background .2s}
.linter-consent .schalter::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s}
.linter-consent input:checked + .schalter{background:#38423b}
.linter-consent input:checked + .schalter::after{transform:translateX(20px)}
.linter-consent input:disabled + .schalter{opacity:.55}
.linter-consent .details[hidden]{display:none}

/* ===== Handy / Tablet ===== */
/* Breite Tabellen in Rechtstexten am Handy wischbar statt abgeschnitten */
#linter .seite:not(.shopseite) .prose table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media (max-width:1000px){
  #linter .raster{grid-template-columns:repeat(2,minmax(0,1fr))}
  #linter .anspruch .wrap,#linter .zuhause .wrap,#linter .besuch{grid-template-columns:1fr}
  #linter .anspruch .bild{aspect-ratio:4/3}
  #linter .anspruch{padding:80px 0}
  #linter .zuhause{padding:80px 0}
  #linter .fotos{height:520px}
  #linter .hauptmenue{gap:22px;flex-wrap:wrap}
}
@media (max-width:760px){
  #linter .top .wrap{padding-top:18px;padding-bottom:18px;flex-wrap:nowrap}
  #linter .menue-knopf{display:inline-flex;align-items:center;gap:10px;background:none;border:1px solid var(--gold);color:var(--text);padding:10px 14px;font:500 14px 'Inter',sans-serif;cursor:pointer}
  #linter .menue-knopf .striche{width:18px;height:12px;position:relative;display:block}
  #linter .menue-knopf .striche::before,#linter .menue-knopf .striche::after{content:"";position:absolute;left:0;right:0;height:1.5px;background:currentColor;transition:transform .2s,top .2s}
  #linter .menue-knopf .striche::before{top:2px}
  #linter .menue-knopf .striche::after{top:9px}
  #linter .menue-knopf[aria-expanded="true"] .striche::before{top:5px;transform:rotate(45deg)}
  #linter .menue-knopf[aria-expanded="true"] .striche::after{top:5px;transform:rotate(-45deg)}
  #linter .hauptmenue{display:none;position:absolute;left:0;right:0;top:100%;background:var(--beige);flex-direction:column;align-items:stretch;gap:0;padding:6px 22px 18px;box-shadow:0 18px 30px rgba(47,58,51,.12);font-size:17px}
  #linter .hauptmenue.offen{display:flex}
  #linter .hauptmenue a{padding:14px 0;border-bottom:1px solid var(--sand)}
  #linter .hauptmenue .shop{border-bottom:1px solid var(--sand);padding:14px 0}
  #linter .hauptmenue a:last-child{border-bottom:0}
}
@media (max-width:560px){
  #linter{font-size:18px}
  #linter .raster{grid-template-columns:1fr}
  #linter .wein .slot{aspect-ratio:4/5}
  #linter .wrap{padding:0 22px}
  #linter .logo .l{width:44px;height:44px;font-size:25px}
  #linter .logo b{font-size:19px}
  #linter .hero{min-height:82vh}
  #linter .hero .inhalt{padding-top:40px;padding-bottom:90px}
  #linter .btn-rahmen{gap:24px;padding:16px 24px}
  #linter .koord{bottom:18px}
  #linter .weine{padding:80px 0}
  #linter .weine .kopf{margin:18px 0 44px}
  #linter .weine .shopzeile{margin-top:50px;flex-direction:column;gap:18px}
  #linter .btn-dunkel{gap:24px}
  #linter .fotos{height:420px}
  #linter .fotos .gross{width:82%;height:72%}
  #linter .fotos .klein{width:60%;height:50%}
  #linter .besuch .text{padding:64px 22px}
  #linter .daten{gap:28px}
  #linter .fuss .spruch{text-align:left}
  #linter .fuss .unten{flex-direction:column}
  #linter .warenkorb-float{right:16px;bottom:16px}
  #linter .seite{padding:56px 0 80px}
  .linter-consent{left:0;bottom:0;width:100%;max-width:none;padding:22px 20px 18px;max-height:90vh;overflow:auto}
  .linter-consent .knoepfe{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  #linter *,#linter *::before,#linter *::after{transition:none!important}
}
