/* Aurora Pfad - Professional Corporate CSS (Mobile-first, Flexbox-only) */
/* =========================================================
   RESET & BASELINE
   ========================================================= */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { padding-left: 1.2rem; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { background: none; border: 0; cursor: pointer; font: inherit; }
:root {
  --brand-primary: #1F6D4A; /* green */
  --brand-secondary: #2E86AB; /* corporate blue */
  --brand-accent: #F4FAF6; /* light accent */
  --blue-900: #0F2740;
  --blue-800: #163A5C;
  --blue-100: #EAF2F8;
  --grey-900: #1D2733;
  --grey-700: #2F3A46;
  --grey-600: #4B5A68;
  --grey-300: #D6DCE2;
  --grey-200: #E8EDF2;
  --grey-100: #F5F7FA;
  --white: #FFFFFF;
  --success: #1F6D4A;
  --warning: #B57400;
  --danger: #AE2B2B;
  --focus: #2E86AB;
  --shadow-sm: 0 1px 2px rgba(15, 39, 64, 0.07);
  --shadow-md: 0 8px 24px rgba(15, 39, 64, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: var(--grey-900);
  background: #FFFFFF;
  line-height: 1.6;
  font-size: 16px;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3 { font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif; color: var(--blue-900); font-weight: 700; }
h1 { font-size: 32px; line-height: 1.25; margin-bottom: 12px; }
h2 { font-size: 24px; line-height: 1.3; margin-bottom: 16px; }
h3 { font-size: 18px; line-height: 1.35; margin-bottom: 10px; }
p { font-size: 16px; color: var(--grey-800, #2F3A46); }
.small, .microcopy { font-size: 14px; color: var(--grey-600); }
strong { font-weight: 700; color: var(--grey-900); }
blockquote { border-left: 4px solid var(--brand-secondary); padding-left: 16px; color: var(--grey-700); font-style: italic; }

/* =========================================================
   LAYOUT UTILITIES (Flexbox-only)
   ========================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex; /* Flexbox-only */
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex; /* Flexbox-only */
  flex-direction: column;
  gap: 16px;
}
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.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; background: var(--grey-100); border: 1px solid var(--grey-200); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Ensure minimum spacing between sections */
main > section { padding: 40px 0; }
main > section + section { margin-top: 20px; }

/* Generic two-up items on larger screens */
.split { display: flex; flex-direction: column; gap: 20px; }

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
header { position: relative; z-index: 1000; background: var(--white); border-bottom: 1px solid var(--grey-200); }
header .container { padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }

.main-nav { display: none; /* hidden on mobile */ }
.main-nav a { color: var(--grey-800, #2F3A46); padding: 8px 12px; border-radius: var(--radius-sm); transition: background-color .2s ease, color .2s ease; }
.main-nav a:hover { background: var(--grey-100); color: var(--blue-800); }

/* CTA button inside nav */
.main-nav .button { margin-left: 8px; }

/* Mobile burger */
.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--blue-100); color: var(--blue-800); transition: background-color .2s ease, transform .2s ease; }
.mobile-menu-toggle:hover { background: #d8e7f3; transform: translateY(-1px); }
.mobile-menu-toggle:focus { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Mobile slide-in menu */
.mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(15, 39, 64, 0.28); display: flex; /* overlay uses flex */ justify-content: flex-end; transform: translateX(100%); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 1100; }
.mobile-menu.open { transform: translateX(0); opacity: 1; pointer-events: auto; }
.mobile-menu .mobile-nav { width: 82%; max-width: 360px; height: 100%; background: var(--white); display: flex; flex-direction: column; gap: 8px; padding: 20px; box-shadow: var(--shadow-md); }
.mobile-menu-close { align-self: flex-end; width: 40px; height: 40px; border-radius: 8px; background: var(--grey-100); color: var(--grey-800); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.mobile-nav a { padding: 12px 10px; border-radius: 8px; color: var(--grey-800); transition: background-color .2s ease, color .2s ease; }
.mobile-nav a:hover { background: var(--grey-100); color: var(--blue-800); }

/* Desktop nav */
@media (min-width: 992px) {
  header .container { flex-direction: row; align-items: center; justify-content: space-between; }
  .main-nav { display: flex; align-items: center; gap: 6px; }
  .mobile-menu-toggle { display: none; }
}

/* =========================================================
   HERO SECTIONS
   ========================================================= */
.hero { background: var(--grey-100); border-bottom: 1px solid var(--grey-200); }
.hero .content-wrapper { padding: 10px 0; }
.hero h1 { color: var(--blue-900); }
.hero p { color: var(--grey-700); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Trust badges */
.trust-badges ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.trust-badges li { display: flex; align-items: center; gap: 10px; color: var(--grey-700); font-size: 14px; background: var(--brand-accent); border: 1px solid #E2F1E9; border-radius: var(--radius-sm); padding: 8px 10px; }
.trust-badges img { width: 18px; height: 18px; }

@media (min-width: 768px) {
  .trust-badges ul { flex-direction: row; flex-wrap: wrap; }
}

/* =========================================================
   BUTTONS & LINKS
   ========================================================= */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: var(--brand-secondary); color: #fff; font-weight: 700; transition: background-color .2s ease, box-shadow .2s ease, transform .05s ease; box-shadow: var(--shadow-sm); }
.button:hover { background: #256E8D; box-shadow: var(--shadow-md); }
.button:active { transform: translateY(1px); }
.button:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.button.secondary { background: var(--white); color: var(--brand-secondary); border: 1px solid var(--brand-secondary); }
.button.secondary:hover { background: var(--blue-100); }

.link { color: var(--brand-secondary); font-weight: 600; border-bottom: 2px solid rgba(46,134,171,0.3); padding-bottom: 1px; transition: color .2s ease, border-color .2s ease; }
.link:hover { color: #256E8D; border-color: #256E8D; }

/* =========================================================
   TEXT BLOCKS & LISTS
   ========================================================= */
.text-section { display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); }
.text-section ul { margin-top: 6px; display: flex; flex-direction: column; gap: 6px; }
.text-section p img { display: inline-block; vertical-align: middle; margin-right: 8px; width: 18px; height: 18px; }

ol { display: flex; flex-direction: column; gap: 8px; padding-left: 1.2rem; }

/* =========================================================
   TESTIMONIALS (High contrast on light background)
   ========================================================= */
.testimonial-card p { color: var(--grey-800); }
.testimonial-card strong { color: var(--grey-900); }

/* =========================================================
   FOOTER
   ========================================================= */
footer { background: var(--blue-900); color: #E8EEF5; padding: 32px 0; }
footer .content-wrapper { display: flex; flex-direction: column; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand img { height: 32px; filter: brightness(0) invert(1); }
.footer-links { display: flex; flex-direction: column; gap: 20px; }
.footer-links nav { display: flex; flex-direction: column; gap: 8px; }
.footer-links h3, .footer-extras h3 { color: #FFFFFF; font-size: 16px; margin-bottom: 4px; }
.footer-links a { color: #D6E2EE; }
.footer-links a:hover { color: #ffffff; text-decoration: underline; }
.footer-extras { display: flex; flex-direction: column; gap: 16px; }
footer address { font-style: normal; color: #C7D4E3; }

@media (min-width: 992px) {
  footer .content-wrapper { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-links { flex-direction: row; gap: 40px; }
  .footer-extras { flex-direction: row; gap: 40px; }
}

/* =========================================================
   CARDS, SECTIONS, MISC
   ========================================================= */
section > .container > .content-wrapper > p.microcopy { background: var(--brand-accent); border: 1px solid #E2F1E9; border-radius: var(--radius-sm); padding: 10px 12px; }

/* Generic card variants */
.card.emphasis { border-color: var(--brand-secondary); box-shadow: 0 8px 24px rgba(46,134,171,0.18); }

/* Content groupings */
.group { display: flex; flex-direction: column; gap: 16px; }

/* =========================================================
   RESPONSIVE BEHAVIOR
   ========================================================= */
@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .text-image-section { flex-direction: row; }
  .split { flex-direction: row; }
}
@media (min-width: 1200px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
}

/* =========================================================
   ACCESSIBILITY FOCUS STATES
   ========================================================= */
a:focus, button:focus { outline: 3px solid var(--focus); outline-offset: 2px; }

/* =========================================================
   FORMS (generic, future-proof)
   ========================================================= */
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--grey-300); border-radius: var(--radius-sm); background: var(--white); color: var(--grey-900); transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--brand-secondary); box-shadow: 0 0 0 3px rgba(46,134,171,0.2); outline: none; }
label { font-weight: 600; color: var(--grey-800); }

/* =========================================================
   MOBILE MENU & HEADER REFINEMENTS
   ========================================================= */
header .container { gap: 12px; }
@media (min-width: 992px) {
  header .container { gap: 20px; }
}

/* =========================================================
   COOKIE CONSENT BANNER & MODAL (Flexbox-only)
   ========================================================= */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; background: var(--white); border-top: 1px solid var(--grey-300); box-shadow: 0 -6px 20px rgba(15,39,64,0.08); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; z-index: 1300; transform: translateY(110%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.cookie-banner.show { transform: translateY(0%); opacity: 1; }
.cookie-banner .cookie-row { display: flex; flex-direction: column; gap: 12px; }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .cookie-actions .button { padding: 10px 14px; border-radius: 8px; }
.cookie-banner .button.accept { background: var(--success); }
.cookie-banner .button.reject { background: var(--white); color: var(--grey-900); border: 1px solid var(--grey-300); }
.cookie-banner .button.settings { background: var(--brand-secondary); }

/* Cookie preferences modal */
.cookie-modal { position: fixed; inset: 0; background: rgba(15,39,64,0.35); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 1400; }
.cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-modal .modal-panel { background: var(--white); width: 100%; max-width: 640px; border-radius: var(--radius-lg); border: 1px solid var(--grey-200); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; padding: 20px; transform: translateY(12px); transition: transform .25s ease; }
.cookie-modal.open .modal-panel { transform: translateY(0); }
.cookie-modal .modal-header { display: flex; align-items: center; justify-content: space-between; }
.cookie-modal .modal-body { display: flex; flex-direction: column; gap: 12px; }
.cookie-modal .prefs { display: flex; flex-direction: column; gap: 10px; }
.cookie-modal .pref-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--grey-200); border-radius: var(--radius-sm); background: var(--grey-100); }
.cookie-modal .pref-item .label { display: flex; flex-direction: column; gap: 2px; }
.cookie-modal .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Toggle (simple) */
.toggle { width: 44px; height: 26px; border-radius: 26px; background: var(--grey-300); position: relative; display: inline-flex; align-items: center; padding: 3px; transition: background-color .2s ease; }
.toggle .knob { width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transform: translateX(0); transition: transform .2s ease; }
.toggle.on { background: var(--brand-secondary); }
.toggle.on .knob { transform: translateX(18px); }

/* =========================================================
   HELPER CLASSES
   ========================================================= */
.hide { display: none !important; }
.muted { color: var(--grey-600) !important; }
.center { display: flex; align-items: center; justify-content: center; }

/* =========================================================
   PAGE-SPECIFIC FINESSE
   ========================================================= */
/* Pricing highlight suggestion */
.text-section h3 { color: var(--blue-800); }

/* Recipe list items spacing */
.text-section + .text-section { margin-top: 10px; }

/* Contact info rows */
.content-wrapper p img { margin-right: 6px; }

/* Ensuring no overlap and consistent gaps */
.container > * + * { margin-top: 0; }

/* =========================================================
   DESKTOP LAYOUT ENHANCEMENTS (Flex directions change)
   ========================================================= */
@media (min-width: 992px) {
  /* General wrappers */
  .content-wrapper { gap: 20px; }

  /* Example two/three columns using flex-wrap */
  .content-grid { justify-content: flex-start; }

  /* Footer already adjusted above */
}

/* =========================================================
   PRINT (basic)
   ========================================================= */
@media print {
  .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  a { text-decoration: underline; }
}

/* =========================================================
   CONFORMANCE: Flexbox only, no grid/columns used
   ========================================================= */
