/* ============================================================
   WHISKY FOR LIFE — style.css
   Mobile-first, kein Framework, keine border-radius auf Buttons
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Primär */
  --color-gold-dark:    #AE8002;
  --color-gold-light:   #FDC733;
  --color-gold-pale:    #FDCE4D;

  /* Hintergründe */
  --color-bg-dark:      #1A1208;
  --color-bg-section:   #241A0A;
  --color-bg-light:     #F5F0E8;

  /* Text */
  --color-text-primary: #F0E6D0;
  --color-text-muted:   #9C8B6E;
  --color-text-dark:    #1A1208;

  /* Signal */
  --color-cta:          #E0FE9A;
  --color-success:      #00A30E;
  --color-error:        #FF0000;

  /* Linien */
  --color-border:       rgba(174, 128, 2, 0.3);
  --color-border-light: rgba(240, 230, 208, 0.15);

  /* Schriften */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', Helvetica, sans-serif;

  /* Größen */
  --text-hero:    clamp(2.5rem, 6vw, 4rem);
  --text-display: clamp(2rem, 4vw, 3rem);
  --text-h2:      clamp(1.5rem, 3vw, 2rem);
  --text-h3:      1.25rem;
  --text-lead:    1.125rem;
  --text-body:    1rem;
  --text-small:   0.875rem;
  --text-meta:    0.75rem;

  /* Abstände */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   8rem;

  /* Layout */
  --container:      1200px;
  --container-text: 800px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-primary);
  background-color: var(--color-bg-dark);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-gold-light);
  text-decoration: none;
}

a:hover {
  color: var(--color-gold-pale);
}

ul {
  list-style: none;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.container--text {
  max-width: var(--container-text);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-border);
}

/* Öffnungszeiten-Balken */
.header-hours {
  background-color: var(--color-bg-section);
  text-align: center;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-meta);
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* Logo + Navigation Wrapper */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-sm);
  max-width: var(--container);
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.site-logo__img {
  height: 64px;
  width: auto;
  mix-blend-mode: screen;
  transition: opacity 0.2s;
}

.site-logo:hover .site-logo__img {
  opacity: 0.85;
}

/* Hamburger Button */
.nav-toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

/* Touch-Target 44×44 px ohne Layout-Einfluss */
.nav-toggle::after {
  content: '';
  position: absolute;
  inset: -12px -8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-gold-light);
  transition: opacity 0.15s;
}

/* Mobile Navigation — Dropdown unterhalb des Headers */
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: var(--color-bg-dark);
  border-bottom: 2px solid var(--color-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.site-nav.open {
  display: block;
  animation: navSlideDown 0.2s ease-out both;
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-nav.closing {
  display: block;
  animation: navSlideUp 0.15s ease-in both;
}

@keyframes navSlideUp {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-6px); }
}

.site-nav a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
  transition: color 0.15s, background-color 0.15s;
}

.site-nav a:last-child {
  border-bottom: none;
}

.site-nav a:hover {
  color: var(--color-gold-light);
  background-color: var(--color-bg-section);
}

.site-nav a.active {
  color: var(--color-gold-light);
  background-color: var(--color-bg-section);
  border-left: 3px solid var(--color-gold-dark);
  padding-left: calc(var(--space-sm) - 3px);
}

/* Desktop Navigation (ab 768px) */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
    background: none;
    border-bottom: none;
    box-shadow: none;
    animation: none;
  }

  .site-nav a {
    display: inline;
    font-size: var(--text-small);
    padding: 0.25rem 0;
    border-bottom: none;
    background-color: transparent;
    border-left: none;
  }

  .site-nav a:hover {
    background-color: transparent;
  }

  .site-nav a.active {
    background-color: transparent;
    border-left: none;
    padding-left: 0;
  }

  .site-nav a.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color-gold-dark);
    margin-top: 2px;
  }
}

/* ============================================================
   MAIN / SEITEN-INHALT
   ============================================================ */
main {
  flex: 1;
}

/* ============================================================
   HERO / COMING SOON (index.html)
   ============================================================ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
  padding: var(--space-lg) var(--space-sm);
  text-align: center;
}

.hero__inner {
  max-width: 800px;
  animation: fadeIn 1.2s ease-in both;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-style: italic;
  font-weight: 400;
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.hero__divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dark), transparent);
  margin: 0 auto var(--space-md);
}

.hero__subtext {
  font-size: var(--text-lead);
  font-weight: 300;
  color: var(--color-text-primary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__image-wrap {
  margin: var(--space-md) auto var(--space-lg);
  width: 100%;
  max-width: 640px;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(10%) saturate(85%);
}

.hero__contact-block {
  margin-top: var(--space-md);
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

.hero__contact-block a {
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.hero__contact-block a:hover {
  color: var(--color-gold-light);
}

.hero__contact-block p {
  margin-bottom: var(--space-xs);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__inner,
  .site-nav.open,
  .site-nav.closing {
    animation: none;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--color-cta);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2.25rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  opacity: 0.88;
  color: var(--color-text-dark);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-gold-light);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border: 1px solid var(--color-gold-dark);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(174, 128, 2, 0.12);
  color: var(--color-gold-pale);
}

/* ============================================================
   SEITEN-HEADER (interne Seiten, nicht Coming-Soon)
   ============================================================ */
.page-header {
  background-color: var(--color-bg-section);
  padding: var(--space-sm) var(--space-sm) var(--space-xs);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.page-header__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold-light);
  margin-bottom: 0.25rem;
}

.page-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dark), transparent);
  margin: 0 auto;
}

/* ============================================================
   SEITEN-INHALT (dunkel, z.B. Shop, Tastings, Über mich)
   ============================================================ */
.page-content {
  padding: var(--space-lg) var(--space-sm);
}

.page-content p {
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

.page-content .placeholder-note {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: var(--space-md);
}

/* Kontaktblock auf dunklen Seiten */
.contact-block {
  margin: var(--space-md) 0;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-section);
  display: inline-block;
}

.contact-block p {
  margin-bottom: var(--space-xs);
  font-size: var(--text-body);
  max-width: none;
}

.contact-block a {
  color: var(--color-gold-light);
}

.contact-block a:hover {
  color: var(--color-gold-pale);
}

/* Adressblock */
.address-block {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

.address-block p {
  margin-bottom: 0.25rem;
  max-width: none;
}

/* ============================================================
   HELLE SEITEN (Datenschutz, Impressum)
   ============================================================ */
body.page-light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

body.page-light .site-header {
  background-color: var(--color-bg-dark);
  border-bottom-color: var(--color-border);
}

body.page-light .header-hours {
  background-color: var(--color-bg-section);
}

body.page-light .page-header {
  background-color: #EDE7DA;
  border-bottom-color: rgba(174, 128, 2, 0.2);
}

body.page-light .page-header__title {
  color: var(--color-gold-dark);
}

body.page-light .page-divider {
  background: linear-gradient(90deg, transparent, var(--color-gold-dark), transparent);
}

body.page-light .page-content {
  color: var(--color-text-dark);
}

body.page-light .page-content p {
  color: #2C2010;
}

body.page-light .page-content .placeholder-note {
  color: #7A6A52;
}

body.page-light .page-content a {
  color: var(--color-gold-dark);
}

body.page-light .page-content a:hover {
  color: #8A6401;
}

body.page-light .impressum-section h2 {
  color: var(--color-gold-dark);
  font-size: var(--text-h3);
  font-family: var(--font-body);
  font-weight: 700;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

body.page-light .impressum-section h2:first-child {
  margin-top: 0;
}

body.page-light .impressum-section ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-md);
}

body.page-light .impressum-section ul li {
  color: #2C2010;
  font-size: var(--text-body);
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

body.page-light .impressum-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-gold-dark);
  font-size: 0.8em;
  top: 0.15em;
}

body.page-light .impressum-section ol {
  padding-left: var(--space-md);
  margin-bottom: var(--space-md);
  counter-reset: none;
}

body.page-light .impressum-section ol li {
  color: #2C2010;
  font-size: var(--text-body);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

body.page-light .impressum-section h3 {
  color: #2C2010;
  font-size: var(--text-body);
  font-family: var(--font-body);
  font-weight: 700;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.widerrufs-formular {
  border: 1px solid rgba(174, 128, 2, 0.35);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  background-color: #EDE7DA;
}

.widerrufs-formular p {
  margin-bottom: var(--space-sm);
}

.widerrufs-formular .formular-intro {
  font-style: italic;
  color: #5A4A35;
  margin-bottom: var(--space-md);
}

.formular-line {
  display: block;
  border-bottom: 1px solid #9C8B6E;
  margin: var(--space-xs) 0 var(--space-sm);
  min-height: 1.8rem;
}

.formular-label {
  font-size: var(--text-small);
  color: #7A6A52;
  display: block;
  margin-top: var(--space-sm);
}

.agb-stand {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(174, 128, 2, 0.2);
  font-size: var(--text-small);
  color: #7A6A52;
}

/* ---- Tabellen auf hellen Seiten ---- */
body.page-light .impressum-section .data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-md);
  font-size: var(--text-small);
  overflow-x: auto;
  display: block;
}

body.page-light .impressum-section .data-table th {
  background-color: #DDD5C4;
  color: var(--color-gold-dark);
  font-family: var(--font-body);
  font-weight: 700;
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 2px solid rgba(174, 128, 2, 0.3);
  white-space: nowrap;
}

body.page-light .impressum-section .data-table td {
  color: #2C2010;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(174, 128, 2, 0.15);
  vertical-align: top;
  line-height: 1.5;
}

body.page-light .impressum-section .data-table tr:last-child td {
  border-bottom: none;
}

body.page-light .impressum-section .data-table tr:nth-child(even) td {
  background-color: rgba(0,0,0,0.03);
}

/* ============================================================
   TASTINGS-SEITE
   ============================================================ */
.tastings-image-wrap {
  margin: var(--space-lg) 0 var(--space-md);
  width: 100%;
  overflow: hidden;
}

.tastings-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.tastings-body {
  color: var(--color-text-primary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  max-width: 65ch;
}

.tastings-cta {
  margin-bottom: var(--space-lg);
}

.tastings-hint {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  padding-left: var(--space-sm);
  border-left: 2px solid var(--color-border);
  max-width: 55ch;
}

/* ============================================================
   ÜBER MICH
   ============================================================ */
.ueber-mich__tagline {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-style: italic;
  font-weight: 400;
  color: var(--color-gold-light);
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.ueber-mich__image-wrap {
  margin: var(--space-md) 0 var(--space-lg);
  overflow: hidden;
}

.ueber-mich__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(15%) saturate(85%);
}

.ueber-mich__caption {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  font-style: italic;
  text-align: right;
  margin-top: var(--space-xs);
}

.ueber-mich__text p {
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  max-width: 65ch;
  line-height: 1.8;
}

.ueber-mich__signatur {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lead);
  color: var(--color-gold-pale);
}

@media (min-width: 768px) {
  .ueber-mich__image-wrap {
    margin: var(--space-lg) 0;
  }
}

/* ============================================================
   SHOP — Coming-Soon-Vorschau
   ============================================================ */
.shop-preview {
  position: relative;
  margin-top: var(--space-lg);
  overflow: hidden;
}

.shop-preview__img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.45) sepia(30%);
}

.shop-preview__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-preview__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  color: var(--color-gold-light);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--color-bg-section);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-sm) var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: var(--container);
  margin: 0 auto;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
}

.footer-col ul li {
  margin-bottom: 0.4rem;
}

.footer-col ul li a {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--color-gold-light);
}

.footer-col p {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.footer-col a {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--color-gold-light);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: var(--space-xs);
}

.footer-copyright {
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-meta);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md) var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   HELLE SEITEN — Footer-Anpassung
   ============================================================ */
body.page-light .site-footer {
  background-color: #E8E0D0;
  border-top-color: rgba(174, 128, 2, 0.2);
}

body.page-light .footer-col h3 {
  color: var(--color-gold-dark);
  border-bottom-color: rgba(174, 128, 2, 0.2);
}

body.page-light .footer-col p,
body.page-light .footer-col a,
body.page-light .footer-col ul li a {
  color: #5A4A35;
}

body.page-light .footer-col a:hover,
body.page-light .footer-col ul li a:hover {
  color: var(--color-gold-dark);
}

body.page-light .footer-copyright {
  color: #7A6A52;
  border-top-color: rgba(174, 128, 2, 0.2);
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: var(--color-bg-section);
  border-top: 1px solid var(--color-border);
  padding: var(--space-sm);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  max-width: var(--container);
  margin: 0 auto;
}

.cookie-banner__text {
  flex: 1 1 200px;
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--color-gold-pale);
}

.cookie-banner__btn {
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

body.page-light .cookie-banner {
  background-color: #E8E0D0;
  border-top-color: rgba(174, 128, 2, 0.2);
}

body.page-light .cookie-banner__text {
  color: #5A4A35;
}

body.page-light .cookie-banner__text a {
  color: var(--color-gold-dark);
}

body.page-light .cookie-banner__text a:hover {
  color: #8A6001;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 500;
  background: var(--color-gold-dark);
  color: var(--color-bg-dark);
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 0;
}

/* ============================================================
   FOCUS STYLES
   ============================================================ */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 2px;
}

.site-nav a:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: -2px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 6px;
}

.footer-col a:focus-visible {
  outline: 1px solid var(--color-gold-dark);
  outline-offset: 2px;
}

/* ============================================================
   UTILITY
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
