/* --- Reset / Normalize (Simple & Secure) --- */
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, b, 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,
menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  height: 100%;
  line-height: 1.7;
  background: #F1FAFE;
  color: #2D2D2D;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #195D74;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #195D74;
  outline-offset: 2px;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #195D74;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, .text-section {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.7;
}
strong {
  color: #195D74;
  font-weight: 600;
}
.subheadline {
  font-size: 1.25rem;
  font-style: italic;
  color: #195D74;
  margin-bottom: 24px;
}

/* --- Utility Containers --- */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  padding: 0;
  margin-bottom: 0;
}

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

/* --- FLEXBOX Layout Pattern Classes --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(25,93,116,0.10);
  padding: 28px 24px;
  min-width: 270px;
  flex: 1 1 270px;
}
.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;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(25,93,116,0.11);
  padding: 20px 28px 20px 28px;
  margin-bottom: 20px;
  max-width: 600px;
  border-left: 5px solid #EAB67A;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 18px rgba(25,93,116,0.17);
  transform: translateY(-3px);
}
.testimonial-meta {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #94622B;
  font-size: 0.98rem;
  font-style: italic;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* --- Features Grid for Home/Leistungen/Workshops --- */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 18px;
}
.features-grid > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(25,93,116,0.09);
  padding: 26px 20px 20px 20px;
  min-width: 240px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.25s, transform 0.22s;
}
.features-grid > div:hover {
  box-shadow: 0 6px 22px rgba(25,93,116,0.13);
  transform: translateY(-4px) scale(1.03);
}
.features-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
}

/* --- Hero Section --- */
.hero {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(25,93,116,0.07);
  margin-top: 36px;
  margin-bottom: 48px;
  padding: 44px 0 36px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Header Navigation --- */
header {
  background: #F1FAFE;
  border-bottom: 1px solid #d2e6ef;
  padding: 0;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px 18px 20px;
}
header img {
  height: 56px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  color: #195D74;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #EAB67A;
  color: #fff;
}
.cta-btn {
  font-family: 'Georgia', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.08rem;
  padding: 11px 32px;
  border-radius: 27px;
  background: #195D74;
  color: #fff;
  border: none;
  box-shadow: 0 3px 11px rgba(25,93,116,0.09);
  cursor: pointer;
  transition: background 0.18s, color 0.21s, box-shadow 0.2s, transform 0.2s;
}
.cta-btn:hover,
.cta-btn:focus {
  background: #EAB67A;
  color: #195D74;
  box-shadow: 0 5px 20px rgba(234,182,122,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* --- Footer --- */
footer {
  background: #fff;
  border-top: 1px solid #d2e6ef;
  padding-top: 38px;
  padding-bottom: 32px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
footer img {
  height: 38px;
  width: auto;
}
.footer-nav {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #195D74;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  padding: 5px 8px;
  border-radius: 7px;
  transition: background .17s, color .17s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: #EAB67A;
  color: #fff;
}
.footer-contact {
  color: #594D42;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  max-width: 350px;
  line-height: 1.6;
}
.footer-contact a {
  color: #195D74;
  text-decoration: underline;
  transition: color 0.2s;
}
.footer-contact a:hover,
.footer-contact a:focus {
  color: #EAB67A;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background: #fff;
  border-top: 2px solid #195D74;
  box-shadow: 0 -2px 12px rgba(25,93,116,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px 20px 22px 20px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  animation: cookie-fadein 0.6s cubic-bezier(.25,1.3,.96,.98);
}
@keyframes cookie-fadein {
  0% {opacity:0; transform:translateY(40px);}
  100% {opacity:1; transform:translateY(0);}
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.cookie-btn {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 26px;
  border: none;
  box-shadow: 0 2px 7px rgba(25,93,116,0.08);
  margin-bottom: 0;
  margin-right: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.17s, box-shadow 0.15s;
}
.cookie-btn.accept {
  background: #195D74;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #195D74;
  border: 1px solid #195D74;
}
.cookie-btn.settings {
  background: #EAB67A;
  color: #fff;
}
.cookie-btn:hover,
.cookie-btn:focus {
  filter: brightness(1.07);
  box-shadow: 0 3px 14px rgba(234,182,122,0.11);
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25,93,116,0.21);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein 0.35s cubic-bezier(.31,1.26,.71,.97);
}
@keyframes cookie-modal-fadein {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  padding: 40px 32px 32px 32px;
  border-radius: 20px;
  max-width: 420px;
  width: 96%;
  box-shadow: 0 8px 36px rgba(25,93,116,0.14);
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Georgia', serif;
  font-size: 1.28rem;
  color: #195D74;
  margin-bottom: 8px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #195D74;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-switch {
  width: 36px;
  height: 20px;
  background: #EEE;
  border-radius: 20px;
  position: relative;
  margin-right: 4px;
  flex-shrink: 0;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-switch-label {
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 20px;
  border-radius: 20px;
  background: #EEE;
  pointer-events: none;
}
.cookie-switch input[type="checkbox"]:checked + .cookie-switch-label {
  background: #195D74;
}
.cookie-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(25,93,116,0.08);
  transition: left 0.19s cubic-bezier(.45,1.13,.51,.98);
}
.cookie-switch input[type="checkbox"]:checked ~ .cookie-switch-knob {
  left: 18px;
}
.cookie-category.essential .cookie-switch-label {
  background: #A8BFC7;
}
.cookie-category.essential label {
  color: #96876A;
}
.cookie-category .cookie-switch input[type="checkbox"]:disabled + .cookie-switch-label {
  background: #CCC;
}
.cookie-modal-actions {
  display: flex;
  gap: 19px;
  justify-content: flex-end;
  margin-top: 16px;
}

/* --- Mobile Navigation --- */
.mobile-menu-toggle {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1200;
  font-size: 2.1rem;
  color: #195D74;
  background: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(25,93,116,0.09);
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus {
  box-shadow: 0 0 0 3px #EAB67A;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.58,1.34,.44,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
  box-shadow: 0 8px 36px rgba(25,93,116,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.2rem;
  color: #195D74;
  position: absolute;
  top: 24px;
  right: 26px;
  cursor: pointer;
  z-index: 2050;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-top: 68px;
  width: 100%;
  padding: 18px 32px 32px 32px;
}
.mobile-nav a {
  font-family: 'Georgia', serif;
  font-size: 1.23rem;
  color: #195D74;
  padding: 12px 0;
  border-radius: 7px;
  transition: background 0.16s, color 0.18s;
  width: 100%;
  text-align: left;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #EAB67A;
  color: #fff;
}

/* --- Responsive Styles (Mobile-first) --- */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  .features-grid > div, .card {
    min-width: 220px;
    padding: 20px 14px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.06rem; }
  .footer-contact { font-size: 0.96rem; }
  header .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 13px 16px 13px 16px;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    padding: 9px 22px;
    font-size: 1rem;
  }
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .features-grid > div {
    min-width: 0;
    width: 100%;
  }
  .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    padding: 18px 12px 18px 16px;
    max-width: 98vw;
    border-left-width: 3px;
    min-width: 0;
  }
  .hero {
    padding: 18px 0 24px 0;
    margin-top: 12px;
    margin-bottom: 16px;
    border-radius: 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 27px;
    align-items: flex-start;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .section {
    margin-bottom: 27px;
    padding: 22px 4vw;
  }
  .footer-contact {
    font-size: 0.93rem;
  }
  .cookie-modal {
    padding: 26px 5vw 18px 5vw;
    max-width: 97vw;
  }
}
@media (max-width: 420px) {
  .cookie-banner {
    padding: 13px 3vw 17px 3vw;
    font-size: 0.95rem;
  }
  .cookie-banner-buttons { gap: 10px; }
}

/* --- Lists bullet spacing --- */
ul {
  margin-bottom: 14px;
}
ul li {
  margin-bottom: 8px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #333;
}

/* --- Text-section formatting --- */
.text-section {
  padding: 17px 0;
}
.text-section ul, .text-section ol {
  margin-bottom: 0;
  padding-left: 1.3em;
}
.text-section img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 9px;
  width: 23px;
}

/* --- Button & Interaction --- */
button, input[type="button"], input[type="submit"] {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  border-radius: 22px;
  padding: 10px 21px;
  border: none;
  cursor: pointer;
  background: #195D74;
  color: #fff;
  box-shadow: 0 1px 7px rgba(25,93,116,0.09);
  transition: background 0.18s, color 0.21s, box-shadow 0.19s, transform 0.16s;
}
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:focus {
  background: #EAB67A;
  color: #195D74;
  box-shadow: 0 4px 19px rgba(234,182,122,0.12);
  transform: scale(1.03);
}

/* --- Card Customization --- */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(25,93,116,0.10);
}

/* --- Misc --- */
::-webkit-scrollbar {
  width: 10px;
  background: #f9fafd;
}
::-webkit-scrollbar-thumb {
  background: #d2e6ef;
  border-radius: 8px;
}

/* --- Accessibility --- */
:focus-visible {
  outline: 2px dashed #EAB67A;
}

/* --- Hide elements offscreen (Utility) --- */
.sr-only {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0,0,0,0) !important;
  white-space: nowrap !important; border: 0 !important;
}
