/* CSS RESET & BASELINE ----------------------------- */
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: inherit; vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; }
body { background: #fff; color: #2D4059; font-family: 'Open Sans', Arial, sans-serif; line-height: 1.6; font-weight: 400; font-size: 16px; letter-spacing: 0.01em; }
img { max-width: 100%; display: block; height: auto; border: 0; }

a { color: #2D4059; text-decoration: none; transition: color .2s; }
a:focus, a:hover { color: #FFD460; outline: none; }

ul, ol { padding-left: 1.7em; margin-bottom: 16px; }
li { margin-bottom: 8px; }

hr { border: 0; border-top: 1px solid #ececec; margin: 32px 0; }

/* TYPOGRAPHY ----------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #2D4059;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.25rem; margin-bottom: 12px; }
h5 { font-size: 1.1rem; margin-bottom: 10px; }
h6 { font-size: 1rem; margin-bottom: 8px; }
.subtitle { color: #FFD460; font-family: 'Montserrat', sans-serif; font-weight: 500; margin-top: 8px; display: block; font-size: 1.1rem; letter-spacing: 0.06em; }
p { margin-bottom: 16px; font-size: 1rem; color: #2D4059; }
strong { font-weight: 600; }

/* LAYOUT CONTAINER ----------------------------- */
.container {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* Sections - Spacing pattern */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
@media (max-width: 768px) {
  .section, section { padding: 30px 8px; margin-bottom: 36px; }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: transparent;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 24px; align-items: flex-start; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(45, 64, 89, 0.04);
  padding: 28px 22px;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, transform .2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(45, 64, 89, 0.10);
  transform: translateY(-2px) scale(1.01);
}
@media (max-width: 700px) {
  .card-container { flex-direction: column; }
  .card { width: 100%; }
}

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

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F5F6FA;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(45,64,89,0.05);
  color: #232323;
  font-size: 1rem;
  transition: box-shadow .2s;
  position: relative;
}
.testimonial-card strong {
  color: #2D4059;
}
@media (max-width: 480px) {
  .testimonial-card { flex-direction: column; gap: 10px; padding: 14px; }
}

/* HEADER & NAVIGATION ----------------------------- */
header {
  background: #fff;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1200;
  box-shadow: 0 2px 10px 0 rgba(45,64,89, 0.07);
  min-height: 60px;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0 12px 0;
}
nav img {
  height: 40px; width: auto;
}
nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  gap: 24px;
  margin: 0;
}
nav ul li a {
  font-family: 'Montserrat', sans-serif;
  color: #2D4059;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
nav ul li a:hover, nav ul li a:focus {
  background: #FFD460;
  color: #2D4059;
}
.cta-btn, .mobile-nav .cta-btn {
  background: #FFD460;
  color: #2D4059;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 22px;
  box-shadow: 0 1px 7px 0 rgba(45,64,89, 0.04);
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background .16s, color .18s, transform .18s;
  margin-left: 18px;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #2D4059;
  color: #FFD460;
  transform: translateY(-1px) scale(1.02);
}
/* Hide cta-btn on mobile in nav */
@media (max-width: 1023px) {
  nav ul { gap: 10px; }
  .cta-btn { margin-left: 0; padding: 10px 20px; }
}
@media (max-width: 900px) {
  nav ul { display: none; }
  .cta-btn { display: none; }
}

/* MOBILE MENU ----------------------------- */
.mobile-menu-toggle {
  display: none;
  background: #FFD460;
  border: none;
  border-radius: 8px;
  font-size: 1.8rem;
  padding: 7px 14px;
  margin-left: 8px;
  cursor: pointer;
  color: #2D4059;
  transition: background .18s, color .15s;
  z-index: 1300;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #2D4059;
  color: #FFD460;
}
@media (max-width: 900px) {
  .mobile-menu-toggle { display: block; position: absolute; top: 18px; right: 20px; }
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 2px 30px 0 rgba(45,64,89,0.15);
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.53,.12,.49,.94);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 26px;
  background: none;
  border: none;
  color: #2D4059;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 2020;
  transition: color .18s;
  padding: 2px 11px;
  border-radius: 10px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD460;
  background: #2D4059;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 90px;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 0 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  color: #2D4059;
  padding: 14px 8px;
  border-radius: 7px;
  transition: background .2s, color .14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #FFD460;
  color: #2D4059;
  outline: none;
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* MAIN / GENERAL PAGE CONTENT ----------------------------- */
main {
  width: 100%;
  min-height: 64vh;
  margin-top: 10px;
}

/* ICONS + LISTS ----------------------------- */
.content-wrapper ul li,
.text-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 1rem;
  color: #2D4059;
  padding: 6px 0;
}
.content-wrapper ul li img,
.text-section ul li img {
  width: 24px;
  min-width: 24px;
  height: 24px;
  margin-right: 4px;
  object-fit: contain;
  filter: none;
}

.content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
  padding-left: 0;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding-left: 0;
}

.content-wrapper ol {
  display: flex;
  flex-direction: column;
  gap: 7px;
  list-style: decimal inside;
  padding-left: 1.7em;
}

/* MAP EMBED (Kontakt) */
.map-embed {
  margin-top: 20px;
  background: #F5F6FA;
  padding: 17px 22px;
  border-radius: 10px;
  color: #2D4059;
  font-size: 1rem;
  box-shadow: 0 1px 6px 0 rgba(45,64,89,0.04);
}

/* FOOTER ----------------------------- */
footer {
  background: #F5F6FA;
  border-top: 1px solid #EFEFEF;
  margin-top: 60px;
  padding: 38px 0 28px 0;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  margin-bottom: 18px;
  color: #2D4059;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #2D4059;
  transition: color .16s, text-decoration .12s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #FFD460; text-decoration: underline; }

.footer-contact {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.98rem;
  color: #2D4059;
  margin-bottom: 4px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  margin-right: 3px;
  vertical-align: middle;
  filter: none;
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 7px;
}
.footer-logo img {
  width: 40px; height: 40px;
}
@media (max-width: 700px) {
  .footer-contact { flex-direction: column; gap: 5px; align-items: flex-start; }
  .container { padding-left: 8px; padding-right: 8px; }
}

/* BUTTONS (general) ----------------------------- */
button,
input[type="submit"],
input[type="button"],
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #FFD460;
  color: #2D4059;
  border: none;
  border-radius: 22px;
  padding: 11px 24px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .15s;
  outline: none;
  margin: 0 8px 0 0;
  box-shadow: 0 1px 6px 0 rgba(45,64,89,0.03);
}
button:hover, button:focus,
input[type="submit"]:hover, input[type="submit"]:focus,
.cookie-btn:hover, .cookie-btn:focus {
  background: #2D4059;
  color: #FFD460;
}
/* Secondary button */
.cookie-btn.secondary {
  background: #2D4059;
  color: #FFD460;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #FFD460;
  color: #2D4059;
}
/* Neutral button */
.cookie-btn.neutral {
  background: #EFEFEF;
  color: #2D4059;
}
.cookie-btn.neutral:hover, .cookie-btn.neutral:focus {
  background: #FFD460;
  color: #2D4059;
}

/* COOKIE CONSENT BANNER ----------------------------- */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 4000;
  background: #2D4059;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 -2px 18px 0 rgba(45, 64, 89, 0.17);
  padding: 24px 18px 16px 18px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 38px;
  opacity: 1;
  pointer-events: all;
  transition: transform .45s cubic-bezier(.53,.12,.49,.94), opacity .2s;
}
#cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner .cookie-banner__text {
  max-width: 560px;
}
#cookie-banner .cookie-banner__actions {
  display: flex; flex-direction: row; gap: 13px; align-items: center;
}
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; gap: 12px; align-items: stretch; padding: 20px 7px 12px 7px; }
  #cookie-banner .cookie-banner__actions { justify-content: flex-end; gap: 7px; }
}

/* COOKIE CONSENT MODAL ----------------------------- */
#cookie-modal-overlay {
  position: fixed;
  z-index: 5000;
  background: rgba(45,64,89,0.43);
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity .35s;
  padding: 10px;
}
#cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
#cookie-modal {
  background: #fff;
  color: #2D4059;
  border-radius: 14px;
  width: 100%; max-width: 430px;
  box-shadow: 0 6px 38px 0 rgba(45,64,89, 0.17), 0 1.5px 9px 0 rgba(45,64,89,0.04);
  padding: 36px 30px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  animation: cookie-modal-fadein .37s cubic-bezier(.53,.12,.49,.94);
}
@media (max-width: 500px) {
  #cookie-modal { padding: 22px 6px; }
}

#cookie-modal .cookie-modal-title {
  font-size: 1.32rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #2D4059;
  margin-bottom: 4px;
}
#cookie-modal .cookie-modal-close {
  position: absolute;
  top: 11px; right: 13px;
  background: none;
  border: none;
  color: #2D4059;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 7px;
  transition: background .16s, color .16s;
}
#cookie-modal .cookie-modal-close:hover,
#cookie-modal .cookie-modal-close:focus {
  background: #FFD460;
  color: #2D4059;
}
.cookie-options-group {
  display: flex; flex-direction: column; gap: 12px; }
.cookie-category-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 6px;
}
.cookie-category-row label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-switch {
  position: relative;
  width: 40px; height: 22px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #EFEFEF;
  border-radius: 22px;
  transition: background .19s;
}
.cookie-switch input:checked + .cookie-slider {
  background-color: #FFD460;
}
.cookie-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px; height: 16px;
  background: #2D4059;
  border-radius: 50%;
  transition: transform .18s;
}
.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(18px);
  background: #2D4059;
}
.cookie-category-row[aria-disabled="true"] {
  opacity: 0.62;
}
.cookie-category-row[aria-disabled="true"] .cookie-switch {
  pointer-events: none;
  filter: grayscale(0.6);
}
.cookie-modal-actions {
  display: flex; flex-direction: row; gap: 9px; justify-content: flex-end; margin-top: 20px;
}
/* Animations */
@keyframes cookie-modal-fadein {
  from { opacity: 0; transform: translateY(80px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* ACCESSIBILITY ----------------------------- */
:focus-visible, input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 2px solid #FFD460; outline-offset: 0.7px;
}

/* RESPONSIVE ADJUSTMENTS ----------------------------- */
@media (max-width: 1200px) {
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  nav { flex-direction: row; gap: 12px; }
  nav ul { display: none; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.62rem; }
  h2 { font-size: 1.24rem; }
  .section, section { padding: 13px 3px; }
}

/* MISC / UTILS ----------------------------- */
.hide, .d-none { display: none !important; }
.w-100 { width: 100% !important; }
.bg-accent { background: #F5F6FA !important; }
.text-center { text-align: center !important; }
.text-primary { color: #2D4059 !important; }
.text-secondary { color: #FFD460 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
/* END CSS */
