/* 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *:before, *:after {
  box-sizing: border-box;
}

/* ROOT COLORS & FONTS */
:root {
  --color-primary: #1E4D2B;
  --color-primary-dark: #15371C;
  --color-secondary: #FFFFFF;
  --color-background: #F5F5F5;
  --color-accent: #FF9900;
  --color-accent-light: #FFB14C;
  --color-text-main: #1E4D2B;
  --color-text-dark: #222;
  --color-text-light: #666;
  --color-border: #E0E0E0;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

html {
  font-size: 16px;
  background: var(--color-background);
}
body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-background);
  min-height: 100vh;
  line-height: 1.6;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-primary);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

p,
li {
  font-size: 1rem;
  color: var(--color-text-dark);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
strong {
  color: var(--color-primary);
  font-weight: 700;
}
blockquote {
  font-size: 1.1rem;
  color: var(--color-text-main);
  border-left: 4px solid var(--color-accent);
  padding-left: 16px;
  margin-bottom: 24px;
  background: var(--color-secondary);
  font-style: italic;
  border-radius: 8px;
}

.text-section {
  font-size: 1rem;
  color: var(--color-text-dark);
  margin-bottom: 18px;
}

/* CONTAINER & SECTIONS */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
}
.section,
main > section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(30,77,43,0.03);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEX UTILITY CLASSES */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-secondary);
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(30, 77, 43, 0.04);
  padding: 24px 20px;
  transition: box-shadow 0.2s;
  min-width: 220px;
  flex: 1 1 280px;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(30, 77, 43, 0.10);
}
.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(--color-secondary);
  border-radius: 12px;
  box-shadow: 0 3px 16px rgba(30,77,43,0.07);
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
}
.testimonial-card p {
  color: var(--color-text-dark);
}
.testimonial-card span {
  font-size: 0.97rem;
  color: var(--color-accent);
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* LISTS & ULs */
ul {
  list-style: none;
  margin-bottom: 12px;
}
ul li {
  padding-left: 0;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* LINKS & BUTTONS */
a,
.cta-link {
  color: var(--color-primary);
  font-weight: 600;
  transition: color 0.15s;
}
a:hover, .cta-link:hover {
  color: var(--color-accent);
}
.cta-button {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 12px 32px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 2px 8px rgba(30, 77, 43, 0.03);
  transition: background 0.2s, box-shadow 0.2s, color 0.13s;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 6px 24px rgba(30,77,43,0.13);
}

/* PAGINATION */
.pagination {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
}
.pagination a {
  color: var(--color-primary);
  font-weight: 500;
  border-radius: 20px;
  padding: 6px 14px;
  background: var(--color-background);
  transition: background 0.17s, color 0.17s;
}
.pagination a:hover {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
}

/* HEADER */
header {
  background: var(--color-secondary);
  box-shadow: 0 2px 12px rgba(30, 77, 43, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0; z-index: 30;
  padding: 14px 0;
}
header > a img {
  height: 36px;
  width: auto;
  margin-left: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
}
header nav a {
  color: var(--color-primary);
  padding: 8px 14px;
  border-radius: 16px;
  transition: background 0.13s, color 0.13s;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  cursor: pointer;
  display: none;
  z-index: 51;
}

/* FOOTER */
footer {
  background: var(--color-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 24px 0;
  gap: 16px;
  border-top: 1px solid var(--color-border);
  width: 100%;
}
footer > a img {
  height: 45px;
}
footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--color-text-light);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  transition: color 0.13s;
}
footer nav a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}
footer p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* FORMS & INPUTS */
input[type="text"],
input[type="email"],
input[type="search"] {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-background);
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 12px;
  color: var(--color-text-main);
  transition: border 0.14s;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus {
  border-color: var(--color-primary);
  outline: none;
}

/* DETAILS / FAQ */
details {
  margin-bottom: 18px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-secondary);
  box-shadow: 0 2px 10px rgba(30, 77, 43, 0.04);
}
details summary {
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 18px;
  cursor: pointer;
  color: var(--color-primary);
  outline: none;
  border-radius: 10px;
  transition: background 0.13s;
}
details[open] summary {
  background: var(--color-accent-light);
}
details .text-section {
  padding: 16px 20px 18px 26px;
  color: var(--color-text-dark);
}

/* BADGE-LIKE TAGS */
span {
  display: inline-block;
  border-radius: 12px;
  background: var(--color-background);
  color: var(--color-text-light);
  font-size: 0.97rem;
  padding: 4px 14px;
  margin-right: 5px;
  margin-bottom: 8px;
  font-weight: 500;
  transition: background 0.14s, color 0.14s;
}
span:hover {
  background: var(--color-accent-light);
  color: var(--color-primary);
  cursor: pointer;
}

/* IMG ICONS in LISTS */
ul li img {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(34%) sepia(92%) saturate(288%) hue-rotate(88deg) brightness(92%) contrast(81%);
}

/* MOBILE MENU (BURGER) */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-secondary);
  box-shadow: 0 4px 32px rgba(30,77,43,0.12);
  padding: 36px 28px 28px 28px;
  z-index: 200;
  transform: translateX(-110%);
  transition: transform 0.36s cubic-bezier(.86, 0, .04, 1);
}
body.mobile-menu-open .mobile-menu {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 26px;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover { color: var(--color-accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 10px 0 10px 6px;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
}

/* Hamburger icon visible only on mobile */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-right: 20px;
  }
}

@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Section spacing */
@media (max-width: 768px) {
  .section, main > section {
    padding: 32px 5vw;
    margin-bottom: 38px;
  }
  .content-wrapper {
    gap: 16px;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.3rem;
  }
}

/* RESPONSIVE FLEX LAYOUTS */
@media (max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .testimonial-card, .feature-item {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* Ensure spacing between containers */
.section + .section, main > section + section {
  margin-top: 30px;
}

/* CARDS - SHADOWS & INTERACTION */
.card {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px rgba(30,77,43,0.18);
  transform: translateY(-2px) scale(1.012);
}

/* MICRO-INTERACTIONS */
.cta-link::after {
  content: '\2192';
  display: inline-block;
  margin-left: 8px;
  font-size: 0.9em;
  color: var(--color-accent);
  transition: transform 0.14s;
}
.cta-link:hover:after { transform: translateX(3px); }

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--color-secondary);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 24px rgba(30,77,43,0.09);
  padding: 26px 6vw 18px 6vw;
  font-size: 1rem;
  transition: opacity 0.35s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-consent-banner .cookie-message {
  color: var(--color-text-dark);
  font-size: 0.98rem;
  flex: 1 1 auto;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  background: var(--color-background);
  color: var(--color-primary);
  border: 1px solid var(--color-accent);
  border-radius: 18px;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border 0.13s;
}
.cookie-consent-banner button:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.cookie-consent-banner .accept {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
}
.cookie-consent-banner .accept:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 77, 43, 0.26);
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.cookie-modal {
  background: var(--color-secondary);
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(30,77,43,0.13);
  padding: 40px 28px 30px 28px;
  width: 95vw;
  max-width: 425px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: modal-in 0.36s cubic-bezier(.86, 0, .04, 1);
}
@keyframes modal-in {
  0% { transform: scale(0.86) translateY(36px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category label {
  font-size: 1rem;
  color: var(--color-text-dark);
}
.cookie-modal .cookie-toggle {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
}
.cookie-modal .cookie-essential[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-primary);
  position: absolute;
  top: 14px;
  right: 18px;
  cursor: pointer;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--color-accent);
}
.cookie-modal button {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 8px 20px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal button:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 2vw 14px 2vw;
    font-size: 0.98rem;
  }
}

/* OVERRIDE Z-INDEX STACKING (menu/modal/banners always on top) */
body.mobile-menu-open { overflow: hidden; }

/* MINIMALIST MICRO EFFECTS */
ul li,
.testimonial-card,
.card {
  transition: box-shadow 0.14s, background 0.14s;
}
ul li:hover:not(.feature-item) {
  background: var(--color-background);
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(30,77,43,0.07);
}

/* ACCESSIBILITY - FOCUS STATES */
a:focus, button:focus, .cta-button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  .container, .section { box-shadow: none !important; background: #fff !important; }
}

/* ENSURE NO OVERLAP & PROPER SPACING */
main > section, .section {
  margin-bottom: 60px !important;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px !important;
}
.card-container, .content-grid, .text-image-section {
  gap: 24px !important;
}

/* END OF MINIMALIST CSS FOR Hamburg VitalGenuss */
