/* =========================
   SolarVoid Dokumentenservice – Elegant Classic CSS
   ========================= */

/* ===== 1. 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;
}
html { 
  height: 100%;
  font-size: 100%;
  scroll-behavior: smooth;
}
body { 
  min-height: 100vh;
  background: #FAFBFC;
  color: #222;
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #25405C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FDBB2B; /* Accent on hover */
}
ul, ol {
  margin-bottom: 1.3em;
  padding-left: 1.3em;
}

/* ===== 2. Brand Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  color: #222;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 0.6em; }
h2 { font-size: 2rem; margin-bottom: 0.5em; }
h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
h4 { font-size: 1.15rem; margin-bottom: 0.3em; }
h5, h6 { font-size: 1rem; margin-bottom: 0.2em; }
p, li, a, input, label, textarea {
  font-family: 'Roboto', Georgia, Times, serif;
}
strong, b {
  font-weight: 700;
}


/* ===== 3. Layout Containers ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(37,64,92, 0.06), 0 1px 3px rgba(0,0,0,0.03);
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(37,64,92, 0.15);
  transform: translateY(-3px);
}
.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: #E0EAF1;
  color: #222;
  padding: 20px;
  margin-bottom: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(37,64,92, 0.07);
  min-width: 0;
}
.testimonial-meta {
  margin-top: 12px;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  color: #25405C;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(37,64,92,.07);
  padding: 28px 20px;
  min-width: 220px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature:hover {
  box-shadow: 0 4px 24px rgba(37,64,92,0.14);
  transform: translateY(-2px);
}
.feature img {
  height: 42px;
  width: 42px;
  margin-bottom: 12px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}

/* FAQ
--------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #fff;
  border-radius: 7px;
  padding: 20px 20px;
  box-shadow: 0 1px 4px rgba(37,64,92,0.07);
}
.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 9px;
  color: #25405C;
}

/* Cards (e.g. Service-List) */
.service-list, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 18px;
}
.service-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(37,64,92,.07);
  padding: 32px 24px;
  min-width: 230px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.service-item:hover {
  box-shadow: 0 4px 22px rgba(37,64,92,0.13);
  transform: translateY(-2px);
}
.service-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* Contact Snippet */
.contact-snippet {
  background: #E0EAF1;
  border-radius: 6px;
  margin-top: 18px;
  padding: 18px 20px;
  font-size: 1rem;
}

/* Confirmation Message */
.confirmation {
  margin-top: 48px;
  margin-bottom: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Legal Pages */
.legal {
  margin-top: 36px;
  margin-bottom: 60px;
  padding: 32px 0 40px 0;
}

/* =========================
   Header and Navigation
   ========================= */
header {
  background: #fff;
  box-shadow: 0 1px 8px rgba(37,64,92, 0.06);
  z-index: 998;
  position: relative;
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header img {
  display: block;
  max-height: 44px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  font-weight: 500;
}
.main-nav a {
  padding: 8px 0;
  position: relative;
  letter-spacing: 0.01em;
}
.main-nav a.cta.primary {
  background: #25405C;
  color: #fff;
  border-radius: 24px;
  padding: 10px 26px;
  margin-left: 12px;
  font-weight: 700;
  transition: background 0.18s, color 0.16s;
  box-shadow: 0 1px 3px rgba(37,64,92,0.07);
  border: none;
}
.main-nav a.cta.primary:hover,
.main-nav a.cta.primary:focus {
  background: #FDBB2B;
  color: #25405C;
}

.main-nav a.cta.secondary {
  background: #E0EAF1;
  color: #25405C;
  border-radius: 24px;
  padding: 10px 22px;
  font-weight: 600;
  margin-left: 10px;
}
.main-nav a.cta.secondary:hover,
.main-nav a.cta.secondary:focus {
  background: #FDBB2B;
  color: #25405C;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #25405C;
  display: none;
  cursor: pointer;
  margin-left: 18px;
  z-index: 9999;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FDBB2B;
}

/* ========================
   Mobile Menu Overlay
   ======================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  width: 100vw;
  background: #25405C;
  color: #fff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -4px 0 34px rgba(37,64,92,0.16);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FDBB2B;
  font-size: 2.4rem;
  align-self: flex-end;
  margin: 22px 24px 0 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin: 38px 0 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', serif;
  font-weight: 600;
  padding: 8px 0;
  border-radius: 0;
  transition: color 0.2s, background 0.2s;
  min-width: 220px;
}
.mobile-nav a:active, .mobile-nav a:focus {
  color: #FDBB2B;
  background: rgba(253,187,43,0.08);
  outline: none;
}
.mobile-nav a:hover {
  color: #FDBB2B;
}

/* Hamburger is visible <1100px */
@media (max-width:1100px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:1101px) {
  .mobile-menu {
    display: none !important;
  }
}

/* Prevent scroll when mobile menu open (handled with JS) */
body.no-scroll {
  overflow: hidden;
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  background: #25405C url('../assets/hero-bg.jpg') no-repeat center/cover;
  color: #fff;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 40px 0 48px 0;
}
.hero .container { position: relative; }
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  max-width: 640px;
}
.hero h1 { color: #fff; font-size: 2.7rem; }
.hero p { font-size: 1.25rem; color: #E0EAF1; margin-bottom: 12px; }
.hero .cta.primary {
  margin-top: 10px;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #F7F8F9;
  border-top: 1px solid #E0EAF1;
  padding-top: 36px;
  padding-bottom: 20px;
}
footer .container {
  padding-top: 6px;
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #25405C;
  font-size: 1rem;
  font-family: 'Montserrat', serif;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FDBB2B;
  border-color: #FDBB2B;
}
.footer-contact-info {
  font-size: 1rem;
  color: #222;
  font-family: 'Roboto', serif;
  min-width: 250px;
}
.footer-contact-info a {
  color: #25405C;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.social-links img {
  width: 34px;
  height: 34px;
  filter: grayscale(40%);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}
.social-links img:hover {
  filter: grayscale(0%) drop-shadow(0 1px 3px #FDBB2B33);
  opacity: 1;
}
.copyright {
  margin-top: 18px;
  text-align: center;
  color: #90979e;
  font-size: 0.97rem;
}

/* =========================
   BUTTONS & CTAs
   ========================= */
.cta, .cta.primary, .cta.secondary, button, .cookie-banner button, .cookie-modal button {
  font-family: 'Montserrat', Georgia, 'Times New Roman', Times, serif;
  border-radius: 22px;
  border: none;
  padding: 10px 26px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s, color 0.16s, box-shadow 0.16s;
  margin-top: 6px;
  display: inline-block;
  outline: none;
}
.cta.primary,
button.cta.primary {
  background: #25405C;
  color: #fff;
  box-shadow: 0 2px 7px rgba(37,64,92,0.10);
}
.cta.primary:hover, .cta.primary:focus {
  background: #FDBB2B;
  color: #25405C;
}
.cta.secondary,
button.cta.secondary {
  background: #fff;
  color: #25405C;
  border: 2px solid #25405C;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #25405C;
  color: #fff;
}
button, .cookie-banner button, .cookie-modal button {
  background: #E0EAF1;
  color: #25405C;
  margin-right: 8px;
  box-shadow: none;
}
button:active, button:focus {
  outline: 2px solid #FDBB2B;
}
button:last-child { margin-right: 0; }

/* =========================
   Cookie Consent Banner
   ========================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(37,64,92,0.14);
  border-top: 1px solid #E0EAF1;
  padding: 26px 24px;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 1.1rem;
  font-family: 'Roboto', serif;
  transition: transform 0.3s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-banner button {
  font-size: 1rem;
  padding: 8px 16px;
  font-weight: 700;
  border-radius: 18px;
  border: none;
  background: #E0EAF1;
  color: #25405C;
  margin-right: 8px;
  transition: background 0.18s, color 0.16s;
  box-shadow: 0 1px 4px rgba(37,64,92,0.05);
}
.cookie-banner button.accept {
  background: #25405C;
  color: #fff;
}
.cookie-banner button.accept:hover {
  background: #FDBB2B;
  color: #25405C;
}
.cookie-banner button.reject {
  background: #fff;
  border: 1px solid #25405C;
  color: #25405C;
}
.cookie-banner button.reject:hover {
  background: #25405C;
  color: #fff;
}
.cookie-banner button.settings {
  background: #FDBB2B;
  color: #25405C;
  border: 1px solid #FDBB2B;
}
.cookie-banner button.settings:hover {
  background: #25405C;
  color: #FDBB2B;
}

/* =========================
   Cookie Settings Modal
   ========================= */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  background: #fff;
  color: #25405C;
  box-shadow: 0 6px 48px rgba(37,64,92,0.24);
  padding: 36px 26px;
  z-index: 4200;
  border-radius: 18px;
  min-width: 320px;
  max-width: 95vw;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: transform 0.3s, opacity 0.2s;
  font-family: 'Montserrat', serif;
  display: none;
}
.cookie-modal.open {
  display: block;
  animation: fadeInScale 0.28s cubic-bezier(.67,0,.30,1);
}
@keyframes fadeInScale {
  from { opacity: 0; transform: translate(-50%,-44%) scale(0.93); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.28rem;
  margin-bottom: 14px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px; margin-top: 14px;
  margin-bottom: 18px;
}
.cookie-modal label {
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #25405C;
  width: 18px; height: 18px;
}
.cookie-modal .cookie-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Modal Overlay BG */
.cookie-modal-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #25405C44;
  z-index: 4199;
  display: none;
  opacity: 0;
  transition: opacity 0.18s;
}
.cookie-modal-bg.open {
  display: block;
  opacity: 1;
}


/* =========================
   Utility Classes
   ========================= */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.text-center { text-align: center; }
.flex-center { justify-content: center; align-items: center; }

/* =========================
   Responsive Design
   ========================= */
@media (max-width:1100px) {
  .main-nav { display: none; }
}
@media (min-width:1101px) {
  .mobile-menu { display: none !important; }
}

@media (max-width: 900px) {
  .footer .content-wrapper {
    flex-direction: column;
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .container { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 768px) {
  .container { max-width: 97vw; }
  .card, .feature, .service-item {
    min-width: 0;
    width: 100%;
    padding: 22px 12px;
  }
  .feature-grid, .card-container, .service-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-wrapper, .faq-list {
    gap: 14px;
  }
  .text-image-section, .content-grid, .features {
    flex-direction: column !important;
    align-items: stretch;
    gap: 14px;
  }
  .hero {
    min-height: 220px;
    padding: 25px 0 28px 0;
    background-position: center top;
  }
  .hero .content-wrapper {
    padding-right: 0;
  }
  .footer .content-wrapper {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.13rem; }
  .card, .feature, .service-item {
    padding: 16px 7px;
  }
  .cookie-banner { padding: 20px 10px; font-size: 1rem; }
  .cookie-modal { padding: 20px 10px; min-width: 0; }
}

/* =========================
   Miscellaneous Elements
   ========================= */
.map-placeholder {
  background: #E0EAF1;
  border-radius: 8px;
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
}
.map-placeholder p {
  color: #6B7B8D;
  font-size: 1em;
  margin-top: 8px;
}

/* =========================
   Animations & Microinteractions
   ========================= */
.cta, .cta.primary, .cta.secondary, button, .cookie-banner button, .cookie-modal button {
  transition: background 0.18s, color 0.16s, transform 0.16s;
}
.cta.primary:active,
.cta.secondary:active,
button:active {
  transform: scale(0.97);
}

/* Subtle card lift on hover handled above */

/* =========================
   Miscellaneous
   ========================= */
::-webkit-input-placeholder { color: #888; }
::-moz-placeholder { color: #888; }
:-ms-input-placeholder { color: #888; }
::placeholder { color: #888; }

a:focus { outline: 2px solid #FDBB2B; outline-offset: 1px; }
button:focus { outline: 2px solid #FDBB2B; }


/* =========================
   Z-Index Handling
   ========================= */
header, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-bg {
  z-index: 1000;
}
.cookie-banner { z-index: 4000; }
.cookie-modal, .cookie-modal-bg { z-index: 4200; }

/* =========================
   Print
   ========================= */
@media print {
  header, nav, footer, .cookie-banner {
    display: none !important;
  }
}
