/* --- CSS RESET & NORMALIZE --- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFFFFF;
  color: #2E221D;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* --- FONT FACE (Assume imported in <head> or locally) --- */
body, html {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background-color: #FFFFFF;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #6D3431;
}
h1 { font-size: 2.25rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 1.5rem; margin-bottom: 16px; line-height: 1.2; }
h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.25; }
h4, h5, h6 { font-weight: 600; }
p, ul, ol, li { color: #2E221D; }
strong { font-weight: 700; color: #6D3431; }

@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}

/* --- CONTAINER & SPACING --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background-color: #FFFFFF;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 40px;
    padding: 24px 0 24px 0;
  }
  .container {
    padding: 0 12px;
  }
}

/* --- HEADER & NAV --- */
header {
  background: #EFE6D9;
  box-shadow: 0 2px 8px rgba(109,52,49,0.08);
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}
.logo img {
  max-height: 46px;
  min-width: 100px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #6D3431;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #7C5B28;
}
.btn {
  display: inline-block;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-primary {
  background: #6D3431;
  color: #FFFFFF;
  box-shadow: 0 2px 12px rgba(109,52,49,0.08);
}
.btn-primary:hover, .btn-primary:focus {
  background: #7C5B28;
  color: #FFFFFF;
}
.btn-accent {
  background: #A28253;
  color: #FFFFFF;
}
.btn-accent:hover, .btn-accent:focus {
  background: #6D3431;
  color: #FFFFFF;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  background: none;
  color: #6D3431;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  z-index: 22;
  margin-left: 12px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #EFE6D9;
  border-radius: 50%;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  z-index: 100;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.73,.01,.13,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #6D3431;
  font-size: 2rem;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 24px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.1rem;
  color: #6D3431;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EFE6D9;
  color: #7C5B28;
}
@media (min-width: 1025px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
}
@media (max-width: 1024px) {
  .btn.btn-primary {
    display: none;
  }
}

/* --- HERO SECTIONS --- */
.hero {
  background: #EFE6D9;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4px 40px 0 rgba(109,52,49,0.04);
  margin-bottom: 60px;
  padding: 48px 0 40px 0;
  display: flex;
  align-items: center;
  min-height: 230px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 20px;
}
.hero h1 {
  color: #6D3431;
}
.hero p {
  color: #7C5B28;
  font-size: 1.15rem;
}
@media (max-width: 768px) {
  .hero {
    padding: 28px 0 28px 0;
    margin-bottom: 36px;
    border-radius: 0 0 20px 20px;
    min-height: unset;
  }
}

/* --- FLEXBOX GRIDS & SECTION UTILITIES --- */
.card-container, .feature-grid, .card-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 20px;
}
/* Responsive adaptation for grids */
@media (max-width: 900px) {
  .card-container, .feature-grid, .card-grid, .content-grid {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .card-container, .feature-grid, .card-grid, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(109,52,49,0.05);
  padding: 28px 22px 22px 22px;
  flex: 1 1 280px;
  min-width: 220px;
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 32px rgba(109,52,49,0.14);
  transform: translateY(-3px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.section { margin-bottom: 60px; padding: 40px 20px; }

/* --- FEATURE / BENEFIT ITEMS --- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7F5F1;
  border-radius: 14px;
  padding: 22px 16px;
  box-shadow: 0 1.5px 6px rgba(123,87,39,0.04);
  min-width: 180px;
  flex: 1 1 235px;
  transition: box-shadow 0.18s, background 0.16s;
}
.feature-item img {
  width: 36px; height: 36px;
}
.feature-item h3 {
  color: #6D3431;
}
.feature-item:hover {
  background: #ECE0CC;
  box-shadow: 0 3px 20px rgba(162,130,83,0.12);
}
@media (max-width: 768px) {
  .feature-item {
    min-width: 0;
    padding: 16px 10px;
  }
}

.benefit-highlights, .verkostung-highlights, .event_highlights {
  background: #ECE0CC;
  border-radius: 12px;
  padding: 15px 14px;
  color: #6D3431;
  margin-bottom: 18px;
  font-size: 1.04rem;
}

/* --- TEXT SECTIONS --- */
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.text-section ul, .text-section ol {
  margin-left: 20px;
  margin-bottom: 6px;
}
.text-section li {
  margin-bottom: 8px;
  color: #2E221D;
  font-size: 1rem;
}
.regionen, .besonderheiten {
  margin-bottom: 15px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(162,130,83,0.12);
  padding: 20px 18px;
  position: relative;
  margin-bottom: 24px;
  min-height: 74px;
  color: #2E221D;
}
.testimonial-card p {
  font-size: 1.11rem;
  font-style: italic;
  color: #6D3431;
  flex: 2 1 0;
}
.testimonial-card span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #7C5B28;
  flex: 1 1 0;
  font-size: 0.97rem;
  align-self: flex-end;
}
.testimonial-card img {
  height: 20px;
  width: 20px;
  margin-left: 2px;
  margin-bottom: 2px;
  vertical-align: middle;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 8px;
    min-height: unset;
  }
  .testimonial-card img {
    margin-bottom: 0;
  }
}

/* --- PHILOSOPHY, TIMELINE, UNIQUE, FAQ, ETC --- */
.philosophy, .unique-approach, .faq-section, .weinlexikon, .tipps-tricks, .workshop-overview, .seminar-dates {
  margin-bottom: 20px;
  padding: 16px 14px;
  background: #F7F5F1;
  border-radius: 10px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brand-mission {
  font-size: 1.08rem;
  background: #ECE0CC;
  color: #7C5B28;
  padding: 10px 16px;
  border-radius: 10px;
  margin-top: 10px;
  font-weight: 600;
}

/* --- CONTACT DETAILS, MAP, OPENING HOURS --- */
.contact-details, .map-embed, .opening-hours {
  margin-bottom: 16px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
}
.contact-details img {
  width: 22px;
  height: 22px;
}
.opening-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.map-embed {
  font-style: italic;
  color: #7C5B28;
}

/* --- FOOTER --- */
footer {
  background: #ECE0CC;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 20px rgba(123,87,39,0.04);
  margin-top: 48px;
  font-size: 0.99rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 22px;
}
.footer-logo img {
  max-height: 44px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #7C5B28;
  font-size: 1rem;
  transition: text-decoration 0.15s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  text-decoration: underline;
  color: #6D3431;
}
.contact-info {
  color: #6D3431;
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* --- BUTTON TRANSITIONS, HOVER EFFECTS --- */
.btn, .feature-item, .card, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: all 0.17s cubic-bezier(.46,.03,.52,.96);
}
.btn:active {
  transform: scale(0.97);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: #6D3431;
  color: #FFFFFF;
  box-shadow: 0 -4px 16px rgba(109,52,49,0.16);
  padding: 22px 20px 20px 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  animation: cookieFadeIn 0.38s cubic-bezier(.46,.07,.52,1) 1;
}
@keyframes cookieFadeIn {
  from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-btn {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  border-radius: 16px;
  padding: 8px 18px;
  font-size: 1rem;
  margin: 0 2px;
  border: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-btn.accept { background: #7C5B28; color: #FFD; }
.cookie-btn.accept:hover, .cookie-btn.accept:focus { background: #A28253; }
.cookie-btn.reject { background: #ECE0CC; color: #6D3431; }
.cookie-btn.reject:hover, .cookie-btn.reject:focus { background: #EFE6D9; color: #7C5B28; }
.cookie-btn.settings { background: transparent; border: 1px solid #FFFFFF; color: #FFFFFF; }
.cookie-btn.settings:hover, .cookie-btn.settings:focus { background: #FFFFFF; color: #6D3431; }

@media (max-width: 600px) {
  .cookie-banner {
    font-size: 0.97rem;
    padding: 19px 6px 17px 8px;
    gap: 12px;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(109,52,49,0.18);
  z-index: 501;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: cookieModalFade 0.3s ease 1;
}
@keyframes cookieModalFade {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #FFFFFF;
  padding: 34px 22px 28px 22px;
  border-radius: 18px;
  box-shadow: 0 5px 48px rgba(109,52,49,0.16);
  min-width: 315px;
  max-width: 95vw;
  color: #2E221D;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.3rem; margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  color: #6D3431;
  background: none;
  border: none;
  font-size: 1.45rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #7C5B28;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 2px 0;
}
.cookie-category input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #A28253;
  cursor: pointer;
}
.cookie-category label {
  font-weight: 600;
  color: #6D3431;
  font-size: 1rem;
}
.cookie-modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}
.cookie-toggle-disabled {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 600px) {
  .cookie-modal-content { min-width: 90vw; padding: 18px 6px; }
}

/* -- MICRO-INTERACTIONS -- */
.card:hover .btn,
.card:focus-within .btn,
.feature-item:hover .btn,
.feature-item:focus-within .btn {
  filter: brightness(1.05) contrast(1.06);
  box-shadow: 0 3px 20px rgba(162,130,83,0.12);
}

/* ACCESSIBILITY: Focus visible states */
a:focus {
  outline: 2px solid #A28253;
  outline-offset: 2px;
}
button:focus, .btn:focus {
  outline: 2px solid #7C5B28;
  outline-offset: 1px;
}

/* --- UTILITY CLASSES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }
.w-100 { width: 100% !important; }

/* --- SCANDINAVIAN MINIMAL SHADOW & RADIUS CARD OVERRIDES --- */
.card, .feature-item, .testimonial-card {
  box-shadow: 0 6px 30px rgba(126,107,71,0.06), 0 1.5px 12px rgba(163,130,83,0.03);
  border-radius: 14px;
}

/* --- FORM INPUT (for Kontakt) --- */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid #ECE0CC;
  background: #FBF8F2;
  font-size: 1rem;
  color: #2E221D;
  margin-bottom: 18px;
  transition: border 0.16s, background 0.16s;
}
input:focus, textarea:focus {
  border-color: #7C5B28;
  background: #FFFFFF;
}
label {
  font-size: 1rem;
  font-weight: 600;
  color: #6D3431;
  margin-bottom: 8px;
  display: block;
}

/* --- CUSTOM CHECK/TOGGLE SWITCH FOR COOKIES --- */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ECE0CC;
  transition: .3s;
  border-radius: 20px;
}
.switch input:checked + .slider {
  background-color: #A28253;
}
.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .3s;
  border-radius: 50%;
}
.switch input:checked + .slider:before {
  transform: translateX(16px);
}

/* --- RESPONSIVE TYPOGRAPHY, SPACING OVERRIDES --- */
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.11rem; }
  .footer-logo img {
    max-height: 28px;
  }
}

/* --- PRINT OVERRIDES --- */
@media print {
  header, footer, .btn, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body {
    background: #FFF !important;
    color: #111 !important;
  }
}

/* ----- END SCANDINAVIAN CLEAN STYLE ----- */
