/* =========================================================
   Breeze Journey Finanzplanung – Monochrome Sophisticated CSS
   ========================================================= */

/* CSS RESET / NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, li, ol, figure, figcaption, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border-radius: 0;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===========================================
   MONOCHROME SOPHISTICATED DESIGN VARIABLES
   =========================================== */
:root {
  --black: #181A1B;
  --black-80: #222326;
  --black-70: #303133;
  --gray-90: #23252C;
  --gray-80: #424447;
  --gray-70: #64676D;
  --gray-60: #888C91;
  --gray-40: #B2B5B8;
  --gray-10: #F6F6F6;
  --white: #fff;
  --brand-primary: #22406E;
  --brand-secondary: #5EB6BB;
  --brand-accent: #F3F4F8;

  /* Shadows & radii */
  --shadow-soft: 0 2px 16px 0 rgba(34,40,54,0.09), 0 1.5px 12px 0 rgba(34,40,54,0.07);
  --radius: 10px;
  --radius-s: 6px;

  /* Measure */
  --container-max-width: 1080px;
  --gap: 24px;
}

body {
  background: var(--white);
  color: var(--black-80);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* =============================
   TYPOGRAPHY
   ============================= */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--black);
  font-size: 2.5rem;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 18px;
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--black-80);
  font-size: 2rem;
  letter-spacing: -0.5px;
  line-height: 1.26;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  h2, .h2 { font-size: 1.5rem; }
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--black-80);
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--black-70);
}

strong {
  font-weight: 700;
  color: var(--black);
}
em {
  font-style: italic;
}
p, li, ul, ol {
  font-size: 1rem;
  color: var(--black-80);
}
.lead {
  font-size: 1.225rem;
  color: var(--black-70);
  font-weight: 400;
}

/* =============================
   CONTAINER LAYOUTS
   ============================= */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 32px;
    padding: 24px 10px;
    gap: 14px;
  }
}

/* =============================
   HEADER & NAVBAR
   ============================= */
header {
  padding: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-10);
  position: relative;
  z-index: 30;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding-top: 18px;
  padding-bottom: 18px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--black-70);
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
  padding: 4px 5px;
  border-radius: var(--radius-s);
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: var(--brand-primary);
  background: var(--gray-10);
}
.cta-primary {
  background: var(--black);
  color: var(--white) !important;
  border-radius: var(--radius);
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 1rem;
  box-shadow: 0 1.5px 10px 0 rgba(34,40,54,0.07);
  border: 1px solid transparent;
  transition: background 0.18s, box-shadow 0.18s;
  margin-left: 20px;
  display: inline-block;
  line-height: 1.3;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--gray-80);
  color: var(--white) !important;
  box-shadow: 0 6px 24px 0 rgba(34,40,54,0.07);
}
.cta-secondary {
  background: none;
  color: var(--black);
  border: 1px solid var(--gray-40);
  border-radius: var(--radius);
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: background 0.18s, color 0.18s, border 0.18s;
  margin-top: 10px;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--gray-10);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* =====================
   MOBILE NAVIGATION
   ===================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--black);
  cursor: pointer;
  z-index: 60;
  border-radius: var(--radius-s);
  padding: 4px 10px;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--gray-10);
}
@media (max-width: 990px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(24, 26, 27, 0.98);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.7,.2,.32,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: var(--radius-s);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--gray-80);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--gray-10);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 6px;
  width: 100%;
  border-radius: var(--radius-s);
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
  background: var(--gray-90);
}

/* hide mobile menu visually by default */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
}
@media (max-width: 990px) {
  .mobile-menu {
    display: flex;
  }
}

/* =======================
   FLEXBOX CONTENT GRIDS
   ======================= */
.feature-grid, .service-grid, .customer-stories-grid, .articles-overview, .team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.feature-grid > div, .service-grid > div, .customer-stories-grid > div, .articles-overview > div, .team-list > div {
  flex: 1 1 calc(50% - 24px);
  min-width: 240px;
  background: var(--gray-10);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .feature-grid, .service-grid, .customer-stories-grid, .articles-overview, .team-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-grid > div, .service-grid > div, .customer-stories-grid > div, .articles-overview > div, .team-list > div {
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 8px;
}
.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;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--gray-10);
  color: var(--black);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px 0 rgba(30,30,30,0.06);
  margin-bottom: 20px;
  transition: box-shadow .21s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(40,40,40,0.10);
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--black-80);
  font-style: italic;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--gray-70);
  font-weight: 600;
  align-self: flex-end;
}
.summary-box {
  margin-top: 10px;
  padding: 8px 18px;
  background: var(--white);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-soft);
  color: var(--black-70);
  font-size: 0.95rem;
  font-style: italic;
}

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

.quick-facts {
  background: var(--brand-accent);
  color: var(--black);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.05rem;
  margin-top: 18px;
}

/* ====================
   BUTTONS
   ==================== */
button, .btn {
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 28px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.17s;
  box-shadow: 0 1.5px 8px 0 rgba(34,40,54,0.07);
}
button:hover, .btn:hover,
button:focus, .btn:focus {
  background: var(--gray-80);
  box-shadow: 0 4px 20px 0 rgba(24,24,24,0.09);
  outline: none;
}

/* ====================
   FORM ELEMENTS
   ==================== */
input[type="search"],
input[type="text"], input[type="email"], input[type="tel"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  border: 1px solid var(--gray-40);
  background: var(--gray-10);
  color: var(--black-80);
  font-size: 1rem;
  transition: border 0.16s;
}
input[type="search"]:focus,
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1px solid var(--brand-primary);
  outline: none;
}

/* Cookie Preferences checkboxes */
.cookie-preferences-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.cookie-preferences-form label {
  color: var(--black-80);
  font-size: 1rem;
  cursor: pointer;
}
.cookie-preferences-form input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--brand-primary);
  vertical-align: middle;
}

/* ====================
   LISTS & FAQ
   ==================== */
ul, ol {
  list-style: disc inside;
  margin-left: 18px;
  line-height: 1.7;
  font-size: 1rem;
}
ul.credentials-list, .benefits-list, .faq-list {
  margin-top: 14px;
  margin-bottom: 14px;
  list-style: disc inside;
  padding-left: 8px;
  color: var(--gray-80);
}
.categories-list {
  font-size: 1rem;
  color: var(--gray-60);
  margin-top: 14px;
}
.categories-list span {
  color: var(--black-70);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.faq-list li {
  margin-bottom: 18px;
}

/* ====================
   TOOL LIST
   ==================== */
.tool-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tool-list li {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  background: var(--gray-10);
  padding: 16px 14px;
  border-radius: var(--radius-s);
  font-size: 1.05rem;
  color: var(--black-70);
}
.tool-benefits {
  margin-top: 18px;
  background: var(--white);
  padding: 18px 14px;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-soft);
}

/* ====================
   FOOTER
   ==================== */
footer {
  background: var(--black);
  color: var(--white);
  padding: 40px 0 10px 0;
  width: 100%;
  border-top: 2px solid var(--gray-10);
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 44px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: var(--white);
  font-size: 1rem;
  opacity: 0.86;
  transition: opacity 0.15s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  opacity: 1;
  color: var(--brand-secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--white);
  opacity: 0.8;
  margin-top: 6px;
}
.footer-contact div {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
@media (max-width: 990px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ================================
   COOKIE CONSENT COMPONENTS
   ================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: var(--black-80);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 22px 16px 18px 16px;
  font-size: 1rem;
  z-index: 300;
  box-shadow: 0 -4px 24px 0 rgba(0,0,0,0.09);
  transition: transform 0.4s cubic-bezier(.7,.2,.32,1), opacity 0.3s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 7px;
}
.cookie-btn {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-s);
  font-weight: 600;
  padding: 8px 22px;
  border: 1px solid var(--black-70);
  cursor: pointer;
  margin-left: 0;
  margin-bottom: 0;
  box-shadow: none;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--gray-10);
  color: var(--brand-primary);
}
.cookie-btn.cookie-settings {
  background: var(--gray-10);
  color: var(--black-80);
  border: 1px solid var(--gray-40);
}
.cookie-btn.accept {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
}
.cookie-btn.reject {
  background: var(--gray-80);
  color: var(--white);
  border-color: var(--gray-80);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  z-index: 400;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--white);
  color: var(--black-80);
  width: 95vw;
  max-width: 400px;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px 0 rgba(20,20,20,0.15);
  padding: 28px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.33s, opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--black-80);
  margin-bottom: 8px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: none;
  color: var(--black-70);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--brand-primary);
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  padding: 6px 0;
}

/* =====================
   ANIMATIONS / EFFECTS
   ===================== */
.cta-primary, .btn, button, .testimonial-card, .card, .feature-grid > div, .service-grid > div, .mobile-menu, .cookie-modal, .cookie-banner {
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, border 0.17s, transform 0.21s;
}
/* subtle fade-in effect for sections */
.section {
  opacity: 0;
  transform: translateY(30px);
  animation: sectionIn 0.55s cubic-bezier(.7,.2,.32,1) 0.09s forwards;
}
@keyframes sectionIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================
   RESPONSIVE LAYOUTS
   ===================== */
@media (max-width: 1260px) {
  :root {
    --container-max-width: 98vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .feature-grid, .service-grid, .customer-stories-grid, .articles-overview {
    gap: 10px;
  }
  h1, .h1 {
    font-size: 1.45rem;
  }
}
@media (max-width: 600px) {
  .card, .feature-grid > div, .service-grid > div, .customer-stories-grid > div, .articles-overview > div {
    padding: 12px 6px;
  }
}

/* =============
   MISC DETAILS
   ============= */
hr {
  border: none;
  border-top: 1px solid var(--gray-40);
  margin: 36px 0 18px 0;
}

.next-steps {
  background: var(--gray-10);
  padding: 18px 18px;
  border-radius: var(--radius);
  margin: 18px 0;
  color: var(--black-80);
}

.legal-section {
  background: var(--white);
  padding: 14px 0;
  border-radius: var(--radius-s);
  color: var(--gray-80);
}

.address, .phone, .mail, .hours {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hide various non-needed UI */
@media print {
  header, footer, nav, .cookie-banner, .cookie-modal, .mobile-menu {
    display: none !important;
  }
}

/* Use font imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;600;700&display=swap');
