/* RESET & BASE TYPOGRAPHY -- scandinavian_clean aesthetic */
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;
}

body {
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #FAFAF8;
  color: #223344;
  min-height: 100vh;
}

*, *:before, *:after {
  box-sizing: inherit;
}

:root {
  --brand-primary: #223344;
  --brand-secondary: #FFFFFF;
  --brand-accent: #D24A37;
  --brand-warm: #F4D06F;
  --brand-muted: #F5F6F4;
  --brand-bg: #FAFAF8;
  --brand-grey: #DEE3E2;
  --brand-shadow: rgba(34,51,68,0.06);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
h4,h5,h6 {
  font-size: 1rem;
  margin-bottom: 7px;
}

p, ul, ol {
  font-size: 1rem;
  line-height: 1.8;
  color: #294151;
  margin-bottom: 16px;
}
ul, ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}

section {
  background: none;
  border-radius: 12px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.text-section {
  background: var(--brand-secondary);
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--brand-shadow);
  padding: 32px 24px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* HERO */
.hero {
  background: linear-gradient(95deg, #F7F6F0 60%, #F4D06F 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: 0 2px 18px var(--brand-shadow);
  padding-top: 36px;
  padding-bottom: 44px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  font-size: 2.5rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* NAVIGATION */
header {
  background: var(--brand-secondary);
  box-shadow: 0 1px 12px var(--brand-shadow);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img {
  height: 48px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  text-decoration: none;
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.18s;
  padding: 8px 0;
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--brand-accent);
  background: #F9EBE7;
}

.cta-btn {
  background: var(--brand-accent);
  color: var(--brand-secondary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  padding: 10px 22px;
  border-radius: 32px;
  border: none;
  outline: none;
  box-shadow: 0 1px 7px var(--brand-shadow);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
  margin-left: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #B53C2C;
  color: #fff;
  box-shadow: 0 3px 20px var(--brand-shadow);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  font-family: var(--font-display);
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 6px 18px 6px 12px;
  margin-left: 18px;
  cursor: pointer;
  z-index: 100;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EAEAEA;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 0 40px rgba(34,51,68,0.10);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.83,.09,.6,1.02);
  z-index: 999;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--brand-primary);
  padding: 20px 24px 0 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  padding: 32px 32px 24px 28px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--brand-primary);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid #F1F3F2;
  transition: color 0.18s, background 0.15s;
}
.mobile-nav a:last-child {
  border: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-accent);
  background: #F9EBE7;
  border-radius: 6px;
}
@media (max-width: 950px) {
  .main-nav {
    gap: 16px;
  }
  .cta-btn {
    padding: 8px 14px;
    font-size: 1rem;
  }
}
@media (max-width: 800px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    justify-content: space-between;
    gap: 10px;
  }
}
@media (min-width: 801px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FEATURES GRID/CARDS & FLEXBOX LAYOUTS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
  align-items: stretch;
}
.features-grid > div {
  flex: 1 1 200px;
  min-width: 220px;
  max-width: 292px;
  background: var(--brand-muted);
  border-radius: 16px;
  padding: 28px 18px 20px 18px;
  box-shadow: 0 2px 12px var(--brand-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow 0.18s, background 0.2s;
  margin-bottom: 20px;
}
.features-grid > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}
.features-grid > div h3 {
  margin-bottom: 6px;
  font-size: 1.12rem;
}
.features-grid > div:hover, .features-grid > div:focus-within {
  background: #fff;
  box-shadow: 0 4px 20px rgba(34,51,68,0.11);
}

/* CARDS AND CARD CONTAINER */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--brand-shadow);
  margin-bottom: 20px;
  padding: 24px 18px;
  flex: 1 1 260px;
  /* DO NOT USE ABSOLUTE! */
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 5px 24px rgba(34,51,68,0.14);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* SEARCH BAR, FILTERS, etc. */
.search-bar {
  width: 100%;
  max-width: 510px;
  margin-top: 10px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}
.search-bar input[type="text"] {
  width: 100%;
  padding: 13px 18px;
  font-size: 1rem;
  border-radius: 24px;
  border: 1px solid #DEE3E2;
  background: #fff;
  outline: none;
  transition: border 0.14s;
}
.search-bar input[type="text"]:focus {
  border: 1.7px solid var(--brand-accent);
}

/* TESTIMONIALS / BEWERTUNGEN */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #223344;
  border-radius: 18px;
  box-shadow: 0 2px 22px rgba(34,51,68,0.10);
  padding: 20px 24px 20px 20px;
  min-width: 220px;
  max-width: 360px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: #223344;
}
.testimonial-card .testimonial-name {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--brand-accent);
  opacity: 0.94;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 32px rgba(34,51,68,0.13);
}

/* FOOTER */
footer {
  background: var(--brand-muted);
  color: #223344;
  padding: 32px 0 18px 0;
  box-shadow: 0 -1px 10px var(--brand-shadow);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
}
.footer-logo img {
  width: 122px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #294151;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: color 0.17s;
  margin-bottom: 5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-accent);
  text-decoration: underline;
}
.footer-contact p {
  color: #294151;
  font-size: 0.98rem;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .footer-logo img { width: 100px; }
}
@media (max-width: 750px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding-left: 18px; padding-right: 18px;
  }
}

/* CONTACT PAGE SPECIFICS */
.contact-info img, .contact-map img, .contact-social img {
  vertical-align: middle;
  margin-right: 8px;
  width: 23px; height: 23px;
}
.contact-info p { margin-bottom: 9px; }
.contact-map {
  margin-top: 8px;
  margin-bottom: 16px;
}
.contact-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.contact-social img {
  width: 32px;
  height: 32px;
  filter: grayscale(35%);
  opacity: 0.84;
  transition: filter 0.2s, opacity 0.2s;
}
.contact-social a:hover img {
  filter: grayscale(0%) contrast(1.12);
  opacity: 1;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 2px solid #F4D06F;
  box-shadow: 0 -6px 18px rgba(34,51,68,0.07);
  color: #223344;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  z-index: 10001;
  gap: 12px;
  transition: transform 0.38s;
  font-size: 0.97rem;
  max-width: 100vw;
  flex-wrap: wrap;
}
.cookie-banner.hide {
  transform: translateY(130%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  border: none;
  font-family: var(--font-display);
  border-radius: 22px;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 18px;
  margin: 0 2px;
  transition: background 0.16s, color 0.13s, box-shadow 0.16s;
  cursor: pointer;
  min-width: 116px;
}
.cookie-banner .accept {
  background: var(--brand-accent);
  color: #fff;
}
.cookie-banner .reject {
  background: #E6E6E2;
  color: #294151;
}
.cookie-banner .settings {
  background: var(--brand-warm);
  color: #223344;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #B53C2C;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #D7D7D2;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FCEB8B;
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,51,68,0.37);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.28s;
  font-family: var(--font-body);
}
.cookie-modal.hide {
  display: none;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-dialog {
  background: #fff;
  border-radius: 18px;
  padding: 38px 34px 28px 38px;
  max-width: 420px;
  width: 95%;
  box-shadow: 0 3px 36px rgba(34,51,68,.18);
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 14px;
  background: transparent;
  font-size: 2rem;
  border: none;
  color: #294151;
  cursor: pointer;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 16px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--brand-accent);
  width: 20px;
  height: 20px;
  border-radius: 5px;
  margin-right: 6px;
}
.cookie-modal .category-desc {
  font-size: 0.96rem;
  color: #454545;
  margin-bottom: 16px;
  line-height: 1.7;
}
.cookie-modal .cookie-actions {
  width: 100%;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}

.cookie-modal .cookie-actions button {
  padding: 8px 17px;
  font-size: 1rem;
}

/* BUTTON STATES */
button, .cta-btn {
  outline: none;
  border: none;
}
button:focus, .cta-btn:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 1px;
}

/* LINKS */
a {
  color: var(--brand-accent);
  text-decoration: underline;
  transition: color 0.14s;
}
a:hover, a:focus {
  color: #B53C2C;
  text-decoration: underline;
}

/* FORMS AND FIELDS GENERIC */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #DEE3E2;
  padding: 10px 14px;
  outline: none;
  margin-bottom: 12px;
  transition: border 0.15s;
}
input:focus, select:focus, textarea:focus {
  border: 1.4px solid var(--brand-accent);
}

/* MISC. SPACING RULES */
img { max-width: 100%; height: auto; border-radius: 6px; }

/* Utility classes (for quick spacing or layout fixes) */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-column { display: flex; flex-direction: column; }
.gap-20 { gap: 20px; }
.gap-32 { gap: 32px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }

/* RESPONSIVE DESIGN -- MOBILE FIRST */
@media (max-width: 1000px) {
  .features-grid > div {
    max-width: 47%;
    min-width: 180px;
    flex-basis: 47%;
  }
}
@media (max-width: 670px) {
  .features-grid {
    flex-direction: column;
    gap: 14px;
  }
  .features-grid > div {
    max-width: 100%;
    min-width: 80vw;
    flex-basis: 100%;
  }
  .testimonial-list {
    flex-direction: column;
    gap: 13px;
  }
  section {
    padding: 25px 8px;
    margin-bottom: 38px;
  }
  .hero {
    padding-top: 22px; padding-bottom: 32px;
    border-radius: 0 0 20px 20px;
  }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.19rem; }
  .search-bar input { padding: 8px 12px; font-size: 0.97rem; }
}

@media (max-width: 490px) {
  .footer-logo img { width: 74px; }
}

/* Animations & micro-interactions */
.cta-btn, .features-grid > div, .card, .testimonial-card, .cookie-banner, .cookie-banner button {
  transition: background 0.17s, color 0.14s, box-shadow 0.18s, border 0.14s, transform 0.18s;
}

.card:hover, .features-grid > div:active {
  transform: translateY(-2px) scale(1.012);
}
.cta-btn:active { transform: scale(0.97); }

/* Hide page scroll behind mobile menu/modal */
body.menu-open, body.modal-open {
  overflow: hidden;
  pointer-events: none;
}
.mobile-menu, .cookie-modal {
  pointer-events: auto!important;
}

/* Accessibility enhancements */
:focus {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* End of style.css for Scandinavian Clean Kurica & Syrcom Genussrezepte */
