/* === CSS RESET & BASE === */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #174378;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
ul, ol {
  padding-left: 1.6em;
  margin-bottom: 1em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #174378;
  line-height: 1.2;
}
h1 {font-size: 2.5rem; color: #F5B034; text-shadow: 2px 2px 0 #E2EAF3, 0 8px 24px #17437833; margin-bottom: 24px; letter-spacing: 0.03em;}
h2 {font-size: 2rem; color: #174378; margin-bottom: 18px;}
h3 {font-size: 1.25rem; color: #F5B034;}
h4, h5, h6 {font-size: 1.05rem;}
p {
  margin-bottom: 16px;
  font-size: 1rem;
}
a {
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F5B034;
}
img {
  max-width: 100%;
  border-radius: 10px;
}
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* === HEADER & NAVIGATION === */
header {
  background: #174378;
  box-shadow: 0 2px 12px #17437818;
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav img {
  max-height: 48px;
  margin-right: 28px;
}
nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
}
nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
nav ul li a:hover, nav ul li a:focus {
  background: #E2EAF3;
  color: #174378;
}
nav .cta.primary {
  margin-left: 32px;
}

.mobile-menu-toggle {
  display: none;
  background: #F5B034;
  color: #174378;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 6px #17437840;
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: #ffeac5;
}

/* === MOBILE NAVIGATION === */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: -4px 0 24px #17437830;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 28px 10px 0;
  font-size: 2.2rem;
  background: #174378;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px; height: 46px;
  cursor: pointer;
  box-shadow: 0 2px 8px #17437828;
  transition: background 0.2s;
  z-index: 10001;
}
.mobile-menu-close:hover {
  background: #F5B034;
  color: #174378;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin: 32px 0 0 40px;
  z-index: 11;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.35rem;
  color: #174378;
  padding: 9px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  font-weight: 700;
  letter-spacing: 0.03em;

}
.mobile-nav a:hover {
  background: #E2EAF3;
  color: #F5B034;
}

@media (max-width: 1024px) {
  nav ul { gap: 10px; }
  nav .cta.primary { margin-left: 14px; }
}
@media (max-width: 900px) {
  nav ul, nav .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === BUTTONS & CTA's === */
.cta {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 18px;
  padding: 13px 35px;
  font-size: 1.2rem;
  margin: 14px 0 0 0;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 2px 8px #17437827;
  transition: background 0.18s, color 0.15s, box-shadow 0.17s, transform 0.15s;
  text-align: center;
  display: inline-block;
  outline: none;
}
.cta.primary {
  background: #F5B034;
  color: #174378;
  box-shadow: 0 6px 28px #f5b03425;
}
.cta.primary:hover, .cta.primary:focus {
  background: #174378;
  color: #fff;
  box-shadow: 0 6px 28px #17437814;
}
.cta.secondary {
  background: #174378;
  color: #fff;
  border: 2.5px solid #F5B034;
  box-shadow: 0 4px 14px #17437818;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F5B034;
  color: #174378;
  border-color: #174378;
}

/* === FLEXBOX SECTIONS & SPACING === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px #17437818;
  position: relative;
  padding: 32px;
  min-width: 280px;
  flex: 1 1 280px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 16px 48px #17437830;
  transform: translateY(-6px) scale(1.015);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #E2EAF3;
  color: #174378;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 22px #17437815;
  min-width: 260px;
  flex: 1 1 260px;
  font-size: 1.05rem;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #174378;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
  line-height: 1.4;
}
.testimonial-card span {
  color: #23456d;
  font-size: 0.97rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === FEATURE GRID SPECIAL === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 18px;
}
.feature-grid > div {
  background: #E2EAF3;
  border-radius: 16px;
  box-shadow: 0 2px 18px #17437812;
  padding: 24px 20px 20px 24px;
  flex: 1 1 210px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.15s, transform 0.15s;
  margin-bottom: 14px;
}
.feature-grid > div:hover {
  mix-blend-mode: multiply;
  box-shadow: 0 8px 32px #1743782f;
  transform: scale(1.025) rotate(-1.5deg);
}
.feature-grid img {
  height: 40px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px #F5B03444);
}
.feature-grid h3 {
  color: #174378;
}

/* OFFER/INFO SUMMARY FLEX */
.offer-summary, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.offer-summary > div, .blog-post-list > div {
  background: #fff7e6;
  border-radius: 14px;
  box-shadow: 0 2px 12px #F5B03418;
  padding: 22px 16px;
  flex: 1 1 240px;
  min-width: 240px;
  margin-bottom: 10px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.offer-summary > div:hover, .blog-post-list > div:hover {
  background: #F5B034;
  color: #174378;
  box-shadow: 0 8px 36px #F5B03430;
  transform: translateY(-4px) scale(1.01);
}

/* BLOG CATEGORIES */
.blog-categories {
  margin: 28px 0 18px 0;
}
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-left: 0;
  list-style: none;
}
.blog-categories li {
  background: #E2EAF3;
  color: #174378;
  border-radius: 10px;
  padding: 7px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  margin-bottom: 5px;
}

/* === FOOTER === */
footer {
  background: #174378;
  color: #fff;
  font-size: 1rem;
  padding: 50px 0 24px 0;
  margin-top: 60px;
  border-radius: 38px 38px 0 0 / 14px 44px 0 0;
  box-shadow: 0 -6px 32px #17437812;
  position: relative;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.footer-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 20px;
}
footer h3 {
  color: #F5B034;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
footer ul {
  list-style: none;
  padding-left: 0;
}
footer ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 14px;
}
footer ul li img {
  height: 20px;
  margin-right: 7px;
  filter: brightness(2) drop-shadow(0 2px 4px #F5B03430);
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 13px;
}
.social-links a img {
  height: 32px;
  transition: filter 0.15s, transform 0.15s;
  filter: brightness(1.2) drop-shadow(0 2px 6px #F5B03438);
}
.social-links a:hover img { filter: brightness(1.5) drop-shadow(0 4px 14px #F5B03488); transform: scale(1.13) rotate(-5deg); }

/* === DECORATIVE ELEMENTS === */
.content-wrapper {
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  background: #fffefc;
  border-radius: 18px;
  box-shadow: 0 6px 32px #E2EAF344;
  padding: 36px 38px 32px 38px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 18px;
}

/* SPACING FOR FLEX CONTAINERS */
@media (max-width: 1200px) {
  .container { max-width: 99vw; padding: 0 12px; }
  .footer-grid, .content-grid, .feature-grid, .offer-summary, .blog-post-list { gap: 18px; }
}

@media (max-width: 900px) {
  .container, .content-wrapper { padding-left: 10px; padding-right: 10px; }
  .footer-grid, .content-grid, .feature-grid, .offer-summary, .blog-post-list { gap: 16px; }
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 24px 10px 20px 10px;
    border-radius: 14px;
  }
  .section {
    margin-bottom: 35px;
    padding: 24px 0px;
  }
  .content-grid, .footer-grid, .feature-grid, .offer-summary, .blog-post-list {
    flex-direction: column !important;
    align-items: stretch;
    gap: 16px !important;
  }
  .testimonial-slider {
    flex-direction: column !important;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 4px;
    font-size: 1rem;
  }
  .card-container { flex-direction: column; }
  .card { min-width: unset; }
}

/* FLEX HIERARCHY FOR TESTIMONIAL SLIDER */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* === UNIQUE/ARTISTIC EFFECTS === */
h1, h2, .cta, .feature-grid > div, .testimonial-card, .footer-grid > div {
  position: relative;
}
.feature-grid > div:before {
  content: '';
  position: absolute;
  right: -16px;
  top: -22px;
  width: 48px;
  height: 48px;
  background: #F5B03444;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.card:before {
  content: '';
  position: absolute;
  right: -12px; top: -16px;
  width: 38px; height: 38px;
  background: #F5B03433;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

/* === TYPOGRAPHY SCALE OVERRIDE === */
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.17rem; }
  h3 { font-size: 1rem; }
}

strong {
  color: #F5B034; font-weight: 700;
}

.text-section {
  padding: 18px 0 0 0;
}
.text-section ul {
  margin: 7px 0 5px 0;
}
.text-section h3 {
  margin-bottom: 8px;
  font-size: 1.11rem;
  color: #174378;
}

/* === LOCATION MAP BLOCK (KONTAKT) === */
.location-map {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  background: #E2EAF3;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  color: #174378;
  font-size: 1.06rem;
}
.location-map img {
  height: 30px;
  margin-right: 7px;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe7;
  color: #174378;
  box-shadow: 0 -4px 32px #17437822;
  z-index: 10000;
  padding: 32px 4vw 24px 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  border-radius: 22px 22px 0 0 / 12px 52px 0 0;
  animation: banner-in 0.7s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes banner-in {
  from { transform: translateY(140%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.cookie-banner .cta {
  padding: 8px 20px;
  font-size: 1.02rem;
  border-radius: 30px;
  margin: 0;
}
.cookie-banner .cta.primary {
  background: #F5B034;
  color: #174378;
}
.cookie-banner .cta.secondary {
  background: #174378;
  color: #fff;
  border-color: #E2EAF3;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10005;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #17437854;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fadein 0.3s ease;
}
@keyframes modal-fadein{
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffbe7;
  color: #174378;
  border-radius: 18px;
  box-shadow: 0 12px 46px #F5B03422;
  padding: 40px 30px 26px 30px;
  min-width: 320px;
  animation: modal-slidein 0.5s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes modal-slidein {
  from { transform: translateY(80px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 22px;
  color: #F5B034;
  font-size: 1.5rem;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-modal-category label {
  font-weight: 600;
  color: #174378;
  font-size: 1.11rem;
}
.cookie-toggle {
  width: 40px; height: 22px;
  border-radius: 22px;
  background: #E2EAF3;
  position: relative;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle span {
  display: block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #F5B034;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.2s, background 0.18s;
}
.cookie-toggle input[type="checkbox"]:checked + span {
  left: 20px;
  background: #174378;
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cta {
  font-size: 1.01rem;
  padding: 7px 19px;
  border-radius: 19px;
}
/* Essential cookies stay always enabled */
.cookie-modal-category.essential label { color: #aaa; }
.cookie-modal-category.essential .cookie-toggle { opacity: 0.5; pointer-events: none; }

@media (max-width: 670px) {
  .cookie-modal { min-width: unset; width: 96vw; box-sizing: border-box; padding: 30px 6vw 20px 6vw; }
}
@media (max-width: 520px) {
  .cookie-banner { font-size: 0.98rem; padding: 20px 1vw 13px 1vw; }
}

/* === MICRO-INTERACTIONS & EFFECTS === */
.cta, .mobile-menu-toggle, .cookie-banner .cta, .cookie-modal .cta {
  transition: box-shadow 0.18s, background 0.16s, color 0.15s, transform 0.13s;
}
.cta:active, .cookie-modal .cta:active, .cookie-banner .cta:active {
  transform: scale(0.97);
}

/* === ARTISTIC FONT LOADING === */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap");

/* === ADDITIONAL STYLES FOR ACCESSIBILITY & VISIBILITY === */
:focus-visible {
  outline: 3px solid #F5B034;
  outline-offset: 2px;
  z-index: 2;
}

::selection {
  background: #F5B03433;
}

/* === END OF CSS === */
