/* ===== Twilight Surge Modern Bold CSS ===== */

/* 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,
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;
}

/* HTML5 display-role reset */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #263238;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #FFB300;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
a:hover, a:focus {
  color: #263238;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
}
button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #FFB300;
  outline-offset: 2px;
}
::selection {
  background: #FFB300;
  color: #263238;
}

/* FONTS: Import Google Fonts if needed */
@import url('https://fonts.googleapis.com/css?family=Bitter:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* TYPOGRAPHY: Modern Bold */
h1, h2, h3 {
  font-family: 'Bitter', serif;
  font-weight: 900;
  color: #263238;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.16;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
}
p, label, select, input, button {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #263238;
  font-size: 1rem;
  line-height: 1.5;
}
strong {
  font-weight: 700;
}
.lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: #263238;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

/* GENERAL LAYOUT */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ======= FLEXBOX LAYOUT UTILS ======= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(38, 50, 56, 0.09);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(38, 50, 56, 0.07);
  padding: 24px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px -4px #FFB30099, 0 2px 10px 0 rgba(38,50,56,0.15);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(38,50,56,0.08);
  border: 2.5px solid #FFB30033;
  min-width: 250px;
  max-width: 670px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------- GEOMETRIC DECORATIVE SHAPES --------- */
.section:before {
  content: '';
  position: absolute;
  z-index: 0;
  border-radius: 40% 60% 60% 40% / 50% 60% 40% 50%;
  background: #FFB30011;
  width: 120px;
  height: 120px;
  left: -80px;
  top: -70px;
  pointer-events: none;
  display: none;
}
@media (min-width: 1100px) {
  .section:before {
    display: block;
  }
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(38,50,56,0.05);
  width: 100%;
  position: relative;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  padding: 0 20px;
  height: 80px;
  gap: 30px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-weight: 700;
  color: #263238;
  padding: 8px 0;
  font-size: 1rem;
  transition: color 0.16s;
  border-bottom: 3px solid transparent;
}
header nav a:hover, header nav a.active {
  color: #FFB300;
  border-bottom: 3px solid #FFB300;
}
header img {
  height: 44px;
  margin-right: 14px;
}
.primary-cta {
  background: #FFB300;
  color: #263238 !important;
  font-family: 'Bitter', serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 12px 30px;
  border: none;
  border-radius: 100px;
  box-shadow: 0 1px 6px 0 #FFB30022;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  margin-left: 16px;
  cursor: pointer;
}
.primary-cta:hover, .primary-cta:focus {
  background: #263238;
  color: #FFB300 !important;
  box-shadow: 0 4px 20px #26323822;
  transform: translateY(-2px) scale(1.03);
}
.secondary-cta {
  font-weight: 700;
  color: #263238;
  background: #fff;
  border: 2px solid #FFB300;
  border-radius: 40px;
  padding: 10px 24px;
  transition: background 0.16s, color 0.16s, border 0.16s;
  box-shadow: 0 1px 4px 0 #FFB30015;
}
.secondary-cta:hover, .secondary-cta:focus {
  background: #FFB300;
  color: #263238;
  border: 2px solid #263238;
}
.text-link {
  font-weight: 700;
  color: #FFB300 !important;
  text-transform: uppercase;
  font-size: 1em;
  transition: color 0.18s;
  background: none;
  border: none;
  padding: 0;
  position: relative;
  text-decoration: underline;
}
.text-link:hover, .text-link:focus {
  color: #263238 !important;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #263238;
  cursor: pointer;
  margin-left: auto;
  z-index: 503;
  padding: 8px 14px;
  border-radius: 50%;
  transition: background 0.15s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #FFB30033;
}
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 502;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.63,-0.01,.43,.98);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  box-shadow: 4px 0 24px #0001;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  font-size: 2rem;
  color: #263238;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 24px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-nav a {
  font-size: 1.4rem;
  font-family: 'Bitter', serif;
  font-weight: 900;
  color: #263238;
  letter-spacing: 1px;
  padding: 11px 0;
  border-radius: 8px;
  transition: background .12s, color .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB30033;
  color: #FFB300;
}

/* ============ HERO/HEADER SECTION ============ */
section {
  position: relative;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(38, 50, 56, 0.07);
}
section .lead {
  color: #263238;
  margin-bottom: 20px;
}

/* FEATURES/GRID CARDS */
.feature-grid > div, .card-container > .card, .content-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px 0 #26323810;
  padding: 28px 20px 24px 20px;
  min-width: 240px;
  flex: 1 1 280px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.16s;
}
.feature-grid > div:hover, .content-grid > div:hover {
  box-shadow: 0 3px 16px 0 #FFB30033;
  transform: translateY(-2px) scale(1.01);
  z-index: 3;
}
.feature-grid > div img {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
}

/* Filter Bar for Rezepte */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  margin-top: 12px;
}
.filter-bar label {
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 1rem;
  color: #263238;
  margin-right: 4px;
}
.filter-bar select, .filter-bar input {
  padding: 8px 12px;
  font-size: 1rem;
  border: 1.5px solid #FFB30080;
  border-radius: 8px;
}
.filter-bar button {
  background: #FFB300;
  border: none;
  color: #263238;
  font-family: 'Bitter', serif;
  font-weight: 800;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.filter-bar button:hover, .filter-bar button:focus {
  background: #263238;
  color: #FFB300;
}

/* TEAM BIOS for ueber-uns */
.team-bios {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 10px;
}
.team-bios p {
  font-size: 1.07rem;
  font-weight: 600;
  margin-bottom: 0px;
}

/* FAQ ACCORDION in tipps-tricks */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-accordion > div {
  background: #fffbe7;
  border-radius: 12px;
  padding: 18px 22px 18px 20px;
  box-shadow: 0 1px 4px #FFB30010;
  transition: box-shadow 0.14s, background 0.14s;
}
.faq-accordion > div:hover {
  background: #FFB3001b;
  box-shadow: 0 3px 14px #FFB30020;
}
.faq-accordion strong {
  display: block;
  font-family: 'Bitter', serif;
  font-weight: 900;
  margin-bottom: 4px;
}

/* Forms & Inputs */
input[type=email], input[type=text], input[type=search], select {
  width: 100%;
  max-width: 320px;
  margin-bottom: 14px;
  padding: 11px 16px;
  background: #fefefe;
  border: 2px solid #FFB30077;
  color: #263238;
  font-size: 1rem;
  border-radius: 10px;
  transition: border 0.15s;
}
input[type=email]:focus, input[type=text]:focus, select:focus {
  border-color: #FFB300;
}
form label {
  color: #263238;
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-block;
}
form button[type=submit] {
  background: #263238;
  color: #FFB300;
  font-size: 1rem;
  font-family: 'Bitter', serif;
  font-weight: 900;
  padding: 12px 26px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 1px 6px 0 #26323811;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
form button[type=submit]:hover, form button[type=submit]:focus {
  background: #FFB300;
  color: #263238;
  transform: scale(1.04);
}

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: #263238;
  border-left: 6px solid #FFB300;
  font-size: 1.14rem;
  box-shadow: 0 2px 16px 0 #FFB30018;
  margin-bottom: 24px;
  transition: box-shadow 0.14s, border 0.14s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 32px -6px #FFB30044;
  border-left: 8px solid #263238;
}
.testimonial-card p {
  font-weight: 600;
  font-size: 1.05rem;
  color: #263238;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 1rem;
  color: #FFB300;
  margin-left: 14px;
  font-family: 'Bitter', serif;
  font-weight: 900;
}

/* FOOTER */
footer {
  width: 100%;
  background: #263238;
  color: #fff;
  padding: 42px 0 20px 0;
}
footer .container {
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 10px;
}
footer nav a {
  color: #FFB300;
  font-weight: 700;
  font-size: 1rem;
  padding-bottom: 2px;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
footer .text-section {
  color: #fff;
  gap: 4px;
  font-size: 0.97rem;
}
footer .text-section a {
  color: #FFB300;
}
footer p {
  color: #fff;
  font-size: 0.93rem;
}

/* SPECIAL SPACING FOR LAYOUTS */
.section + .section, .content-wrapper + .content-wrapper {
  margin-top: 60px;
}
.card + .card, .testimonial-card + .testimonial-card {
  margin-top: 24px !important;
}
.feature-grid > div + div {
  margin-left: 0;
}

/* RESPONSIVE DESIGN – MOBILE FIRST */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  section {
    padding: 26px 10px;
    border-radius: 16px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.36rem;
  }
  header .container {
    height: auto;
    padding: 10px 10px;
    gap: 16px;
  }
  header nav,
  .primary-cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .section {
    padding: 18px 8px;
    border-radius: 10px;
  }
  .content-wrapper, .text-section {
    gap: 14px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 14px 12px;
    max-width: 98%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.37rem;
    margin-bottom: 18px;
  }
  h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }
  .primary-cta, .secondary-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
    font-size: 1rem;
    padding: 11px 0;
  }
  .mobile-menu {
    padding: 16px 6px 16px 12px;
  }
}

/* Animations & Transitions */
html {
  scroll-behavior: smooth;
}
section, .card, .feature-grid > div, .testimonial-card, .faq-accordion > div {
  transition: box-shadow 0.17s, border 0.18s, transform 0.18s, background 0.17s;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #fffde7;
  box-shadow: 0 -3px 18px #26323820;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 24px 18px 20px 18px;
  border-top: 3px solid #FFB300;
  gap: 22px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  animation: slideCookieIn 0.64s cubic-bezier(.41,.61,.57,1.24);
}
@keyframes slideCookieIn {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #263238;
  margin-bottom: 0;
  font-size: 1.01rem;
  flex: 2 1 320px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex: 1 1 auto;
}
.cookie-banner button {
  border: none;
  font-family: 'Bitter', serif;
  font-weight: 900;
  font-size: 1rem;
  border-radius: 30px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.11s;
}
.cookie-banner .accept {
  background: #FFB300;
  color: #263238;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #263238;
  color: #FFB300;
}
.cookie-banner .reject {
  background: #263238;
  color: #FFB300;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #FFB300;
  color: #263238;
}
.cookie-banner .settings {
  background: #fff;
  color: #263238;
  border: 2px solid #FFB300;
  font-weight: 700;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FFB300;
  color: #263238;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    padding: 18px 7px 16px 7px;
    font-size: 0.92rem;
  }
  .cookie-banner .cookie-btns {
    flex-wrap: wrap;
    gap: 7px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #26323855;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.36s cubic-bezier(.41,.61,.57,1.24)
}
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 36px #0004;
  max-width: 410px;
  width: 90%;
  padding: 30px 24px 20px 24px;
  animation: scaleIn 0.3s cubic-bezier(.41,.61,.57,1.24);
}
@keyframes scaleIn {
  0% { transform: scale(0.93); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.36rem;
  margin-bottom: 10px;
  color: #263238;
}
.cookie-category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-right: 0px;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 600;
}
.cookie-category .always-on {
  color: #FFB300;
  font-size: 0.98rem;
  margin-left: 9px;
  font-weight: 700;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 19px;
  margin-top: 12px;
}
.cookie-modal .modal-btns button {
  flex: 1 1 100px;
  font-size: 1rem;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  font-size: 1.8rem;
  color: #263238;
  border: none;
  cursor: pointer;
  z-index: 2;
}

/* ===== GEOMETRIC SHAPE/BACKGROUND Decorate on DESKTOP ===== */
@media (min-width: 1280px) {
  section {
    overflow: visible;
  }
  .section:after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 180px;
    height: 140px;
    background: #FFB30015;
    border-radius: 65% 50% 49% 41%/45% 61% 59% 52%;
    z-index: 0;
    pointer-events: none;
  }
}

/* ===== MISCELLANEOUS ===== */
::-webkit-scrollbar {
  width: 8px;
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: #FFB30055;
  border-radius: 6px;
}
::placeholder {
  color: #26323866;
}

/* Accessibility Contrast Fix for testimonials */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #263238 !important;
  background: #fff;
}

/* Hide visually but keep for access */
.sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  top: auto;
  overflow: hidden;
}

/* PROPER FLEXBOX LAYOUTS ONLY – no grid, no columns */
/* FLEX utilities for future use */
.flex-row {
  display: flex;
  flex-direction: row;
}
.flex-col {
  display: flex;
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.align-center {
  align-items: center;
}
.align-start {
  align-items: flex-start;
}
.justify-between {
  justify-content: space-between;
}
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }


/* ===== END Twilight Surge Modern Bold CSS ===== */
