/* --- 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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}
*,*:before,*:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  width: 100%;
  background: #fff;
  color: #222;
  line-height: 1.6;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: #285887;
  transition: color 0.18s;
}
a:hover,a:focus {
  color: #F7A600;
  outline: none;
}
ul,ol {
  list-style: none;
}


/* --- Typography --- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #285887;
  margin-bottom: 0.5em;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p,li {
  font-size: 1rem;
  color: #222;
  margin-bottom: 0.75em;
}

/* --- Brand Color Variables --- */
:root {
  --color-primary: #285887;
  --color-secondary: #F7A600;
  --color-accent: #FFFFFF;
  --color-bg: #FFFFFF;
  --color-bg-section: #F7F9FB;
  --color-card-bg: #FFFFFF;
  --color-border: #EAEAEA;
  --color-placeholder: #BCC7D1;
  --color-shadow: 0 1.5px 12px rgba(40, 88, 135, 0.06);
  --radius: 14px;
}


/* --- Layouts & Container --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* --- Section Spacing (MANDATORY) --- */
.section,
.hero,
.features,
.about-short,
.about,
.services,
.services-teaser,
.sustainability-teaser,
.contact-short,
.contact-info,
.contact-form,
.map-section,
.testimonials,
.benefits,
.cta-service,
.cta-news,
.cta-green,
.news-feed,
.values,
.initiatives,
.confirmation,
.legal-section,
.team {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: var(--radius);
  box-shadow: var(--color-shadow);
  position: relative;
}

.hero {
  background: var(--color-accent);
  box-shadow: none;
}
.section:last-child,
.hero:last-child {
  margin-bottom: 0;
}

/* --- Card-Like Containers --- */
.card-container, .feature-grid, .team-profiles, .news-list, .service-card-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card, .service-card, .feature-item, .testimonial-card, .news-item, .profile-brief {
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--color-shadow);
  margin-bottom: 20px;
  padding: 24px 20px;
}
.card:last-child, .service-card:last-child, .feature-item:last-child, .testimonial-card:last-child, .news-item:last-child, .profile-brief:last-child {
  margin-bottom: 0;
}

/* --- Flex Patterns --- */
.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;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFF;
  box-shadow: 0 6px 32px rgba(40,88,135,0.06);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--color-shadow);
}

@media (min-width: 700px) {
  .feature-grid {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }
  .feature-item {
    flex: 1 1 200px;
    min-width: 200px;
    max-width: 260px;
  }
}

.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.profile-brief {
  flex: 1 1 220px;
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--color-shadow);
  padding: 20px 16px;
  color: #222;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 2 1 360px;
}
.news-item {
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--color-shadow);
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* --- Responsive Stack --- */
@media (max-width: 800px) {
  .feature-grid, .card-container, .team-profiles, .news-list {
    flex-direction: column;
  }
}


/* --- Header & Navigation --- */
header {
  width: 100%;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 16px rgba(40,88,135,0.06);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 18px;
  min-height: 70px;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex: 1 1 auto;
  margin-left: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #285887;
  padding: 6px 4px;
  border-radius: 3px;
  transition: background 0.14s, color 0.13s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--color-secondary);
  color: #fff;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #285887;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.17s, transform 0.18s;
  box-shadow: 0 4px 18px rgba(40,88,135,0.10);
}
.cta-btn:hover, .cta-btn:focus {
  background: #F7A600;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  outline: none;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
}


/* --- Mobile Menu ---- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #285887;
  border: none;
  font-size: 2.1rem;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  box-shadow: 0 1.5px 8px rgba(40,88,135, 0.06);
  margin-left: 12px;
  z-index: 99;
  transition: background .18s, color .17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F7A600;
  color: #fff;
  outline: none;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(40, 88, 135, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform .37s cubic-bezier(0.77,0,0.175,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 10px 17px 0 0;
  align-self: flex-end;
  cursor: pointer;
  margin-top: 24px;
  margin-right: 8px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  padding: 48px 32px 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 2px;
  width: 100%;
  transition: color 0.13s, background 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F7A600;
  background: rgba(247,166,0,0.11);
  outline: none;
}
@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 600px) {
  .mobile-menu {
    padding: 0;
  }
  .mobile-nav {
    padding-left: 15px;
    padding-right: 15px;
  }
}


/* --- Footer --- */
footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #EAEAEA;
  padding: 24px 0 6px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1rem;
}
.footer-nav a {
  color: #285887;
  opacity: 0.9;
  transition: color 0.13s, opacity 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F7A600;
  opacity: 1;
}
.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #818181;
  font-size: 0.93rem;
  text-align: center;
}
.footer-social-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin: 6px 0;
}
.footer-social-icons img {
  width: 28px;
  height: 28px;
  display: block;
  filter: grayscale(0.4) brightness(1) opacity(0.7);
  transition: filter 0.17s;
  border-radius: 50%;
}
.footer-social-icons img:hover, .footer-social-icons img:focus {
  filter: grayscale(0) brightness(1.07) opacity(1);
}

/* --- Buttons & Links --- */
button, .cta-btn {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
}
button:disabled, .cta-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}
a {
  transition: color 0.18s;
}
a:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* --- Lists --- */
ul {
  padding-left: 24px;
  margin-bottom: 16px;
}
ul li {
  position: relative;
  margin-bottom: 10px;
  color: #234166;
  font-size: 1rem;
  padding-left: 18px;
}
ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F7A600;
  position: absolute;
  top: 10px;
  left: 0;
}

@media (max-width: 700px) {
  ul {
    padding-left: 14px;
  }
  ul li {
    padding-left: 12px;
  }
}

/* --- Section & Card - White Variant for Testimonials --- */
.testimonials {
  background: #fff;
  box-shadow: var(--color-shadow);
  border-radius: var(--radius);
}
.testimonial-card {
  background: #FFF;
  color: #222;
  border-left: 3px solid #F7A600;
  box-shadow: 0 4px 20px rgba(40,88,135,0.07);
  font-size: 1.1rem;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 48px rgba(40,88,135,0.11);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card span {
  color: #818181;
  font-size: 1rem;
  margin-left: 10px;
}

/* --- Highlighted Info and Promo Blocks --- */
.promotions, .local-events, .usp-highlights {
  background: #F7F9FB;
  color: #285887;
  border-left: 3px solid #F7A600;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 1.07rem;
  box-shadow: 0 2px 12px rgba(40,88,135,.04);
}

/* --- Timeline & Other Content Elements --- */
.timeline {
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.timeline div {
  color: #234166;
  background: #F7F9FB;
  border-radius: 8px;
  padding: 5px 16px;
  font-size: 1.02rem;
  border-left: 3px solid #285887;
}

/* --- Hero Section Specific --- */
.hero {
  padding: 64px 20px 48px 20px;
  background: #fff;
  text-align: left;
  min-height: 340px;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  color: #285887;
  font-size: 2.1rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.hero p {
  font-size: 1.1rem;
  color: #234166;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .hero {
    padding: 92px 36px 68px 36px;
    min-height: 420px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}

/* --- Special for Cookie Consent Banner --- */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100%;
  background: #fff;
  color: #234166;
  box-shadow: 0 -2px 32px rgba(40,88,135,0.08);
  z-index: 9999;
  padding: 26px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  font-size: 1rem;
  border-top: 1px solid #ECECEC;
  animation: fadeInUp 0.53s cubic-bezier(0.31,0.73,0.47,1.26);
}
.cookie-consent-banner .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 7px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  cursor: pointer;
  background: #285887;
  color: #fff;
  transition: background 0.18s, color 0.17s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(40,88,135,.14);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #F7A600;
  color: #fff;
}
.cookie-btn.secondary {
  background: #FFFFFF;
  color: #285887;
  border: 1.6px solid #285887;
  box-shadow: none;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #285887;
  color: #fff;
}
.cookie-btn.settings {
  background: #F7A600;
  color: #fff;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #285887;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    font-size: 0.98rem;
    padding: 18px 6px 12px 6px;
  }
  .cookie-consent-banner .btn-group {
    gap: 10px;
  }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(48px); }
  100% { opacity: 1; transform: none; }
}

/* --- Cookie Preferences Modal --- */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,88,135,0.20);
  z-index: 10000;
  backdrop-filter: blur(1px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: background .12s;
  opacity: 1;
  animation: fadeInUp .39s cubic-bezier(0.31,0.73,0.47,1.26);
}
.cookie-modal.hidden {pointer-events: none; opacity: 0;}
.cookie-modal-content {
  background: #fff;
  color: #234166;
  border-radius: 18px;
  box-shadow: 0 4px 48px rgba(40,88,135,.18);
  padding: 38px 28px 28px 28px;
  min-width: 320px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.cookie-modal-content h2 {
  color: #285887;
  margin-bottom: 10px;
  font-size: 1.32rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 1.04rem;
}
.cookie-category label {
  font-weight: 500;
  color: #285887;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #EEE;
  position: relative;
  outline: none;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-toggle:checked {
  background: #285887;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.17s;
}
.cookie-toggle:checked:before {
  transform: translateX(20px);
}
.cookie-modal-close {
  position: absolute;
  top: 15px; right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #285887;
  cursor: pointer;
  padding: 2px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

@media (max-width: 480px) {
  .cookie-modal-content {
    padding: 22px 7px 18px 7px;
    min-width: 0;
    max-width: 99vw;
  }
}


/* --- Forms & Misc --- */
input, select, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 1px solid #EAEAEA;
  padding: 12px 16px;
  width: 100%;
  margin-bottom: 16px;
  background: #fff;
  color: #222;
  transition: border 0.14s;
}
input:focus, select:focus, textarea:focus {
  border-color: #285887;
  outline: none;
}

::-webkit-input-placeholder {color: #BCC7D1;opacity:1;}
::-moz-placeholder {color: #BCC7D1;opacity:1;}
:-ms-input-placeholder {color: #BCC7D1;opacity:1;}
::placeholder {color: #BCC7D1;opacity:1;}


/* --- Legal Sections & Confirmation --- */
.legal-section {
  background: #fff;
  box-shadow: var(--color-shadow);
  border-radius: var(--radius);
}
.confirmation {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 3px 20px rgba(40,88,135,0.08);
  text-align: center;
  padding: 48px 20px;
}


/* --- Utility & Breakpoints --- */
@media (max-width: 700px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  .section,
  .hero,
  .features,
  .about-short,
  .about,
  .services,
  .services-teaser,
  .sustainability-teaser,
  .contact-short,
  .contact-info,
  .contact-form,
  .map-section,
  .testimonials,
  .benefits,
  .cta-service,
  .cta-news,
  .cta-green,
  .news-feed,
  .values,
  .initiatives,
  .confirmation,
  .legal-section,
  .team { padding: 26px 7px; }
  .container { padding: 0 5px; }
}

@media (max-width: 768px) {
  .container {
    padding: 0 7px;
  }
}

/* --- Animations & Micro-interactions --- */
.card, .service-card, .feature-item, .testimonial-card, .news-item, .profile-brief, .usp-highlights {
  transition: box-shadow 0.15s, transform 0.18s;
}
.card:hover, .service-card:hover, .feature-item:hover, .news-item:hover, .profile-brief:hover {
  box-shadow: 0 8px 32px rgba(40, 88, 135, 0.13);
  transform: translateY(-2px) scale(1.01);
}

/* --- Special: Hide mobile menu & cookie modal via JS classes --- */
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: flex;
}
.cookie-modal.hidden {
  display: none;
}

/* ---- Accessibility Enhancements ---- */
:focus-visible {
  outline: 2px solid #F7A600;
  outline-offset: 2px;
}

/* --- Miscellaneous --- */
::-webkit-scrollbar { width: 12px; background: #F7F9FB; }
::-webkit-scrollbar-thumb { background: #EAEAEA; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #F7A600; }

/* --- End --- */
