/* =======================
   CSS RESET & BASE RULES
   ======================= */
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,
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, main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #2C3E50;
  background: #F5F7FA;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img, picture, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #60A3D9;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.55,0,.1,1);
}
a:hover, a:focus {
  color: #2C3E50;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 16px;
}
section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(44,62,80,0.06);
}
button, .cta-btn {
  cursor: pointer;
  outline: none;
  background: none;
  border: none;
  font-family: inherit;
}

/* ========== BRAND TYPOGRAPHY ========= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .015em;
  margin-bottom: 12px;
  color: #2C3E50;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  h3 {
    font-size: 1.6rem;
  }
}

strong {
  font-weight: 700;
  letter-spacing: .01em;
}
em {
  font-style: italic;
  color: #60A3D9;
}

/* ========== STRUCTURED LAYOUT/FLEX SPACING =========== */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.08);
}

.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;
  padding: 20px;
  margin-bottom: 20px;
  background: #F5F7FA;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(44,62,80,0.05);
  border: 2.5px solid #F7D174;
  flex-direction: column;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 10px;
  color: #2C3E50;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.testimonial-card cite {
  font-style: normal;
  font-size: 0.97rem;
  color: #60A3D9;
  align-self: flex-end;
}

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

/* ========== HEADER / NAVIGATION ========== */
header {
  background: #fff;
  border-bottom: 3px solid #F7D174;
  box-shadow: 0 2px 10px rgba(44,62,80,0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 14px 16px;
  gap: 12px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2C3E50;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:hover, header nav a.active {
  background: #F7D174;
  color: #2C3E50;
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 10px 28px;
  color: #fff;
  background: #60A3D9;
  border-radius: 36px;
  border: 2.5px solid #60A3D9;
  box-shadow: 0 3px 18px rgba(96,163,217,0.10);
  text-shadow: 0 1px 0 #2C3E500F;
  letter-spacing: 0.04em;
  margin-left: 18px;
  transition: background 0.23s cubic-bezier(.77,0,.18,1), color 0.23s cubic-bezier(.77,0,.18,1), border 0.18s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F7D174;
  color: #2C3E50;
  border: 2.5px solid #F7D174;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  background: #F7D174;
  color: #2C3E50;
  padding: 7px 16px 7px 16px;
  border-radius: 8px;
  font-size: 2rem;
  border: none;
  margin-left: 22px;
  z-index: 1101;
  box-shadow: 0 1px 8px rgba(44,62,80,0.10);
  transition: background .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #60A3D9;
  color: #fff;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ========= MOBILE NAVIGATION ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1200;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.78,-0.01,.17,1.02);
  box-shadow: -2px 0 16px rgba(44,62,80,0.10);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-right: 24px;
  background: #F7D174;
  color: #2C3E50;
  border: none;
  border-radius: 8px;
  font-size: 2.2rem;
  padding: 6px 16px;
  cursor: pointer;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #60A3D9;
  color: #fff;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #2C3E50;
  padding: 12px 24px;
  border-radius: 12px;
  width: 90vw;
  text-align: center;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F7D174;
  color: #2C3E50;
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  header nav, .cta-btn {
    display: none;
  }
}

/* ========== MAIN SECTIONS LAYOUT ========== */
main {
  padding-top: 18px;
  padding-bottom: 36px;
  min-height: 75vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: #fff;
}

@media (max-width: 740px) {
  .section, section {
    padding: 30px 10px;
    margin-bottom: 32px;
    border-radius: 12px;
  }
}

/* ========== CARD LAYOUTS / LISTS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  min-width: 270px;
  flex: 1 1 310px;
  padding: 20px 24px;
  background: #F5F7FA;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(44,62,80,0.08);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
}
.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;
  }
}

/* ========== BUTTONS & MICROINTERACTIONS ========== */
button, .cta-btn {
  transition: background 0.22s cubic-bezier(.71,-0.09,.38,1.24), color 0.22s, border .20s, transform .13s;
  will-change: background, color, border, transform;
}
button:active, .cta-btn:active {
  transform: scale(0.96);
}

/* ========== FEATURED SECTIONS & CARDS ========== */
.feature-item strong {
  color: #2C3E50;
  font-weight: 700;
  font-size: 1.07rem;
}
.feature-item span {
  color: #60A3D9;
  font-weight: 700;
  margin-left: 6px;
}

/* ========== FOOTER ========== */
footer {
  background: #2C3E50;
  color: #fff;
  border-top: 3px solid #F7D174;
  padding: 24px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 10px;
  font-size: 1rem;
}
footer nav a {
  color: #F7D174;
  text-decoration: underline;
  margin-right: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  color: #60A3D9;
}
footer strong {
  color: #F7D174;
  font-weight: 600;
}
footer a {
  color: #60A3D9;
  text-decoration: underline;
}
footer a:hover, footer a:focus {
  color: #fff;
}
footer img {
  width: 28px;
  height: 28px;
  margin-right: 6px;
  display: inline-block;
}
@media (min-width: 900px) {
  footer .content-wrapper {
    flex-direction: row;
    gap: 38px;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #F7D174;
  box-shadow: 0 -6px 22px rgba(44,62,80,0.17);
  z-index: 1300;
  padding: 24px 20px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .45s cubic-bezier(.78,-0.01,.17,1.02);
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-banner.show {
  transform: translateY(0);
}
.cookie-consent-banner p {
  color: #2C3E50;
  font-size: 1.04rem;
  max-width: 52ch;
  margin-bottom: 0;
}
.cookie-consent-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  padding: 8px 28px;
  font-size: 1rem;
  margin-right: 3px;
  transition: background 0.15s, color 0.15s, border 0.15s;
  box-shadow: 0 2px 8px rgba(96,163,217,0.08);
}
.cookie-btn.accept {
  background: #60A3D9;
  color: #fff;
  border: 2px solid #60A3D9;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #2C3E50;
  border: 2px solid #2C3E50;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #2C3E50;
  border: 2px solid #2C3E50;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F7D174;
  border-color: #F7D174;
  color: #2C3E50;
}
.cookie-btn.settings {
  background: #fff8e1;
  color: #2C3E50;
  border: 2px solid #F7D174;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F7D174;
  color: #2C3E50;
}

@media (max-width: 600px) {
  .cookie-consent-banner {
    padding: 18px 8px 10px 8px;
  }
  .cookie-consent-banner p {
    font-size: 0.97rem;
  }
  .cookie-btn {
    padding: 8px 4vw;
    font-size: .97rem;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: rgba(44,62,80,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.55,0,.1,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  animation: fadeIn 0.3s 1 cubic-bezier(.55,0,.1,1);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  padding: 34px 24px 16px 24px;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(44,62,80,0.23);
  min-width: 330px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal-content h3 {
  color: #2C3E50;
  font-size: 1.37rem;
  margin-bottom: .7em;
}
.cookie-modal-category {
  margin-bottom: 12px;
}
.cookie-modal-category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  color: #2C3E50;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.cookie-toggle {
  accent-color: #F7D174;
}
.cookie-modal-close {
  background: #F7D174;
  color: #2C3E50;
  border: none;
  border-radius: 12px;
  font-size: 1.6rem;
  padding: 4px 20px;
  position: absolute;
  right: 12px;
  top: 12px;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #60A3D9;
  color: #fff;
}

/* ========== RESPONSIVE FLEX STRUCTURE ========== */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding-left: 4vw;
    padding-right: 4vw;
  }
}
@media (max-width: 670px) {
  .container {
    padding-left: 1vw;
    padding-right: 1vw;
  }
}

/* =========== GEOMETRIC SHAPES / STYLE ========= */
section, .card, .testimonial-card, .cookie-modal-content {
  border-radius: 18px;
  /* Slight angular look using border for structure */
  border-top-left-radius: 38px 26px;
}

@media (max-width:700px) {
  section, .card, .testimonial-card, .cookie-modal-content {
    border-top-left-radius: 25px 16px;
  }
}

/* Subtle geom. patterns as background accent (example) */
body::before {
  content: '';
  position: fixed;
  top: -64px;
  left: -64px;
  width: 420px;
  height: 420px;
  z-index: 0;
  background: repeating-linear-gradient(135deg, #60A3D91A 0 20px, #F5F7FA 20px 40px);
  opacity: 0.16;
  border-radius: 30% 70% 60% 40%/60% 30% 70% 40%;
  pointer-events: none;
}

/* ========== FORMS (Kontakt, Inputs if present) ========== */
input, textarea, select {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 14px;
  border: 2px solid #60A3D9;
  border-radius: 16px;
  background: #fff;
  margin-bottom: 16px;
  outline: none;
  width: 100%;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: #F7D174;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 7px;
  display: block;
  color: #2C3E50;
  font-size: 1rem;
}

/* ========== GENERAL ANIMATIONS ========== */
.fade-in {
  animation: fade-in-element 0.6s cubic-bezier(.54,.18,.26,1) 1;
}
@keyframes fade-in-element {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE TYPOGRAPHY SCALE ========== */
h1, h2, h3 {
  letter-spacing: 0.012em;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.4rem;
}
h3 {
  font-size: 1.15rem;
}
@media (min-width: 600px) {
  h1 { font-size: 2.45rem; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.17rem; }
}
@media (min-width: 960px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.32rem; }
}

/* ========== ACCESSIBILITY ENHANCEMENTS ========== */
:focus-visible {
  outline: 2px dashed #F7D174;
  outline-offset: 2px;
}

@media (max-width: 540px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.13rem; }
}

/* =====================
   UTILITY CLASSES
   ===================== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }

/* ========== SPACING: FLEX & GAP REQUIREMENTS ========== */
.card-container, .content-grid, .text-image-section, .feature-item, .testimonial-card {
  gap: 20px;
}
.section, .card-container, .card, .testimonial-card {
  margin-bottom: 20px;
}

/* ========== NO GRID, FLEX ONLY ========== */
/* All layout containers utilize only flex + gap as per guidelines */

/* ========== VISUAL HIERARCHY & CONTRAST ========== */
.testimonial-card {
  color: #2C3E50;
  background: #F5F7FA;
  border: 2.5px solid #F7D174;
}
.testimonial-card blockquote {
  color: #2C3E50;
}

/* ========== PRINT STYLES ========== */
@media print {
  header, footer, nav, .mobile-menu, .cookie-consent-banner, .cookie-modal {
    display: none !important;
  }
  main, section, .container {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border: none !important;
  }
  body {
    background: #fff !important;
  }
}

/* ========== GEOMETRIC STRUCTURED EXTRAS ========== */
/* Triangle accent under h2 titles */
h2 {
  position: relative;
  padding-left: 0.1em;
  margin-bottom: 1.1em;
}
h2::after {
  content: '';
  display: block;
  width: 32px;
  height: 6px;
  background: #60A3D9;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin-top: 9px;
  border-radius: 3px;
}

/* Slight angled underline for selected nav link */
header nav a.active::after {
  content: '';
  display: block;
  width: 80%;
  height: 3px;
  background: #F7D174;
  border-radius: 2px;
  margin: 0 auto;
}

/* =====================
   FONTS
   ===================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Source+Sans+Pro:wght@400;600&display=swap');

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