/* =============================================================
  SolarNode Wissenschaft - Geometric Structured CSS
  Responsive, modern, accessible 
  Brand: #23374D (primary), #EBB81D (secondary), #F5F6FA (accent)
  Fonts: Montserrat (display), Roboto (body)
  -------------------------------------------------------------
  CSS Reset & Normalize
============================================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F6FA;
  color: #23374D;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #23374D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EBB81D;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: #23374D;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
  text-transform: uppercase;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #23374D;
}
q {
  quotes: '“' '”';
  font-style: italic;
}
button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #EBB81D;
  color: #23374D;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s;
  outline: none;
  box-shadow: 0 2px 8px rgba(35,55,77,0.08);
  letter-spacing: 1px;
}
.btn:hover,
.btn:focus {
  background: #23374D;
  color: #EBB81D;
  border-color: #EBB81D;
}
.btn-primary {
  background: #23374D;
  color: #EBB81D;
  border-color: #23374D;
}
.btn-primary:hover, .btn-primary:focus {
  background: #EBB81D;
  color: #23374D;
  border-color: #23374D;
}
/* Layout Containers */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 14px;
  background: #fff;
  position: relative;
  box-shadow: 0 4px 24px rgba(35,55,77,0.06);
}
.hero {
  background: #23374D;
  color: #F5F6FA;
  border-radius: 0 0 40px 40px;
  padding: 60px 0 46px 0;
  margin-bottom: 0;
}
.hero h1, .hero p, .hero a {
  color: #F5F6FA;
}
.hero .btn,
.hero .btn-primary {
  background: #EBB81D;
  color: #23374D;
  margin-top: 18px;
}
.hero .btn:hover,
.hero .btn:focus,
.hero .btn-primary:hover, .hero .btn-primary:focus {
  background: #F5F6FA;
  color: #23374D;
  border-color: #EBB81D;
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0 28px 0;
  }
}

.features,
.services,
.about,
.team,
.contact,
.callout,
.legal,
.cta,
.thankyou {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(35,55,77,0.06);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #F5F6FA;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(35,55,77,0.05);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  min-height: 180px;
  flex: 1 1 320px;
  border: 1.5px solid #EBB81D;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonials {
  background: #F5F6FA;
  margin-bottom: 60px;
  padding: 48px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(35,55,77,.07);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(35,55,77,0.10);
  margin-bottom: 24px;
  width: 100%;
  max-width: 530px;
  border-left: 6px solid #EBB81D;
  font-size: 1.08rem;
  color: #23374D;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card q {
  color: #23374D;
  font-style: italic;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #23374D;
  font-weight: 600;
  margin-bottom: 0;
}
@media (min-width: 769px) {
  .testimonials .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 32px;
  }
  .testimonial-card {
    margin-right: 16px;
    margin-bottom: 0;
    flex: 1 1 32%;
    min-width: 290px;
    max-width: 380px;
  }
}
/* UL Features and Services Listing */
.features ul, .services ul, .team ul, .about ul, .contact ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features ul li, .services ul li, .team ul li, .about ul li, .contact ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.04rem;
  background: #F5F6FA;
  border-radius: 8px;
  padding: 18px 20px;
  position: relative;
  border-left: 4px solid #23374D;
  min-height: 56px;
  font-family: 'Roboto', Arial, sans-serif;
}
.features ul li img, .services ul li img, .about ul li img, .team ul li img, .contact ul li img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.features ul li span {
  font-weight: 600;
  color: #EBB81D;
}
.services ul li span {
  font-weight: 700;
  color: #23374D;
}
.about .text-section, .team .content-wrapper, .contact .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Legal Sections */
.legal .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 30px 16px;
  box-shadow: 0 2px 8px rgba(35,55,77,0.08);
}
.legal h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.legal h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.legal h3 {
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.legal ul li {
  font-size: 1rem;
  margin-bottom: 8px;
  padding-left: 0;
  border-left: none;
  background: none;
}
/* CTA / Callouts */
.cta, .callout {
  background: #23374D;
  color: #F5F6FA;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,55,77,0.10);
}
.cta h2, .callout h2,
.cta p, .callout p {
  color: #F5F6FA;
}
.cta .btn-primary,.callout .btn-primary {
  background: #EBB81D;
  color: #23374D;
  margin-top: 16px;
}
.cta .btn-primary:hover,
.callout .btn-primary:hover {
  background: #F5F6FA;
  color: #23374D;
  border-color: #EBB81D;
}
.thankyou {
  text-align: center;
}
.thankyou h1 {
  color: #23374D;
}
.thankyou p {
  color: #23374D;
  margin-bottom: 18px;
}

/* =============================================================
  Header / Navigation
============================================================= */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(35,55,77,0.08);
  z-index: 1100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 20px;
  flex-wrap: wrap;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  color: #23374D;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  padding-bottom: 2px;
  position: relative;
  transition: color .18s;
}
header nav a:hover,
header nav a:focus {
  color: #EBB81D;
}
header .btn-primary {
  margin-left: 12px;
}
.mobile-menu-toggle {
  display: none;
  background: #EBB81D;
  color: #23374D;
  border: none;
  font-size: 2rem;
  border-radius: 8px;
  padding: 6px 18px;
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #23374D;
  color: #EBB81D;
}
/* Mobile Nav */
@media (max-width: 1024px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #23374D;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.56,.09,.54,.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 4px 32px rgba(35,55,77,0.16);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: transparent;
  border: none;
  color: #EBB81D;
  padding: 18px 28px 6px;
  margin-top: 8px;
  cursor: pointer;
  z-index: 10;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F5F6FA;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 30px 28px;
  width: 100vw;
}
.mobile-nav a {
  color: #F5F6FA;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 14px 0;
  min-width: 220px;
  transition: color 0.16s, background 0.16s;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EBB81D;
  color: #23374D;
  padding-left: 12px;
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 12px;
    padding: 10px 12px;
  }
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
  header nav {
    display: flex !important;
  }
}

/* =============================================================
  Footer
============================================================= */
footer {
  width: 100%;
  background: #23374D;
  color: #F5F6FA;
  font-size: 0.98rem;
  padding: 26px 0 0 0;
  border-radius: 32px 32px 0 0;
  margin-top: 60px;
  box-shadow: 0 -2px 18px rgba(35,55,77,0.08);
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  padding: 8px 20px 20px 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #F5F6FA;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 2px;
  transition: color .2s;
  padding: 2px 0;
}
footer nav a:hover, footer nav a:focus {
  color: #EBB81D;
  text-decoration: underline;
}
.footer-contact {
  color: #F5F6FA;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 3px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}
.footer-contact a {
  color: #EBB81D;
  text-decoration: underline;
  font-weight: 500;
}
.footer-contact span {
  font-size: 0.94rem;
  color: #EBB81D;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  footer {
    font-size: 0.98rem;
    padding: 10px 0 0 0;
    border-radius: 18px 18px 0 0;
  }
}

/* =============================================================
  Cookie Consent Banner & Modal
============================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  padding: 0;
  z-index: 9999;
  background: #23374D;
  color: #F5F6FA;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 20px rgba(35,55,77,0.21);
  animation: cookieSlideIn 0.7s;
}
@keyframes cookieSlideIn {
  from {
    transform: translateY(80px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-banner .cookie-banner-content {
  max-width: 980px;
  padding: 20px 16px 20px 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  width: 100%;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin-bottom: 0;
  color: #F5F6FA;
}
.cookie-banner .btn, 
.cookie-banner .btn-primary {
  min-width: 110px;
  margin-right: 10px;
  margin-top: 0;
}
.cookie-banner .btn:last-child {
  margin-right: 0;
}
@media (max-width: 800px) {
  .cookie-banner .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,55,77,0.72);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.36s;
}
@keyframes fadeIn {
  from { opacity: 0 } to { opacity: 1 }
}
.cookie-modal {
  background: #fff;
  color: #23374D;
  border-radius: 14px;
  padding: 38px 32px 26px 32px;
  box-shadow: 0 4px 36px rgba(35,55,77,0.18);
  max-width: 420px;
  min-width: 300px;
  font-size: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  color: #23374D;
  font-size: 1.34rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #F5F6FA;
  padding: 10px 0;
  font-size: 1.01rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-weight: 500;
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #EBB81D;
  width: 20px;
  height: 20px;
}
.cookie-modal .btn-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .btn, .cookie-modal .btn-primary {
  min-width: 112px;
}
.cookie-modal .btn-primary {
  background: #EBB81D;
  color: #23374D;
  border-color: #23374D;
}
.cookie-modal .btn-primary:hover, .cookie-modal .btn-primary:focus {
  background: #23374D;
  color: #EBB81D;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 9px;
  right: 13px;
  font-size: 2rem;
  padding: 0;
  background: transparent;
  border: none;
  color: #EBB81D;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal .modal-close:hover {
  color: #23374D;
}
/* =============================================================
  Responsive Utilities & General Media Queries
============================================================= */
@media (max-width: 1024px) {
  .container {
    padding: 0 12px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1.0rem; }
  .section, section, .features, .cta, .services, .testimonials, .about, .team, .contact, .callout, .legal, .thankyou {
    padding: 19px 5px;
    margin-bottom: 32px;
    border-radius: 6px;
  }
  .card { padding: 16px 9px; min-width: 150px; }
  .testimonial-card { padding: 15px 8px; }
}
@media (max-width: 480px) {
  .mobile-menu .mobile-nav a {
    font-size: 1rem;
    min-width: 160px;
  }
  .cookie-modal {
    padding: 24px 7px 18px 8px;
    min-width: unset;
    font-size: 0.98rem;
  }
}

/* =============================================================
  Geometric Visual Accents (Structured Design Tweak)
============================================================= */
.hero, .cta, .callout, .testimonials, .about, .features, .services, .team, .legal, .section, .thankyou {
  border: 2.5px solid #EBB81D;
  box-shadow: 0 4px 32px rgba(187,184,29,0.04);
}
.card, .feature-item, .testimonial-card {
  border-radius: 12px 28px 12px 28px;
  border-width: 2px; border-style: solid; border-color: #EBB81D;
}
@media (max-width: 900px) {
  .card, .testimonial-card {
    border-radius: 10px 20px 10px 20px;
  }
}

/* Micro-interactions */
.card, .testimonial-card, .feature-item, .services ul li, .features ul li {
  transition: box-shadow .26s, transform .10s;
}
.card:hover, .testimonial-card:hover, .feature-item:hover, .services ul li:hover, .features ul li:hover {
  box-shadow: 0 6px 24px 0 rgba(235,184,29,.12);
  transform: translateY(-3px) scale(1.011);
  z-index: 3;
}

/* Accessibility: Focus Outlines */
a:focus, button:focus, .btn:focus {
  outline: 2px solid #EBB81D;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(235,184,29,0.18);
}

/* Hyperlink Underline on Hover (for clarity) */
.card a:not(.btn):hover, .feature-item a:not(.btn):hover {
  text-decoration: underline;
}

/* =============================================================
  Spacing Guarantee (20px or larger everywhere)
============================================================= */
.section, section, .features, .about, .services, .testimonials, .cta, .team, .legal, .callout, .thankyou {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.card-container, .content-grid, .features ul, .services ul, .team ul, .about ul, .contact ul {
  gap: 20px !important;
}
.card, .testimonial-card, .feature-item, .services ul li, .features ul li {
  margin-bottom: 20px !important;
}

/* Fix: No overlapping, breathing room in all lists/cards */
.card-container>.card, .content-grid>*, .features ul>li, .services ul>li, .about ul>li, .testimonials .testimonial-card {
  margin-bottom: 20px;
}
.card-container>.card:last-child, .content-grid>*:last-child, .features ul>li:last-child, .services ul>li:last-child, .about ul>li:last-child, .testimonials .testimonial-card:last-child {
  margin-bottom: 0;
}

/* Geometric fonts for geometric_structured style */
h1, h2, h3, h4, h5, h6, nav a, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
  font-weight: 700;
}

/* Remove unwanted grid/column/floats code - strictly flex only! */
/* All layout containers use flexbox per specification, no grid/columns/floats used anywhere. */
