/* ===================================================================
   KORKEN KONSULAT — immersiv, cinematisch, dunkel
   Tiefschwarz · Weiß/Grau · dunkles Bordeauxrot · feine Linien
   =================================================================== */

:root {
  --bg:            #0a0908;
  --bg-elev:       #100e0d;
  --bg-card:       #121110;
  --bordeaux:      #7d1f2c;
  --bordeaux-soft: #a23744;
  --bordeaux-glow: rgba(125, 31, 44, 0.40);

  --text:          #efece8;
  --text-soft:     #b8b2ab;
  --text-muted:    #837d76;

  --line:          rgba(239, 236, 232, 0.10);
  --line-strong:   rgba(239, 236, 232, 0.22);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--bordeaux); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--bordeaux); color: #fff;
  padding: 10px 18px; z-index: 300;
}
.skip-link:focus { left: 12px; top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--bordeaux-soft);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ===================================================================
   MARKE / EMBLEM
   =================================================================== */
.brand-emblem { display: inline-flex; color: var(--text); }
.brand-emblem svg { width: 100%; height: 100%; display: block; }

.brand-sub i,
.hero-sub i { color: var(--bordeaux-soft); font-style: normal; margin: 0 2px; }

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h); z-index: 100;
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 9, 8, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand .brand-emblem { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.04rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 5px;
}

.nav-list { list-style: none; display: flex; align-items: center; gap: 40px; }
.nav-list a {
  position: relative;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.3s var(--ease);
  padding: 6px 0;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--bordeaux-soft);
  transition: width 0.35s var(--ease);
}
.nav-list a:hover, .nav-list a.active { color: var(--text); }
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 9px 20px !important;
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { border-color: var(--bordeaux); background: var(--bordeaux); color: #fff !important; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px; background: var(--text); margin-left: auto;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 32px; border-radius: var(--radius);
  cursor: pointer; border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--bordeaux); color: #fff; border-color: var(--bordeaux); }
.btn-primary:hover {
  background: var(--bordeaux-soft); border-color: var(--bordeaux-soft);
  transform: translateY(-2px); box-shadow: 0 14px 34px -14px var(--bordeaux-glow);
}
.btn-ghost { background: rgba(10,9,8,0.25); color: var(--text); border-color: var(--line-strong); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

.btn-card {
  align-self: flex-start;
  background: transparent; color: var(--text);
  border: 1px solid var(--line-strong);
  padding: 13px 26px; margin-top: 24px;
}
.btn-card .btn-arrow { transition: transform 0.35s var(--ease); }
.btn-card:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.btn-card:hover .btn-arrow { transform: translateX(5px); }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 90px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.25) 35%, rgba(10,9,8,0.55) 70%, rgba(10,9,8,0.96) 100%),
    radial-gradient(80% 70% at 50% 45%, transparent 30%, rgba(10,9,8,0.55) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-emblem { display: inline-flex; width: 76px; height: 76px; color: #fff; margin-bottom: 26px; }
.hero-title {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(2.3rem, 7.5vw, 5rem);
  line-height: 1.05; letter-spacing: 0.22em; text-transform: uppercase;
  padding-left: 0.22em;
}
.hero-sub {
  font-size: clamp(0.62rem, 1.6vw, 0.8rem);
  letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--text-soft); margin-top: 20px; padding-left: 0.5em;
}
.hero-tagline {
  font-family: var(--font-head); font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  color: var(--text); margin-top: 30px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }

.scroll-hint { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 2; }
.scroll-hint-line { display: block; width: 1px; height: 58px; background: rgba(255,255,255,0.18); position: relative; overflow: hidden; }
.scroll-hint-line::after {
  content: ""; position: absolute; top: -58px; left: 0; width: 1px; height: 58px;
  background: linear-gradient(to bottom, transparent, #fff);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine { 0% { transform: translateY(0); } 100% { transform: translateY(116px); } }

/* ===================================================================
   SECTIONS (gemeinsam)
   =================================================================== */
.section { position: relative; padding: clamp(84px, 12vw, 160px) 0; }
.section.mission { border-top: 0; }

.section-head { display: flex; align-items: center; gap: 24px; margin-bottom: 58px; }
.section-index { font-family: var(--font-head); font-size: 0.95rem; color: var(--bordeaux-soft); letter-spacing: 0.1em; }
.section-title {
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; white-space: nowrap;
}
.section-rule { flex: 1; height: 1px; background: var(--line); }
.section-head--light .section-index { color: var(--bordeaux-soft); }
.section-head--light .section-rule { background: rgba(255,255,255,0.22); }

.section-intro { max-width: 62ch; color: var(--text-soft); font-size: 1.08rem; margin-bottom: 60px; }

/* ===================================================================
   01 — MISSION
   =================================================================== */
.mission-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.mission-text .lead {
  font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35; margin-bottom: 28px;
}
.mission-text p { color: var(--text-soft); margin-bottom: 22px; }
.mission-sign { font-family: var(--font-head); font-style: italic; color: var(--text) !important; margin-top: 6px; }

.mission-figure { margin: 0; }
.figure-frame {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); aspect-ratio: 3 / 4;
}
.figure-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mission-figure:hover .figure-frame img { transform: scale(1.05); }
.figure-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,9,8,0.5), transparent 55%);
  pointer-events: none;
}

/* ===================================================================
   PARALLAX CLAIM BAND
   =================================================================== */
.claim-band {
  position: relative; min-height: 62vh; display: flex; align-items: center;
  overflow: hidden; text-align: center;
}
.claim-media { position: absolute; inset: 0; z-index: 0; }
.claim-media img {
  width: 100%; height: 130%; object-fit: cover; object-position: center 30%;
  will-change: transform;
}
.claim-scrim { position: absolute; inset: 0; background: rgba(10,9,8,0.72); }
.claim-inner { position: relative; z-index: 2; }
.claim-text {
  font-family: var(--font-head); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3.8vw, 2.7rem); line-height: 1.4;
  max-width: 22ch; margin: 0 auto; color: #fff;
}

/* ===================================================================
   02 — TASTINGS
   =================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.tasting-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tasting-card:hover {
  border-color: var(--bordeaux); transform: translateY(-6px);
  box-shadow: 0 36px 70px -34px rgba(0,0,0,0.85);
}

.card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.tasting-card:hover .card-media img { transform: scale(1.07); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,17,16,0.85), transparent 50%);
}
.card-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; background: rgba(125,31,44,0.85);
  backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: var(--radius);
}

.card-body { display: flex; flex-direction: column; flex: 1; padding: 30px 30px 32px; }
.card-date { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bordeaux-soft); margin-bottom: 14px; }
.card-title { font-family: var(--font-head); font-weight: 500; font-size: 1.7rem; line-height: 1.15; }
.card-subtitle { font-family: var(--font-head); font-style: italic; color: var(--text-soft); margin: 6px 0 16px; }
.card-text { color: var(--text-soft); font-size: 0.95rem; line-height: 1.7; }

/* ===================================================================
   03 — EVENTS (Full-bleed Bild + Panel)
   =================================================================== */
.events { overflow: hidden; }
.events-media { position: absolute; inset: 0; z-index: 0; }
.events-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.events-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10,9,8,0.94) 0%, rgba(10,9,8,0.80) 45%, rgba(10,9,8,0.45) 100%),
    linear-gradient(to bottom, rgba(10,9,8,0.9), rgba(10,9,8,0.7));
}
.events .container { position: relative; z-index: 2; }
.events-panel { max-width: 560px; }
.events-claim { font-family: var(--font-head); font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.3; margin-bottom: 24px; }
.events-panel > p { color: var(--text-soft); margin-bottom: 30px; }

.events-list { list-style: none; display: flex; flex-direction: column; margin-bottom: 38px; }
.events-list li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.events-list li:first-child { border-top: 1px solid var(--line); }
.event-bullet {
  flex: none; width: 8px; height: 8px; margin-top: 9px;
  border: 1px solid var(--bordeaux-soft); transform: rotate(45deg);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}
.events-list li:hover .event-bullet { background: var(--bordeaux); transform: rotate(45deg) scale(1.25); }
.events-list strong { display: block; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 3px; }
.events-list span { color: var(--text-muted); font-size: 0.92rem; }

/* ===================================================================
   04 — KONTAKT
   =================================================================== */
.kontakt { border-top: 1px solid var(--line); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); }
.kontakt-name { font-family: var(--font-head); font-size: 2.1rem; font-weight: 500; }
.kontakt-role { color: var(--bordeaux-soft); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 6px; margin-bottom: 40px; }
.kontakt-details { list-style: none; }
.kontakt-details li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.kontakt-details li:last-child { border-bottom: 1px solid var(--line); }
.k-label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); }
.kontakt-details a { color: var(--text); transition: color 0.3s var(--ease); line-height: 1.5; }
.kontakt-details a:hover { color: var(--bordeaux-soft); }

.kontakt-newsletter {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 4vw, 46px); align-self: start;
}
.newsletter-title { font-family: var(--font-head); font-weight: 500; font-size: 1.8rem; margin-bottom: 12px; }
.newsletter-text { color: var(--text-soft); margin-bottom: 28px; }
.field { display: block; }
.field-label { display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.newsletter-form input[type="email"] {
  width: 100%; background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: var(--radius); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; padding: 15px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--bordeaux-soft); background: #0c0a09; outline: none; }
.newsletter-form input.invalid { border-color: var(--bordeaux-soft); }
.form-error { min-height: 1.1em; color: var(--bordeaux-soft); font-size: 0.82rem; margin: 8px 0 14px; }
.form-note { color: var(--text-muted); font-size: 0.78rem; margin-top: 16px; line-height: 1.6; }
.newsletter-form.sent .btn-primary { background: #2f5d3a; border-color: #2f5d3a; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { border-top: 1px solid var(--line); padding: 58px 0 42px; background: var(--bg-elev); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-emblem { width: 44px; height: 44px; color: var(--text); }
.footer-name { font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase; }
.footer-claim { color: var(--text-muted); font-size: 0.85rem; font-style: italic; font-family: var(--font-head); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); transition: color 0.3s var(--ease); }
.footer-nav a:hover { color: var(--bordeaux-soft); }
.footer-copy { width: 100%; padding-top: 26px; margin-top: 8px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 0.78rem; }

/* ===================================================================
   LEGAL PAGES (Impressum / Datenschutz)
   =================================================================== */
.legal { padding: calc(var(--header-h) + 80px) 0 100px; min-height: 100vh; }
.legal h1 { font-family: var(--font-head); font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.legal .legal-sub { color: var(--bordeaux-soft); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 48px; }
.legal h2 { font-family: var(--font-head); font-weight: 500; font-size: 1.4rem; margin: 40px 0 14px; }
.legal p, .legal li { color: var(--text-soft); margin-bottom: 12px; max-width: 75ch; }
.legal a { color: var(--text); border-bottom: 1px solid var(--line-strong); transition: color 0.3s var(--ease); }
.legal a:hover { color: var(--bordeaux-soft); }
.legal .back-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 50px; border: 0; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); }
.legal .back-link:hover { color: var(--bordeaux-soft); }
.legal ul { padding-left: 20px; margin-bottom: 16px; }

/* ===================================================================
   SCROLL-REVEAL
   =================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 960px) {
  .mission-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .mission-figure { order: -1; }
  .figure-frame { aspect-ratio: 16 / 10; }
  .kontakt-newsletter { order: -1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(10, 9, 8, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform 0.45s var(--ease);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 32px 26px; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a { display: block; padding: 18px 0; font-size: 0.9rem; }
  .nav-cta { text-align: center; margin-top: 16px; padding: 14px 18px !important; }
  .brand-sub { display: none; }

  .card-grid { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .section-title { white-space: normal; }
}

@media (max-width: 480px) {
  .container { padding-inline: 22px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .kontakt-details li { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-img { animation: none; transform: none; }
  .scroll-hint-line::after { display: none; }
}
