/* ===== CSS Reset & Normalize ===== */
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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}
*, *:before, *:after {
  box-sizing: inherit;
}
html {
  scroll-behavior: smooth;
  background: #F6F8FC;
}

/* ===== Root & Brand Color Palette ===== */
:root {
  --primary: #123255;
  --secondary: #FFB744;
  --accent: #F6F8FC;
  --text-main: #222136;
  --text-light: #fff;
  --bg-section: #f9fafb;
  --surface-card: #fff;
  --border: #e3e3e3;
  --shadow-main: 0 3px 18px 0 rgba(18,50,85,0.08);
  --shadow-card: 0 2px 8px rgba(18,50,85,0.07);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ===== Typography: Elegant Classic ===== */
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background: var(--accent);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 700px) {
  body { font-size: 18px; }
}
@media (min-width: 1100px) {
  body { font-size: 20px; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}
h1 { font-size: 2.2rem; margin-bottom: 24px; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul li {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  letter-spacing: 0.01em;
}
strong { font-weight: bold; }
em { font-style: italic; }

/* Extra Elegant Letter Spacing in Headings */
h1, h2, h3 {
  letter-spacing: 0.02em;
}

/* =================== Layout Containers =================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: 18px;
  box-shadow: var(--shadow-main);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

@media (min-width: 900px) {
  .content-wrapper {
    gap: 28px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  border-radius: 12px;
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 280px;
}

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

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  max-width: 520px;
  width: 100%;
}

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

/********* ELEGANT CLASSIC VISUAL CARD & FEATURE GRID ********/
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 20px 0;
}
.feature-list > div {
  background: #fff;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(18,50,85,0.06);
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}

/********* NAVIGATION & HEADER ********/
header {
  background: var(--surface-card);
  box-shadow: 0 2px 12px rgba(18,50,85,0.05);
  border-bottom: 1px solid #e5e8ee;
  padding-top: 10px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.logo img {
  max-height: 48px;
  transition: filter var(--transition);
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
nav a:hover,
nav a:focus {
  background: var(--secondary);
  color: var(--text-light);
}
nav a.cta {
  font-weight: bold;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(18,50,85,0.09);
  border-radius: 7px;
  padding: 10px 22px;
  margin-left: 12px;
  transition: background var(--transition), color var(--transition);
  border: none;
}
nav a.cta:hover, nav a.cta:focus {
  background: var(--secondary);
  color: var(--primary);
}
.button-inverse {
  background: var(--secondary);
  color: var(--primary);
  font-weight: bold;
}

/********* MOBILE NAVIGATION - HAMBURGER MENU ********/
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 2100;
  transition: background var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(18,50,85,0.13);
}

/* Hide mobile menu toggle on desktop */
@media (min-width: 1000px) {
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}
nav {
  flex-wrap: wrap;
}
@media (max-width: 999px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  z-index: 2500;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18,50,85,0.97);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--transition);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
  animation: slideInMenu 0.4s cubic-bezier(.42,0,.2,1);
}
@keyframes slideInMenu {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 18px 24px 6px 0;
  cursor: pointer;
  z-index: 2600;
  transition: color var(--transition);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 36px 0 0 32px;
  width: 85vw;
  max-width: 410px;
}
.mobile-nav a {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.2rem;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a.cta {
  background: var(--secondary);
  color: var(--primary);
  font-weight: bold;
  margin-top: 16px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: var(--primary);
}
.mobile-nav a.cta:hover, .mobile-nav a.cta:focus {
  background: var(--primary);
  color: #fff;
}

/********* CTA BUTTONS ********/
.cta, .btn, a.cta, button.cta {
  display: inline-block;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.05rem;
  font-weight: bold;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  padding: 12px 26px;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(18,50,85,0.07);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cta:hover, .btn:hover, a.cta:hover, button.cta:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 14px rgba(18,50,85,0.11);
}
.cta:focus { outline: 2px solid var(--primary); }

/********* ELEGANT LISTS ********/
ul, ol {
  margin: 12px 0 12px 16px;
  padding: 0 0 0 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  padding-left: 0.2em;
  font-size: 1em;
  line-height: 1.7;
  background: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
ul li img, ol li img {
  width: 21px;
  height: 21px;
  margin-right: 8px;
  flex-shrink: 0;
  opacity: 0.95;
}

/********* Testimonial/Review Cards ********/
.testimonial-card {
  color: #222;
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: 15px;
  border: 1px solid var(--border);
  min-width: 250px;
  max-width: 500px;
  margin-bottom: 20px;
  padding: 27px 22px 18px 22px;
  font-size: 1.10rem;
  flex: 1 1 300px;
  position: relative;
  transition: transform 0.22s cubic-bezier(.6,0,.24,1), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 4px 26px rgba(18,50,85,0.12);
  border-color: var(--secondary);
}
.testimonial-meta {
  font-size: 1em;
  color: var(--primary);
  font-style: italic;
  margin-top: 12px;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
}
.star-rating img {
  height: 19px;
  width: 19px;
  filter: drop-shadow(0 1px 1px #ebebeb);
}

/********* Accordion FAQ ********/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 14px 0;
}
.faq-item {
  background: #fff;
  border-radius: 9px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 18px 20px;
  cursor: pointer;
  transition: box-shadow var(--transition), border var(--transition);
}
.faq-item:hover, .faq-item:focus {
  box-shadow: 0 2px 18px rgba(18,50,85,0.10);
  border-color: var(--secondary);
}
.faq-item h3 {
  margin-bottom: 9px;
  color: var(--primary);
  font-size: 1.1rem;
}
.faq-item div {
  font-size: 1rem;
  color: var(--text-main);
}

/********* Footer *********/
footer {
  margin-top: 60px;
  background: var(--primary);
  color: #fff;
  padding: 48px 0 22px 0;
  border-radius: 24px 24px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-logo img {
  max-width: 76px;
  margin-bottom: 10px;
  filter: brightness(110%) contrast(110%);
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  opacity: 0.93;
  padding: 7px 11px;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
footer nav a:hover,footer nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  opacity: 1;
}
.footer-contact {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1em;
  padding: 6px 2px 0 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  filter: brightness(99%) contrast(120%);
  vertical-align: middle;
}
.footer-copy {
  margin-top: 15px;
  font-size: 0.97em;
  opacity: 0.80;
}

/* Footer responsiveness */
@media (min-width: 900px) {
  footer .container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 44px;
  }
  .footer-logo { flex-shrink:0; }
  .footer-contact {
    max-width: 330px;
  }
}

/********* Map Embed Dummy Area (Kontakt) ********/
.map-embed {
  width: 100%;
  margin: 14px 0;
  background: #F6F8FC;
  padding: 24px;
  border-radius: 14px;
  color: #444e63;
  font-style: italic;
  box-shadow: 0 1px 8px rgba(97,110,140,0.06);
}

/********* Cookie Consent Banner *********/
.cookie-consent {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fffefc;
  color: #1F273e;
  box-shadow: 0 -3px 20px rgba(18,50,85,0.13);
  border-top: 2px solid var(--secondary);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 28px 20px 24px 20px;
  animation: slideUpBanner 0.5s cubic-bezier(.42,0,.2,1);
}
@keyframes slideUpBanner {
  from { transform: translateY(120%); opacity:0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent__text {
  font-size: 1em;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
.cookie-consent__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1em;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 10px 19px;
  cursor: pointer;
  margin-top: 4px;
  margin-right: 2px;
  transition: background var(--transition), color var(--transition);
  box-shadow: 0 1px 4px rgba(18,50,85,0.07);
}
.cookie-btn.cookie-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.cookie-accept:hover, .cookie-btn.cookie-accept:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.cookie-settings {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.cookie-btn.cookie-settings:hover, .cookie-btn.cookie-settings:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.cookie-reject {
  background: #f6f6f6;
  color: var(--primary);
  border: 1px solid #dcdcdc;
}
.cookie-btn.cookie-reject:hover, .cookie-btn.cookie-reject:focus {
  background: #eee2;
  border-color: var(--secondary);
}

/********* Cookie Preferences Modal *********/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(18,50,85,0.22);
  z-index: 3200;
}
.cookie-modal-overlay.open {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cookie-modal {
  background: #fff;
  color: #222136;
  padding: 36px 28px 28px 28px;
  border-radius: 16px;
  min-width: 320px;
  max-width: 400px;
  box-shadow: 0 8px 36px rgba(18,50,85,0.19);
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: fadeInModal 0.33s cubic-bezier(.42,0,.2,1);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.2rem;
  margin-bottom: 13px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1em;
}
.cookie-category label {
  flex: 1 1 0;
  font-weight: 500;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #e0e3eb;
  outline: none;
  border-radius: 11px;
  position: relative;
  transition: background var(--transition);
  cursor: pointer;
}
.cookie-switch:checked {
  background: var(--secondary);
}
.cookie-switch:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px #dcdcdc;
  transition: left var(--transition);
}
.cookie-switch:checked:before {
  left: 17px;
}
.cookie-category.essential label {
  color: #7984a0;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
}

/********* UTIL Styles ********/
.contact-prompt {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  padding: 18px 19px;
  margin-top: 20px;
  border-radius: 11px;
}
.contact-prompt a {
  color: var(--primary);
  font-weight: bold;
  border-bottom: 1px dotted var(--primary);
  transition: border-bottom-color var(--transition);
}
.contact-prompt a:hover { border-bottom-color: var(--secondary); }

/********* Responsive Layout *********/
@media (max-width: 900px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
    border-radius: 12px;
  }
  .testimonial-card {
    padding: 17px 10px 10px 10px;
  }
  .feature-list > div {
    min-width: 160px;
    font-size: 0.98em;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.1rem; }
  .container { padding-left: 4px; padding-right: 4px; }
  footer .container {
    flex-direction: column;
    gap: 15px;
  }
  .feature-list {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/********* Spacing & Flex Patterns (MANDATORY RULES) *********/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/********* On Focus Style for Accessibility *********/
a:focus, button:focus, .card:focus, .faq-item:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/********* MICRO-INTERACTIONS *********/
.cta, .btn, nav a, .cookie-btn, .faq-item {
  transition: box-shadow var(--transition), background var(--transition), color var(--transition), transform 0.22s cubic-bezier(.6,0,.24,1);
}
.cta:active, .btn:active, nav a:active, .cookie-btn:active {
  transform: scale(0.97);
}

/********* Hide .mobile-menu on desktop *********/
@media (min-width: 1000px) {
  .mobile-menu {
    display: none !important;
  }
}

/********* Utilities *********/
.hidden { display: none !important; }

/********* Print Styles *********/
@media print {
  header, footer, .mobile-menu, .cookie-consent, .cookie-modal-overlay {
    display: none !important;
  }
  body {
    background: #fff;
    color: #222;
  }
}
