/* DuskyBeat Naturtouren - Elegant Classic Style CSS */
/* ==============================================
   CSS RESET & BASE NORMALIZATION
   ============================================== */
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; vertical-align: baseline;
  background: transparent; box-sizing: border-box;
}
html {
  font-size: 100%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.7;
  background: #FAFAF8;
  color: #26231A;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after { box-sizing: inherit; }
img, picture, video { max-width: 100%; display: block; }
a { color: #18462F; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #FFD700; text-decoration: underline; }
ul, ol { margin-left: 26px; }

/* ================
   BRAND VARIABLES
   ================ */
:root {
  --primary: #18462F;
  --secondary: #FFD700;
  --accent: #E1DED7;
  --dark: #26231A;
  --light: #FAFAF8;
  --muted: #898067;
  --border: #E1DED7;
  --font-display: 'Georgia', 'Times New Roman', Times, serif;
  --font-body: 'Georgia', 'Times New Roman', Times, serif;
  --transition: 0.25s cubic-bezier(.4,.2,.2,1);
  --radius: 12px;
  --shadow-card: 0 4px 24px 0 rgba(40,50,40,0.06);
  --shadow-subtle: 0 1px 5px 0 rgba(30,40,30,0.04);
}

.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}

/* ==============================================
   TYPOGRAPHY
   ============================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: bold;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
  line-height: 1.13;
  color: var(--primary);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--primary);
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--primary);
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

p, ul, ol, li, table {
  font-family: var(--font-body);
  color: #26231A;
  font-size: 1em;
}
.subheadline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 700;
  color: var(--primary);
}

/* Typography scale: 14px, 16px, 18px, 24px, 32px, 48px */


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

header {
  background: var(--light);
  box-shadow: var(--shadow-subtle);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 58px; width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 1rem;
}
.main-nav a {
  font-family: var(--font-body);
  color: var(--primary);
  font-weight: 500;
  border-radius: 4px;
  padding: 8px 8px;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

.cta-btn {
  font-family: var(--font-display);
  background: var(--primary);
  color: #fff; /* Contrast! */
  font-size: 1.08rem;
  font-weight: 600;
  padding: 13px 28px;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(24,70,47,0.06);
  cursor: pointer;
  margin-left: 14px;
  letter-spacing: .04em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px 0 rgba(40,60,30,0.09);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  display: none;
  cursor: pointer;
  margin-left: 18px;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--accent);
}

/* ==============================================
   MOBILE MENU
   ============================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(240, 238, 231, 0.98);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(.51,.01,.51,1.01);
  box-shadow: 0 0 8px 0 rgba(24,70,47,0.08);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  margin: 22px 0 0 22px;
  align-self: flex-start;
  cursor: pointer;
  border-radius: 7px;
  padding: 2px 10px;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 44px 32px 16px 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: var(--primary);
  padding: 10px 0;
  border-bottom: 1px solid #ddd9;
  width: 100%;
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
  border-radius: 7px;
}

/* ==============================================
   FOOTER STYLING
   ============================================== */
footer {
  background: #F4F3EE;
  border-top: 1px solid var(--border);
  margin-top: 0;
  padding: 32px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-nav {
  display: flex;
  gap: 30px;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  opacity: 0.87;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}
.footer-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-branding img {
  width: 38px; height: 38px;
  display: block;
}
.footer-branding p {
  font-family: var(--font-display);
  font-size: 1em;
  color: var(--muted);
  margin-bottom: 0;
}

/* ==============================================
   MAIN LAYOUT SECTIONS & CONTAINERS
   ============================================== */

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper, .text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 67px;
  justify-content: space-between;
      justify-content: center;
  margin-top: 10px;
}
.feature-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 26px 20px 22px 20px;
  min-width: 210px;
  max-width: 302px;
  flex: 1 1 210px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item img {
  max-width: 46px;
  margin-bottom: 8px;
  filter: grayscale(10%) brightness(0.92);
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 28px 0 rgba(24,70,47,0.11);
  transform: translateY(-4px) scale(1.02);
}

.text-section {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 30px 23px 26px 23px;
  gap: 16px;
}
.text-section ul {
  margin-top: 10px;
  margin-bottom: 6px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.text-section li {
  font-size: 1em;
  margin-bottom: 2px;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF9EE;
  border: 1.5px solid var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  font-size: 1em;
  color: var(--dark);
}
.testimonial-card p {
  font-style: italic;
  color: var(--dark);
  margin-bottom: 0;
}
.testimonial-card strong {
  font-size: 1em;
  color: var(--primary);
  margin-left: 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;
  margin-bottom: 38px;
}


/* ==============================================
   TABLES
   ============================================== */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 32px 0 22px 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  font-size: 1em;
}
thead {
  background-color: var(--accent);
}
th, td {
  border: 1px solid var(--border);
  padding: 14px 10px;
  text-align: left;
}
th {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.1em;
  background: var(--accent);
  font-weight: 600;
}
td {
  font-family: var(--font-body);
  color: var(--dark);
}

/* ==============================================
   BUTTONS & LINKS
   ============================================== */
button, .cta-btn {
  font-family: var(--font-display);
  outline: none;
}
button:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 1px;
}

/* Micro-interactions */
[role="button"], button, .cta-btn {
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

/* ==============================================
   COOKIE CONSENT BANNER & MODAL
   ============================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #2A2318;
  color: #fff;
  z-index: 21000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 26px 20px;
  box-shadow: 0 -2px 16px 0 rgba(20,20,21,0.08);
  font-size: 1rem;
  animation: slideUp .65s cubic-bezier(.55,0,.46,1);
  gap: 18px;
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 18px 0 0;
  font-size: 1em;
  color: #fff;
  flex: 2 1 180px;
}
.cookie-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  border-radius: 7px;
  text-align: center;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  padding: 9px 18px;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin: 0;
  outline: none;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #fff8b8;
  color: var(--primary);
  transform: translateY(-2px);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff8b8;
  color: var(--primary);
  transform: translateY(-2px);
}
.cookie-btn.settings {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: rgba(255,255,255,0.08);
}

/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36, 34, 28, 0.50);
  z-index: 21500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--dark);
  border-radius: var(--radius);
  box-shadow: 0 10px 35px 0 rgba(16, 19, 21, 0.17);
  max-width: 440px;
  width: 94vw;
  padding: 38px 30px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: scaleIn .26s cubic-bezier(.51, .01, .51, 1.01);
}
@keyframes scaleIn {
  from { transform: scale(0.92) translateY(24px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.22em;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-toggle {
  appearance: none; -webkit-appearance: none;
  width: 40px; height: 22px;
  border-radius: 12px;
  background: #E1DED7;
  outline: none; border: none;
  cursor: pointer;
  position: relative;
  transition: background var(--transition);
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  left: 4px; top: 3px;
  width: 16px; height: 16px;
  border-radius: 50%; background: #fff;
  transition: transform var(--transition);
}
.cookie-toggle:checked:before {
  transform: translateX(18px);
}
.cookie-category-label {
  flex: 1 1 120px;
  font-family: var(--font-body);
  font-size: 0.97em;
  color: var(--dark);
}
.cookie-modal .modal-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .cookie-btn {
  min-width: 112px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  position: absolute;
  top: 19px; right: 26px;
  cursor: pointer;
  border-radius: 7px;
  padding: 2px 10px;
  transition: background .18s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--accent);
}

/* ==============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================== */
@media (max-width: 1200px) {
  .container { max-width: 96vw; }
  .feature-grid { gap: 18px; }
}
@media (max-width: 900px) {
  .feature-item { max-width: 100%; }
  .footer-nav { gap: 18px; }
  .container { max-width: 99vw; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta-btn {
    margin-left: 6px;
    font-size: 1rem;
    padding: 11px 18px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item { min-width: unset; max-width: 100%; }
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
  .content-wrapper, .text-section {
    padding: 16px 6px;
  }
  .card {
    padding: 18px 8px;
  }
  .footer-nav, .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-branding {
    margin-top: 10px;
    justify-content: flex-start;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 10px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 16px 4px;
    align-items: flex-start;
    font-size: 0.96rem;
  }
  .cookie-banner p {
    margin: 0 0 8px 0;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.16rem; }
  .section { padding: 18px 2px; margin-bottom: 18px; }
  .cookie-modal {
    padding: 18px 7px 18px 8px;
    max-width: 97vw;
  }
  table, th, td { font-size: 0.93em; }
}

/* ==============================================
   PRINT OPTIMIZATION
   ============================================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; }
  .container { max-width: 98vw !important; }
  * { box-shadow: none !important; }
}
