/* NährKlar – tech_futuristic style.css */
/* Reset & Normalize */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { background-color: transparent; text-decoration: none; color: inherit; }
img { border-style: none; max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
:focus-visible { outline: 2px solid #00E5FF; outline-offset: 2px; }

/* Brand & Theme Variables */
:root {
  --primary: #2E7D32; /* brand primary */
  --secondary: #0E7C86; /* brand secondary */
  --accent: #F4F8F2; /* brand accent */
  --bg: #0A0F14; /* deep tech background */
  --surface: #0F1720; /* elevated surface */
  --surface-2: #121C27; /* alt surface */
  --text: #E6F2F3; /* primary text on dark */
  --muted: #9BB9BD; /* muted text */
  --line: #1E2A36; /* borders */
  --neon: #00E5FF; /* cyan neon accent */
  --neon-green: #2EE59D; /* complementary neon */
  --danger: #FF4D6D;
  --success: #2EE59D;
  --shadow-soft: 0 6px 24px rgba(0,0,0,0.35);
  --radius-sm: 10px; 
  --radius-md: 14px; 
  --radius-lg: 18px;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');
body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif; color: var(--text); background-color: var(--bg); }
.display, h1, h2, .logo { font-family: Montserrat, Inter, sans-serif; letter-spacing: 0.2px; }

/* Typography scale */
h1 { font-size: 32px; line-height: 1.15; margin-bottom: 16px; }
h2 { font-size: 24px; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; }
h4 { font-size: 18px; line-height: 1.25; }
p, li { font-size: 16px; }
.subheadline { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
small, .label { font-size: 14px; color: var(--muted); }

/* Layout helpers & mandatory spacing patterns */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 20px; }
.content-wrapper { display: flex; flex-direction: column; gap: 16px; }
section { margin-bottom: 60px; padding: 40px 0; }
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; display: flex; flex-direction: column; gap: 12px; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Global surfaces */
.hero { background-color: var(--surface); background-image: linear-gradient(180deg, #0F1720 0%, #0B1117 100%); border-bottom: 1px solid var(--line); }
.features, .services, .pricing, .process, .faq, .categories, .search, .newsletter, .about,
.features-pillars, .services-principles, .features-transparency,
.features-abo, .personal-check, .testimonials-abo, .features-tools,
.features-values, .features-competence, .contact-form, .contact-info-block,
.features-datenschutz, .features-dsgvo, .services-organisation, .features-cookies, .services-cookies,
.features-nutzung, .features-next, .cta { background-color: var(--surface-2); border: 1px solid var(--line); border-left: none; border-right: none; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background-color: rgba(10,15,20,0.75); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header .container { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 34px; filter: drop-shadow(0 0 6px rgba(46,125,50,0.4)); }

.main-nav { display: none; align-items: center; gap: 16px; }
.main-nav a { padding: 10px 12px; border-radius: 10px; color: var(--text); transition: all .25s ease; border: 1px solid transparent; }
.main-nav a:hover { color: #E9FFFC; border-color: rgba(0,229,255,0.35); box-shadow: 0 0 10px rgba(0,229,255,0.25) inset, 0 0 12px rgba(0,229,255,0.12); }

.cta-buttons { display: none; align-items: center; gap: 10px; }

.mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; color: var(--text); border: 1px solid var(--line); background: linear-gradient(180deg, #0F1720, #0B1117); box-shadow: 0 4px 16px rgba(0,0,0,0.35); transition: all .25s ease; }
.mobile-menu-toggle:hover { box-shadow: 0 0 0 1px rgba(0,229,255,0.35), 0 0 18px rgba(0,229,255,0.2); color: #E9FFFC; }

/* Mobile menu overlay */
.mobile-menu { position: fixed; inset: 0 0 0 auto; width: 100%; max-width: 360px; background: #0B1117; border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .35s ease; z-index: 100; display: flex; flex-direction: column; padding: 20px; gap: 16px; box-shadow: -8px 0 30px rgba(0,0,0,0.55); }
.mobile-menu.open { transform: translateX(0%); }
.mobile-menu-close { align-self: flex-end; width: 36px; height: 36px; border-radius: 10px; color: var(--text); border: 1px solid var(--line); background: #0F1720; }
.mobile-nav { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav a { padding: 12px 14px; border-radius: 10px; background: #0F1720; border: 1px solid var(--line); color: var(--text); transition: all .25s ease; }
.mobile-nav a:hover { border-color: rgba(0,229,255,0.35); box-shadow: 0 0 0 1px rgba(0,229,255,0.35) inset, 0 0 14px rgba(0,229,255,0.18); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 600; border: 1px solid transparent; transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.btn-primary { background: var(--primary); color: #E8FFEF; box-shadow: 0 8px 24px rgba(46,125,50,0.35), 0 0 0 1px rgba(46,125,50,0.6) inset; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46,125,50,0.45), 0 0 12px rgba(46,125,50,0.55); }
.btn-secondary { background: linear-gradient(180deg, #0E7C86 0%, #0B6067 100%); color: #E6FEFF; border: 1px solid rgba(14,124,134,0.65); box-shadow: 0 8px 22px rgba(14,124,134,0.35); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14,124,134,0.5), 0 0 18px rgba(0,229,255,0.28); }
.btn:active { transform: translateY(0); }

/* Lists */
ul, ol { display: flex; flex-direction: column; gap: 10px; padding-left: 18px; }
.usp-list, .steps-list, .benefit-list, .pillar-list, .checklist { list-style: none; padding-left: 0; }
.usp-list li, .steps-list li, .benefit-list li, .pillar-list li, .checklist li { position: relative; padding-left: 26px; }
.usp-list li::before, .steps-list li::before, .benefit-list li::before, .pillar-list li::before, .checklist li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; position: absolute; left: 0; top: 5px; background: radial-gradient(circle, var(--neon) 0%, rgba(0,229,255,0.3) 60%, transparent 62%); box-shadow: 0 0 10px rgba(0,229,255,0.6); }

/* Forms */
form { display: flex; flex-direction: column; gap: 12px; }
input[type="text"], input[type="email"], input[type="range"], select, textarea { background: #0F1720; color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .25s ease; }
textarea { min-height: 120px; resize: vertical; }
input[type="range"] { padding: 0; height: 6px; border-radius: 6px; accent-color: var(--neon); }
label { display: flex; align-items: center; gap: 10px; color: var(--muted); }
input:focus, select:focus, textarea:focus { border-color: rgba(0,229,255,0.45); box-shadow: 0 0 0 3px rgba(0,229,255,0.15); outline: none; }

/* Cards */
.category-cards, .recipe-cards-grid, .article-cards, .testimonial-cards, .plans, .faq-list, .feature-icons, .category-list, .tags, .contact-channels, .wochenplan, .toggle-row, .pagination, .footer-nav, .footer-legal, .footer-contact, .footer-contact-mini, .footer-social { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }

.category-card, .recipe-card, .article-card, .plan { flex: 1 1 100%; background: #0F1720; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease; }
.category-card:hover, .recipe-card:hover, .article-card:hover, .plan:hover { transform: translateY(-4px); border-color: rgba(0,229,255,0.35); box-shadow: 0 14px 32px rgba(0,229,255,0.15); }

.badge, .author-badge, .labels, .label, .season, .goal, .tag { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 999px; background: rgba(0,229,255,0.08); border: 1px solid rgba(0,229,255,0.35); color: #C9FBFF; font-size: 12px; font-weight: 600; }
.labels { color: var(--muted); background: rgba(255,255,255,0.04); border-color: var(--line); }

/* Testimonial section - light cards for contrast */
.testimonials, .testimonials-abo { background: var(--accent); color: #0B2A2E; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testimonials .content-wrapper h2, .testimonials-abo .content-wrapper h2 { color: #0B2A2E; }
.testimonial-cards { align-items: stretch; }
.testimonial-card { background: #FFFFFF; color: #0B2A2E; border: 1px solid #E2E8EA; border-radius: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.testimonial-card p { color: #112D31; font-size: 16px; }
.testimonial-card span { color: #314B4F; font-weight: 600; }

/* Feature grids */
.feature-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.feature-grid .feature-item { flex: 1 1 100%; background: #0F1720; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.feature-icons > div { flex: 1 1 140px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: #0F1720; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.feature-icons img { height: 28px; filter: drop-shadow(0 0 6px rgba(0,229,255,0.25)); }

/* Category list & tags */
.category-list span, .tags span, .tag-filter-row .tag { background: #0F1720; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--text); }
.category-list span:hover, .tags span:hover, .tag-filter-row .tag:hover { border-color: rgba(0,229,255,0.35); box-shadow: 0 0 10px rgba(0,229,255,0.2) inset; }

/* Pagination */
.pagination { align-items: center; justify-content: center; }
.pagination button, .pagination span { min-width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--line); background: #0F1720; color: var(--text); }
.pagination button:hover { border-color: rgba(0,229,255,0.35); box-shadow: 0 0 12px rgba(0,229,255,0.2); }

/* CTA sections */
.cta .content-wrapper { align-items: flex-start; }
.cta .benefit-list li::before { background: radial-gradient(circle, var(--neon-green) 0%, rgba(46,229,157,0.25) 60%, transparent 62%); box-shadow: 0 0 10px rgba(46,229,157,0.5); }

/* Contact channels */
.contact-channels { align-items: center; }
.contact-channels a { color: #C9FBFF; text-decoration: underline; }

/* Specific components */
.wochenplan > div { flex: 1 1 100%; background: #0F1720; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.wochenplan .macro-overview { color: var(--muted); border-style: dashed; }

.plan .plan-price { font-size: 28px; font-weight: 800; color: #D7FFE8; text-shadow: 0 0 14px rgba(46,229,157,0.35); }
.plan.popular { border-color: rgba(46,229,157,0.55); box-shadow: 0 0 18px rgba(46,229,157,0.12); }

.faq-list > div, .faq-item { flex: 1 1 100%; background: #0F1720; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }

/* Maps placeholder */
.map-placeholder { display: flex; align-items: center; justify-content: center; min-height: 160px; border: 1px dashed rgba(0,229,255,0.3); border-radius: 12px; color: var(--muted); background: #0F1720; }

/* Footer */
footer { background: #091018; border-top: 1px solid var(--line); padding: 26px 0; }
footer .container { gap: 18px; }
.footer-nav a, .footer-legal a { color: var(--muted); padding: 8px 10px; border-radius: 8px; border: 1px solid transparent; }
.footer-nav a:hover, .footer-legal a:hover { color: #E9FFFC; border-color: rgba(0,229,255,0.25); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 30px; }
.footer-contact, .footer-contact-mini { color: var(--muted); }
.footer-contact div, .footer-contact-mini div { display: flex; align-items: center; gap: 10px; }
.footer-contact img, .footer-contact-mini img { width: 16px; opacity: 0.85; }
.footer-social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: #0F1720; }
.footer-social a:hover { border-color: rgba(0,229,255,0.35); box-shadow: 0 0 12px rgba(0,229,255,0.25); }
.copyright { color: var(--muted); font-size: 14px; }

/* Hero spacing refinement */
.hero .content-wrapper { padding: 16px 0; }
.hero h1 { text-shadow: 0 0 18px rgba(0,229,255,0.18); }

/* Newsletter block */
.newsletter form { flex-direction: column; align-items: flex-start; }

/* Tables (if any appear) */
table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
th, td { border: 1px solid var(--line); padding: 12px; text-align: left; }

/* Cookie Consent Banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: flex; flex-direction: column; gap: 12px; background: #0B1117; border-top: 1px solid var(--line); padding: 14px 16px; box-shadow: 0 -12px 28px rgba(0,0,0,0.4); transform: translateY(100%); transition: transform .35s ease; }
.cookie-banner.show { transform: translateY(0%); }
.cookie-banner .cookie-text { color: var(--text); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 10px 14px; }
.cookie-accept { background: var(--primary); color: #E8FFEF; border: 1px solid rgba(46,125,50,0.6); }
.cookie-reject { background: #111A22; color: #EAFBFF; border: 1px solid var(--line); }
.cookie-settings { background: linear-gradient(180deg, #0E7C86, #0B6067); color: #E6FEFF; border: 1px solid rgba(14,124,134,0.6); }

/* Cookie Modal */
.cookie-modal { position: fixed; inset: 0; background: rgba(4,8,12,0.75); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 140; }
.cookie-modal.open { display: flex; }
.cookie-modal-content { width: min(720px, 92%); display: flex; flex-direction: column; gap: 14px; background: #0F1720; border: 1px solid rgba(0,229,255,0.25); border-radius: 16px; padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.55); color: var(--text); }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cookie-row:last-child { border-bottom: none; }
.cookie-switch { display: inline-flex; align-items: center; gap: 8px; }

/* Micro-interactions */
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 rgba(0,229,255,0.25); } 70% { box-shadow: 0 0 0 8px rgba(0,229,255,0.0); } 100% { box-shadow: 0 0 0 0 rgba(0,229,255,0.0); } }
.btn-primary:focus-visible, .btn-secondary:focus-visible { animation: pulseGlow 1.8s ease infinite; }

/* Accessibility contrasts in testimonial/review sections */
.testimonials p, .testimonials span, .testimonials-abo p, .testimonials-abo span { color: #0B2A2E; }

/* Responsive rules */
@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .content-wrapper { gap: 20px; }
  .feature-grid .feature-item { flex: 1 1 calc(50% - 10px); }
  .category-card, .recipe-card, .article-card { flex: 1 1 calc(50% - 10px); }
  .testimonial-card { flex: 1 1 calc(50% - 10px); }
  .plans .plan { flex: 1 1 calc(50% - 10px); }
  .wochenplan > div { flex: 1 1 calc(50% - 10px); }
  .text-image-section { flex-direction: row; }
}

@media (min-width: 1024px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  header .container { padding: 14px 20px; }
  .main-nav { display: flex; }
  .cta-buttons { display: flex; }
  .mobile-menu-toggle { display: none; }

  .feature-grid .feature-item { flex: 1 1 calc(33.333% - 14px); }
  .category-card, .recipe-card, .article-card { flex: 1 1 calc(33.333% - 14px); }
  .testimonial-card { flex: 1 1 calc(33.333% - 14px); }
  .plans .plan { flex: 1 1 calc(33.333% - 14px); }
  .wochenplan > div { flex: 1 1 calc(33.333% - 14px); }

  .footer .container, footer .container { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
}

/* Spacing integrity */
section > .container > * + * { margin-top: 4px; }
.card + .card, .category-card + .category-card, .recipe-card + .recipe-card, .article-card + .article-card { margin-top: 0; }

/* Ensure flex alignment requirements */
.text-image-section { align-items: center; }
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 10px; }

/* Page-specific fine-tuning */
.hero .cta-set, .cta .cta-set { display: flex; flex-wrap: wrap; gap: 12px; }
.search .filter-row, .tag-filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Links inside content */
main a { color: #9EF8FF; text-decoration: none; }
main a:hover { color: #D7FDFF; text-decoration: underline; }

/* Headers inside light sections */
.testimonials h2, .testimonials-abo h2 { color: #0B2A2E; }

/* Badges in recipe cards without absolute positioning */
.recipe-card .badge { margin-bottom: 8px; }
.recipe-card button { padding: 10px 12px; border-radius: 10px; background: #0E7C86; color: #E6FEFF; border: 1px solid rgba(14,124,134,0.6); }
.recipe-card button + button { background: #0F1720; color: var(--text); border: 1px solid var(--line); }
.recipe-card button:hover { box-shadow: 0 10px 22px rgba(14,124,134,0.35); }

/* Address/phone/email blocks */
.footer-contact .address, .footer-contact .phone, .footer-contact .email, .footer-contact .hours { background: #0F1720; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }

/* Ensuring minimum gaps between content cards/sections */
.category-cards > * , .recipe-cards-grid > * , .article-cards > * , .testimonial-cards > * , .plans > * , .faq-list > * { margin-bottom: 0; }

/* Dark to light contrast for any .review like copy */
.review, .rating { color: #0B2A2E; }

/* Utility classes (optional future) */
.hidden { display: none !important; }
.show-flex { display: flex !important; }

/* End of style.css */
