/* ---------------------------------------------------------------
   StormSottr Mobilität - Soft Pastel Responsive Flexbox CSS
   Style: Soft Pastel, Modern, Trustworthy & Dynamic
   Brand colors: #114477 (primary), #D9E2EC (secondary), #FFD230 (accent)
   Fonts: 'Montserrat', 'Roboto', sans-serif
-------------------------------------------------------------------*/
/*--- 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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  background: #FBF8F3; /* extra soft pastel background */
  color: #25304A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: #114477;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #2B77D9;
  outline: none;
}
/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
  color: #234364;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }
p, ul, ol { margin-bottom: 12px; }
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 400;
  color: #55718A;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
strong {
  font-weight: 700;
  color: #114477;
}

/* --- CONTAINER SETUPS --- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* --- SECTIONS AND LAYOUTS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: rgba(217, 226, 236, 0.22);
  border-radius: 20px;
  box-shadow: 0 4px 16px 0 rgba(114,139,157,0.07);
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 10px;
  }
}
.hero {
  background: linear-gradient(180deg, #dbeafe 0%, #fff6e9 100%);
  padding: 40px 0 36px 0;
  border-radius: 0 0 36px 36px;
  margin-bottom: 42px;
  box-shadow: 0 2px 22px 0 rgba(114,139,157,0.07);
}
.cta {
  background: linear-gradient(90deg, #ffe8bc 0%, #e8faff 100%);
  padding: 38px 0 36px 0;
  text-align: center;
  border-radius: 28px;
  margin-bottom: 48px;
  box-shadow: 0 2px 22px 0 rgba(255,230,167,0.13);
}
@media (max-width: 768px) {
  .hero, .cta {
    padding: 22px 0;
    border-radius: 0 0 22px 22px;
    margin-bottom: 24px;
  }
}

/* ---- FLEX CONTAINERS AND UTILS ---- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(150, 170, 197, 0.11);
  padding: 32px 22px;
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  flex: 1 1 290px;
  transition: box-shadow 0.2s, transform 0.22s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(28,45,86,0.19);
  transform: translateY(-5px) scale(1.018);
}
.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; gap: 18px; align-items: flex-start; }
  .content-grid { flex-direction: column; gap: 18px; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 14px 0 rgba(80, 110, 167, 0.08);
  margin-bottom: 20px;
  border-left: 6px solid #FFD230;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #25304A;
  font-size: 1rem;
}
.testimonial-card strong {
  color: #114477;
  display: block;
  margin-top: 8px;
  font-size: 1.02rem;
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(28, 45, 86, 0.15);
}
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.values ul { flex: 1; }
.values .text-section { flex: 1 1 340px; }
@media (max-width: 900px) {
  .values { flex-direction: column; gap: 20px; }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 12px;
}
.mission-list, .faq-list ul, .values ul, .text-section ul {
  list-style: none;
}
.mission-list li, .values ul li, .text-section ul li, .content-wrapper ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.04rem;
  background: rgba(217,226,236, 0.17);
  border-radius: 10px;
  padding: 10px 14px;
}
.mission-list li strong, .values ul li strong, .content-wrapper ul li strong, .text-section ul li strong {
  min-width: 100px;
  display: inline-block;
  font-weight: 600;
  color: #1D4B77;
}
@media (max-width: 600px) {
  .mission-list li, .values ul li, .text-section ul li, .content-wrapper ul li {
    flex-direction: column;
    gap: 5px;
    font-size: 0.97rem;
  }
}

/* --- NAVIGATION --- */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 14px 0 rgba(88,113,144,0.07);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  padding: 18px 0;
}
.main-nav a img {
  height: 36px;
  margin-right: 18px;
  vertical-align: middle;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #114477;
  border-radius: 8px;
  padding: 7px 14px;
  transition: background 0.22s, color 0.19s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e8faff;
  color: #183764;
}
.btn-primary {
  background: #FFD230;
  color: #114477 !important;
  font-family: 'Montserrat','Roboto',sans-serif;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 12px;
  font-size: 1.08rem;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(255,210,48,0.09);
  display: inline-block;
  transition: transform 0.17s, background 0.17s, box-shadow 0.16s;
  margin-left: 10px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffe089;
  color: #0b2d63;
  box-shadow: 0 5px 18px 0 rgba(212,174,19,0.17);
  transform: translateY(-1px) scale(1.03);
  outline: none;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #114477;
  cursor: pointer;
  margin-left: 8px;
  z-index: 1201;
}
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 28px;
    top: 18px;
    background: #FFD230;
    border-radius: 50%;
    padding: 4px 14px;
    box-shadow: 0 2px 14px 0 rgba(255,210,48,0.10);
    transition: background 0.13s;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: #FFE089;
    outline: 2px solid #114477;
  }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(217,226,236,0.97);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.66,.05,.36,1);
  z-index: 1200;
  box-shadow: 0 4px 30px 0 rgba(98, 113, 147, 0.26);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #114477;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 22px 24px 12px 0;
  cursor: pointer;
  padding: 0 7px;
  transition: color 0.14s, background 0.13s;
  border-radius: 8px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #FFD230;
  background: #1D4B77;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  padding: 0 28px;
  font-size: 1.19rem;
}
.mobile-nav a {
  color: #114477;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.1rem;
  padding: 11px 9px;
  border-radius: 7px;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD230;
  color: #163963;
}
@media (max-width: 991px) {
  header { position: relative; }
}

/* --- TABLE STYLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px 0 rgba(220,228,240,0.13);
  overflow: hidden;
}
thead {
  background: #dbeafe;
}
th, td {
  padding: 12px 15px;
  text-align: left;
  font-size: 1rem;
}
th {
  color: #184472;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 700;
  background: #D9E2EC;
  letter-spacing: 0.03em;
}
tbody tr:nth-child(even) {
  background: #F4F7FB;
}
tbody tr:nth-child(odd) {
  background: #fff;
}
td {
  color: #334460;
}

/* --- TEXT + ICONS --- */
.text-section ul li img, .values ul li img, .content-wrapper ul li img {
  height: 34px;
  width: 34px;
  margin-right: 10px;
}

/* --- FOOTER --- */
footer {
  background: #114477;
  color: #fff;
  padding: 36px 0 0 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 16px 0 rgba(17,68,119,0.09);
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.17s, border-color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFD230;
  border-bottom: 1.5px solid #FFD230;
}
.contact-footer {
  text-align: center;
  color: #E6EDF6;
  font-size: 0.97rem;
  margin-bottom: 0;
  padding-bottom: 16px;
}
.contact-footer img {
  height: 18px;
  width: 18px;
  vertical-align: middle;
  margin-bottom: 1px;
}

/* --- FORMS & INPUTS --- */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 7px;
  border: 1.7px solid #D9E2EC;
  margin-bottom: 14px;
  background: #fff;
  color: #25304A;
  transition: border 0.17s, box-shadow 0.18s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: #FFD230;
  box-shadow: 0 2px 10px 0 #ffd23019;
}

button {
  font-family: 'Montserrat','Roboto',sans-serif;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s, color 0.18s;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #FDF6E4;
  box-shadow: 0 -2px 24px 0 #FFC94722;
  border-radius: 18px 18px 0 0;
  padding: 22px 14px 22px 18px;
  z-index: 2140;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  font-size: 1.04rem;
  animation: cookiebanner-slideup 0.65s cubic-bezier(.66,.05,.36,1);
  font-family: 'Roboto', Arial, sans-serif;
}
@keyframes cookiebanner-slideup {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: 10px;
  background: #FFD230;
  color: #114477;
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  border: none;
  transition: background 0.2s, color 0.13s, box-shadow 0.18s;
  margin-right: 7px;
  box-shadow: 0 2px 8px #ffe9ad5c;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: #ffe89d;
  color: #13408c;
  outline: none;
}
.cookie-btn.secondary {
  background: #D9E2EC;
  color: #184472;
  font-weight: 500;
}
.cookie-btn.secondary:hover {
  background: #c6d3e2;
}
.cookie-btn.minimal {
  background: transparent;
  color: #185682;
  border: 1.5px solid #bfdbe7;
  font-weight: 500;
  box-shadow: none;
}
.cookie-btn.minimal:hover {
  background: #e9f9ff;
  color: #24335b;
  border-color: #114477;
}

/* --- COOKIE MODAL (POPUP) --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2151;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(34,48,80,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  animation: fadein 0.28s;
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffdf9;
  border-radius: 22px;
  padding: 30px 32px 22px 32px;
  box-shadow: 0 8px 42px 0 rgba(181, 164, 118, 0.16);
  min-width: 320px;
  max-width: 460px;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: popup 0.3s cubic-bezier(.42,.06,.62,1.06);
}
@keyframes popup {
  from { transform: scale(0.97); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  color: #1A2C55;
  font-size: 1.22rem;
  margin-bottom: 0;
}
.cookie-category {
  margin-bottom: 14px;
}
.cookie-category-label {
  display: flex;
  align-items: center;
  font-size: 1.07rem;
  color: #244272;
  gap: 12px;
}
.cookie-toggle {
  margin-left: auto;
  width: 44px;
  height: 24px;
  background: #e6edf7;
  border-radius: 14px;
  transition: background 0.13s;
  position: relative;
  cursor: pointer;
  border: 2px solid #bdd7e7;
}
.cookie-toggle[aria-checked="true"] {
  background: #FFD230;
  border-color: #FFD230;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px #d9e5f088;
  transition: left 0.13s;
}
.cookie-toggle[aria-checked="true"]::after {
  left: 21px;
  background: #ffe29d;
}
.cookie-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 3px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px; right: 15px;
  border: none;
  background: transparent;
  color: #184472;
  font-size: 1.7rem;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #FFD230;
  color: #fff;
  outline: none;
}

/* --- FAQ & ACCORDION STYLES --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-list .text-section h3 {
  margin-bottom: 5px;
  color: #114477;
  font-size: 1.17rem;
  font-family: 'Montserrat', 'Roboto',sans-serif;
  font-weight: 600;
}
.faq-list .text-section p {
  margin-bottom: 15px;
}

/* --- THANK YOU PAGE --- */
.text-section a.btn-primary {
  margin-top: 18px;
  margin-left: 0;
}
.text-section a {
  color: #114477;
  text-decoration: underline;
}

/* --- MISC UTILS & EFFECTS --- */
::-webkit-scrollbar {
  width: 12px; background: #f3f6f9;
}
::-webkit-scrollbar-thumb {
  background: #D9E2EC;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b4c7db;
}
hr {
  border: none;
  height: 1px;
  background: #D9E2EC;
  margin: 36px 0;
}

/* --- RESPONSIVE ADJUSTMENTS (MOBILE FIRST) --- */
@media (max-width: 991px) {
  .container { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .btn-primary { font-size: 1rem; padding: 9px 17px; }
  .testimonial-card { font-size: 0.97rem; }
}
@media (max-width: 600px) {
  .container { padding-left: 6px; padding-right: 6px; }
  .card { min-width: 90vw; padding: 16px 8px; }
  .section, .hero, .cta { padding: 13px 3px; border-radius: 12px; }
}

/* --- ANIMATIONS --- */
.card, .testimonial-card, .btn-primary, .mobile-menu, .cookie-banner {
  transition: box-shadow 0.18s, transform 0.2s, background 0.17s;
}
.mobile-menu, .cookie-banner { transition: transform 0.36s, background 0.19s, box-shadow 0.14s; }

/* --- Z-INDEX LAYERS --- */
header      { z-index: 900; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 2140; }
.cookie-modal-overlay { z-index: 2151; }

/* --- MINIMAL ACCESSIBILITY --- */
:focus {
  outline: 2.5px solid #FFD230;
  outline-offset: 2px;
}

/* --- OVERRIDES/UTILITY CLASSES --- */
.mt-2  { margin-top: 2px !important; }
.mt-10 { margin-top: 10px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-20 { gap: 20px !important; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }

/* --- END StormSottr Mobilität CSS --- */
