/* =============================
   Heroischer Blick München CSS
   Style: modern_bold, mobile-first, flex-only
   ============================= */

/* --- RESET AND NORMALIZE --- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; border: 0; margin: 0; padding: 0; font: inherit; }
body, html { height: 100%; width: 100%; background: #F6F6F2; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { padding-left: 1.5em; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }

/* --- ROOT DEFAULTS --- */
:root {
  --primary: #124078;
  --secondary: #EFC54B;
  --accent: #F6F6F2;
  --text-main: #222;
  --text-invert: #fff;
  --shadow1: 0 4px 16px 0 rgba(18,64,120,0.08);
  --shadow2: 0 2px 8px 0 rgba(18,64,120,0.12);
  --radius1: 16px;
  --radius2: 24px;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}


/* --- TYPOGRAPHY --- */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--accent);
  -webkit-font-smoothing: antialiased;
}
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  letter-spacing: -1px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--primary);
  line-height: 1.15;
}
@media (max-width: 480px) {
  h1, .h1 { font-size: 2rem; }
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.18;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}
.subheadline {
  font-size: 1.15rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
p {
  margin-bottom: 12px;
}
strong { font-weight: 700; }

/* =============================
   FLEXBOX STRUCTURAL LAYOUTS
   ============================= */

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius1);
  box-shadow: var(--shadow1);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--accent);
  border-radius: var(--radius1);
  box-shadow: var(--shadow2);
  margin-bottom: 20px;
  padding: 24px;
  position: relative;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(18,64,120,.11);
  transform: translateY(-4px) scale(1.03);
}

.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;
}
.text-image-section > * {
  min-width: 0;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius1);
  box-shadow: var(--shadow2);
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(18,64,120,.14);
  transform: scale(1.02);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature {
  background: #fff;
  border-radius: var(--radius1);
  box-shadow: var(--shadow2);
  padding: 28px 20px 22px 20px;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.feature img {
  margin-bottom: 15px;
  width: 42px;
  height: 42px;
}
.feature:hover {
  box-shadow: 0 8px 32px rgba(18,64,120,.11);
  transform: translateY(-3px) scale(1.03);
}

.text-section {
  background: #fff;
  border-radius: var(--radius1);
  box-shadow: var(--shadow1);
  padding: 28px 18px 20px 18px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

ul, ol {
  margin-bottom: 18px;
  padding-left: 1.2em;
}
li {
  margin-bottom: 10px;
  font-size: 1rem;
}
/* Icon list style for contact, offers etc. */
section ul li {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --- BUTTONS & PRIMARY CTA --- */
.cta-main,
button.cta-main,
.mobile-nav a.cta-main {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: var(--radius2);
  letter-spacing: .5px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px 0 rgba(239,197,75,0.10);
  display: inline-block;
  outline: none;
  margin-top: 10px;
  margin-bottom: 10px;
  border: none;
}
.cta-main:hover, .cta-main:focus {
  background: var(--primary);
  color: var(--text-invert);
  box-shadow: 0 8px 32px rgba(18,64,120,0.13);
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(18,64,120,0.06);
  padding: 0;
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  border-radius: 8px;
  padding: 10px 16px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
header nav a:not(.cta-main):hover {
  background: var(--secondary);
  color: var(--primary);
}
header .cta-main {
  margin-left: 12px;
  min-width: 0;
}
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2.05rem;
  line-height: 46px;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow2);
  margin-left: 10px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 1024px) {
  header nav {
    gap: 10px;
  }
}
@media (max-width: 880px) {
  header nav a { padding: 9px 10px; font-size: 0.98rem; }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 4px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,64,120,0.97);
  color: #fff;
  z-index: 9999;
  transform: translateX(-100vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform var(--transition);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: var(--secondary);
  font-size: 2.5rem;
  border-radius: 50%;
  margin: 30px 28px 16px 18px;
  align-self: flex-start;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover { color: #fff; background: rgba(239,197,75,0.18); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-left: 32px;
  margin-top: 12px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 12px 0 5px 0;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  min-width: 180px;
  display: inline-block;
}
.mobile-nav a.cta-main {
  background: var(--secondary);
  color: var(--primary);
  margin-top: 20px;
  padding: 15px 36px;
  font-size: 1.2rem;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
}

@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* ===== MAIN & SECTIONS ===== */
main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  background: var(--accent);
}
section:not(:last-child) {
  border-bottom: 1px solid #e5e5e5;
}

@media (max-width: 768px) {
  .section { padding: 26px 5px; margin-bottom: 36px; }
  .content-grid,
  .card-container,
  .feature-grid { gap: 14px; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ======= TESTIMONIALS ======= */
.testimonial-card {
  font-size: 1rem;
  color: #222;
  background: #fff;
  border-left: 6px solid var(--secondary);
  gap: 16px;
}
.testimonial-card img {
  width: 50px; height: 50px; border-radius: 50%; background: #F6F6F2;
  padding: 5px;
  border: 2px solid var(--secondary);
}
.testimonial-card strong {
  color: var(--primary);
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: #fff;
  padding-top: 38px;
  padding-bottom: 38px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
}
footer img[alt*="Logo"] { width: 64px; height: 64px; margin-bottom: 12px; }
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  transition: color var(--transition);
}
footer nav a:hover { color: #fff; }
footer .social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
footer .contact-info {
  color: var(--secondary);
  font-size: 0.98rem;
  margin-top: 12px;
}
footer p, footer address {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: #fff;
}
@media (max-width: 970px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
  }
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10000;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -4px 20px 0 rgba(18,64,120,0.13);
  padding: 18px 16px 20px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  font-size: 1rem;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-left: 30px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  margin-right: 4px;
  margin-top: 3px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .btn-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .btn-reject {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .btn-settings {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner button:focus, .cookie-banner button:hover {
  filter: brightness(0.92);
  outline: 2px solid var(--secondary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .cookie-banner .cookie-buttons { margin-left: 0; }
}

/* ---- COOKIE MODAL ---- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 10100;
  background: rgba(18,64,120,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-dialog {
  background: #fff;
  color: var(--primary);
  border-radius: 22px;
  box-shadow: 0 10px 38px rgba(18,64,120,0.22);
  padding: 36px 28px 26px 28px;
  min-width: 320px; max-width: 360px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-dialog h3 {
  font-size: 1.26rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--primary);
}
.cookie-category .category-name {
  font-weight: 700;
  color: var(--primary);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal .btn-save {
  background: var(--secondary);
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal .btn-cancel {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: background var(--transition), color var(--transition);
}
.cookie-modal button:focus, .cookie-modal button:hover {
  filter: brightness(0.93);
  outline: 2px solid var(--secondary);
}

/* ===== UTILITY AND MISC ===== */
address {
  font-style: normal;
  margin-bottom: 22px;
}
::-webkit-scrollbar { width: 11px; background: #e9ecf0; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 7px; }
::-webkit-scrollbar-thumb:hover { background: #b4b4b4; }

hr {
  border: none;
  border-top: 1.5px solid #e0e0e0;
  margin: 20px 0;
}

/* ===========================
   RESPONSIVE ADJUSTMENTS
   =========================== */
@media (max-width: 980px) {
  .content-grid,
  .feature-grid,
  .card-container,
  .content-wrapper {
    flex-direction: column !important;
  }
  .feature, .card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.08rem; }
  .section { padding: 18px 4px; margin-bottom: 24px; }
  .feature, .card, .testimonial-card, .text-section {
    padding: 18px 8px 14px 8px;
  }
  main {
    min-height: 40vh;
  }
  .text-image-section { gap: 14px; }
  .footer .container { padding: 0 8px; }
}

/* --- MICRO-INTERACTIONS & HOVER EFFECTS --- */
a, button, .cta-main, .card, .feature, .testimonial-card {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}
.card:active, .feature:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* --- VISUAL GEOMETRIC ACCENTS --- */
.section {
  position: relative;
  overflow: hidden;
}
.section::after {
  content: '';
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 72px;
  height: 72px;
  background: var(--secondary);
  opacity: 0.13;
  border-radius: 32% 68% 78% 22% / 43% 69% 31% 57%;
  z-index: 0;
  pointer-events: none;
}

/* --- ACCESSIBILITY --- */
:focus {
  outline: 2.5px solid var(--secondary) !important;
  outline-offset: 3px;
}

[aria-current] { font-weight: 800; text-decoration: underline; }

/* --- Print Styles: Remove visuals --- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  main { margin: 0; background: #fff; }
}

/* ========== END ========== */