/* ---- CSS RESET & NORMALIZATION ---- */
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;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F6F9FB; /* secondary */
  color: #161B22;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
  display: inline-block;
  vertical-align: middle;
}
a {
  color: #205081; /* primary */
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFB718; /* gold accent */
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: #161B22;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #205081;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 { font-size: 1.1rem; }

p, blockquote, table, ul, ol {
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
}

/* --- GLOBAL CONTAINERS ---*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* --- SECTIONS --- */
section {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(32, 80, 129, 0.06);
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 28px 8px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 8px;
  }
}

/* ---- NAVIGATION HEADER ---- */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(32,80,129,0.07);
  position: sticky;
  top: 0;
  z-index: 999;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 20px 18px 20px;
}
.main-nav > a img {
  height: 38px;
  width: auto;
}
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  margin: 0;
}
.main-nav ul li {
  margin: 0;
  position: relative;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: #F6F9FB;
  color: #FFB718;
}
.btn-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  background: #205081;
  border: none;
  border-radius: 24px;
  padding: 11px 30px;
  font-size: 1.08rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0px 2px 16px 0 rgba(32,80,129,0.11);
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFB718;
  color: #205081;
  box-shadow: 0px 4px 20px 0 rgba(255,183,24,0.15);
}

/* -- Mobile Burger Menu -- */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: 2px solid #205081;
  color: #205081;
  border-radius: 6px;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  margin-left: auto;
  z-index: 1012;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  border-color: #FFB718;
  color: #FFB718;
}

/* --- MOBILE NAVIGATION DRAWER ---*/
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 85vw;
  max-width: 340px;
  background: #fff;
  box-shadow: -4px 0 28px 0 rgba(32, 80, 129, 0.18);
  z-index: 1011;
  flex-direction: column;
  padding: 32px 28px 24px 28px;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.7,0.2,0.2,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #205081;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1012;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFB718;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 56px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.13rem;
  color: #205081;
  padding: 10px 0;
  transition: color 0.2s;
  border-bottom: 1px solid #F8CE62;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FFB718;
}

@media (max-width: 1024px) {
  .main-nav ul {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    display: none;
  }
  .btn-primary {
    margin-left: 12px;
  }
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width:900px) {
  .main-nav {
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* --- HERO SECTION --- */
section:first-of-type {
  background: linear-gradient(125deg, #fff 60%, #F8CE62 150%);
  border-radius: 0 0 28px 28px;
  box-shadow: none;
  position: relative;
  min-height: 260px;
}
@media (max-width: 600px){
  section:first-of-type {
    padding-top: 28px;
    padding-bottom: 22px;
    border-radius: 0 0 18px 18px;
  }
}

/* --- FEATURES / GRID / FLEX --- */
.features-grid, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .features-grid, .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}
.feature, .feature-item, .feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F6F9FB;
  border-radius: 12px;
  padding: 24px 18px 18px 18px;
  min-width: 220px;
  box-shadow: 0 2px 10px 0 rgba(32,80,129,0.08);
  margin-bottom: 20px;
  flex: 1 1 0px;
  border: 1.5px solid #f4ead5;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature:hover, .feature-item:hover, .feature-grid li:hover {
  border-color: #FFB718;
  box-shadow: 0 4px 24px 0 rgba(255,183,24,0.08), 0 2px 18px 0 rgba(32,80,129,0.07);
}
.feature img, .feature-grid img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}


/* --- SERVICE LIST / PRICES --- */
.service-list {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-list li {
  background: #FFFBF3;
  border-left: 4px solid #FFB718;
  border-radius: 10px;
  padding: 18px 18px 18px 24px;
  font-size: 1.08rem;
  color: #233044;
  box-shadow: 0 2px 11px 0 rgba(32,80,129,0.04);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li h3 {
  font-size: 1.13rem;
  color: #205081;
  margin-bottom: 3px;
}
.service-list li .service-price {
  margin-top: 6px;
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.11rem;
  color: #FFB718;
}

/* --- PRICING TABLE --- */
.pricing-table {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
.pricing-table table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(32,80,129,0.04);
  font-size: 1.06rem;
  margin: 0;
}
.pricing-table th,
.pricing-table td {
  padding: 14px 20px;
  border: none;
  border-bottom: 1px solid #F6F9FB;
  text-align: left;
}
.pricing-table th {
  background: #FFB718;
  color: #205081;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px 0 rgba(32,80,129,0.08);
  border-left: 5px solid #FFB718;
  transition: box-shadow 0.2s, border-color 0.2s;
  color: #161B22;
  font-size: 1.07rem;
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 4px 24px 0 rgba(255,183,24,0.09), 0 2px 18px 0 rgba(32,80,129,0.08);
  border-color: #205081;
}
.testimonial-card p {
  color: #222;
  margin-bottom: 0px;
  font-style: italic;
  flex: 1;
}
.testimonial-autor {
  font-size: 0.97rem;
  color: #205081;
  font-style: normal;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: 7px;
  letter-spacing: 0.02em;
}

@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 14px;
  }
}

/* --- TEXT & IMAGE SECTION --- */
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width:768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- UTILS: CARD CONTAINER / FLEX WRAPS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px 0 rgba(32,80,129,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border: 1.3px solid #f4ead5;
  transition: box-shadow 0.2s,border-color 0.2s;
}
.card:hover {
  border-color: #FFB718;
  box-shadow: 0 4px 20px 0 rgba(255,183,24,0.09), 0 2px 11px 0 rgba(32,80,129,0.07);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* --- QUOTES / BLOCKQUOTE --- */
blockquote {
  border-left: 4px solid #205081;
  background: #F6F9FB;
  padding: 18px 22px;
  border-radius: 12px;
  color: #233044;
  font-style: italic;
  font-size: 1.13rem;
  margin: 20px 0 16px 0;
}
blockquote b {
  color: #205081;
  font-weight: 700;
  font-style: normal;
}
blockquote span {
  display: block;
  color: #FFB718;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-style: normal;
  margin-top: 6px;
}

/* --- MAP PLACEHOLDER (Kontakt) --- */
.map-placeholder {
  background: #F0F4F8;
  border: 1.5px solid #20508133;
  color: #233044;
  border-radius: 8px;
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 12px;
  font-size: 0.96rem;
  margin: 2px 0 0 0;
}

/* --- FOOTER STYLES --- */
footer {
  background: #161B22;
  color: #fff;
  padding: 36px 0 0 0;
  border-radius: 22px 22px 0 0;
}
footer .container {
  max-width: 1100px;
  padding-bottom: 18px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 33px;
  justify-content: space-between;
  width: 100%;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #F6F9FB;
  margin-bottom: 10px;
}
.footer-brand img {
  height: 34px;
}
.footer-menu {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #FFB718;
  padding: 4px 9px;
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: 4px;
  transition: background 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: #205081;
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 10px 0 0 0;
}
.footer-social a img {
  height: 26px;
  width: 26px;
  filter: grayscale(0.1);
  transition: filter 0.15s;
}
.footer-social a:hover img {
  filter: grayscale(0) drop-shadow(0 0 4px #ffb71840);
}
.contact-brief {
  color: #c9d2e0;
  font-size: 0.97rem;
  margin-top: 5px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .footer-menu {
    gap: 12px;
    margin-bottom: 5px;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 25px 0 0 0;
    border-radius: 13px 13px 0 0;
  }
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.05rem;
  }
  .main-nav > a img {
    height: 32px;
  }
  .footer-brand img {
    height: 25px;
  }
}

/* ---- BUTTON / INTERACTIONS ---- */
button, .btn-primary {
  transition: background .2s, color .2s, box-shadow .2s;
  outline: none;
  cursor: pointer;
}
button:active, .btn-primary:active {
  opacity: 0.84;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fffbe7;
  border-top: 2px solid #FFB718;
  z-index: 2000;
  box-shadow: 0 -2px 30px 0 rgba(32,80,129,0.09);
  padding: 24px 18px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 1;
  transition: opacity 0.4s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  color: #233044;
  font-size: 1.03rem;
  flex: 1 1 240px;
}
.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}
.cookie-btn {
  background: #205081;
  color: #fff;
  border-radius: 20px;
  border: none;
  padding: 8px 23px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-right: 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0px 1px 6px 0 rgba(32,80,129,0.03);
}
.cookie-btn.cookie-reject {
  background: #fff;
  color: #205081;
  border: 1.5px solid #205081;
}
.cookie-btn.cookie-settings {
  background: #FFB718;
  color: #205081;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #FFB718;
  color: #161B22;
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #205081;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 19px 6px 18px 8px;
  }
  .cookie-btn-group {
    gap: 8px;
  }
  .cookie-banner-text {
    font-size: 0.97rem;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed !important;
  inset: 0;
  background: rgba(32,80,129,0.38);
  z-index: 2050;
  pointer-events: all;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  transition: background 0.2s;
}
.cookie-modal {
  background: #fffbe7;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 32px 0 rgba(32,80,129,0.19);
  max-width: 420px;
  width: 95vw;
  margin: 0 auto 0 0;
  padding: 32px 28px 18px 28px;
  position: relative;
  animation: slideUp .42s cubic-bezier(0.7,0.2,0.2,1);
}
@keyframes slideUp {
  0% { transform: translateY(180px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  color: #205081;
  margin-bottom: 18px;
  font-size: 1.33rem;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f6e7bc;
  font-size: 1.03rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle {
  cursor: pointer;
  appearance: none;
  width: 38px;
  height: 22px;
  background: #e6e1d9;
  border-radius: 11px;
  position: relative;
  outline: none;
  border: none;
  transition: background 0.2s;
}
.cookie-toggle:checked {
  background: #FFB718;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  top: 2.2px;
  left: 3px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
  box-shadow: 0 1px 6px #d7c17758;
}
.cookie-toggle:checked:before {
  left: 18px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  background: none;
  border: none;
  color: #205081;
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #FFB718;
}
.cookie-modal-actions {
  margin-top: 23px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 0.98rem;
  padding: 8px 20px;
  margin: 0;
}

@media (max-width: 600px) {
  .cookie-modal {
    max-width: 98vw;
    padding: 22px 11px 11px 11px;
  }
  .cookie-modal h2 {
    font-size: 1.08rem;
  }
  .cookie-category {
    font-size: 0.98rem;
    gap: 9px;
  }
}

/* --- UTILITIES & DETAILS --- */
::-webkit-selection { background: #FFB718; color: #fff; }
::selection { background: #FFB718; color: #fff; }

hr {
  border: none;
  border-top: 1.5px solid #e5e5e5;
  margin: 24px 0;
}

/* --- SCROLLBAR --- */
body::-webkit-scrollbar {
  width: 10px;
  background: #F6F9FB;
}
body::-webkit-scrollbar-thumb {
  background: #E3C583;
  border-radius: 6px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #FFB718;
}

/* --- ELEGANT DETAILS --- */
.section-title-underline {
  width: 48px;
  height: 4px;
  background: #FFB718;
  margin-bottom: 18px;
  border-radius: 2px;
}

/* --- TYPOGRAPHY SCALE --- */
.text-large {
  font-size: 1.5rem;
  font-weight: 700;
}
.text-medium {
  font-size: 1.12rem;
}
.text-small {
  font-size: 0.98rem;
  color: #233044;
}

/* --- SPACING CONSISTENCY --- */
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 12px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-8  { margin-top: 8px; }

/* --- FOCUS INDICATOR (A11Y) --- */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px dotted #205081;
  outline-offset: 2px;
}

/* --- GOLD ACCENTS --- */
.accent {
  color: #FFB718;
}
.bg-accent {
  background: #FFB718;
  color: #205081;
}

/* --- Hide elements visually but keep accessible --- */
.sr-only {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
}

/* --- END --- */
