/* =============================================================
   BlitzRezept "monochrome_sophisticated" UI — style.css
   Modern, dramatic contrast, flexbox-only layouts, responsive
   ============================================================= */

/* 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;
}
html { box-sizing: border-box; height: 100%; }
*, *:before, *:after { box-sizing: inherit; }
body { min-height: 100vh; line-height: 1.5; background: #FAFAFA; color: #1B2236; font-family: 'Roboto', Arial, sans-serif; font-size: 16px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* =============================================================
   VARIABLES (fallbacks included for compatibility)
   ============================================================= */
:root {
  --color-bg: #FAFAFA;
  --color-contrast: #1B2236;
  --color-accent: #FFE66D;
  --color-gray: #979797;
  --color-light: #fff;
  --color-dark: #111216;

  --shadow-card: 0 3px 24px rgba(31,34,54,0.12);
  --shadow-hover: 0 6px 28px rgba(31,34,54,0.16);
  --radius-card: 14px;
  --radius-button: 8px;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* =============================================================
   TYPOGRAPHY & MONOCHROME STYLE
   ============================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-contrast);
  letter-spacing: -0.015em;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
  text-rendering: optimizeLegibility;
}
h1 { font-size: 2.3rem; margin-bottom: 24px; }
h2 { font-size: 1.55rem; margin-bottom: 20px; }
h3 { font-size: 1.16rem; margin-bottom: 10px;  }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; }
p, ul, ol, li { color: var(--color-dark); margin-bottom: 16px; font-size: 1rem; line-height: 1.7; }
strong, b { font-weight: bold; color: var(--color-contrast); }
em, i { font-style: italic;  }

body, input, textarea, select, button {
  font-family: var(--font-body);
  color: var(--color-dark);
}

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

/* SYSTEM SPACING & SECTION STYLES */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 900px) {
  .section, section { padding: 34px 10px; margin-bottom: 42px; }
}

/* =============================================================
   HEADER & NAVIGATION
   ============================================================= */
header {
  background: #fff;
  border-bottom: 1.5px solid #E5E6EA;
  z-index: 20;
  position: relative;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: center;
  height: 44px;
}
.logo img { height: 36px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav li {
  margin-bottom: 0;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--color-contrast);
  transition: background .19s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-light);
  background: var(--color-contrast);
}

.cta-primary {
  font-family: var(--font-display);
  background: var(--color-contrast);
  color: var(--color-light);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 10px 24px;
  border-radius: var(--radius-button);
  border: none;
  box-shadow: 0 2px 18px rgba(27,34,54,0.11);
  letter-spacing: 0.04em;
  transition: background .17s, color .17s, box-shadow .22s;
  position: relative;
  cursor: pointer;
  outline: none;
  margin-left: 18px;
  display: inline-block;
  text-align: center;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  color: var(--color-contrast);
  box-shadow: 0 4px 28px rgba(27,34,54,0.19);
  text-decoration: none;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--color-contrast);
  cursor: pointer;
  margin-left: 18px;
  z-index: 102;
  transition: color 0.2s;
  padding: 6px 10px;
  border-radius: 8px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--color-accent);
  background: #ececec;
}

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(17, 18, 22, 0.97);
  transition: transform .44s cubic-bezier(.81,-0.21,.55,1.19);
  transform: translateX(100%);
  flex-direction: column;
  align-items: stretch;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin: 22px 28px 8px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  transition: color 0.16s;
  padding: 10px 24px;
  border-radius: 10px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-accent);
  background: #23242a;
}

@media (max-width: 1000px) {
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu {
    display: none !important;
    pointer-events: none;
  }
}

/* =============================================================
   HERO SECTIONS
   ============================================================= */
.hero {
  background: #fff;
  padding: 60px 0 45px 0;
  margin-bottom: 38px;
  box-shadow: 0 6px 32px -24px rgba(27,34,54,0.07);
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 650px;
  margin: 0 auto;
  text-align: left;
}
.hero h1 {
  color: var(--color-contrast);
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.hero p {
  color: var(--color-gray);
  font-size: 1.11rem;
  max-width: 520px;
}
.hero input[type="search"] {
  width: 100%;
  max-width: 390px;
  padding: 12px 18px;
  border-radius: var(--radius-button);
  border: 1.5px solid #e0e0e7;
  background: #f4f4f6;
  color: var(--color-contrast);
  font-size: 1.07rem;
  box-shadow: none;
  margin-top: 6px;
  transition: border .15s;
}
.hero input[type="search"]:focus {
  border-color: var(--color-contrast);
  outline: none;
}

/* =============================================================
   FLEXBOX CARD & GRID PATTERNS (MANDATORY)
   ============================================================= */
.card-container, .feature-grid,
.category-grid, .service-list,
.course-grid, .article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature-grid > li, .category, .service, .course-grid > div, .article-preview-grid > article {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 200px;
  max-width: 330px;
  transition: box-shadow .21s, transform .21s;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.card:hover, .feature-grid > li:hover, .category:hover, .service:hover, .course-grid > div:hover, .article-preview-grid > article:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px) scale(1.012);
  z-index: 2;
}

.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: #fff;
  border-radius: var(--radius-card);
  box-shadow: 0 4px 18px rgba(27,34,54,0.09);
  margin-bottom: 20px;
  border-left: 5px solid var(--color-contrast);
  color: #191919;
  max-width: 700px;
  flex: 1 1 100%;
}
.testimonial-card p {
  color: #1B2236;
  font-size: 1.09rem;
  font-style: italic;
}
.testimonial-card strong {
  color: var(--color-gray);
  font-size: .97rem;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-container, .feature-grid, .category-grid, .service-list, .course-grid, .article-preview-grid, .content-grid {
    gap: 14px;
  }
  .text-image-section {
    gap: 16px;
  }
  .card, .feature-grid > li, .category, .service, .course-grid > div, .article-preview-grid > article {
    padding: 18px 10px;
    min-width: 180px;
    max-width: 100%;
    font-size: .95rem;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* =============================================================
   FEATURES & CATEGORIES
   ============================================================= */
.features .feature-grid {
  justify-content: flex-start;
  gap: 24px;
}
.feature-grid > li {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  padding: 26px 18px 22px 18px;
  min-width: 220px;
  flex: 1 1 200px;
  text-align: left;
  transition: box-shadow .19s, transform .19s;
}
.feature-grid > li img {
  width: 44px;
  margin-bottom: 14px;
}
.feature-grid > li h3 {
  margin-bottom: 8px;
}

.category-grid {
  gap: 20px;
  justify-content: flex-start;
}
.category {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 8px;
  min-width: 120px;
  max-width: 175px;
  transition: box-shadow .18s, transform .15s, background .25s;
  border: 1px solid #f3f3f3;
}
.category.highlight {
  border: 2.5px solid var(--color-accent);
  background: #fffbe5;
}
.category:hover {
  background: var(--color-accent);
  color: var(--color-contrast);
  transform: translateY(-3px) scale(1.035);
}
.category img {
  width: 32px;
  margin-bottom: 7px;
}

.filter-options {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.filter-options button {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid var(--color-contrast);
  padding: 6px 18px;
  color: var(--color-contrast);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.99rem;
  cursor: pointer;
  margin-left: 2px;
  margin-right: 2px;
  box-shadow: none;
  transition: background .15s, color .16s, border-color .15s;
}
.filter-options button:hover {
  background: var(--color-contrast);
  color: var(--color-accent);
  border-color: var(--color-dark);
}

/* =============================================================
   SERVICE LIST (index/dienstleistungen/kochkurse)
   ============================================================= */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.service {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  flex: 1 1 185px;
  min-width: 180px;
  max-width: 245px;
  display: flex;
  flex-direction: column;
  padding: 24px 18px 18px;
  gap: 8px;
  margin-bottom: 20px;
  border-left: 5px solid #e7e8eb;
  transition: box-shadow .20s, transform .12s, border-color .16s;
}
.service h3 { font-size: 1.09rem; margin-bottom: 6px; }
.service span, .service strong {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  color: var(--color-contrast);
  margin-top: 7px;
}
.service:hover {
  border-left: 5px solid var(--color-contrast);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.012);
}

@media (max-width: 850px) {
  .service-list { gap: 14px; }
  .service { min-width: 140px; max-width: 100%; padding: 16px 8px 12px; }
}

/* PRICING OVERVIEW */
.pricing-overview ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-top: 20px;
  color: var(--color-contrast);
  font-family: var(--font-display);
  font-size: 0.99rem;
}
.pricing-overview li {
  background: #eee;
  border-radius: 9px;
  padding: 8px 17px;
  margin-bottom: 12px;
}

/* =============================================================
   CTA SECTION (footer section call-to-action)
   ============================================================= */
.cta {
  background: #f6f6f8;
  border-radius: var(--radius-card);
  box-shadow: 0 3px 24px rgba(31,34,54,0.09);
  margin-bottom: 42px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 20px;
  text-align: center;
}
.cta h2 { font-size: 2rem; margin-bottom: 14px; color: var(--color-contrast); }

/* =============================================================
   BLOG GRID / ARTICLES
   ============================================================= */
.article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.article-preview-grid > article {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  padding: 26px 18px;
  min-width: 200px;
  max-width: 340px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 5px solid #e7e8eb;
  transition: box-shadow .20s, transform .12s, border-color .18s;
}
.article-preview-grid > article:hover {
  border-left: 5px solid var(--color-contrast);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.012);
}
.article-preview-grid a {
  font-family: var(--font-display);
  color: var(--color-contrast);
  font-weight: 600;
  transition: color .16s;
}
.article-preview-grid a:hover,
.article-preview-grid a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

.categories {
  margin-top: 14px;
  font-weight: 500;
  color: var(--color-gray);
}
.categories a {
  color: var(--color-contrast);
  font-family: var(--font-display);
  margin: 0 2px;
  transition: color 0.14s;
}
.categories a:hover, .categories a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

.cta-signup-newsletter {
  background: #191e2a;
  color: #fff;
  border-radius: var(--radius-card);
  padding: 26px 18px;
  text-align: center;
  margin-top: 28px;
  margin-bottom: 8px;
}
.cta-signup-newsletter h3 {
  color: #fff;
  margin-bottom: 15px;
}

/* =============================================================
   ABOUT, TEAM, LEGAL PAGES
   ============================================================= */
.about .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: none;
  padding: 0;
}
.about h1, .about h2 {
  font-size: 1.6rem;
}
.about ul {
  margin-left: 18px;
  margin-bottom: 8px;
}
.about ul li {
  position: relative;
  margin-bottom: 7px;
  color: var(--color-dark);
  font-size: 1.02rem;
}
.about ul li:before {
  content: '\2022';
  color: var(--color-accent);
  font-size: 1.04em;
  display: inline-block;
  width: 1.1em;
  margin-left: -1.25em;
  margin-right: 0.5em;
}

/* =============================================================
   CONTACT PAGE
   ============================================================= */
.contact-details {
  margin-bottom: 14px;
  font-size: 1.04em;
  color: var(--color-contrast);
}
.map-snippet {
  background: #faf8eb;
  color: #888;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 12px;
  font-size: 1.01em;
}
.hours {
  font-size: .99em;
  color: var(--color-gray);
}

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ratings-summary {
  color: #1B2236;
  font-size: 1.13rem;
  margin-top: 32px;
  padding: 17px 24px;
  border-radius: 10px;
  background: #f5f7fd;
  font-weight: 600;
  align-items: center;
  display: flex;
  gap: 14px;
}
.ratings-summary span {
  background: #fffbe5;
  color: #8e750a;
  padding: 3px 12px 1px;
  border-radius: 7px;
  margin-left: 8px;
  font-family: var(--font-display);
}

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: #fff;
  padding: 36px 0 18px 0;
  border-top: 1.5px solid #E5E6EA;
  color: #191919;
}
footer .container {
  padding-bottom: 0!important;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 0;
}
.footer-links {
  font-size: 1.01em;
  color: #83848e;
  margin-bottom: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-links a {
  color: #23242A;
  margin: 0 5px;
  transition: color .12s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--color-accent);
}
.contact-snippet {
  color: #1B2236;
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 7px;
}
.contact-snippet a { color: var(--color-contrast); text-decoration: underline; }
.social-media {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 3px;
  filter: grayscale(0.8) contrast(1.3);
}

@media (max-width: 800px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/* =============================================================
   BUTTONS & INTERACTIVE ELEMENTS
   ============================================================= */
button,[type=button],[type=submit]{
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-button);
  background: var(--color-contrast);
  color: #fff;
  padding: 10px 22px;
  cursor: pointer;
  font-size: 1rem;
  /* For touch devices */
  min-width: 42px;
  min-height: 42px;
  transition: background .18s, color .18s, box-shadow .18s;
}
button:focus, button:hover,[type=button]:focus,[type=submit]:focus {
  background: var(--color-accent);
  color: var(--color-contrast);
  box-shadow: 0 2px 15px #eae4a9;
  outline: none;
}

/* Links as text buttons */
a.button, a.btn, .cta-secondary {
  border: 1.5px solid var(--color-contrast);
  background: transparent;
  color: var(--color-contrast);
  padding: 9px 18px;
  border-radius: var(--radius-button);
  font-family: var(--font-display);
  font-weight: 600;
  transition: background .16s, color .17s, border-color .17s;
  display: inline-block;
}
a.button:hover, a.button:focus, a.btn:hover, a.btn:focus,
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-contrast);
  color: #fff;
}

/* ========================
   Cookie Consent Banner
   ======================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8888;
  background: #1B2236;
  color: #fff;
  box-shadow: 0 -1px 32px rgba(0,0,0,.24);
  width: 100vw;
  padding: 14px 16px 14px 14px;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  animation: cookie-slide-up 0.7s cubic-bezier(.76,0,.38,1) 1;
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
}
.cookie-banner button, .cookie-banner .cookie-btn {
  font-family: var(--font-display);
  font-size: 0.96rem;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  padding: 8px 18px;
  transition: background .22s, color .22s;
  font-weight: 700;
}
.cookie-banner .accept {
  background: var(--color-accent);
  color: var(--color-contrast);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fff;
  color: var(--color-contrast);
}
.cookie-banner .reject {
  background: #23242a;
  color: #fff;
  border: 1.5px solid #4A4A58;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #fff;
  color: #1B2236;
  border-color: #FFE66D;
}
.cookie-banner .settings {
  background: transparent;
  color: #fff;
  text-decoration: underline;
  border: 1.5px solid #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #FAFAFA;
  color: var(--color-contrast);
  border-color: var(--color-accent);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: rgba(30,34,54,.87);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fade-in .45s cubic-bezier(.77,.24,.45,1);
}
@keyframes cookie-modal-fade-in {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal-content {
  background: #fff;
  color: #191919;
  border-radius: var(--radius-card);
  max-width: 410px;
  width: 96vw;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.21);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: modal-pop-in .33s cubic-bezier(.78,-0.03,.38,1.1);
}
@keyframes modal-pop-in {
  0%{ opacity:0; transform: scale(.95) translateY(60px); }
  100%{ opacity:1; transform: scale(1) translateY(0); }
}
.cookie-modal-content h2 {
  font-family: var(--font-display);
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
  margin-right: 2px;
}
.cookie-category label { font-weight: 500; font-size: 1.02em; }
.cookie-modal .btn-row {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .btn-row button {
  min-width: 100px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #1B2236;
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 7px;
  transition: background .14s;
}
.cookie-modal .close-modal:hover {
  background: #f3f3f3;
}

/* Responsive for Banner */
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 6px;
    font-size: .97em;
    gap: 13px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
  }
  .cookie-modal-content { padding: 18px 7vw; }
}

/* ========================
   Utility
   ======================== */
.text-center { text-align: center !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 12px !important; }
.mb-0 { margin-bottom: 0!important; }
.mb-1 { margin-bottom: 10px!important; }
.mb-2 { margin-bottom: 18px!important; }
.mb-4 { margin-bottom: 32px!important; }
.gap-8 { gap: 8px!important; }
.gap-16 { gap: 16px!important; }

/* =============================================================
   MONOCHROME ELEGANCE
   ============================================================= */
section, .card, .category, .feature-grid > li, .service, .testimonial-card, .article-preview-grid > article {
  background: #fff;
}
.section, section {
  box-shadow: 0 2px 18px 0 rgba(30,34,54,0.05);
  border-radius: var(--radius-card);
}

/* Dramatic headline underline (monochrome)
   ------------------------------------------------------------- */
h1, h2, h3 {
  position: relative;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-contrast);
  margin-top: 10px;
  border-radius: 2px;
}
h3:after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-accent);
  margin-top: 6px;
  border-radius: 2px;
}

/* Subtle gray text */
.gray, .text-muted, .about ul li,
footer, .footer-links, .about, .categories, .ratings-summary {
  color: #888 !important;
}

/* ========================
   Animations & Transitions
   ======================== */
.card, .feature-grid > li, .category, .service, .course-grid > div, .article-preview-grid > article, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.16s, background 0.2s, border-color 0.2s;
}
.cta-primary, .cta-secondary, a.button, .cookie-banner button {
  transition: background .18s, color .19s, border-color .18s, box-shadow .19s;
}

/* ========================
   Responsive Typography
   ======================== */
@media (max-width: 650px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.14rem; }
  .content-wrapper, .container { padding-left: 4vw; padding-right: 4vw; }
}

/* ========================
   Accessibility
   ======================== */
a:focus, button:focus, .cta-primary:focus, .mobile-menu-close:focus,
.cta-secondary:focus {
  outline: 2px dotted var(--color-accent);
  outline-offset: 2px;
}

/* ========================
   Hide scroll for modal+menu
   ======================== */
body.menu-open, body.modal-open {
  overflow: hidden !important;
}

/* END STYLE.CSS MONOCHROME SOPHISTICATED */
