/* ============================================================
   wine-pool – modernes Stylesheet
   Farbwelt: Bordeaux / Gold / Creme
   ============================================================ */

:root {
  --wine:        #6b1230;
  --wine-dark:   #4a0c21;
  --wine-deep:   #2c0713;
  --gold:        #c2a05a;
  --gold-light:  #d8bd80;
  --cream:       #faf7f2;
  --cream-2:     #f2ece1;
  --ink:         #241b18;
  --ink-soft:    #5b504b;
  --line:        #e4dccf;
  --white:       #ffffff;
  --shadow-sm:   0 2px 10px rgba(44, 7, 19, .06);
  --shadow-md:   0 10px 30px rgba(44, 7, 19, .10);
  --shadow-lg:   0 24px 60px rgba(44, 7, 19, .18);
  --radius:      14px;
  --radius-sm:   8px;
  --maxw:        1180px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1,h2,h3,h4 {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .2px;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.center  { text-align: center; }

.eyebrow {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem;
  padding: 14px 30px; border-radius: 50px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all .35s var(--ease);
}
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--gold); color: var(--wine-deep); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--wine); }
.btn-outline { border-color: var(--wine); color: var(--wine); }
.btn-outline:hover { background: var(--wine); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 60px; width: auto; }
.brand .brand-fallback {
  font-family: "Cormorant Garamond", serif; font-size: 1.7rem; font-weight: 700;
  color: var(--wine); letter-spacing: .5px;
}

.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  font-size: .95rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 6px 0; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a:hover { color: var(--gold); }

.nav-cta { margin-left: 6px; }

/* header contact (small) */
.header-contact { display: flex; flex-direction: column; font-size: .8rem; color: var(--ink-soft); text-align: right; line-height: 1.4; opacity: .9;}

/* Mobile toggle */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; position: relative; z-index: 120;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px auto;
  transition: all .3s var(--ease);
}
.nav-toggle.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero / Slider ---------- */
.hero { position: relative; height: clamp(340px, 30vw, 480px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease);
  background-size: cover; background-position: center;
  background-color: var(--wine-dark);
}
.slide.active { opacity: 1; }
.slide::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(105deg, rgba(44,7,19,.86) 0%, rgba(44,7,19,.55) 45%, rgba(44,7,19,.25) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.hero-content .eyebrow { margin-bottom: 12px; }
.hero-content h1 { color:#fff; margin-bottom: 14px; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.hero-content h1 .accent { color: var(--gold); font-style: italic; }
.hero-content p { font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255,255,255,.92); margin-bottom: 24px; max-width: 48ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.slide-caption {
  position: absolute; right: 24px; bottom: 20px; z-index: 2;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.9); border-right: 2px solid var(--gold); padding-right: 12px; text-align: right;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.slider-dots {
  position: absolute; left: 24px; bottom: 20px; z-index: 3; display: flex; gap: 10px;
}
.slider-dots button {
  width: 30px; height: 3px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: background .3s;
}
.slider-dots button.active { background: var(--gold); }
.scroll-hint { display: none; }

/* ---------- Values ---------- */
.values { background: var(--white); }
.values-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; margin-top: 56px;
}
.value-card {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 28px; text-align: center; transition: all .4s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.value-icon {
  width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wine); color: var(--gold);
}
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 { margin-bottom: 10px; color: var(--wine); }
.value-card p { font-size: .96rem; color: var(--ink-soft); }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.about-photo .photo-frame {
  position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
.about-photo .photo-fallback {
  aspect-ratio: 4/5; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-deep) 100%);
  display: grid; place-items: center; color: var(--gold-light); text-align: center; padding: 30px;
  font-family: "Cormorant Garamond", serif; font-size: 1.4rem;
}
.about-body h2 { margin-bottom: 22px; }
.about-body p { color: var(--ink-soft); margin-bottom: 20px; }
.about-stats { display: flex; gap: 44px; margin-top: 34px; flex-wrap: wrap; }
.stat .num { font-family: "Cormorant Garamond", serif; font-size: 2.8rem; color: var(--wine); line-height: 1; }
.stat .lbl { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); margin-top: 6px; }

/* ---------- Producers ---------- */
.producers { background: var(--wine-deep); color: #fff; }
.producers h2, .producers .eyebrow { color: #fff; }
.producers .eyebrow { color: var(--gold); }
.producers .lead { color: rgba(255,255,255,.75); margin: 0 auto; }
.country-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
.country-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 30px; transition: all .4s var(--ease);
}
.country-card:hover { background: rgba(255,255,255,.07); border-color: var(--gold); transform: translateY(-4px); }
.country-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.country-flag { font-size: 1.7rem; }
.country-code {
  display: inline-grid; place-items: center; min-width: 46px; height: 32px; padding: 0 10px;
  border-radius: 7px; background: rgba(194,160,90,.14); border: 1px solid rgba(194,160,90,.55);
  color: var(--gold-light); font-family: "Inter", sans-serif; font-weight: 600;
  font-size: .9rem; letter-spacing: .1em;
}
.country-head h3 { color: var(--gold-light); }
.country-card ul li {
  padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.85); font-size: .97rem; display: flex; justify-content: space-between; gap: 10px;
}
.country-card ul li:last-child { border-bottom: 0; }
.country-card ul li .region { color: rgba(255,255,255,.5); font-size: .82rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--wine) 0%, var(--wine-dark) 100%);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 30px; }

/* ---------- Login / Kundenbereich ---------- */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.login-visual {
  background: linear-gradient(160deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: #fff; padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.login-visual::before {
  content:""; position:absolute; width: 420px; height: 420px; border-radius:50%;
  background: radial-gradient(circle, rgba(194,160,90,.25), transparent 70%); top: -120px; right: -120px;
}
.login-visual h2 { color:#fff; margin-bottom: 20px; }
.login-visual p { color: rgba(255,255,255,.8); max-width: 44ch; }
.login-visual .brand-fallback { color: var(--gold-light); font-size: 2rem; margin-bottom: 40px; }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 60px 40px; background: var(--cream); }
.login-card { width: 100%; max-width: 400px; }
.login-card h1 { font-size: 2.4rem; margin-bottom: 8px; }
.login-card .sub { color: var(--ink-soft); margin-bottom: 34px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field input {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; background: #fff; transition: border-color .3s;
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,160,90,.15); }
.login-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.login-links { margin-top: 22px; font-size: .9rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.login-links a { color: var(--wine); font-weight: 500; }
.login-links a:hover { color: var(--gold); }
.login-note {
  margin-top: 30px; padding: 18px; background: var(--cream-2); border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--ink-soft); border-left: 3px solid var(--gold);
}
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 22px; }
.alert-info { background: #eef4f8; color: #234b63; border-left: 3px solid #4a8bb0; }
.alert-error { background: #fbeaea; color: #8a2727; border-left: 3px solid #c04a4a; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--wine) 0%, var(--wine-deep) 100%);
  color: #fff; padding: 90px 0 80px; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--gold); }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 16px; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Content / Impressum ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 28px 0 12px; color: var(--wine); }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.info-card p { margin-bottom: 6px; color: var(--ink); }
.info-card .muted { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine-deep); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 46px; }
.footer-brand .brand-fallback { color: #fff; font-family: "Cormorant Garamond", serif; font-size: 1.8rem; margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; max-width: 34ch; }
.site-footer h4 { color: var(--gold-light); font-family: "Inter", sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.7); font-size: .95rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 200; max-width: 520px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 24px 26px; border: 1px solid var(--line); transform: translateY(150%); transition: transform .5s var(--ease);
}
.cookie.show { transform: none; }
.cookie h4 { font-family: "Inter", sans-serif; font-size: 1rem; margin-bottom: 8px; }
.cookie p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 12px; }
.cookie .btn { padding: 10px 22px; font-size: .88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .country-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-visual { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--wine-deep); flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 26px; padding: 40px; transform: translateX(100%);
    transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: none; }
  .nav a { color: #fff !important; font-size: 1.2rem; }
  .nav-toggle { display: block; }
  .header-contact { display: none; }
  .values-grid, .country-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .slide-caption { bottom: 90px; font-size: .72rem; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
