/* --- CSS RESET & BASE STYLES --- */
html {
  box-sizing: border-box; 
  font-size: 16px; 
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F6F7F8;
  color: #24537A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
a {
  color: #E96E39;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.57,.21,.69,1.25);
}
a:hover, a:focus {
  color: #24537A;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px; /* for clear list reading */
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #24537A;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.15;
  text-shadow: 0 0 2px #F6F7F8;
}
h1 { font-size: 2.2rem; margin-bottom: 20px; letter-spacing: 0.02em;}
h2 { font-size: 1.7rem; margin-bottom: 18px;}
h3 { font-size: 1.2rem; margin-bottom: 12px;}
h4 { font-size: 1.1rem; }
.subheadline {
  color: #E96E39;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  margin-bottom: 22px;
}

/* --- VIBRANT ENERGETIC COLOR & PERSONALITY --- */
:root {
  --primary: #24537A;   /* Blue */
  --secondary: #E96E39; /* Orange */
  --accent: #F6F7F8;    /* Light gray/off-white */
  --electric-yellow: #FFE300;
  --electric-pink: #FF4B9B;
  --lime-green: #58E670;
  --dark-text: #223047;
  --light-bg: #F6F7F8;
  --card-bg: #fff;
  --card-shadow: 0 4px 28px rgba(36,83,122,0.08), 0 1.5px 4px rgba(233,110,57,0.10);
  --radius: 18px;
}

/* --- GENERAL LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
@media (min-width: 992px) {
  .content-wrapper {
    gap: 26px;
    margin-bottom: 40px;
  }
}

/* --- HEADER / NAVIGATION --- */
header {
  background: var(--accent);
  box-shadow: 0 1px 10px rgba(36,83,122,0.08);
  position: sticky; 
  top: 0;
  z-index: 80;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 16px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}
.main-nav a {
  color: #24537A;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-bottom .2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #E96E39;
  border-bottom: 2px solid #E96E39;
  background: none;
}

.cta {
  display: inline-block;
  background: linear-gradient(90deg, #E96E39 60%, #FFE300 100%);
  color: #223047;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 800;
  border-radius: 100px;
  padding: 11px 34px;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 16px rgba(233,110,57,0.09);
  border: none;
  cursor: pointer;
  transition: box-shadow 0.18s cubic-bezier(.57,.21,.69,1.25), background 0.18s;
  position: relative;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #FFE300 0%, #E96E39 70%);
  box-shadow: 0 8px 32px rgba(233,110,57,0.15);
  color: #24537A;
  text-decoration: none;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: #fff;
}
@media (min-width: 982px) {
  .mobile-menu-toggle {
    display: none !important;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(245, 247, 248, 0.98);
  box-shadow: 0 2px 18px rgba(36,83,122,0.08);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.57,.21,.69,1.25);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: 50%;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  margin: 18px 18px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 32px auto 0 auto;
  width: 94%;
  font-size: 1.25rem;
}
.mobile-nav a {
  color: #24537A;
  background: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  font-weight: 800;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  box-shadow: 0 2px 12px rgba(36,83,122,0.06);
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFE300;
  color: #E96E39;
}

@media (min-width: 982px) {
  .mobile-menu {
    display: none !important;
  }
  .main-nav { display: flex !important; }
}
@media (max-width: 981px) {
  .main-nav { display: none !important; }
  .cta { display: none !important; }
}


/* --- SECTIONS & FLEX PATTERNS --- */
section {
  background: transparent;
  border-radius: var(--radius);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  position: relative;
  transition: box-shadow 0.20s, transform 0.21s;
  display: flex;
  flex-direction: column;
  min-width: 260px;  
}
.card:hover {
  box-shadow: 0 8px 34px rgba(36,83,122,0.15), 0 2.2px 7px rgba(233,110,57,0.15);
  transform: translateY(-4px) scale(1.015);
}
.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;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 3px 18px rgba(36,83,122,0.080);
  padding: 20px;
  margin-bottom: 20px;
  color: #222;
  font-size: 1.05rem;
  transition: box-shadow 0.17s, transform 0.18s;
  min-width: 260px;
}
.testimonial-card p {
  color: #223047;
  font-weight: 500;
  font-size: 1.08rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(233,110,57,0.18);
  background: #FFE300;
  color: #24537A;
  transform: scale(1.02) rotate(-0.5deg);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 20px 16px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap:16px; }
}

/* --- PAGES: REZEPT-LISTEN, BLOG-LIST, CARDS --- */
.recipes-listing, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.recipes-listing > div, .blog-list > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 20px 20px 16px 20px;
  min-width: 240px;
  flex: 1 1 240px;
  transition: box-shadow 0.16s, transform 0.18s;
  margin-bottom: 20px;
}
.recipes-listing > div:hover, .blog-list > div:hover {
  box-shadow: 0 8px 28px rgba(36,83,122,0.16), 0 3px 16px rgba(233,110,57,0.12);
  background: #FFE300;
  transform: scale(1.01) skewY(-1deg);
  color: #24537A;
}

/* --- FILTER/KATEGORIE BADGES --- */
section span {
  display: inline-block;
  background: var(--lime-green);
  color: #24537A;
  border-radius: 16px;
  font-size: 0.95rem;
  padding: 4px 16px;
  font-weight: 700;
  margin-right: 7px;
  margin-bottom: 7px;
  transition: background .18s, color .18s;
}
section span:hover {
  background: var(--electric-pink);
  color: #fff;
  cursor: pointer;
}

/* --- FORMS, LABELS, INPUTS (Read Only State, Query Bar) --- */
input[type=text], input[type=email], input[type=password], textarea {
  width: 100%;
  border: 2px solid #E96E39;
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 1rem;
  margin: 10px 0 18px 0;
  background: #fff;
  transition: border-color 0.15s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: #24537A;
  outline: none;
}
input[readonly] {
  color: #aaa;
  background: #f4f5f7;
  cursor: not-allowed;
}
label {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #24537A;
  display: block;
  margin-bottom: 6px;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding-top: 26px;
  padding-bottom: 20px;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer a, .footer-nav a {
  color: #FFE300;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin-right: 18px;
  font-size: 1rem;
  text-decoration: none;
  transition: color .18s;
}
footer a:hover, .footer-nav a:hover {
  color: #fff;
  border-bottom: 2px solid #FFE300;
}
footer p {
  font-size: 0.95rem;
  margin: 0;
  text-align: center;
}
footer img {
  height: 44px;
}

@media (min-width: 620px) {
  footer .content-wrapper {
    flex-direction: row;
    justify-content: space-between; 
    align-items: center;
    gap: 28px;
  }
  .footer-nav {
    flex-direction: row;
    gap: 24px;
  }
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* --- RESPONSIVE & MOBILE ADAPTIVE --- */
@media (max-width: 991px) {
  .container {
    max-width: 98vw;
    padding: 0 5vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.63rem; }
  h2 { font-size: 1.2rem; }
  .section, section {
    padding: 20px 6px;
  }
  .testimonial-card, .card, .feature-item {
    padding: 14px 9px;
  }
  .card-container, .content-grid, .recipes-listing, .blog-list {
    gap: 11px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}

/* --- BUTTONS & MICRO INTERACTIONS --- */
button, .cta, input[type=submit] {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 900;
  border: none;
  outline: none;
  cursor: pointer;
  transition: box-shadow .16s, background .13s, color .14s;
  user-select: none;
}
button:focus-visible, .cta:focus-visible {
  outline: 3px solid #24537A;
}

/* --- SOCIAL ICONS (KONTAKT PAGE) --- */
section img[alt*='Instagram'], section img[alt*='Facebook'], section img[alt*='Pinterest'] {
  display: inline-block;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  margin-top: 8px;
  vertical-align: middle;
  filter: drop-shadow(0 0 3px #FFE300);
  transition: filter .19s;
}
section img[alt*='Instagram']:hover, section img[alt*='Facebook']:hover, section img[alt*='Pinterest']:hover {
  filter: drop-shadow(0 0 6px #E96E39) brightness(1.1);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #FFE300;
  color: #222;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  box-shadow: 0 -4px 22px rgba(36,83,122,0.09);
  padding: 20px 24px;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  animation: bannerIn .8s cubic-bezier(.4,.98,.17,1.08);
}
@keyframes bannerIn {
  0% {transform: translateY(80px); opacity:0;}
  100% {transform: translateY(0); opacity:1;}
}
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.cookie-btn {
  display: inline-block;
  background: #24537A;
  color: #fff;
  border-radius: 100px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 1rem;
  margin-right: 11px;
  margin-bottom: 2px;
  border: none;
  box-shadow: 0 2px 5px rgba(36,83,122,0.08);
  transition: background .17s, color .17s;
}
.cookie-btn.secondary {
  background: #fff;
  color: #24537A;
  border: 2px solid #E96E39;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #E96E39;
  color: #fff;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #24537A;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 10px 20px 10px;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(36,83,122,0.64);
  animation: overlayIn .3s cubic-bezier(.36,.68,.53,1.32);
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes overlayIn {  0% { opacity: 0; } 100% { opacity: 1; } }
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 98vw;
  width: 390px;
  box-shadow: 0 5px 40px rgba(36,83,122,0.21);
  padding: 32px 24px;
  color: #223047;
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalIn .38s cubic-bezier(.5,.68,.29,1.32);
}
@keyframes modalIn {
  0% {transform: scale(.85) translateY(40px); opacity:0;}
  100% {transform: scale(1) translateY(0); opacity:1;}
}
.cookie-modal h3 {
  color: #E96E39;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 5px;
}
.cookie-category input[type=checkbox] {
  accent-color: #E96E39;
  width: 18px; height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.cookie-category.essential label {
  color: #24537A;
  font-weight: 600;
}
.cookie-category.essential input[type=checkbox] {
  accent-color: #CCE8FF;
}
.cookie-modal-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.cookie-modal button {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 22px;
  background: #24537A;
  color: #fff;
  border: none;
  transition: background 0.15s, color 0.15s;
  margin-right: 6px;
}
.cookie-modal button.secondary {
  background: #fff;
  color: #24537A;
  border: 2px solid #E96E39;
}
.cookie-modal button.secondary:hover,
.cookie-modal button.secondary:focus {
  background: #E96E39;
  color: #fff;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  filter: brightness(1.10);
  background: #E96E39;
  color: #fff;
}

/* --- ELECTRIC EFFECTS/BACKGROUNDS (OPTIONAL ACCENT SPLASHES) --- */
.card:before, .recipes-listing > div:before, .feature-item:before {
  content: '';
  display: block;
  position: absolute;
  left: -18px;
  top: -18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFE300;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
  filter: blur(1px);
}
.card:hover:before, .recipes-listing > div:hover:before, .feature-item:hover:before {
  opacity: 0.5;
  background: #FF4B9B;
}

/* --- TYPOGRAPHY HIERARCHY / SCALE --- */
/* Use 14px, 16px, 18px, 24px, 32px, 48px via rem scaling. Already set above */

/* --- SPACING: FLEX/GAPS/PADDING/MARGINS --- */
/* Most gap/margin/padding handled via flexbox containers, see above. */
.section, section, .card, .card-container, .card-grid,
.content-grid, .testimonial-card, .feature-item {
  margin-bottom: 24px;
  gap: 20px;
}
@media (max-width: 591px) {
  .section, section {
    padding: 14px 3px 14px 3px;
    margin-bottom: 32px;
  }
}

/* --- UTILITIES & MODIFIERS --- */
.text-center { text-align: center; }
.bold { font-weight: 700; }
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mt-4 { margin-top: 24px; }
.mb-4 { margin-bottom: 24px; }
.p-2 { padding: 8px; }
.p-4 { padding: 24px; }

/* --- VISUAL HIERARCHY ENHANCEMENTS --- */
h1, h2, h3, .cta, .mobile-nav a, .cookie-banner p {
  text-transform: none;
  letter-spacing: 0.01em;
}
h1 {
  color: #E96E39;
  font-weight: 900;
  background: -webkit-linear-gradient(90deg,#24537A,#E96E39 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- ANIMATION: CARD & BUTTON MICROINTERACTIONS --- */
.card, .recipes-listing > div, .blog-list > div, .cta, .testimonial-card {
  transition: box-shadow .18s cubic-bezier(.57,.21,.69,1.25),
    background .17s,
    color .19s, transform .12s;
}

/* --- HIGH CONTRAST FOR TESTIMONIALS --- */
.testimonial-card {
  color: #1a1a1a;
  background: #fff;
}
.testimonial-card strong {
  color: #E96E39;
  font-weight: 700;
  font-size: 1.03rem;
}

/* --- ENSURE NO ABSOLUTE FOR CONTENT, ONLY FOR DECORS --- */
.card, .card-container, .recipes-listing > div, .feature-item,
.content-wrapper, .testimonial-card, .section {
  position: relative;
  z-index: 1;
}

/* --- RESPONSIVE FLEX-DIRECTION --- */
@media (max-width: 768px) {
  .content-grid, .card-container, .recipes-listing, .blog-list {
    flex-direction: column;
  }
}
@media (min-width: 769px) {
  .content-grid, .card-container, .recipes-listing, .blog-list {
    flex-direction: row;
  }
}

/* --- OVERFLOW CONTROL --- */
body, html {
  overflow-x: hidden;
}

/* --- SCROLLBAR STYLING (for brand energy) --- */
::-webkit-scrollbar { height: 12px; width: 6px; background: #FFE300; }
::-webkit-scrollbar-thumb { background: #E96E39; border-radius: 10px; }

/* --- END --- */
