/* ====================================================
   Sfumabucol Mobilität – style.css
   Creative Artistic Style – Only Flexbox Layouts
   Brand Colors: #0A3562 (primary), #FFD700 (secondary), #F4F4F4 (accent)
   Fonts: Montserrat (display), Roboto (body)
   ==================================================== */
/* CSS RESET & BASELINE NORMALIZATION */
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1.6;
  background: #F4F4F4;
  color: #1a2630;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #0A3562;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #FFD700;
}
button, .cta-btn {
  font-family: inherit;
  cursor: pointer;
  outline: none;
  border: none;
}
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #0A3562;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
}
p, ul, ol {
  font-size: 1em;
  margin-bottom: 15px;
  color: #233247;
}
strong {
  font-weight: 700;
  color: #0A3562;
}

/* ================= CONTAINER & LAYOUT ================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px 4px 32px 12px;
  box-shadow: 0 2px 24px 0 rgba(10, 53, 98, 0.07), 0 12px 36px -8px #FFD70018;
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 36px;
    border-radius: 14px 4px 16px 8px;
  }
}

/* =============== HEADER & NAVIGATION =============== */
header {
  background: #fff;
  box-shadow: 0 1px 12px 0 rgba(10, 53, 98, 0.060);
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 30px;
}
@media (max-width: 900px) {
  header .container {
    height: auto;
    flex-wrap: wrap;
    gap: 18px;
  }
}
header a img {
  height: 46px;
  width: auto;
  margin-right: 20px;
}
@media (max-width: 600px) {
  header a img { height: 38px; }
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 4px;
  color: #233247;
  border-bottom: 2.5px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
}
.main-nav a:hover, .main-nav a:focus,
.main-nav a.active {
  color: #FFD700;
  border-bottom: 2.5px solid #FFD700;
}

.cta-btn {
  background: linear-gradient(90deg, #FFD700 75%, #FFA600);
  color: #0A3562;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border-radius: 22px 6px 20px 12px;
  padding: 12px 30px;
  box-shadow: 0 2px 20px -6px #FFD700A0;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #0A3562 70%, #FFD700);
  color: #fff;
  box-shadow: 0 6px 40px -8px #0A3562AA;
}

/* Burger menu */
.mobile-menu-toggle {
  display: none;
  background: #FFD700;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  color: #0A3562;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 12px -4px #FFD70040;
  z-index: 103;
  position: relative;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #0A3562;
  color: #FFD700;
}

@media (max-width: 900px) {
  .main-nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    position: relative;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(.77,0,.18,1);
  box-shadow: -12px 0 32px -8px #0A356230;
  padding: 24px 26px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  color: #0A3562;
  margin-left: auto;
  border: none;
  margin-bottom: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #FFD700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #0A3562;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 10px 2px;
  border-radius: 7px 18px 17px 8px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #FFD700;
  color: #0A3562;
}

/* ================= HERO SECTIONS ================= */
.hero {
  min-height: 320px;
  background: repeating-linear-gradient(-5deg, #FFD70008 0 24px, #FFD70013 24px 42px, #F4F4F4 42px 70px), #F4F4F4;
  display: flex;
  align-items: center;
  padding: 44px 0 22px 0;
  margin-bottom: 20px;
  position: relative;
}
.hero .container {
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  background: rgba(255,255,255,0.90);
  border-radius: 22px 6px 18px 12px;
  box-shadow: 0 8px 48px -12px #FFD70066;
  padding: 40px 36px 34px 36px;
  max-width: 600px;
}
.hero h1 {
  color: #FFD700;
  font-family: 'Montserrat', Arial, sans-serif;
  text-shadow: 0 2px 10px #0A356220;
  font-size: 2.3rem;
  line-height: 1.13;
}
.hero p {
  color: #0A3562;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.hero .cta-btn {
  margin-top: 8px;
}
@media (max-width: 768px) {
  .hero {
    padding: 22px 0 12px 0;
    min-height: 180px;
  }
  .hero .content-wrapper {
    padding: 18px 8px 18px 8px;
    max-width: 98vw;
  }
  .hero h1 { font-size: 1.4rem; }
}

/* ================= FLEX LAYOUT PATTERNS ================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px 7px 18px 9px;
  box-shadow: 0 2px 18px -6px #FFD70035, 0 8px 30px -16px #0A356210;
  padding: 28px 22px;
  min-width: 260px;
  max-width: 345px;
}
.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;
    gap: 16px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 10px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFFDE7;
  border-radius: 12px 18px 12px 8px;
  box-shadow: 0 2px 16px -7px #FFD70088, 0 2px 12px -4px #0A356255;
  margin-bottom: 20px;
  min-width: 240px;
  max-width: 500px;
}
.testimonial-card p {
  color: #0A3562;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #233247;
  font-size: 0.98rem;
}
.testimonial-card strong {
  color: #0A3562;
}
@media (max-width: 800px) {
  .testimonial-card {
    max-width: 98vw;
    padding: 12px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 18px;
}
.feature-grid li {
  background: #F9E98A;
  border-radius: 18px 8px 16px 7px;
  box-shadow: 0 1px 11px -4px #FFD70088;
  padding: 28px 18px 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.feature-grid li img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 3px 28px -4px #FFD700cc, 0 8px 30px -10px #0A356266;
  transform: translateY(-4px) scale(1.02) rotate(-1.1deg);
}

.text-section {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-section ul,
.feature-grid ul, .text-section ol, .content-wrapper ul, .content-wrapper ol {
  margin: 12px 0 0 18px;
  padding-left: 0;
}
.text-section li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.map-placeholder {
  background: repeating-linear-gradient(135deg,#FFD70015 0 16px,#F4F4F4 16px 34px);
  border: 2px dashed #FFD700;
  color: #9A8C23;
  font-size: 0.97em;
  border-radius: 16px;
  padding: 20px;
  margin-top: 12px;
  font-style: italic;
  box-shadow: 0 1px 12px -4px #FFD70033;
}

@media (max-width: 700px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li {
    max-width: 95vw;
  }
}

/* Ordered & unordered lists */
ol, ul {
  margin-left: 1em;
  margin-bottom: 14px;
  color: #233247;
}

/* ================= FOOTER ================= */
footer {
  background: linear-gradient(90deg, #F4F4F4 80%, #FFD70010);
  padding: 34px 0 10px 0;
  box-shadow: 0 -1px 14px -4px #FFD70015;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0 32px 18px 32px;
}
footer nav a {
  color: #0A3562;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 1.5px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
footer nav a:focus,footer nav a:hover{
  color: #FFD700;
  border-bottom: 1.5px solid #FFD700;
}
footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.99rem;
  color: #233247;
} 
footer img {
  height: 33px;
  margin-bottom: 13px;
}
footer .footer-contact img {
  height: 1.2em;
  width: 1.2em;
  vertical-align: middle;
  margin-right: 5px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
  footer nav {
    margin: 0 0 14px 0;
    gap: 5px;
  }
}

/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbea;
  border-top: 2px solid #FFD700;
  box-shadow: 0 -2px 30px -8px #FFD70030;
  z-index: 1400;
  padding: 20px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
@media (min-width: 600px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    padding: 16px 34px;
  }
}
.cookie-banner p {
  font-size: 1rem;
  color: #0A3562;
  margin-bottom: 0;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: #FFD700;
  color: #0A3562;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border-radius: 8px 18px 10px 6px;
  padding: 10px 20px;
  margin: 0;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.2s;
  box-shadow: 0 2px 10px -4px #FFD70070;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #0A3562;
  color: #FFD700;
}
.cookie-btn.cookie-settings {
  background: #F4F4F4;
  color: #0A3562;
  border: 1px solid #FFD700;
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: #FFD70033;
  color: #0A3562;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 1450;
  background: rgba(10,53,98, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s cubic-bezier(.7,.13,.16,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px 6px 14px 10px;
  box-shadow: 0 8px 40px -10px #FFD70099;
  max-width: 440px;
  padding: 36px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: cookieModalIn 0.34s cubic-bezier(.4,.89,.32,1) 1;
}
@keyframes cookieModalIn {
  0% { transform: translateY(70px) scale(.85); opacity: .3; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  color: #0A3562;
  margin-bottom: 10px;
}
.cookie-modal-content .cookie-close {
  position: absolute;
  top: 12px; right: 18px;
  background: none;
  font-size: 1.8rem;
  color: #FFD700;
  border: none;
  cursor: pointer;
}
.cookie-modal-content .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-switch {
  appearance: none;
  width: 40px;
  height: 22px;
  background: #FFD70055;
  border-radius: 11px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.25s;
}
.cookie-switch:checked {
  background: #0A3562;
}
.cookie-switch:after {
  content: '';
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 1.5px; left: 2px;
  transition: left 0.24s;
  box-shadow: 0 2px 6px -2px #FFD70055;
}
.cookie-switch:checked:after {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .cookie-modal-content {
    padding: 22px 7vw 18px 7vw;
    max-width: 96vw;
  }
}

/* =================== RESPONSIVE MEDIA QUERIES =================== */
@media (max-width: 1000px) {
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  h1 {font-size:1.23rem;}
  h2 {font-size:1.1rem;}
  .section { padding: 16px 3vw; }
  .card { min-width: unset; max-width: 99vw; }
  .feature-grid li { padding: 14px 7px 16px 13px; }
}

/* ==================== BUTTONS & FORMS ==================== */
button, .cta-btn, .cookie-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* ==================== ANIMATIONS ==================== */
.card, .feature-grid li, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.17s;
}
.card:hover, .feature-grid li:hover, .testimonial-card:hover {
  box-shadow: 0 10px 45px -14px #FFD70070, 0 6px 24px -12px #0A3562B0;
  transform: scale(1.013) rotate(-.7deg);
}

/* =================== ACCESSIBLE FOCUS =================== */
a:focus, button:focus, .cta-btn:focus {
  outline: 2.7px dotted #FFD700;
  outline-offset: 2px;
  background: #fffde7;
}

/* ================== EXTRAS & DECORATIVE ================== */
.section:before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 70px; height: 70px;
  background: #FFD70019;
  border-radius: 40% 60% 30% 70%;
  filter: blur(14px);
  z-index: 0;
  pointer-events: none;
  opacity: .4;
  transition: opacity .35s;
}
.section:hover:before { opacity: .7; }

/* ================== Thank You / Utility ================== */
.thank-message, .alert-message, .info-message {
  background: #FFD70022;
  border-radius: 6px 10px 5px 19px;
  padding: 18px 20px;
  color: #0A3562;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size:1.1em;
  margin: 10px 0 32px 0;
}

/* Hide elements by utility class */
.hidden {
  display: none !important;
}

/* ======================= PRINT ======================= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
