/* ========== CSS 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;
  background: #F5F3EF;
  color: #294A6A;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #C96629;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #A04300;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1.2em;
}
li + li {
  margin-top: 0.5em;
}
strong, b {
  font-weight: 700;
}
em {
  font-style: italic;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #294A6A;
  margin-bottom: 0.5em;
  line-height: 1.15;
}
h1 {
  font-size: 2.6rem;
  color: #C96629;
  margin-bottom: 0.6em;
  text-shadow: 0 2px 14px rgba(169,67,0,0.10), 0 4px 24px rgba(41,74,106,0.04);
}
h2 {
  font-size: 2rem;
  color: #A04300;
  margin-bottom: 0.4em;
}
h3 {
  font-size: 1.25rem;
  color: #294A6A;
  margin-bottom: 0.4em;
}
p {
  margin-bottom: 1.2em;
}
.subheadline {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.13rem;
  color: #294A6A;
  margin-bottom: 1.5em;
  letter-spacing: 0.05em;
}

/* ========== CONTAINER & FLEX UTILITIES ========== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
  width: 100%;
  align-items: flex-start;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 4px 36px rgba(41,74,106,0.07), 0 2px 8px rgba(201,102,41,0.03);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(41,74,106,0.09);
  padding: 28px 24px 24px 24px;
  flex: 1 1 320px;
  transition: transform .17s, box-shadow .17s;
}
.card:hover, .card:focus {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 32px 0 rgba(201,102,41,0.10),0 4px 18px rgba(41,74,106,0.08);
  z-index: 2;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F5F3EF;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(169,67,0,0.09);
  margin-bottom: 20px;
  max-width: 420px;
  flex: 1 1 280px;
  color: #222F38;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ========== HERO SECTION ========== */
.hero {
  background: #C96629;
  background: linear-gradient(90deg, #C96629 27%, #A04300 100%);
  color: #FFF;
  padding: 70px 0 44px 0;
  margin-bottom: 54px;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 8px 40px 6px rgba(201,102,41,0.17);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero h1 {
  color: #FFF;
}
.hero .subheadline {
  color: #FFFFFF;
}

/* ========== NAVIGATION & HEADER ========== */
header {
  background: #294A6A;
  padding: 0.5em 0 0.5em 0;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 16px rgba(41,74,106,0.09);
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
}
header nav a {
  color: #F5F3EF;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06em;
  letter-spacing: 0.3px;
  padding: 10px 7px;
  border-radius: 6px;
  position: relative;
  transition: color .17s, background .15s;
}
header nav a:hover, header nav a:focus {
  color: #294A6A;
  background: #F5F3EF;
  text-decoration: none;
}
header nav img {
  height: 36px;
  margin-right: 14px;
  display: inline-block;
  background: transparent;
}

/* ========== CTA BUTTONS ========== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #C96629;
  color: #FFF;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.13em;
  padding: 15px 40px;
  border: 0;
  border-radius: 99px;
  box-shadow: 0 2px 14px rgba(201,102,41,0.18);
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background .18s, box-shadow .18s, transform .14s;
}
.cta-button:hover, .cta-button:focus {
  background: #A04300;
  color: #FFF;
  transform: scale(1.045) translateY(-2px);
  box-shadow: 0 6px 24px rgba(169,67,0,0.21);
  outline: none;
}

/* ========== FOOTER ========== */
footer {
  background: #294A6A;
  color: #F5F3EF;
  padding: 34px 0 16px 0;
  border-radius: 44px 44px 0 0;
  margin-top: 50px;
}
footer section {
  width: 100%;
  display: flex;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  text-align: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
footer nav a {
  color: #FFF;
  font-weight: 600;
  font-size: 1em;
  margin: 0 4px;
  padding: 2px 4px;
}
footer nav a:hover, footer nav a:focus {
  color: #C96629;
  text-decoration: underline;
}
footer img {
  height: 40px;
  margin-bottom: 10px;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  background: #FFF;
  border: 2px solid #C96629;
  color: #232323;
  box-shadow: 0 2px 10px 0 rgba(41,74,106,0.10);
  border-radius: 20px;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 20px;
  transition: border 0.18s, box-shadow 0.18s, transform 0.15s;
}
.testimonial-card strong {
  display: block;
  margin-top: 8px;
  color: #A04300;
  font-style: normal;
  font-size: 1.02em;
  font-weight: 700;
}
.testimonial-card:hover, .testimonial-card:focus {
  border: 2px solid #A04300;
  box-shadow: 0 6px 24px rgba(201,102,41,0.15);
  transform: translateY(-4px) scale(1.02);
  outline: none;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  background: #C96629;
  color: #FFF;
  font-size: 2em;
  border-radius: 10px;
  border: none;
  padding: 8px 18px;
  margin-left: auto;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(41,74,106,0.10);
  position: relative;
  z-index: 120;
  transition: background .17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #A04300;
  color: #FFF;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  box-sizing: border-box;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100%;
  background: rgba(41,74,106,0.98);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform .35s cubic-bezier(0.9,0.1,0.1,0.9);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2em;
  margin: 16px 22px 0 0;
  background: none;
  border: none;
  color: #F5F3EF;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 2010;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C96629;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  margin-top: 10vh;
  padding: 44px 34px 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.35em;
  font-weight: 700;
  color: #FFF;
  padding: 10px 8px;
  border-radius: 8px;
  transition: background .16s, color .14s;
}
.mobile-nav a:active, .mobile-nav a:focus, .mobile-nav a:hover {
  background: #C96629;
  color: #FFF;
  outline: none;
}

/* Hide nav, show burger on mobile */
@media (max-width: 991px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    margin-bottom: 32px;
    padding: 24px 8px;
    border-radius: 18px;
  }
  .hero {
    padding: 36px 0 16px 0;
    margin-bottom: 24px;
    border-radius: 0 0 19px 19px;
  }
  .content-wrapper {
    gap: 1em;
  }
  .text-image-section, .content-grid, .card-container {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  .testimonial-card {
    max-width: 100%;
  }
  footer {
    border-radius: 18px 18px 0 0;
    padding: 20px 0 9px 0;
  }
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.19rem;
  }
  h3 {
    font-size: 1.07rem;
  }
  .cta-button {
    padding: 13px 22px;
    font-size: 0.99em;
  }
  .mobile-nav {
    padding: 38px 14px 0 14px;
    gap: 18px;
  }
}
@media (max-width: 450px) {
  .hero h1, .hero .subheadline {
    font-size: 1.08em;
  }
}

/* ========== MICRO-INTERACTIONS ========== */
.card, .testimonial-card, .cta-button {
  transition: box-shadow 0.17s, transform 0.15s, background 0.2s, color 0.18s;
}

/* ========== ADDITIONAL VIBRANT/ENERGETIC STYLE ========== */
.section, .card, .testimonial-card{
  border-left: 6px solid #C96629;
}
.section:nth-child(odd) {
  border-left-color: #294A6A;
}
.section h2, .card h2 {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
}
.card, .section, .testimonial-card {
  /* Subtle dynamic BG pattern */
  background-image: repeating-linear-gradient(135deg, rgba(201,102,41,.03) 0 16px, transparent 16px 32px);
}
.card::before {
  content: '';
  display: block;
  position: absolute;
  top: 22px;
  right: 22px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #C96629;
  opacity: 0.09;
  z-index: 0;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg,#C96629 65%,#A04300 100%);
  color: #FFF;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: center;
  padding: 19px 12px;
  z-index: 9999;
  box-shadow: 0 -2px 18px rgba(41,74,106,0.08);
  animation: cookie-banner-slidein 0.6s cubic-bezier(0.22,0.68,0.56,1) 1;
}
@keyframes cookie-banner-slidein {
  0%{ transform:translateY(100%); opacity:0; }
  82%{ transform:translateY(-4px); opacity:.88; }
  100%{ transform:translateY(0); opacity:1; }
}
.cookie-banner p {
  margin: 0 14px 0 0;
  flex: 1 1 220px;
  font-size: 1.05em;
}
.cookie-banner .cookie-btn {
  background: #F5F3EF;
  color: #C96629;
  font-weight: 700;
  padding: 9px 22px;
  border: 0;
  border-radius: 22px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1em;
  margin-left: 6px;
  cursor: pointer;
  margin-right: 2px;
  transition: background .14s, color .14s, transform .13s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #A04300;
  color: #FFF;
  transform: translateY(-2px) scale(1.07);
}

/* ========== COOKIE MODAL POPUP ========== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(41,74,106,0.72);
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #FFF;
  color: #232323;
  border-radius: 24px;
  box-shadow: 0 6px 40px rgba(41,74,106,0.13);
  padding: 32px 26px 24px 26px;
  min-width: 288px;
  max-width: 94vw;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  animation: cookie-modal-in 0.27s cubic-bezier(0.6,0.1,0.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
@keyframes cookie-modal-in {
  0%{ transform: scale(0.85) translateY(90px); opacity: 0; }
  68%{ transform: scale(1.02) translateY(-10px); opacity: 1; }
  100%{ transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 4px;
  color: #C96629;
  font-size: 1.19em;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1.01em;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #C96629;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  width: 100%;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal .cookie-btn {
  background: #C96629;
  color: #FFF;
  border: 0;
  border-radius: 20px;
  padding: 10px 30px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  margin-right: 2px;
  transition: background .14s, color .14s, transform .13s;
}
.cookie-modal .cookie-btn.secondary {
  background: #F5F3EF;
  color: #C96629;
  border: 2px solid #C96629;
}
.cookie-modal .cookie-btn:hover, .cookie-modal .cookie-btn:focus {
  background: #A04300 !important;
  color: #FFF;
  transform: scale(1.07);
}
.cookie-modal-close {
  position: absolute;
  right: 24px;
  top: 18px;
  font-size: 1.45em;
  color: #A04300;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}

/* ========== FORMS ELEMENTS (GENERICS, e.g. Kontakt/Newsletter) ========== */
input, textarea {
  font-family: inherit;
  border-radius: 8px;
  border: 2px solid #C96629;
  font-size: 1em;
  padding: 11px 13px;
  width: 100%;
  transition: border .12s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #A04300;
}
button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
}

/* ========== SCROLLBAR FOR VIBRANT FEEL ========== */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: #C96629;
  border-radius: 8px;
  border: 3px solid #F5F3EF;
}
::-webkit-scrollbar-track {
  background: #F5F3EF;
}

/* ========== MISCELLANEOUS ========== */
hr {
  border: none;
  border-top: 2px solid #C96629;
  margin: 32px 0;
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
  outline: 2px solid #A04300;
  outline-offset: 2px;
}

/* Always enough margin between sections and cards */
section {
  margin-bottom: 60px !important;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px !important;
}

/* Proper GAP in all flexbox lists */
.card-container, .content-grid, .text-image-section {
  gap: 24px !important;
}

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