/* ===== 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #22495C;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img, picture, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #22495C;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F7C948;
  outline: none;
}
ul, ol {
  list-style-position: inside;
}
strong, b {
  font-weight: 800;
}
/* ===== BRAND FONTS ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');


/* ===== GENERAL TYPOGRAPHY ===== */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  color: #22495C;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #22495C;
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #22495C;
  margin-bottom: 14px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #22495C;
  margin-bottom: 10px;
}
p, ul, ol, dl, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #22495C;
}
p:last-child {
  margin-bottom: 0;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #22495C;
  background: #F7C94811;
  border-left: 6px solid #F7C948;
  margin-bottom: 12px;
  padding: 16px 26px 16px 18px;
  border-radius: 8px;
}
dl {
  margin-bottom: 20px;
}
dt {
  font-weight: 700;
  margin-top: 10px;
}
dd {
  margin-bottom: 14px;
  margin-left: 18px;
}
small {
  font-size: 0.87rem;
  color: #1a3550;
}
address {
  font-style: normal;
}

/* ===== CONTAINER & LAYOUTS ===== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 2px 12px 0 #22495C10;
  transition: box-shadow 0.25s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 20px 0 #22495C36;
  transform: translateY(-3px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #E1ECF4;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 #22495C19;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 30px 0 #22495C29;
  outline: none;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Vorteil-Grid (index) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.feature-grid li {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px 0 #22495C11;
  padding: 30px 22px 22px 22px;
  flex: 1 1 240px;
  min-width: 210px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.feature-grid li:hover {
  box-shadow: 0 6px 24px 0 #F7C94838;
  transform: translateY(-2px) scale(1.02);
}
.feature-grid img {
  width: 46px;
  height: 46px;
  background: #E1ECF4;
  border-radius: 50%;
  padding: 5px;
  margin-bottom: 10px;
}

/* ===== HEADER ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 18px 20px 18px;
  max-width: 1080px;
  margin: 0 auto 18px auto;
  position: relative;
}
header img[alt="SonnenGlanz Dortmund"] {
  width: 162px;
  height: auto;
  margin-right: 40px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #22495C;
  background: transparent;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #F7C948;
  color: #22495C;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  border: none;
  padding: 11px 28px;
  border-radius: 34px;
  background: #F7C948;
  color: #22495C;
  margin-left: 32px;
  box-shadow: 0 2px 8px #F7C94840;
  cursor: pointer;
  transition: background 0.17s, transform 0.13s, box-shadow 0.15s;
  display: inline-block;
  letter-spacing: 0.01em;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: #22495C;
  color: #fff;
  transform:scale(1.035);
  box-shadow: 0 7px 14px #F7C94848;
  outline: none;
}

/* ===== FOOTER ===== */
footer {
  margin-top: 60px;
  padding: 40px 22px 24px 22px;
  background: #22495C;
  color: #fff;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  box-shadow: 0 -2px 28px 0 #22495C25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
footer img[alt="SonnenGlanz Dortmund"] {
  width: 114px;
  margin-bottom: 8px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom:8px;
}
footer nav a {
  color: #F7C948;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.15s;
  padding: 2px 8px;
  border-radius: 7px;
}
footer nav a:hover, footer nav a:focus {
  color: #ffffff;
  background: #F7C94822;
}
footer address,
footer p,
footer a {
  color: #E1ECF4;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  text-align: center;
}
footer a:hover, footer a:focus {
  text-decoration: underline;
}

/* ===== HERO SECTION ===== */
section:first-of-type {
  background: #E1ECF4;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 2px 18px #22495C13;
  margin-bottom: 60px;
  min-height: 260px;
  display: flex;
  align-items: center;
}
section:first-of-type h1 {
  font-size: 2.8rem;
  color: #22495C;
}
section:first-of-type .cta-btn {
  margin-top: 12px;
}

/* ===== LISTS & SUMMARY CARDS ===== */
ul, ol {
  margin-bottom: 20px;
  padding-left: 0;
}
ul > li, ol > li {
  margin-bottom: 9px;
  line-height: 1.55;
}
.text-section ul, .text-section ol {
  margin-bottom: 10px;
}
.text-section ul li {
  padding-left: 0.3em;
}

/* ===== MAP SNIPPET ===== */
.map-snippet {
  border: 2px solid #F7C948;
  border-radius: 12px;
  padding: 16px 20px;
  background: #fff7e0;
  color: #22495C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  margin: 18px 0;
}

/* ===== MOBILE MENU (BURGER) ===== */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 1300;
  font-size: 2rem;
  background: transparent;
  border: none;
  color: #22495C;
  cursor: pointer;
  margin-left: 18px;
  padding: 3px 12px 3px 3px;
  border-radius: 50%;
  transition: background 0.13s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F7C94855;
  color: #22495C;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #22495C;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.86,0,.07,1);
  box-shadow: -2px 0 35px #22495C88;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px 28px 24px;
  opacity: 0.96;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #F7C948;
  border: none;
  align-self: flex-end;
  font-size: 2.1rem;
  margin-bottom: 32px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFF;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  padding: 12px 0 12px 6px;
  border-radius: 7px;
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7C948;
  color: #22495C;
}

/* ===== COOKIE CONSENT ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #22495C;
  color: #fff;
  z-index: 1400;
  padding: 24px 14px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 -4px 34px #22495C33;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  align-items: center;
  animation: banner-in 0.7s cubic-bezier(.62,.2,.18,1.03) both;
}
@keyframes banner-in {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 19px;
  padding: 9px 22px;
  font-size: 1.02rem;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  background: #F7C948;
  color: #22495C;
  box-shadow: 0 2px 6px #F7C94830;
}
.cookie-btn.cookie-decline {
  background: #E1ECF4;
  color: #22495C;
}
.cookie-btn.cookie-settings {
  background: #22495C;
  color: #F7C948;
  border: 1px solid #F7C948;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #22495C;
  outline: 2px solid #F7C948;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #fff;
  color: #22495C;
  border-radius: 20px;
  box-shadow: 0 6px 48px #22495C36;
  z-index: 1450;
  padding: 38px 32px 25px 32px;
  max-width: 95vw;
  width: 440px;
  opacity: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: cookie-modal-in 0.53s cubic-bezier(.62,.2,.18,1.04) both;
}
@keyframes cookie-modal-in {
  from { opacity:0; transform: translate(-50%,-35%) scale(.8);} 
  to   { opacity:1; transform: translate(-50%,-50%) scale(1);}
}
.cookie-modal .modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 26px; top: 18px;
  font-size: 1.8rem;
  background: transparent;
  border: none;
  color: #22495C;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #F7C948;
}
.cookie-preferences-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 5px;
}
.cookie-pref-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.05rem;
}
.cookie-pref-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 16px;
  background: #E1ECF4;
  margin-right: 8px;
  position: relative;
  outline: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-pref-toggle:checked {
  background: #F7C948;
}
.cookie-pref-toggle:before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #22495C;
  transform: translateX(0);
  transition: transform 0.15s;
}
.cookie-pref-toggle:checked:before {
  transform: translateX(18px);
  background: #22495C;
}
.cookie-pref-label {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-pref-essential {
  color: #22495C;
  font-weight: 900;
}

/* ===== BUTTONS & LINKS ===== */
button {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}
button:focus {
  outline: 2px solid #F7C948;
  outline-offset: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1060px) {
  header, .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width:900px) {
  header nav {
    gap: 16px;
  }
  .feature-grid {
    gap: 16px;
  }
}
@media (max-width: 788px) {
  .container {
    max-width: 100vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }
  header {
    padding: 22px 7vw 17px 7vw;
  }
  section {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .feature-grid li {
    min-width: 160px;
    padding: 20px 10px 14px 10px;
    max-width: 100%;
  }
  .testimonial-card {
    padding: 14px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
  }
  .feature-grid li {
    width: auto;
  }
}
@media (max-width: 780px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}
@media (max-width: 700px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .section {
    margin-bottom: 38px;
    padding-top: 25px;
    padding-bottom: 25px;
  }
}
@media (max-width: 680px) {
  body {
    font-size: 15px;
  }
  h1, .h1 { font-size: 2.15rem; }
  h2, .h2 { font-size: 1.45rem; }
  h3, .h3 { font-size: 1.1rem; }
}
@media (max-width: 560px) {
  .container, header {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  section {
    padding: 16px 0 8px 0;
  }
  .section {
    padding: 13px 0 13px 0;
  }
  .feature-grid {
    gap: 10px;
  }
  footer {
    padding: 30px 2vw 19px 2vw;
    border-top-left-radius:22px;
    border-top-right-radius:22px;
  }
  .cookie-modal {
    padding: 24px 6vw 23px 6vw;
    border-radius: 14px;
    width: 98vw;
  }
}

/* HIDE DESKTOP NAV ON MOBILE, SHOW BURGER */
@media (max-width: 900px) {
  header nav { display: none; }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-btn {
    margin-left: 0;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid #F7C948;
  outline-offset: 3px;
  z-index: 1100;
}

/* ===== MISCELLANEOUS ===== */
hr {
  border: 0;
  border-top: 2px solid #E1ECF4;
  margin: 24px 0;
}

/* ==== OVERRIDES FOR HIGH CONTRAST - TESTIMONIALS ===== */
.testimonial-card,
.testimonial-card blockquote,
.testimonial-card strong,
.testimonial-card p {
  color: #22495C !important;
  background: none;
}

/* ===== GEOMETRIC ACCENTS (if needed) ===== */
.geometric-shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
}

/***** END OF MAIN STYLE.CSS *****/
