/* =======================================================
   BLAZORA FAMILIENZEIT – TECH FUTURISTIC STYLE CSS
   =======================================================
   Brand Colors:
     --primary: #255E91;
     --secondary: #ffffff;
     --accent: #C27800;
     --gray-bg: #F5F7FA;
   Fonts:
     Fredoka (Display), Roboto (Body)
   =======================================================*/
/* ==================== RESET & NORMALIZE ==================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: "Roboto", Arial, sans-serif;
  color: #17243d;
  background: linear-gradient(135deg, #255E91 0%, #133050 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
  line-height: 1.55;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent, #C27800);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #fff900;
  text-shadow: 0 0 6px #f9a82577;
  outline: none;
}
button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}
:root {
  --primary: #255E91;
  --accent: #C27800;
  --secondary: #ffffff;
  --gray-bg: #F5F7FA;
  --input-bg: #e6ecfa;
  --header-bg: #1c3a58;
  --nav-link: #f5f7fa;
  --footer-bg: #1D2B45;
  --card-bg: #15365a;
  --neon: #f9a825;
  --shadow: 0 4px 32px rgba(37, 94, 145, .10);
}

/* =================== TYPOGRAPHY =================== */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Fredoka', 'Roboto', Arial, sans-serif;
  color: #fff;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  letter-spacing: .01em;
  font-weight: 700;
}
h2 {
  font-size: 1.55rem;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: .01em;
}
h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  font-weight: 600;
}
p, ul, ol, blockquote {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #ddeafc;
}
ul,ol {
  margin-left: 20px;
}
strong { color: #fff900; }
em { color: var(--accent); }
blockquote {
  font-style: italic;
  background: #ffffffee;
  color: #17243d;
  border-left: 4px solid var(--accent);
  padding: 18px 28px 18px 18px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 12px;
}

/* =================== SPACING =================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.card-container,
.features-grid,
.tip-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 32px 24px 28px 24px;
  color: #fff;
  position: relative;
}
.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;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: #17243d !important;
  box-shadow: 0 4px 32px rgba(37, 94, 145, .12);
  border-radius: 18px;
  padding: 20px;
  min-width: 260px;
  font-size: 1.07rem;
  margin-bottom: 22px;
}
.testimonial-card blockquote {
  background: transparent;
  color: #17243d !important;
  border: none;
  margin: 0;
  padding: 0;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 600;
  font-size: 1em;
  margin-left: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: rgba(37,94,145,0.18);
  border: 1.5px solid rgba(201, 188, 107, 0.09);
  border-radius: 16px;
  padding: 24px 18px 18px 18px;
  box-shadow: var(--shadow);
  min-width: 190px;
  flex: 1 1 220px;
  margin-bottom: 12px;
  transition: border 0.2s, box-shadow 0.2s, background 0.2s;
}
.feature-item:hover {
  border: 1.6px solid #ffe26e;
  background: #17243d;
  box-shadow: 0 8px 32px 2px #f9a82538;
  z-index: 1;
}

.card,
.feature-item {
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover,
.feature-item:hover,
.testimonial-card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 8px 32px #F9A82555;
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Fredoka', 'Roboto', Arial, sans-serif;
  border: none;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37,94,145,0.07);
  text-shadow: 0 0 12px #2db1ff1a;
  position: relative;
  transition: background 0.13s, box-shadow 0.17s, color 0.18s, transform 0.14s;
}
.btn-primary {
  background: var(--neon, #f9a825);
  color: #15325d;
  box-shadow: 0 2px 12px #f9a82529;
  border: 1.5px solid #d1ac0e;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #ffe26e;
  color: #0a1b32;
  outline: none;
  box-shadow: 0 6px 22px #f9a82543;
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--neon, #f9a825);
  box-shadow: none;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #f9a825;
  color: #15325d;
  outline: none;
}
/* Button focus for accessibility */
.btn:focus {
  box-shadow: 0 0 0 3px #ffe26e77;
}

/* =============== HEADER & NAVIGATION =============== */
header {
  background: var(--header-bg);
  box-shadow: 0 6px 48px rgba(60, 103, 170, 0.09);
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 16px 16px 16px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: 18px;
}
.main-nav a {
  color: var(--nav-link);
  font-family: 'Fredoka', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 12px;
  border-radius: 7px;
  position: relative;
  transition: color .13s, background .16s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #fff900;
  background: #17243d88;
  outline: none;
}
header img {
  height: 36px;
  margin-right: 16px;
}

/* =================== MOBILE NAV =================== */
.mobile-menu-toggle {
  display: none;
  background: var(--neon, #f9a825);
  color: #193253;
  padding: 10px 20px;
  font-size: 2rem;
  border-radius: 9px;
  border: none;
  box-shadow: 0 2px 12px #f9a82533;
  position: absolute;
  right: 24px;
  top: 16px;
  z-index: 1002;
  transition: background .15s;
}
.mobile-menu-toggle:focus {
  background: #ffe26e;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #08162dEE;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 28px 20px 28px;
  transform: translateX(-110%);
  transition: transform 0.37s cubic-bezier(.76,.12,.3,1.18);
  box-shadow: 0 14px 54px #255e9166;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 1.8rem;
  align-self: flex-end;
  background: var(--neon, #f9a825);
  color: #132133;
  border-radius: 7px;
  margin-bottom: 18px;
  padding: 9px 18px;
  border: none;
  transition: background .12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #ffe26e;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.12rem;
  font-family: 'Fredoka';
  border-radius: 7px;
  padding: 10px 0 10px 8px;
  font-weight: 600;
  transition: background .14s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f9a825;
  color: #15325d;
}

/* =============== HERO / MAIN SECTIONS =============== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.section:nth-child(even) {
  background: rgba(21, 54, 90, .17);
  border-radius: 22px 22px 18px 18px;
}
.values-list ul,
.planning-checklist ul,
.tip-blocks ul,
.faq {
  color: #ddeafc;
  font-size: 1rem;
  padding-left: 10px;
}
.values-list ul li,
.planning-checklist ul li,
.tip-blocks ul li {
  margin-bottom: 7px;
  list-style-type: disc;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: rgba(245, 247, 250, 0.95);
  border-left: 4px solid var(--neon, #f9a825);
  padding: 16px 20px 14px 20px;
  border-radius: 0 14px 14px 0;
  color: #17243d;
  font-size: 1.03rem;
  box-shadow: 0 2px 12px #255e9140;
}
.faq-item h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.05em;
}
.faq-item p {
  color: #0a1b32;
}

/* =============== WEATHER WIDGET / INFO =============== */
.weather-widget {
  background: #F9A825;
  color: #17243d;
  padding: 18px 22px;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px #F9A82555;
}

/* =============== SPECIAL BLOCKS =============== */
.info-box {
  background: rgba(245, 247, 250, 0.85);
  color: #17243d;
  border-left: 4px solid var(--neon);
  padding: 18px 22px 12px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 1.08rem;
  box-shadow: 0 2px 10px #255e9122;
}
.info-box p, .info-box h2 {
  color: #0a1b32;
}
.success-message {
  color: #fff;
  background: #255E91;
  border-radius: 12px;
  padding: 18px 22px 18px 22px;
  margin-top: 10px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* =============== FOOTER =============== */
footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 0 0 30px 0;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  border-bottom: 1px solid #193253;
  padding: 36px 0 18px 0;
}
.footer-main > * {
  margin-bottom: 20px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a,
.footer-legal a {
  color: #fff;
  font-size: 1em;
  transition: color .16s;
}
.footer-nav a:hover, .footer-legal a:hover, .footer-nav a:focus, .footer-legal a:focus {
  color: #F9A825;
}
.footer-contact p {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #ddeafc;
  font-size: 0.97em;
  margin-bottom: 6px;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social a {
  display: flex;
  align-items: center;
  border-radius: 7px;
  transition: background .19s;
}
.footer-social img {
  height: 28px;
  width: 28px;
  filter: brightness(1.2) drop-shadow(0 2px 4px #f9a82533);
}
.footer-social a:hover {
  background: #f9a825;
}
.footer-newsletter {
  text-align: center;
  padding: 18px 0 0 0;
  color: #ffe26e;
  font-weight: 600;
  font-size: 1.02em;
}

/* =============== NEWSLETTER (INFO) =============== */
.footer-newsletter p {
  color: #ffe26e;
  font-size: 1em;
  margin: 0;
}

/* =================== COOKIE BANNER =================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #fff;
  color: #17243d;
  box-shadow: 0 -2px 32px #255e9144;
  width: 100vw;
  z-index: 3000;
  padding: 24px 18px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  animation: fadeInBanner .4s ease;
}
@keyframes fadeInBanner {
  0% { transform: translateY(80%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  padding: 9px 23px;
  font-family: 'Fredoka', 'Roboto', Arial, sans-serif;
  border-radius: 30px;
  border: none;
  font-size: 1em;
  font-weight: 500;
  margin: 0 2px;
  transition: background .12s, color .12s;
  box-shadow: 0 1px 6px #c2780032;
}
.cookie-banner .cookie-accept {
  background: #f9a825;
  color: #15325d;
  width: 130px;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #ffe26e;
}
.cookie-banner .cookie-reject {
  background: #255e91;
  color: #fff;
  width: 130px;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #132133;
  color: #f9a825;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #255e91;
  width: auto;
  border: 1px solid #c27800;
  font-size: 1em;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #c27800;
  color: #fff;
}

/* =================== COOKIE SETTINGS MODAL =================== */
.cookie-modal {
  position: fixed;
  left: 50vw;
  top: 50vh;
  transform: translate(-50%, -50%) scale(0.97);
  background: #fff;
  color: #15325d;
  padding: 36px 30px 30px 30px;
  border-radius: 26px;
  box-shadow: 0 8px 48px #15365a55;
  z-index: 4000;
  width: 94vw;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  animation: fadeInModal .3s cubic-bezier(.75,.13,.18,1.02);
}
@keyframes fadeInModal {
  from { opacity:0; transform: translate(-50%, -45%) scale(.89); }
  to   { opacity:1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal h2 {
  color: #255E91;
  margin-bottom: 4px;
  font-size: 1.3rem;
  font-family: 'Fredoka', 'Roboto';
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 1.03em;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #F9A825;
  width: 18px;
  height: 18px;
  border-radius: 5px;
}
.cookie-modal .modal-btns {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal .btn {
  font-size: 1em;
  padding: 8px 20px;
}
.cookie-modal .close-modal {
  background: none;
  color: #15325d;
  font-size: 1.7rem;
  position: absolute;
  top: 11px;
  right: 23px;
  border: none;
  border-radius: 6px;
  padding: 2px 10px;
  cursor: pointer;
}
.cookie-modal .close-modal:hover {
  background: #edeefe;
}

/* Inputs (if forms are used later) */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  background: var(--input-bg);
  border: 1.5px solid #cde1f8;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 1em;
  box-shadow: none;
  outline: none;
  width: 100%;
  margin-bottom: 14px;
  transition: border .14s;
}
input:focus, textarea:focus {
  border-color: #f9a825;
}

/* ============== MEDIA QUERIES ============== */
@media (max-width: 1100px) {
  .footer-main {
    gap: 24px;
  }
  .section {
    padding: 35px 7px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 16px;
  }
  .footer-main,
  .card-container,
  .features-grid,
  .content-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 4vw;
  }
  .section {
    margin-bottom: 40px;
    padding: 22px 0 24px 0;
  }
  .content-wrapper {
    gap: 14px;
    padding: 0 2px;
  }
  .card,
  .feature-item {
    padding: 18px 9px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding: 14px 4vw 12px 4vw;
  }
  .footer-main {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid,
  .features-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    font-size: 1em;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .faq {
    gap: 14px;
  }
  .faq-item {
    padding: 12px 7px 10px 10px;
  }
}
@media (max-width: 540px){
  h1 {
    font-size: 1.32rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  .btn,
  .btn-primary,
  .btn-secondary {
    font-size: .98rem;
    padding: 9px 14px;
  }
}

/* =========== UTILITIES =========== */
.mt-2 { margin-top: 2px; }
.mt-4 { margin-top: 4px; }
.mb-14 { margin-bottom: 14px; }
.mb-24 { margin-bottom: 24px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.align-center { align-items: center; }
.gap-12 { gap: 12px; }

/* =========== FOCUS STYLES for accessibility =========== */
a:focus-visible, .btn:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #ffe26e;
  outline-offset: 2px;
}

/* =========== CUSTOM SCROLLBAR (Futuristic touch) =========== */
::-webkit-scrollbar {
  width: 8px;
  background: #193253;
}
::-webkit-scrollbar-thumb {
  background: #255E91;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f9a825;
}

/* =========== MICRO-INTERACTIONS (Neon glow on active) =========== */
.btn:active, .btn-primary:active, .card:active, .feature-item:active {
  box-shadow: 0 0 0 2px #f9a82588, 0 2px 8px #f9a82533;
}

/* =========== Z-INDEXS =========== */
header { z-index: 900; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 4000; }

/* =========== ANIMATION CLASSES =========== */
.animated-fadeIn {
  animation: fadeInBanner 0.4s cubic-bezier(.5,1.3,.1,1.08);
}

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