/* === CSS RESET & NORMALIZE === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  background: #FFF8F3;
  color: #1B3556;
  font-family: Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
}
img, video {
  display: block;
  max-width: 100%;
  border-radius: 16px;
}
a {
  color: #1B3556;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #F7C948;
  outline-offset: 2px;
}
strong, b {
  font-weight: 600;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1B3556;
  line-height: 1.15;
  margin-bottom: 8px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; }
h5, h6 { font-size: 1rem; }

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(27, 53, 86, 0.06);
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

/* === FLEX CONTAINERS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFFFF;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(247, 201, 72, 0.06);
  transition: box-shadow 0.18s;
  position: relative;
  padding: 24px;
  flex: 1 1 280px;
  min-width: 260px;
}
.card:hover {
  box-shadow: 0 6px 18px rgba(27,53,86,0.13), 0 2px 12px rgba(247,201,72,0.04);
}
.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;
  background: #FFF6E0;
  box-shadow: 0 2px 10px rgba(27,53,86,0.04);
  border-radius: 18px;
  margin-bottom: 28px;
  flex-direction: column;
  min-width: 260px;
  max-width: 560px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === SPECIFIC SECTION STYLES === */
.hero {
  background: linear-gradient(110deg, #FFE7B1 0%, #FFD794 60%, #FFF8F3 100%);
  padding: 48px 0;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 4px 12px rgba(247,201,72,0.07);
  margin-bottom: 34px;
}
.hero h1 {
  font-size: 2.5rem;
  color: #1B3556;
  margin-bottom: 10px;
  font-weight: 800;
}
.hero .subheadline {
  font-size: 1.25rem;
  color: #7d512a;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 20px;
  font-weight: 400;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 16px 0 30px 0;
}
.feature-grid > div {
  flex: 1 1 180px;
  min-width: 140px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(27,53,86,0.03);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 4px 16px rgba(247,201,72,0.12);
  transform: translateY(-2px) scale(1.015);
}
.feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 2px;
}

.featured-quote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
  background: #FFD794;
  color: #995C19;
  padding: 16px 28px;
  border-radius: 16px;
  margin: 28px 0 10px 0;
  text-align: center;
  font-size: 1.15rem;
  box-shadow: 0 3px 12px rgba(247,201,72,0.08);
}

/* == STANDARD LISTS & OL RESET == */
ul, ol {
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 25px;
}
ul li,
ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.7;
}
ul li:last-child,
ol li:last-child {
  margin-bottom: 0;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}

address {
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-size: 1rem;
  color: #843500;
  margin-bottom: 0;
}

.text-section {
  background: #FFF8F3;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 18px;
  box-shadow: 0 1px 8px rgba(247,201,72,0.06);
}

.support-points ul {
  margin-bottom: 0;
}

/* == BUTTONS & CALL-TO-ACTION == */
.cta, .btn, button, input[type="submit"] {
  display: inline-block;
  background: #F7C948;
  color: #1B3556;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 40px;
  margin-top: 8px;
  margin-bottom: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(247,201,72,0.08);
  transition: background 0.18s, color 0.18s, transform 0.14s, box-shadow 0.14s;
  text-align: center;
}
.cta:hover, .btn:hover, .cta:focus, .btn:focus {
  background: #FFD794;
  color: #7D512A;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px rgba(27,53,86,0.16);
}
.cta.secondary {
  background: #1B3556;
  color: #FFD794;
  border: 1px solid #F7C948;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F7C948;
  color: #1B3556;
  border-color: #FFD794;
}

.main-nav .cta {
  margin-bottom: 0;
  margin-left: 18px;
}

button {
  font-family: inherit;
}

/* === NAVIGATION BAR === */
header {
  background: #FFFBE8;
  border-bottom: 1.5px solid #F7C948;
  padding-bottom: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 0 12px 0;
  max-width: 1100px;
  margin: 0 auto;
}
.logo img {
  width: 105px;
  height: auto;
  border-radius: 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #1B3556;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 30px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFD794;
  color: #843500;
}
.main-nav .cta, .main-nav .logo {
  font-weight: 800;
}

/* === FOOTER === */
footer {
  background: #1B3556;
  color: #FFD794;
  padding: 32px 0 18px 0;
  border-radius: 36px 36px 0 0;
  margin-top: 44px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #FFD794;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F7C948;
  color: #1B3556;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05em;
  color: #FFD794;
}
.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

/* === TESTIMONIAL STARS & BLOCKQUOTE === */
.stars {
  color: #F7C948;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.10em;
}
.testimonial-card blockquote {
  color: #1B3556;
  background: none;
  font-style: italic;
  font-size: 1.09rem;
  line-height: 1.45;
  margin-bottom: 2px;
  font-family: "Montserrat", Arial, sans-serif;
}
.testimonial-card p {
  color: #843500;
  font-size: 0.97rem;
  margin-bottom: 0;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 1300;
  background: #FFD794;
  color: #1B3556;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(247,201,72,0.09);
  transition: background 0.18s, color 0.16s, transform 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F7C948;
  color: #843500;
  transform: scale(1.05);
}
.mobile-menu {
  position: fixed;
  background: #fffbe8;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 2000;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  transition: transform 0.36s cubic-bezier(.8,.01,.4,1.015);
  transform: translateX(-105vw);
  box-shadow: 0 6px 32px rgba(251, 185, 44, 0.13);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  transition: transform 0.42s cubic-bezier(.6,.08,.33,1.02);
}
.mobile-menu-close {
  background: none;
  color: #F7C948;
  border: none;
  font-size: 2.3rem;
  position: absolute;
  top: 24px;
  right: 22px;
  cursor: pointer;
  z-index: 2201;
  padding: 0 10px 0 10px;
  border-radius: 50%;
  transition: color 0.2s, background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F7C948;
  color: #843500;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 80px;
  width: 100%;
  align-items: flex-start;
  padding: 24px 28px 12px 28px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 12px 0 12px 7px;
  border-radius: 8px;
  width: 100%;
  color: #1B3556;
  font-weight: 600;
  margin-bottom: 2px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD794;
  color: #843500;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #FFF7E5;
  color: #843500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 24px 22px 22px 22px;
  box-shadow: 0 -4px 18px rgba(27,53,86,0.13);
  border-radius: 20px 20px 0 0;
  z-index: 3000;
  gap: 16px;
  transition: transform 0.27s cubic-bezier(.53,.09,.2,1);
}
.cookie-banner.hide {
  transform: translateY(160%);
  pointer-events: none;
}
.cookie-banner-content {
  flex: 1 1 250px;
  font-size: 1rem;
  margin-right: 24px;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.cookie-btn, .cookie-banner button {
  background: #F7C948;
  color: #1B3556;
  border: none;
  border-radius: 32px;
  font-weight: 700;
  padding: 9px 22px;
  font-size: 1.04rem;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, transform 0.07s;
  box-shadow: 0 1px 6px rgba(247,201,72,0.05);
}
.cookie-btn.secondary {
  background: #FFFFFF;
  color: #843500;
  border: 1px solid #FFD794;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFD794;
  color: #843500;
  transform: scale(1.05);
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3500;
  background: rgba(27, 53, 86, 0.21);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #FFFBE8;
  color: #1B3556;
  border-radius: 20px;
  box-shadow: 0 8px 34px rgba(27,53,86,0.15);
  padding: 30px 32px 22px 32px;
  max-width: 97vw;
  width: 430px;
  animation: fadeInModal 0.4s cubic-bezier(.72,0,.16,1) backwards;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(48px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #843500;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 15px;
}
.cookie-modal-category label {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1B3556;
}
.cookie-modal-category .toggle {
  width: 44px;
  height: 24px;
  background: #F7C948;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal-category .toggle.disabled {
  opacity: 0.5;
  background: #EDEDED;
  cursor: not-allowed;
}
.cookie-modal-category .toggle-indicator {
  position: absolute;
  left: 4px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #1B3556;
  transition: left 0.13s, background 0.13s;
}
.cookie-modal-category input[type='checkbox']:checked + .toggle .toggle-indicator {
  left: 24px;
  background: #843500;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: flex-end;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
  .main-nav {
    max-width: 96vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 15px;
  }
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 26px 10px;
    border-radius: 12px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 7px;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card {
    max-width: 95vw;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .container {
    padding: 0 6px;
    gap: 14px;
  }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 1.55rem; }
  h2 { font-size: 1.24rem; }
  h1 { font-size: 1.4rem; }
  .cta, .btn, button, input[type="submit"] { font-size: 1rem; padding: 10px 16px; }
  .footer-brand img { width: 25px; height: 25px; }
  .cookie-banner-content { margin-right: 0; font-size: 0.98em; }
  .cookie-modal { padding: 24px 8px 16px 8px; }
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
.card, .feature-grid > div, .testimonial-card, .cookie-banner, .footer-nav a, .cta, .btn, button {
  transition: box-shadow 0.18s, background 0.15s, color 0.13s, transform 0.13s;
}

/* === UTILITY CLASSES === */
.hide { display: none !important; }
.visible { display: block !important; }

/* === ENSURE VISUAL HIERARCHY AND SPACING === */
section, .hero {
  margin-bottom: 60px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 24px;
}
section .testimonial-card:last-child {
  margin-bottom: 0;
}

/* === ENSURE NO OVERLAP & APPROPRIATE SPACING === */
.card, .feature-grid > div, .testimonial-card, .text-section {
  margin-bottom: 20px;
}
.content-grid > * {
  margin-bottom: 20px;
}

/* === FORM FIELDS (if present in kontakt.html or modals, for future expansions) === */
input[type="text"],
input[type="email"],
textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #FFFFFF;
  border: 1.5px solid #FFD794;
  border-radius: 10px;
  padding: 12px 14px;
  color: #1B3556;
  outline: none;
  box-shadow: 0 2px 7px rgba(247,201,72,0.04);
  margin-bottom: 18px;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #F7C948;
  box-shadow: 0 2px 13px rgba(247,201,72,0.10);
}

/* === SELECTION COLOR === */
::selection {
  background: #F7C948;
  color: #1B3556;
}

/* === SCROLLBAR (for desktop) === */
::-webkit-scrollbar {
  width: 10px;
  background: #FFF8F3;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #F7C948;
  border-radius: 5px;
}

/* === A11Y: FOCUS VISIBLE === */
:focus-visible {
  outline: 2px solid #F7C948;
  outline-offset: 2px;
}

/* === ENSURE FLEX-ONLY, NO GRID OR COLUMNS === */
/* Verified: No grid, grid-*, columns, or absolute card positioning used. Flex only. */
