/* ========================
   INDUSTRIAL MODERN STYLE
   Festgenuss Deutschland
   ======================== */
/* --- 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,
main, 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;
}
html { scroll-behavior: smooth; }
body {
  line-height: 1.5;
  min-height: 100vh;
  background-color: #181B1C; /* Urban dark */
  color: #DFE2E6;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
/* --- Font Import (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css?family=Oswald:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* ===========================
    ROOT VARIABLES (with fallback)
   =========================== */
:root {
  --color-primary: #284A2E;
  --color-secondary: #E6B800;
  --color-accent: #FFFFFF;
  --color-bg: #181B1C;
  --color-surface: #232628;
  --color-card: #222426;
  --color-metal: #7C868C;
  --color-shadow: rgba(0,0,0,0.24);
  --color-border: #3A3A3A;
  --color-outline: #373737;
  --color-contrast: #222;
  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --radius: 12px;
  --shadow-md: 0 2px 8px 0 var(--color-shadow);
  --shadow-lg: 0 6px 24px 0 var(--color-shadow);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --z-modal: 1000;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --gap-section: 60px;
  --gap-card: 24px;
}

/* ===================
     TYPOGRAPHY
   =================== */
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-bg);
  color: #DFE2E6;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  color: var(--color-secondary);
  font-weight: 700;
}
h1 {
  font-size: 2.75rem; /* 44px */
  line-height: 1.15;
  color: var(--color-accent);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 14px;
  color: var(--color-secondary);
}
h4, h5, h6 {
  font-size: 1rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  color: #bac0c7;
}
a {
  color: var(--color-secondary);
  cursor: pointer;
  transition: color var(--transition);
}
a:hover { color: var(--color-accent); text-decoration: underline; }
strong { color: #fff; font-weight: 600; }
em { font-style: italic; }

/* ===================
   CONTAINERS & SECTIONS
   =================== */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.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: stretch; }
  .content-wrapper { padding: 0; }
}

/* ===================
   HEADER & NAVIGATION
   =================== */

header {
  width: 100%;
  background: var(--color-surface);
  padding: 0;
  border-bottom: 2px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.16);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px;
}
header nav {
  display: flex;
  gap: 24px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: 0.03em;
  color: #C1C5C7;
  font-weight: 500;
  transition: color var(--transition);
  padding-bottom: 2px;
  position: relative;
}
header nav a:hover,
header nav a.active {
  color: var(--color-secondary);
}
header a.btn-primary {
  margin-left: 32px;
}
header img {
  height: 54px;
  margin-right: 18px;
  filter: grayscale(25%) contrast(1.1);
}

/* =======================
   HERO SECTION
   ======================= */
.hero {
  width: 100%;
  background: linear-gradient(120deg, #232628 78%, #2e3032 100%);
  padding: 44px 0 44px 0;
  margin-bottom: 48px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}
.hero .content-wrapper {
  min-height: 280px;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 0;
}
.hero h1 {
  color: var(--color-secondary);
  font-size: 2.75rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero p {
  color: #EAECE9;
  font-size: 1.21rem;
  max-width: 600px;
}

/* =======================
   BUTTONS
   ======================= */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  background-color: var(--color-secondary);
  color: #191A1A;
  border-radius: var(--radius);
  padding: 13px 32px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,.19);
  border: none;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  position: relative;
  margin-top: 16px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #fffbe5;
  color: var(--color-primary);
  box-shadow: 0 4px 18px 0 rgba(255,208,41,0.23);
}
.btn-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-metal);
  color: var(--color-accent);
  border-radius: var(--radius);
  padding: 10px 22px;
  margin: 0 8px;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #A3ADB7;
  color: #232628;
}
.btn-accent {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: var(--radius);
  padding: 10px 22px;
  margin: 0 8px;
  transition: background var(--transition), color var(--transition);
  box-shadow: 0 1px 4px rgba(32,32,32, 0.09);
}
.btn-accent:hover { background: #f2f2f2; color: var(--color-primary); }

/* =======================
   FEATURES & GRIDS
   ======================= */
.features-grid, .event-list-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.features-grid > div {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  flex: 1 1 min(220px, 45%);
  min-width: 230px;
  max-width: 320px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  border: 1px solid var(--color-outline);
  position: relative;
}
.features-grid img {
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  filter: brightness(1) drop-shadow(0 2px 6px #101214);
}
.features-grid h3 {
  color: var(--color-secondary);
  margin-bottom: 6px;
  margin-top: 0;
}
.features-grid p {
  color: #bac0c7;
  font-size: 1rem;
}
.event-list-grid {
  flex-direction: column;
  gap: 18px;
  margin: 20px 0;
}
.event-list-grid li {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: 0 1px 5px 0 var(--color-shadow);
  color: var(--color-accent);
  padding: 18px 22px;
  border: 1px solid var(--color-outline);
}

/* =======================
   FLEX CARDS
   ======================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.card {
  background: var(--color-card);
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 26px 20px;
  box-shadow: 0 2px 10px 0 rgba(0,0,0,0.19);
  border: 1px solid var(--color-outline);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-width: 230px; max-width: 340px;
  transition: transform 0.15s, box-shadow 0.14s;
}
.card:hover, .card:focus-within {
  transform: translateY(-3px) scale(1.022);
  box-shadow: 0 8px 28px 0 #1c2721cc;
  z-index: 30;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* =======================
   PROGRAM TABLE
   ======================= */
.schedule-table {
  width: 100%;
  margin: 18px 0 0 0;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--color-card);
  box-shadow: var(--shadow-md);
}
.schedule-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.schedule-table th, .schedule-table td {
  text-align: left;
  padding: 13px 17px;
  border-bottom: 1px solid var(--color-outline);
}
.schedule-table th {
  color: var(--color-secondary);
  background: #232628;
  font-weight: 700;
}
.schedule-table td {
  color: #EAEAEA;
  background: transparent;
}

/* =======================
   TESTIMONIALS
   ======================= */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  background: #FFF;
  color: #232628;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 #1012142b;
  min-width: 250px;
  max-width: 420px;
  border: 1px solid #E6B800;
  flex: 1 1 260px;
  position: relative;
  flex-direction: column;
  font-size: 1.07rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card strong {
  color: #163818;
}
.testimonial-card p {
  color: #222628;
  font-size: 1rem;
}
.testimonial-card span {
  color: #666b78;
  font-size: 0.98rem;
  margin-top: 12px;
}
.testimonial-card::before {
  content: '“';
  font-family: var(--font-display);
  color: var(--color-metal);
  font-size: 3.5rem;
  line-height: 1;
  position: absolute;
  left: 10px;
  top: 2px;
  opacity: .18;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 36px #2929292b;
  transform: scale(1.021);
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: var(--color-surface);
  color: #92999A;
  font-size: 1rem;
  padding: 38px 0 18px 0;
  border-top: 2px solid var(--color-border);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #E2E3E5;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.footer-brand img {
  height: 38px;
  filter: grayscale(45%);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex: 1 1 auto;
}
footer nav a {
  color: #C1C5C7;
  font-weight: 500;
  border-bottom: 1px dashed transparent;
  transition: border-color var(--transition), color var(--transition);
}
footer nav a:hover { color: var(--color-secondary); border-bottom: 1px dashed var(--color-secondary); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bbb;
}
.footer-contact img {
  height: 19px;
  width: 19px;
  filter: grayscale(0.7);
}

/* =======================
   MOBILE NAVIGATION
   ======================= */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 1102;
  background: var(--color-secondary);
  color: #222;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  font-size: 2.19rem;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  cursor: pointer;
  justify-content: center;
  align-items: center;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #ffe57a;
  color: var(--color-primary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 32, 34, 0.98);
  z-index: 1101;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.68,-0.12,.32,1.21);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: var(--color-secondary);
  font-size: 2.3rem;
  border: none;
  align-self: flex-end;
  margin: 22px 22px 0 0;
  cursor: pointer;
  padding: 7px 17px;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff;
  background: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 33px;
  margin-top: 60px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  display: block;
  font-size: 1.44rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fffbe9;
  padding: 18px 22px;
  width: 100vw;
  border-bottom: 1px solid #3a3a3a;
  transition: background .21s, color .21s;
}
.mobile-nav a:focus, .mobile-nav a:hover { background: #2a2c2f; color: var(--color-secondary); }
@media (max-width: 1100px) {
  header nav, header a.btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1100px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #22292d;
  color: #fff;
  font-size: 1rem;
  padding: 29px 16px 27px 16px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.18);
  border-top: 2px solid var(--color-secondary);
  z-index: var(--z-modal);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  transition: transform 0.38s var(--transition), opacity 0.28s;
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner.closed {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  color: #fff;
  font-size: 1.03rem;
  margin-bottom: 10px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .btn-primary,
.cookie-banner .btn-secondary,
.cookie-banner .btn-accent {
  margin: 0 5px 0 0;
  font-size: 0.97rem;
  padding: 11px 17px;
}
.cookie-banner .btn-primary {
  background: var(--color-secondary);
  color: #181B1C;
}
.cookie-banner .btn-secondary {
  background: #3a4246;
  color: #fff;
}
.cookie-banner .btn-accent {
  background: #fff;
  color: #222;
}

/* --- COOKIES: Modal Popup --- */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + 2);
  background: rgba(17,19,23, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .34s;
}
.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #181B1C;
  padding: 32px 28px 28px 28px;
  border-radius: var(--radius);
  box-shadow: 0 6px 38px rgba(0,0,0,0.26);
  min-width: 320px;
  max-width: 96vw;
  color: #fff;
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.28rem;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cookie-modal .category-label {
  font-weight: 600;
  color: var(--color-secondary);
  flex: 1 1 auto;
}
.cookie-modal .cookie-toggle {
  appearance: none;
  outline: none;
  margin-right: 7px;
  width: 46px;
  height: 24px;
  background: #3a4045;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal .cookie-toggle:checked {
  background: var(--color-secondary);
}
.cookie-modal .cookie-toggle::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 2px 3px #0001;
  transition: left .19s;
}
.cookie-modal .cookie-toggle:checked::before {
  left: 26px;
  background: #FFFDE7;
}
.cookie-modal .cookie-desc {
  color: #D5CFBD;
  font-size: .98rem;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  gap: 11px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary,
.cookie-modal .btn-secondary,
.cookie-modal .btn-accent {
  padding: 10px 20px;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 19px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-secondary);
  font-size: 1.6rem;
  transition: color .22s;
  z-index: 3;
}
.cookie-modal-close:hover { color: #fff; }

/* =======================
   SPACING & FLEX PATTERNS
   ======================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  margin-bottom: 20px; position: relative;
}
.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;
}
.testimonial-card {
  display: flex; align-items: center; gap: 20px; padding: 20px;
}
.feature-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 15px;
}

/* =======================
   RESPONSIVE DESIGN
   ======================= */
@media (max-width: 900px) {
  .features-grid > div, .card {
    min-width: 48vw;
    max-width: 96vw;
  }
}
@media (max-width: 768px) {
  header .container {
    padding: 13px 8px;
  }
  .section {
    padding: 20px 7px;
    margin-bottom: 36px;
  }
  .hero {
    padding: 20px 0 22px 0;
    min-height: 120px;
    margin-bottom: 20px;
  }
  .testimonial-slider, .footer-contact, footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.37rem; }
  .features-grid > div, .card {
    min-width: 95vw;
    max-width: 100vw;
    padding: 18px 8px;
  }
  .btn-primary, .btn-secondary, .btn-accent {
    width: 100%;
    min-height: 52px;
    padding: 16px 0;
    text-align: center;
    font-size: 1.06rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 15px; padding: 22px 7px;
  }
  .cookie-banner p { font-size: 1rem; }
}

/* =======================
   MISCELLANEOUS
   ======================= */
::-webkit-scrollbar { width: 8px; background: #232628; }
::-webkit-scrollbar-thumb { background: #444952; border-radius: 4px; }

/* Table striping for schedule */
.schedule-table tr:nth-child(even) td {
  background: #232828;
}

/* Form fields (if present) */
input, textarea, select {
  background: #252525;
  color: #eaeaea;
  border-radius: 7px;
  border: 1px solid #373737;
  padding: 12px 12px;
  font-size: 1rem;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-secondary);
  background: #202113;
  color: #fff;
}

/* Highlight links in tables/text-section */
.text-section a {
  background: #232e2b;
  color: var(--color-secondary);
  font-weight: 600;
  border-radius: 4px;
  padding: 2px 7px;
  transition: background .13s;
}
.text-section a:hover { background: var(--color-secondary); color: #232628; }

/* Animations */
@keyframes fadeInUp { from{ opacity:0; transform:translateY(30px);} to{opacity:1; transform: none;} }
@keyframes slideInMenu { from{ transform: translateX(-100%);} to{ transform: translateX(0);} }

.hero, .features-grid > div, .card, .testimonial-card, .btn-primary {
  animation: fadeInUp .9s cubic-bezier(.13,.85,.32,1.1);
}

/* ===== END ===== */
