/* === 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;
}
html {
  height: 100%;
  background: #fff;
}
body {
  min-height: 100%;
  line-height: 1.6;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #212121;
  background: #fcfcfc;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
ul, ol {
  list-style: none;
}
a {
  background: none;
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}
button {
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

/* === FONT FACE === */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&family=Roboto+Slab:wght@400;700&display=swap');

:root {
  --mono-black: #141414;
  --mono-offblack: #1e1e1e;
  --mono-darkgray: #2a2a2a;
  --mono-gray: #888;
  --mono-lightgray: #e6e6e6;
  --mono-white: #fff;
  --primary: #23361F;
  --primary-contrast: #fff;
  --secondary: #fafbfc;
  --accent: #B48A50;
  --brand-secondary: #F6F1EB;
  --shadow: 0 4px 18px 0 rgba(30,30,30,0.07);
  --radius: 12px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: #141414;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.13;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.3;
}
h4 {
  font-size: 1.125rem;
}
p, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #212121;
  margin-bottom: 20px;
}
strong {
  font-weight: 600;
}
.text-section {
  margin-bottom: 24px;
}
a, .cta-btn {
  font-family: 'Open Sans', Arial, sans-serif;
  text-decoration: none;
  color: #1e1e1e;
  transition: color .2s, background .2s;
}
a:hover, .cta-btn:hover {
  color: var(--accent);
}

/* === CONTAINER & LAYOUT === */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--mono-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 20px 4px;
    margin-bottom: 32px;
    border-radius: 8px;
  }
  .container {
    padding: 0 4px;
  }
}

/* === HEADER === */
header {
  width: 100%;
  background: var(--mono-white);
  border-bottom: 1px solid var(--mono-lightgray);
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-size: 1rem;
  color: var(--mono-black);
  padding: 8px 0;
  font-weight: 400;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
}
header img[alt="Ion Burst Genussakademie"] {
  max-height: 48px;
}
.cta-btn {
  background: var(--mono-black);
  color: var(--mono-white) !important;
  border-radius: 40px;
  padding: 11px 36px;
  font-size: 1.08rem;
  font-weight: 600;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 2px 12px 0 rgba(44,44,44,0.09);
  letter-spacing: 0.02em;
  border: none;
  outline: none;
  margin-left: 18px;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 3px 14px 0 rgba(44,44,44,0.12);
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    min-height: 56px;
    gap: 8px;
  }
  header nav {
    gap: 16px;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 8px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1rem;
    padding: 8px 20px;
  }
  header img[alt="Ion Burst Genussakademie"] {
    max-height: 38px;
  }
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 500;
  background: var(--mono-black);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 2.0rem;
  box-shadow: 0 2px 12px 0 rgba(44,44,44,0.10);
  border: none;
  transition: background .2s, color .2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,30,30,0.98);
  color: #fff;
  z-index: 9999;
  transform: translateX(100vw);
  transition: transform .36s cubic-bezier(.71,.23,.29,.96);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 0;
  padding-right: 0;
  box-sizing: border-box;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 20px;
  border: none;
  z-index: 10001;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(244,244,244,0.10);
  color: var(--accent);
  outline: 2px solid var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 80px;
  width: 100%;
  padding: 40px 32px 32px 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 16px 0;
  border-bottom: 1px solid rgba(225,225,225,0.08);
  transition: color .19s;
  font-family: 'Open Sans', Arial, sans-serif;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
}

/* === MAIN LAYOUT FLEX CLASSES === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--mono-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.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: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: #f5f5f7;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(18,18,18,0.05);
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.20s;
}
.testimonial-card p {
  color: #1e1e1e;
  font-size: 1.13rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: var(--mono-darkgray);
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 4px 22px 0 rgba(45,45,45,0.09);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0px;
}

/* === BUTTONS, LINKS, UI ELEMENTS === */
button, .cta-btn {
  transition: background 0.14s, color 0.14s, box-shadow 0.18s, border .15s;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* === CARD, LISTS, BADGES === */
ul li, ol li {
  margin-bottom: 12px;
  padding-left: 0px;
  position: relative;
  font-size: 1.04rem;
}
ul li:before {
  content: '\2022';
  color: var(--mono-gray);
  font-size: 1.5em;
  display: inline-block;
  width: 1.1em;
  margin-right: 8px;
  vertical-align: baseline;
  position: relative;
  top: 2px;
}
ul li strong, ol li strong {
  color: var(--mono-darkgray);
  font-weight: 700;
}

/* === FOOTER === */
footer {
  background: #1e1e1e;
  color: #fff;
  padding: 0;
  width: 100%;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 34px;
  padding-bottom: 28px;
  justify-content: space-between;
}
footer img[alt="Ion Burst Genussakademie"] {
  max-height: 48px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
footer nav a {
  color: #fff;
  opacity: 0.84;
  font-size: 1rem;
  transition: color .18s, opacity .14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--accent);
  opacity: 1;
}
footer .text-section {
  color: #bebebe;
  margin-top: 8px;
}
footer .text-section a, footer .text-section a:visited {
  color: #fff;
  text-decoration: underline;
  opacity: 0.97;
}
footer .text-section a:hover, footer .text-section a:focus {
  color: var(--accent);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    padding: 22px 0 18px 0;
    align-items: flex-start;
  }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9899;
  background: #181818;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  box-shadow: 0 -2px 18px rgba(25,25,25,0.09);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
  gap: 20px;
  transition: transform .27s, opacity .21s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1rem;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner .cookie-btn {
  border-radius: 24px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid #232323;
  background: #232323;
  color: #fff;
  margin-left: 0px;
  transition: background .18s, color .18s, border-color .18s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cookie-banner .cookie-btn.accept:hover {
  background: #fff;
  color: var(--accent);
}
.cookie-banner .cookie-btn.reject {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.cookie-banner .cookie-btn.reject:hover {
  background: #232323;
  color: var(--accent);
  border-color: var(--accent);
}
.cookie-banner .cookie-btn.settings {
  background: none;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 7px;
    font-size: .98rem;
  }
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(30,30,30,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: #fff;
  color: #232323;
  border-radius: 10px;
  box-shadow: 0 12px 60px 0 rgba(50,50,50,0.22);
  padding: 38px 32px 32px 32px;
  min-width: 320px;
  max-width: 95vw;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: 'Open Sans', Arial, sans-serif;
  position: relative;
}
.cookie-modal .modal-header {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.28rem;
  margin-bottom: 8px;
}
.cookie-modal .modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .category {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  border-bottom: 1px solid #ececec;
}
.cookie-modal .category label {
  font-size: 1.01rem;
  color: #232323;
}
.cookie-modal .toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #bababa;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal .toggle:checked {
  background: var(--accent);
}
.cookie-modal .toggle:before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.07);
  transition: left .20s;
}
.cookie-modal .toggle:checked:before {
  left: 22px;
}
.cookie-modal .category-essential label {
  opacity: .65;
  font-style: italic;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  background: none;
  color: var(--mono-darkgray);
  font-size: 1.8rem;
  position: absolute;
  top: 18px;
  right: 19px;
  border: none;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal .modal-close:hover {
  color: var(--accent);
}
@media (max-width: 400px) {
  .cookie-modal .modal-content {
    padding: 22px 4px 18px 8px;
    width: 95vw;
    min-width: 0;
  }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section {
  animation: fadeInUp .7s cubic-bezier(.41,0,.4,1) both;
  animation-delay: .05s;
}
.card, .testimonial-card {
  animation: fadeInUp .75s cubic-bezier(.56,0,.32,1) both;
  animation-delay: .07s;
}

/* === SCROLLBAR THEME (MONOCHROME) === */
::-webkit-scrollbar {
  width: 8px;
  background: #ededed;
}
::-webkit-scrollbar-thumb {
  background: #bcbcbc;
  border-radius: 5px;
}

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* === OVERRIDE AUTOFILL BG ON INPUTS (if any forms present) === */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  box-shadow: 0 0 0px 1000px #fff inset;
  -webkit-text-fill-color: #222 !important;
}

/* ========== MONOCHROME SOPHISTICATED EXTRAS ========== */
hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 36px 0 32px 0;
}
blockquote {
  border-left: 5px solid #ccc;
  padding-left: 19px;
  margin-left: 0;
  font-style: italic;
  color: #444;
}

/* === Responsive Visual Hierarchy === */
@media (max-width: 540px) {
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  .cta-btn {
    font-size: 0.97rem;
    padding: 7px 14px;
  }
}

/* === Hide mobile nav toggle on desktop === */
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* === Utilities === */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.gap-20 { gap: 20px !important; }
.gap-40 { gap: 40px !important; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }

/* === HIDE NOSCRIPT Cookie Banner === */
.noscript-cookie-banner { display: none !important; }
