/* --------------------------------------------------------
   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,
main, 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;
}
html { line-height: 1; }
body { min-height: 100vh; background: #F9F9F9; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
button, input, select, textarea { font-family: inherit; font-size: inherit; background: none; border: none; outline: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

/* --------------------------------------------------------
   FONT SETUP (Elegant Classic w/ Web Safe Fallbacks)
---------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400italic,700&display=swap');

:root {
  --lumora-primary: #263159;
  --lumora-secondary: #60A3D9;
  --lumora-accent: #F9F9F9;
  --lumora-text: #222235;
  --lumora-muted: #e5e7ee;
  --lumora-card-bg: #fff;
  --lumora-outline: #b1bdd3;
  --lumora-shadow: 0 4px 16px 0 rgba(38,49,89,0.06);

  --font-serif: 'Times New Roman', Times, serif;
  --font-sans: 'Montserrat', 'Georgia', serif;
  --font-body: 'Roboto', 'Georgia', serif;
}

body {
  font-family: var(--font-body);
  color: var(--lumora-text);
  font-size: 16px;
  line-height: 1.7;
  background: var(--lumora-accent);
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: common-ligatures;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  color: var(--lumora-primary);
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.12; margin-bottom: 24px; }
h2 { font-size: 2rem;   line-height: 1.18; margin-bottom: 20px; }
h3 { font-size: 1.3rem; line-height: 1.22; margin-bottom: 14px; font-family: var(--font-sans); }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }

p, ul, ol, dl, blockquote {
  font-family: var(--font-body); font-size: 1rem; margin-bottom: 18px;
}
strong { font-weight: 700; }

blockquote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--lumora-primary);
  font-style: italic;
  border-left: 4px solid var(--lumora-primary);
  margin: 0 0 12px 0; padding: 0 0 0 18px;
}

hr { border: 0; border-top: 1px solid var(--lumora-muted); margin: 36px 0; }

/* --------------------------------------------------------
   FLEX LAYOUTS & CONTAINER
---------------------------------------------------------*/
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--lumora-card-bg);
  border-radius: 16px;
  box-shadow: var(--lumora-shadow);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--lumora-outline);
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 8px 28px 0 rgba(38,49,89,0.15);
}

.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;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px 0 rgba(38,49,89,0.07);
  border-left: 4px solid var(--lumora-secondary);
  flex-direction: row;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(38,49,89,0.13);
}
.testimonial-card blockquote {
  margin-bottom: 6px;
  color: var(--lumora-primary); font-size: 1.14rem;
  font-family: var(--font-serif);
}
.testimonial-meta {
  font-size: 1rem;
  color: var(--lumora-primary);
  font-family: var(--font-sans);
  font-style: normal;
  opacity: 0.90;
}

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

/* --------------------------------------------------------
   HEADER & MAIN NAV
---------------------------------------------------------*/
header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(38,49,89,0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}

header img {
  height: 38px;
  margin-right: 32px;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--lumora-primary);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  border-color: var(--lumora-secondary);
  color: var(--lumora-secondary);
}

.cta {
  display: inline-block;
  background: var(--lumora-secondary);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  padding: 11px 30px;
  border-radius: 24px;
  font-size: 1.07rem;
  letter-spacing: 0.05em;
  margin-left: 28px;
  box-shadow: 0 4px 16px 0 rgba(38,49,89,0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
.cta:hover, .cta:focus {
  background: var(--lumora-primary);
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(38,49,89,0.18);
}

/* --------------------------------------------------------
   MOBILE MENU
---------------------------------------------------------*/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--lumora-secondary);
  color: #fff;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  margin-left: 16px;
  transition: background 0.18s;
  z-index: 1102;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--lumora-primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(38,49,89,0.98);
  color: #fff;
  z-index: 1100;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.86,0,.07,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 12px 0 32px rgba(38,49,89,0.26);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin-right: 24px;
  cursor: pointer;
  opacity: 0.88;
  z-index: 1103;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--lumora-secondary);
  opacity: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 28px 46px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: var(--font-sans);
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.13);
  transition: color 0.13s, background 0.20s;
  border-radius: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--lumora-secondary);
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }
  header .cta { margin-left: 14px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 14px; }
  header .cta { margin-left: 7px; }
  header img { height: 33px; margin-right: 18px; }
}
@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: flex; }
  header .cta { display: none; }
  header .container { justify-content: space-between; gap: 8px; }
}
@media (max-width: 500px) {
  .mobile-nav { padding: 28px 19px; }
  header img { height: 27px; margin-right: 8px; }
}

/* --------------------------------------------------------
   SECTIONS, SPACING, AND CONTENT WRAPPERS
---------------------------------------------------------*/
section {
  background: transparent;
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0;
}
.content-wrapper {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section ul,
.content-wrapper ul {
  margin-bottom: 18px;
  gap: 9px;
  display: flex;
  flex-direction: column;
  padding-left: 0;
}
.text-section ul li,
.content-wrapper ul li {
  font-family: var(--font-body);
  font-size: 1rem;
  padding-left: 28px;
  position: relative;
  color: var(--lumora-text);
  line-height: 1.8;
  margin-bottom: 4px;
}
.content-wrapper ul li img {
  width: 24px; height: 24px; vertical-align: middle; margin-right: 10px; position: relative; top: 6px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.services-list > div {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(38,49,89,0.05);
  border: 1px solid var(--lumora-outline);
  padding: 28px 22px 20px 22px;
  transition: box-shadow 0.17s;
  min-width: 220px;
  margin-bottom: 20px;
  display: flex; flex-direction: column; gap: 13px;
  position: relative;
}
.services-list > div:hover {
  box-shadow: 0 8px 28px 0 rgba(96,163,217,0.15);
}
.services-list h3 {font-size: 1.08rem; color: var(--lumora-primary); margin-bottom: 6px;}
.services-list p {font-size: 0.98rem; color: #313343;}

@media (max-width: 900px) {
  .services-list { flex-direction: column; gap: 18px; }
  .services-list > div {min-width: 0;}
}

.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; }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
  background: transparent;
}

/* FAQ lists */
dl { margin-bottom: 18px; }
dt { font-family: var(--font-sans); color: var(--lumora-primary); font-weight: 700; font-size: 1.08rem; margin-bottom: 3px; }
dd { margin-bottom: 12px; color: #37394b; font-family: var(--font-body); font-size: 1rem; }

/* --------------------------------------------------------
   FOOTER
---------------------------------------------------------*/
footer {
  background: #fff;
  border-top: 1px solid var(--lumora-outline);
  padding: 30px 0 22px 0;
  margin-top: 40px;
  font-size: 0.97rem;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-nav a {
  color: var(--lumora-primary);
  font-family: var(--font-sans);
  transition: color 0.18s;
  font-size: 1rem;
  opacity: 0.92;
}
.footer-nav a:hover { color: var(--lumora-secondary); opacity: 1; }
.footer-copy { color: #7e84a1; padding-left: 12px; }
@media (max-width: 700px) {
  footer .container { flex-direction: column; gap: 8px; }
  .footer-nav { gap: 10px; margin-bottom: 8px; }
  .footer-copy { padding-left: 0; }
}

/* --------------------------------------------------------
   BUTTONS & LINKS
---------------------------------------------------------*/
button, .button, .cta {
  font-family: var(--font-sans);
  cursor: pointer;
  outline: none;
  border: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}
.button {
  background-color: var(--lumora-primary);
  color: #fff;
  border-radius: 24px;
  padding: 9px 25px;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 4px 0 0;
}
.button:hover, .button:focus {
  background: var(--lumora-secondary);
  color: #fff;
  box-shadow: 0 8px 28px 0 rgba(38,49,89,0.12);
}
a {
  color: var(--lumora-secondary);
  text-decoration: underline dotted 1px #e0e3ec;
  cursor: pointer;
  transition: color 0.16s;
}
a:hover, a:focus {
  color: var(--lumora-primary);
  text-decoration: underline solid 2px var(--lumora-secondary);
}

/* --------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: var(--lumora-primary);
  border-top: 2px solid var(--lumora-outline);
  box-shadow: 0 -4px 24px 0 rgba(38,49,89,0.12);
  z-index: 1500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 28px;
  transition: transform 0.25s;
  font-size: 1.03rem;
  min-height: 78px;
  max-width: 100vw;
}
.cookie-banner.hide { transform: translateY(120%); }
.cookie-banner__info {
  flex: 1 1 60%;
  font-family: var(--font-body);
  color: var(--lumora-primary);
  margin-right: 14px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.cookie-btn {
  background: var(--lumora-secondary);
  color: #fff;
  padding: 7px 24px;
  border-radius: 20px;
  font-size: 1rem;
  margin-left: 2px;
  font-family: var(--font-sans);
  transition: background 0.19s, color 0.19s;
  box-shadow: 0 4px 10px 0 rgba(96,163,217,0.07);
  border: none;
  cursor: pointer;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--lumora-primary); color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--lumora-secondary);
  border: 1px solid var(--lumora-secondary);
}
.cookie-btn.settings:hover {
  background: var(--lumora-secondary);
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  background: rgba(38,49,89,0.66);
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1800;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.open { opacity: 1; pointer-events: auto; }
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 44px rgba(38,49,89,0.14);
  padding: 36px 26px 24px 26px;
  min-width: 330px;
  max-width: 94vw;
  font-family: var(--font-body);
  color: var(--lumora-primary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInModal 0.29s cubic-bezier(.86,0,.07,1);
  position: relative;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-family: var(--font-sans);
  margin-bottom: 6px;
  font-size: 1.25rem;
}
.cookie-modal section {
  background: transparent;
  margin: 0; padding: 0;
  padding-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 7px;
  cursor: pointer;
}
.cookie-modal input[type="checkbox":[disabled]] { cursor: not-allowed; }
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  color: var(--lumora-primary);
  font-size: 1.7rem;
  border: none;
  opacity: 0.76;
  transition: color 0.12s, opacity 0.13s;
}
.cookie-modal .close-modal:hover{
  color: var(--lumora-secondary);
  opacity: 1;
}

/* --------------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------------*/
@media (max-width: 900px) {
  .container { max-width: 99vw; padding: 0 7px; }
  .content-wrapper { gap: 10px; }
  .section, section { padding: 18px 0; margin-bottom: 32px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.55rem; margin-bottom: 19px; }
  h2 { font-size: 1.22rem; margin-bottom: 14px; }
  h3 { font-size: 1.05rem; margin-bottom: 7px; }
  .container { padding: 0 4px; }
  .section, section { padding: 12px 0; margin-bottom: 20px; }
  .card, .services-list > div { padding: 16px 10px 13px 10px; border-radius: 10px; }
  .testimonial-card { padding: 14px 10px; gap: 8px; border-radius: 10px; }
  .cookie-banner { padding: 10px 8px; min-height: 55px; font-size: 0.99rem; gap: 8px; }
  .cookie-modal { min-width: 90vw; }
}

/* --------------------------------------------------------
   ANIMATIONS & MICRO-INTERACTIONS
---------------------------------------------------------*/
.cta, .button, .cookie-btn, .mobile-menu-toggle {
  transition: background 0.15s, color 0.15s, box-shadow 0.20s, border-color 0.17s;
}
.card, .services-list > div, .testimonial-card {
  transition: box-shadow 0.16s;
}
.card:hover, .services-list > div:hover, .testimonial-card:hover {
  box-shadow: 0 8px 28px 0 rgba(38,49,89,0.14);
}

/* --------------------------------------------------------
   SPECIAL TYPOGRAPHIC / STRUCTURAL TWEAKS FOR CLASSIC FEEL
---------------------------------------------------------*/
blockquote {
  font-size: 1.17rem;
  font-family: var(--font-serif);
  color: var(--lumora-primary);
  border-left: 4px solid var(--lumora-secondary);
  margin: 0 0 8px 0; padding: 5px 0 5px 18px;
}
.testimonial-meta { font-style: normal; letter-spacing: 0.01em; }

/* --------------------------------------------------------
   FORMS (Kontakt Page - minimalistic classic)
---------------------------------------------------------*/
input, textarea, select {
  font-family: var(--font-body);
  background: #fff;
  border: 1px solid var(--lumora-outline);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  color: var(--lumora-text);
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.11s, box-shadow 0.10s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--lumora-secondary);
  box-shadow: 0 2px 14px 0 rgba(96,163,217,0.08);
}
label { font-size: 1rem; font-family: var(--font-body); color: var(--lumora-primary); margin-bottom: 7px; display: inline-block; }

/* Hide scrollbars for mobile menu for aesthetics */
.mobile-menu::-webkit-scrollbar { width: 0 !important; height: 0 !important; }
.mobile-menu { -ms-overflow-style: none; scrollbar-width: none; }

/* Utility Classes */
.d-flex          { display: flex; }
.flex-column     { flex-direction: column; }
.ai-center       { align-items: center; }
.ai-start        { align-items: flex-start; }
.ai-end          { align-items: flex-end; }
.jc-center       { justify-content: center; }
.jc-between      { justify-content: space-between; }
.gap-8           { gap: 8px; }
.gap-24          { gap: 24px; }
.mt-32           { margin-top: 32px; }
.mb-0            { margin-bottom: 0 !important; }

/* --------------------------------------------------------
   ACCESSIBILITY & CONTRAST
---------------------------------------------------------*/
.testimonial-card, .testimonial-card blockquote, .testimonial-meta {
  color: #21223b !important; background: #fff !important;
}
.testimonial-card { border-left: 4px solid var(--lumora-secondary); background: #fff !important; }

/* --------------------------------------------------------
   PRINT STYLES (Optional user convenience)
---------------------------------------------------------*/
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, .container, section, .text-section, .content-wrapper, .services-list, .card, .testimonial-card, .content-grid { background: #fff !important; color: #000 !important; box-shadow: none !important; border-color: #aaa !important; }
}
