/* ===================================
   CSS RESET & BASIC 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F6F5F2;
  color: #1A1A1A;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}
ul, ol {
  list-style-position: inside;
  margin-left: 1.2em;
}
a {
  color: #15638B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E78C13;
  outline: none;
}
strong, b {
  font-weight: 700;
}

/* ===================================
   BRAND & TYPOGRAPHY
   =================================== */
:root {
  --color-primary: #15638B;
  --color-secondary-bg: #F6F5F2;
  --color-dark: #1A1A1A;
  --color-accent: #E78C13;
  --color-muted: #7689A4;
  --color-card-bg: #fff;
  --color-border: #DEE4ED;
  --color-shadow: rgba(21,99,139,0.07);
  --header-height: 80px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-dark);
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.7;
  font-family: 'Roboto', Arial, sans-serif;
}
.subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-bottom: 18px;
}
.text-section h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin: 18px 0 6px 0;
}

/* ===================================
   LAYOUT & RESPONSIVE CONTAINERS
   =================================== */
.container {
  max-width: 1200px;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
  background: var(--color-card-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 6px var(--color-shadow);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  min-height: var(--header-height);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-dark);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.2s cubic-bezier(.4,0,.2,1);
  position: absolute;
  left: 0;
  bottom: -4px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-primary);
}
.cta-btn {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 28px;
  font-size: 1rem;
  box-shadow: 0 2px 18px 0 var(--color-shadow);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.2s;
  display: inline-block;
  margin-left: 18px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-accent);
  color: var(--color-card-bg);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 22px 0 rgba(231, 140, 19, 0.10);
}

/* Hamburger Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  margin-left: 14px;
  z-index: 60;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: #fff;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(21,99,139,0.96);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 0 0 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0%);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  margin: 24px 28px 8px 0;
  align-self: flex-end;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: center;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  padding: 12px 0;
  transition: color 0.18s;
  width: 100%;
  text-align: center;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-accent);
  background: rgba(255,255,255,0.07);
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: auto;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1001px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  background: linear-gradient(90deg, #F6F5F2 75%, #D6E4F3 100%);
  border-bottom: 1px solid var(--color-border);
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.hero .subtitle {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .hero {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .hero .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding-top: 20px; padding-bottom: 20px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* ===================================
   FEATURE GRID & CARDS
   =================================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-item {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 26px 22px 26px;
  min-width: 250px;
  max-width: 330px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 12px 0 var(--color-shadow);
  transition: border 0.16s, box-shadow 0.18s, transform 0.14s;
  position: relative;
  margin-bottom: 20px;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 9px;
}
.feature-item h3 {
  color: var(--color-primary);
}
.feature-item:hover, .feature-item:focus-within {
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 6px 28px 0 rgba(21,99,139,0.14);
  transform: translateY(-3px) scale(1.01);
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-item {
    min-width: 170px;
    max-width: 90vw;
    padding: 18px 12px 12px 12px;
  }
  .feature-item img {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 10px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  transition: box-shadow 0.18s, border 0.16s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px 0 rgba(21,99,139,0.13);
  border: 1.5px solid var(--color-primary);
  transform: translateY(-3px) scale(1.01);
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 var(--color-shadow);
  flex: 1 1 320px;
  min-width: 230px;
  max-width: 350px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card p {
  color: #1A1A1A;
  font-style: italic;
  font-size: 1.06rem;
  margin-bottom: 10px;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 700;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 20px 0 rgba(21,99,139,0.12);
  transform: translateY(-3px) scale(1.01);
}
@media (max-width: 900px) {
  .testimonials {
    gap: 12px;
  }
  .testimonial-card {
    min-width: 170px;
    max-width: 98vw;
    padding: 14px 7px;
    font-size: 0.96rem;
  }
}
@media (max-width: 600px) {
  .testimonials {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 10px;
  }
}

/* ===================================
   TEXT/IMAGE & CTA SECTIONS
   =================================== */
.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;
    gap: 18px;
  }
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 20px 0;
}
.text-section ul, .text-section ol {
  margin-bottom: 12px;
}
.text-section a.cta-btn {
  margin-top: 14px;
  width: fit-content;
}

/* Content grid for 2-3 column text/feature layouts */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 700px) {
  .content-grid {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: #F6F5F2;
  border-top: 1px solid var(--color-border);
  padding: 38px 0 16px 0;
  font-size: 1rem;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
  margin-top: 8px;
}
.footer-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 400;
  padding-top: 2px;
  padding-bottom: 2px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  font-size: 0.98rem;
  color: var(--color-dark);
  margin-top: 12px;
}
footer img {
  width: 54px;
  height: auto;
  margin-right: 10px;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 18px;
    margin-top: 3px;
  }
}

/* ===================================
   COOKIE CONSENT BANNER & MODAL
   =================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 1200;
  background: #fff;
  border-top: 1.5px solid var(--color-border);
  box-shadow: 0 -2px 16px 0 rgba(21,99,139,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.4,0,.2,1);
}
.cookie-banner * {
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner button {
  margin-left: 10px;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border: none;
  border-radius: 20px;
  font-weight: 500;
  padding: 7px 20px;
  font-size: 1rem;
  margin: 0 0 0 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s;
}
.cookie-accept {
  background: var(--color-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--color-accent);
  color: white;
}
.cookie-reject {
  background: #fff;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-muted);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-settings {
  background: #fff;
  border: 1.5px solid var(--color-muted);
  color: var(--color-muted);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 8px;
    font-size: 0.99rem;
  }
  .cookie-buttons {
    gap: 8px;
  }
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(21,99,139,0.44);
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  padding: 34px 26px 20px 26px;
  border-radius: 12px;
  box-shadow: 0 6px 32px 0 rgba(21,99,139,0.18);
  min-width: 320px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-accent);
}

.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
.cookie-pref-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}
.cookie-switch {
  margin-left: auto;
  padding-left: 18px;
}
.cookie-switch input[type="checkbox"] {
  width: 36px;
  height: 18px;
  background: #DEE4ED;
  border-radius: 12px;
  appearance: none;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.18s;
  box-shadow: inset 0 1px 4px 0 rgba(21,99,139,0.10);
}
.cookie-switch input[type="checkbox"]:checked {
  background: var(--color-accent);
}
.cookie-switch input[type="checkbox"]:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px; top: 2.5px;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1.5px 4px rgba(21,99,139,0.13);
  transition: left 0.18s;
}
.cookie-switch input[type="checkbox"]:checked:before {
  left: 19px;
  background: #fff;
}

@media (max-width: 500px) {
  .cookie-modal-content {
    min-width: 90vw;
    padding: 20px 5vw;
  }
}

/* ===================================
   MOBILE SUPPORT & FLEXBOX COLUMN
   =================================== */
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  .content-wrapper {
    gap: 16px;
  }
  .section {
    gap: 12px;
    margin-bottom: 36px;
  }
  .footer-nav {
    gap: 9px;
  }
}

/* ===================================
   FORMS (Kontaktformular etc.)
   =================================== */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  background: #FCFCFC;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border 0.16s, background 0.16s;
  color: var(--color-dark);
  box-sizing: border-box;
}
input:focus, textarea:focus {
  border: 1.7px solid var(--color-primary);
  background: #fff;
  outline: none;
}
button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 22px;
  box-shadow: 0 1px 6px rgba(21,99,139,0.10);
  transition: background 0.18s, color 0.18s;
}
button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus {
  background: var(--color-accent);
  color: #fff;
}

/* ===================================
   UTILITIES
   =================================== */
.nowrap { white-space: nowrap; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-col { flex-direction: column; }
.gap-20 { gap: 20px; }
.rounded { border-radius: 999px; }
.text-center { text-align: center; }

/* For visually hidden accessibility text */
.sr-only {
  border: 0!important;
  clip: rect(1px,1px,1px,1px)!important;
  -webkit-clip-path: inset(50%)!important;
  clip-path: inset(50%)!important;
  height: 1px!important;
  margin: -1px!important;
  overflow: hidden!important;
  padding: 0!important;
  position: absolute!important;
  width: 1px!important;
  white-space: nowrap!important;
}

/* ===================================
   SCROLLBAR STYLES
   =================================== */
body::-webkit-scrollbar {
  width: 9px;
  background: #E6EAEF;
}
body::-webkit-scrollbar-thumb {
  background: #C5CDD6;
  border-radius: 6px;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero, .section, .feature-item, .testimonial-card, .card {
  animation: slideInUp 0.6s cubic-bezier(.4,0,.2,1) backwards;
}

/* =========================================
   ACCESSIBILITY FOCUS STATES (AA compliant)
   ========================================= */
a, button, .cta-btn, .cookie-btn, input, textarea {
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.15s;
}
a:focus-visible, button:focus-visible, .cta-btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ====================================
   MISC & LAST TWEAKS
   ==================================== */
hr {
  border: none;
  border-bottom: 1px solid var(--color-border);
  margin: 24px 0;
}
blockquote {
  border-left: 3.5px solid var(--color-primary);
  padding-left: 18px;
  color: var(--color-muted);
  margin: 14px 0 14px 0;
  font-style: italic;
}

::-webkit-input-placeholder { color: #9099A5; }
::-moz-placeholder { color: #9099A5; }
:-ms-input-placeholder { color: #9099A5; }
::placeholder { color: #9099A5; }

/* =========================================
   ENSURE NO GRID/COLUMN LAYOUTS ARE USED!
   ========================================= */
/* All containers - only flex! No display:grid! */
/* (Verified: No use of display: grid or column properties) */