/* === CSS Reset & Normalize === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #F9F6F1;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #25304A;
  background: #F9F6F1;
  min-height: 100vh;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
a {
  color: #E3B23C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #be8d11;
}
button, .cta-button {
  font-family: inherit;
  cursor: pointer;
  outline: none;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.1s;
}

/* === Brand Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: #25304A;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 1px 2px 10px rgba(227,178,60,0.04);
}
h2 {
  font-size: 2rem;
  color: #E3B23C;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  color: #25304A;
  margin-bottom: 12px;
}
p, li, ul, ol {
  font-size: 1rem;
}
strong {
  font-weight: 700;
}

/* === Container & Layout === */
.container {
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 32px rgba(37, 48, 74, 0.05), 0 0.5px #E3B23C inset;
}

/* Artistic Creative Layouts */
.feature-grid,
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  justify-content: flex-start;
}
.card,
.feature-grid > div {
  background: #fffdfa;
  border-radius: 24px;
  box-shadow: 0 4px 21px rgba(37,48,74,0.07);
  padding: 28px 22px 24px 22px;
  margin-bottom: 20px;
  flex: 1 1 230px;
  min-width: 230px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.17s;
  border: 2px solid transparent;
}
.card:hover,
.feature-grid > div:hover {
  box-shadow: 0 8px 28px rgba(227,178,60,0.15), 0 4px 21px rgba(37,48,74,0.08);
  border-color: #E3B23C;
  transform: translateY(-4px) scale(1.027);
}

.text-section {
  display: flex;
  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;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Testimonial Cards */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  margin-bottom: 20px;
  background: #F9F6F1;
  border-radius: 22px;
  box-shadow: 0 2px 17px rgba(37,48,74,0.06), 0 0.5px #E3B23C inset;
  min-width: 220px;
  max-width: 350px;
  border: 1.5px solid #E3B23C;
  color: #25304A;
}
.testimonial-card p {
  font-style: italic;
  font-family: 'Merriweather', Georgia, serif;
  color: #303b55;
}
.testimonial-card span {
  font-size: 1rem;
  color: #25304A;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Contact Quicklinks */
.contact-quicklinks {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-quicklinks ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-quicklinks li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.06em;
}

/* Footer */
footer {
  margin-top: 30px;
  background: #25304A;
  color: #F9F6F1;
  box-shadow: 0 0 24px rgba(37,48,74,0.09);
  font-size: 1rem;
}
footer .container {
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 4px;
  justify-content: center;
}
.footer-menu a {
  color: #E3B23C;
  font-weight: 600;
  font-size: 1rem;
}
.footer-menu a:hover {
  color: #fde48a;
}
footer span {
  font-size: 0.97em;
  color: #F9F6F1;
}

/* --- Buttons & CTA --- */
.cta-button, .cta-button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: #E3B23C;
  color: #25304A;
  border-radius: 22px;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  font-size: 1.13rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 9px rgba(227,178,60,0.19);
  border: 2px solid #E3B23C;
  margin-top: 8px;
  transition: background 0.15s, color 0.13s, transform 0.12s, box-shadow 0.17s;
}
.cta-button:hover, .cta-button:focus {
  background: #25304A;
  color: #F9F6F1;
  border-color: #25304A;
  box-shadow: 0 8px 26px rgba(37,48,74,0.09), 0 4px 17px rgba(227,178,60,0.10);
  transform: translateY(-2px) scale(1.025);
  outline: none;
}
.cta-button:active {
  background: #be8d11;
  color: #fffdfa;
  transform: scale(0.97);
}

/* --- Header & Navigation --- */
header {
  background: #fffdfa;
  border-bottom: 1.2px solid #E3B23C;
  box-shadow: 0 3px 26px rgba(37,48,74,0.05);
  z-index: 100;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
}
header img {
  max-height: 44px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-left: 30px;
  flex-shrink: 1;
}
.main-nav a {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.04em;
  color: #25304A;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 17px;
  padding: 8px 16px;
  transition: background 0.16s, color 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E3B23C;
  color: #25304A;
  top: -1px;
}

/* --- Mobile Burger Menu --- */
.mobile-menu-toggle {
  display: none;
  background: #E3B23C;
  color: #25304A;
  border-radius: 50%;
  font-size: 2.2rem;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  box-shadow: 0 2px 13px rgba(227,178,60,0.17);
  border: 2px solid #E3B23C;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #fde48a;
  color: #25304A;
}
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 96vw;
  max-width: 420px;
  height: 100vh;
  background: #25304A;
  color: #F9F6F1;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.31s cubic-bezier(0.7,0,0.3,1);
  box-shadow: -9px 0 34px rgba(37,48,74,0.18);
  padding: 30px 0 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #E3B23C;
  font-size: 2.5rem;
  border: none;
  align-self: flex-end;
  margin: 12px 26px 14px 0;
  cursor: pointer;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fde48a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 32px;
}
.mobile-nav a {
  color: #F9F6F1;
  font-size: 1.22em;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 19px;
  letter-spacing: 0.01em;
  transition: background 0.16s, color 0.14s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E3B23C;
  color: #25304A;
}

/* --- Responsive & Flex Layouts --- */
@media (max-width: 1090px) {
  .feature-grid {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 950px) {
  .container {
    max-width: 95vw;
  }
  .feature-grid > div,
  .card {
    min-width: 200px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper, .feature-grid, .testimonials, .card-container, .content-grid, .footer-menu {
    gap: 14px;
    flex-direction: column;
  }
  .feature-grid > div, .card, .testimonial-card {
    min-width: 95vw;
    max-width: 100%;
    margin-bottom: 20px;
  }
  header .container {
    flex-direction: row;
    padding: 10px 2vw;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.23rem;
  }
}
@media (max-width: 510px) {
  .cta-button, .cta-button.primary {
    padding: 11px 12px;
    font-size: 1rem;
  }
  footer .container {
    padding: 13px 6px;
    gap: 7px;
    font-size: 0.91em;
  }
  .footer-menu {
    gap: 12px;
  }
}

/* --- Spacing & Artistic Visuals --- */
.section {
  box-shadow: 0 4.5px 27px 0 rgba(227,178,60,0.09), 0 2.4px 8.4px 0 rgba(37,48,74,0.04);
}
.feature-grid > div img,
.text-section img,
.contact-quicklinks img {
  height: 34px;
  width: 34px;
  margin-bottom: 13px;
  filter: drop-shadow(0 2px 7px #fde48a);
}

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

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Lists --- */
ul li, ol li {
  margin-bottom: 10px;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}
.text-section ul li {
  font-size: 1.08em;
  list-style: disc inside;
}
.text-section strong {
  color: #E3B23C;
}
.text-section > ul > li::marker {
  color: #E3B23C;
}

/* --- Form/Inputs for Kontakt --- */
input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  border: 2px solid #E3B23C;
  background: #fffdfa;
  border-radius: 12px;
  padding: 12px 14px;
  width: 100%;
  font-size: 1em;
  margin-bottom: 14px;
  color: #25304A;
  transition: border 0.17s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #25304A;
}

/* --- Animations --- */
.cta-button, .feature-grid > div, .testimonial-card, .header, .card {
  transition: box-shadow 0.18s, border 0.18s, background 0.18s, transform 0.15s;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #25304A;
  color: #F9F6F1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  z-index: 3000;
  box-shadow: 0 -3px 27px rgba(37,48,74,0.15);
  font-size: 1.05rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.44,.13,.6,.73), opacity 0.37s cubic-bezier(.44,.13,.6,.73);
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 17px;
}
.cookie-banner .cookie-btn {
  font-family: 'Merriweather', Georgia, serif;
  border-radius: 19px;
  border: 2px solid #E3B23C;
  background: #E3B23C;
  color: #25304A;
  font-weight: 600;
  font-size: 1.03rem;
  padding: 9px 20px;
  margin-left: 0;
  margin-right: 0;
  box-shadow: 0 1.5px 10px rgba(227,178,60,0.07);
  transition: background 0.13s, color 0.17s, border 0.13s;
}
.cookie-banner .cookie-btn.secondary {
  background: #fffdfa;
  color: #25304A;
  border: 2px solid #E3B23C;
}
.cookie-banner .cookie-btn.settings {
  background: #25304A;
  color: #E3B23C;
  border: 2px solid #E3B23C;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #25304A;
  color: #E3B23C;
  border: 2px solid #E3B23C;
}
@media (max-width: 750px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    padding: 16px 12px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
  }
}

/* --- Cookie Modal --- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(37,48,74,0.79);
  z-index: 3100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.34s cubic-bezier(.44,.13,.6,.73);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fffdfa;
  border-radius: 22px;
  box-shadow: 0 5px 36px rgba(37,48,74,0.18);
  padding: 36px 34px 30px 34px;
  max-width: 375px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal h3 {
  font-family: 'Merriweather',Georgia,serif;
  font-size: 1.21rem;
  color: #25304A;
  margin-bottom: 9px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 8px 0;
  font-size: 1.04rem;
  color: #25304A;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-modal input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #E3B23C;
  margin-right: 7px;
}
.cookie-modal .modal-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .cookie-btn {
  padding: 9px 17px;
  border-radius: 15px;
  font-size: 1rem;
}
/* --- Accessibility Focus Styles --- */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, input:focus {
  outline: 2px dashed #E3B23C;
  outline-offset: 2px;
}

/* === Artistic Accents === */
h1, h2, h3 {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.8px;
}
.section, .card, .feature-grid > div, .testimonial-card {
  border-radius: 22px 28px 20px 24px;
  border-style: solid;
  border-width: 1.2px;
  border-image: linear-gradient(120deg, #E3B23C 69%, #fffdfa 149%) 1;
  position: relative;
}
.section::before {
  content: '';
  display: block;
  position: absolute;
  left: 18px; top: 16px;
  width: 25px; height: 25px;
  background: #E3B23C;
  opacity: 0.09;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.section {
  position: relative;
  overflow: visible;
}

/* --- Micro-interactions & Artistic touches --- */
.cta-button[aria-pressed="true"] {
  background: #25304A;
  color: #E3B23C;
  border: 2px solid #E3B23C;
}
.cta-button:active {
  transform: scale(0.97);
}

/* === Utility & Helpers === */
.hide {
  display: none !important;
}

/* --- Print Styling (Minimal) --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body {
    color: #25304A;
    background: #fffdfa;
  }
}

/* === End of CSS === */
