/* -------------------
   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;
}

html {
  scroll-behavior: smooth;
  background: #FAFAFA;
}

body {
  background: #FAFAFA;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1a2131;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}

a {
  color: #234377;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AF9024;
  text-decoration: underline;
}

strong, b {
  font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: #233152;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; letter-spacing: -1px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.375rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }

p {
  margin-bottom: 20px;
}

small {
  font-size: 90%;
  color: #6673a1;
}

/* -------------------
   BRAND LUXURY COLORS & ACCENTS
-------------------*/
:root {
  --luxury-navy: #234377;
  --luxury-gold: #AF9024;
  --luxury-bg: #FAFAFA;
  --luxury-grey: #E8EEF4;
  --luxury-light: #ffffff;
  --luxury-secondary: #E8EEF4;
  --luxury-accent: #26A69A;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--luxury-light);
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(35,67,119,0.04);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  background: var(--luxury-bg);
  border-radius: 20px;
  padding: 32px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(35,67,119,0.03);
}


/* -------------------
   HEADER
-------------------*/
header {
  background: var(--luxury-navy);
  color: #fff;
  box-shadow: 0 2px 8px rgba(35,67,119,0.06);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
  position: relative;
}
header img {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
header nav a {
  color: #fff;
  font-weight: 600;
  font-family: 'Open Sans',Arial,sans-serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.22s cubic-bezier(.23,1,.32,1);
}
header nav a:hover, header nav a:focus {
  color: var(--luxury-gold);
  border-bottom: 2px solid var(--luxury-gold);
  text-decoration: none;
  outline: none;
}
.btn-primary {
  font-family: 'Roboto Slab', serif;
  display: inline-block;
  background: var(--luxury-gold);
  color: #fff;
  border: none;
  border-radius: 28px;
  font-size: 1.125rem;
  padding: 13px 36px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(35,67,119,0.06);
  cursor: pointer;
  margin-left: 18px;
  letter-spacing: 0.04em;
  transition: background 0.15s, box-shadow 0.22s;
  box-sizing: border-box;
  text-align: center;
}
.btn-primary:hover, .btn-primary:focus {
  background: #d9b75e;
  box-shadow: 0 6px 16px rgba(175,144,36,0.18);
  color: #19294F;
}

/* -------------------
   MOBILE BURGER MENU
-------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 16px;
  transition: background .18s;
  z-index: 103;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: rgba(175,144,36,0.12);
  outline: none;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,67,119,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100vw;
  height: 100vh;
  padding: 36px 22px 18px 22px;
  overflow-y: auto;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(.23,1,.32,1);
}
.mobile-menu.active {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-bottom: 18px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--luxury-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 22px;
}
.mobile-nav a {
  color: #FFF;
  font-family: 'Roboto Slab', serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  transition: color 0.18s, background 0.18s;
  border-radius: 6px;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--luxury-gold);
  background: rgba(175,144,36,0.06);
  outline: none;
}

@media (max-width: 1100px) {
  header .container {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 8px;
  }
}

@media (max-width: 900px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* -------------------
   HERO SECTION
-------------------*/
.hero {
  background: linear-gradient(90deg, #FAFAFA 60%, #F3F2EE 100%);
  margin-bottom: 60px;
  padding: 64px 0 48px 0;
  border-bottom: 4px solid var(--luxury-secondary);
  box-shadow: 0 4px 16px rgba(35,67,119,0.07) inset;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 560px;
}
.hero h1 {
  font-size: 2.8rem;
  color: var(--luxury-navy);
  margin-bottom: 0.4em;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero p {
  font-size: 1.25rem;
  color: #495a80;
  margin-bottom: 18px;
}
.hero .btn-primary {
  margin-top: 2px;
}

@media (max-width: 620px) {
  .hero {
    padding: 32px 0 32px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .content-wrapper {
    max-width: 100%;
  }
}

/* -------------------
   SECTIONS & GRIDS & CARDS
-------------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-top: 24px;
  margin-bottom: 16px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(35,67,119,0.05);
  padding: 30px 26px 24px 26px;
  min-width: 220px;
  flex: 1 1 250px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1.5px solid #F7F4EA;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.24s, border 0.18s;
}
.feature-grid > div:hover, .feature-grid > div:focus-within {
  border: 1.5px solid var(--luxury-gold);
  box-shadow: 0 6px 30px rgba(54,54,20,0.06), 0 1.5px 0 0 var(--luxury-gold);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(175,144,36,.08));
}
.feature-grid h3 {
  color: var(--luxury-navy);
  font-family: 'Roboto Slab', serif;
  font-size: 1.2rem;
  margin-bottom: 5px;
  font-weight: 700;
}
.feature-grid p {
  font-size: 1.02rem;
  line-height: 1.5;
  color: #35372e;
}
.feature-grid a {
  color: var(--luxury-gold);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: underline;
  transition: color 0.18s;
}
.feature-grid a:hover, .feature-grid a:focus {
  color: #FFD770;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(35,67,119,.07);
  padding: 28px 24px 22px 24px;
  margin-bottom: 20px;
  min-width: 200px;
  flex: 1 1 250px;
  transition: box-shadow 0.2s, border 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px rgba(175,144,36,0.18);
  border: 1.5px solid var(--luxury-gold);
}
/* --
   CRITICAL: No 'position: absolute' for card content. Relative is ok (decor). 
-- */

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------------------
   TESTIMONIAL CARDS/REVIEWS
-------------------*/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px 22px 32px;
  background: #FFF;
  border: 1.5px solid #E8EEF4;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 20px rgba(35,67,119,0.09);
  font-size: 1.1rem;
  color: #1a2131;
  transition: border 0.18s, box-shadow 0.18s;
  min-width: 260px;
}
.testimonial-card strong {
  color: var(--luxury-gold);
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-family: 'Roboto Slab', serif;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border: 1.5px solid var(--luxury-gold);
  box-shadow: 0 8px 32px rgba(175,144,36,0.10);
}
.testimonial-card p {
  color: #212741;
  font-weight: 400;
  font-size: 1.09rem;
}

/* Make text fully readable on all backgrounds */
.testimonial-card {
  background: #FFFFFF;
  color: #1a2131;
}

/* -------------------
   CTA SECTION
-------------------*/
.cta-section {
  background: var(--luxury-navy);
  color: #fff;
  padding: 50px 0;
  border-radius: 22px;
  margin-bottom: 64px;
  position: relative;
  box-shadow: 0 8px 24px rgba(35,67,119,0.08);
}
.cta-section .content-wrapper > * {
  color: #fff;
}
.cta-section h2 {
  color: #ffffea;
  font-size: 2.3rem;
  font-family: 'Roboto Slab', serif;
  margin-bottom: 10px;
}
.cta-section p {
  font-size: 1.13rem;
  margin-bottom: 20px;
}
.cta-section .btn-primary {
  background: var(--luxury-gold);
  color: #fff;
}
.cta-section .btn-primary:hover, .cta-section .btn-primary:focus {
  background: #FFD770;
  color: var(--luxury-navy);
}

/* -------------------
   FOOTER
-------------------*/
footer {
  background: var(--luxury-navy);
  color: #F7F4EA;
  padding: 38px 0 28px 0;
  border-top: 5px solid var(--luxury-gold);
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
}
footer nav a {
  color: #fff4d2;
  font-family: 'Roboto Slab',serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--luxury-gold);
  text-decoration: underline;
}
footer address {
  font-style: normal;
  color: #fff7e0;
  font-size: 1rem;
}
footer address img {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 7px;
}
footer a {
  color: #e0c874;
}
footer a:hover, footer a:focus {
  color: #FFF;
  text-decoration: underline;
}
footer small {
  color: #e8eef4;
  display: block;
  margin-top: 4px;
}

/* -------------------
   TYPOGRAPHY SCALE
-------------------*/
@media (max-width: 1200px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.65rem; }
}
@media (max-width: 900px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .cta-section h2 { font-size: 1.3rem;}
}

/* -------------------
   RESPONSIVENESS
-------------------*/
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .feature-grid {
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 18px 10px;
  }
  .testimonial-card, .card {
    padding: 14px 10px 14px 14px;
    font-size: 1rem;
  }
  .feature-grid > div {
    min-width: 140px;
    max-width: 98vw;
    padding: 18px 12px 14px 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hero {
    padding: 20px 0 24px 0;
  }
}
@media (max-width: 500px) {
  h1, .hero h1 { font-size: 1.3rem; }
  h2, .cta-section h2 { font-size: 1.05rem; }
  .content-wrapper {gap: 10px;}
}

/* -------------------
   FAQ & DEFINITION LISTS
-------------------*/
dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
dt {
  font-weight: 700;
  color: var(--luxury-navy);
  margin-bottom: 2px;
  font-family: 'Roboto Slab',serif;
}
dd {
  margin-left: 0;
  margin-bottom: 6px;
}

/* -------------------
   Cookie Consent Banner + Modal
-------------------*/
#cookie-banner {
  position: fixed;
  z-index: 1201;
  left: 0; right: 0;
  bottom: 0;
  background: #fffdfa;
  color: #1a2131;
  box-shadow: 0 -4px 32px rgba(35,67,119,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 34px 20px 36px;
  font-size: 1.09rem;
  border-top: 2px solid var(--luxury-gold);
  animation: cookiein .39s;
  min-height: 80px;
}
@keyframes cookiein {
  from { opacity:0; transform: translateY(30px); }
  to { opacity:1; transform: translateY(0); }
}
#cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}
#cookie-banner button {
  font-family: 'Roboto Slab', serif;
  border: none;
  padding: 10px 23px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-right: 0;
}
#cookie-banner .accept-all {
  background: var(--luxury-gold);
  color: #fff;
  margin-left: 4px;
}
#cookie-banner .accept-all:hover,#cookie-banner .accept-all:focus {
  background: #FFD770;
  color: var(--luxury-navy);
}
#cookie-banner .reject-all {
  background: transparent;
  color: var(--luxury-navy);
  border: 1.5px solid var(--luxury-or-gold,var(--luxury-gold));
}
#cookie-banner .reject-all:hover,#cookie-banner .reject-all:focus {
  background: #ffecc1;
  color: var(--luxury-gold);
}
#cookie-banner .settings {
  background: var(--luxury-navy);
  color: #fff6da;
}
#cookie-banner .settings:hover,#cookie-banner .settings:focus {
  background: #234377;
  color: var(--luxury-gold);
}

@media (max-width: 650px) {
  #cookie-banner {
    font-size: .98rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 10px;
  }
  #cookie-banner .cookie-buttons {
    gap: 8px;
    flex-wrap: wrap;
  }
}

/* Cookie modal */
#cookie-modal-overlay {
  position: fixed;
  z-index: 1202;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,67,119,.39);
  display: none;
  align-items: center;
  justify-content: center;
  animation: modalfadein .32s;
}
@keyframes modalfadein {
  from { opacity:0; }
  to { opacity:1; }
}
#cookie-modal-overlay.active {
  display: flex;
}
#cookie-modal {
  background: #fffdfa;
  border: 2.5px solid var(--luxury-gold);
  border-radius: 18px;
  box-shadow: 0 10px 44px rgba(35,67,119,.18);
  padding: 32px 30px;
  max-width: 420px;
  width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalpop .4s;
}
@keyframes modalpop {
  from { opacity: 0; transform: translateY(38px); }
  to { opacity: 1; transform: translateY(0); }
}
#cookie-modal h2 {
  color: var(--luxury-navy);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
#cookie-modal .cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #f8f8ee;
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
#cookie-modal .category-label {
  font-weight: 700;
  color: var(--luxury-navy);
}
#cookie-modal .cookie-toggle {
  accent-color: var(--luxury-gold);
  cursor: pointer;
  width: 28px;
  height: 28px;
}
#cookie-modal .cookie-toggle[disabled] {
  opacity: 0.52;
  cursor: not-allowed;
}
#cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 8px;
  align-items: center;
  justify-content: flex-end;
}
#cookie-modal .cookie-modal-actions button {
  font-family: 'Roboto Slab',serif;
  border-radius: 22px;
  border: none;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
#cookie-modal .save-btn { background: var(--luxury-gold); color: #fff; }
#cookie-modal .save-btn:hover, #cookie-modal .save-btn:focus { background: #FFD770; color: var(--luxury-navy); }
#cookie-modal .cancel-btn { background: transparent; color: var(--luxury-navy); border: 1.2px solid var(--luxury-gold); }
#cookie-modal .cancel-btn:hover, #cookie-modal .cancel-btn:focus { background: #fff7e0; color: var(--luxury-gold); }
#cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--luxury-navy);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 7px;
  border-radius: 7px;
  transition: background .17s, color .17s;
}
#cookie-modal .cookie-modal-close:hover, #cookie-modal .cookie-modal-close:focus {
  background: #e1c97a;
  color: var(--luxury-light);
}

@media (max-width: 480px) {
  #cookie-modal {
    padding: 18px 5px;
    max-width: 97vw;
    font-size: .96rem;
  }
}

/* -------------------
   ACCESSIBLE FOCUS STYLES
-------------------*/
a:focus,
button:focus,
input:focus,
select:focus {
  outline: 2.5px solid #AF9024;
  outline-offset: 2px;
}

/* -------------------
   SUBTLE ANIMATIONS AND MICRO-INTERACTIONS
-------------------*/
.btn-primary, .card, .feature-grid > div, .testimonial-card, .mobile-menu, #cookie-banner button, #cookie-modal button {
  transition: all 0.19s cubic-bezier(.23,1,.32,1);
}

/* -------------------
   REFINED LUXURY DETAILS
-------------------*/
.card, .feature-grid > div, .testimonial-card, .cta-section, .section, .text-section {
  border-radius: 20px;
}
.card, .feature-grid > div, .testimonial-card, .cta-section, .section {
  box-shadow: 0 2px 20px rgba(35,67,119,0.05);
}
.btn-primary {
  box-shadow: 0 2px 10px rgba(175,144,36,0.10);
}

/* -------------------
   MISC & OVERLAP PREVENTION
-------------------*/
.card, .feature-grid > div, .testimonial-card, .section, .card-container > *:not(:last-child) {
  margin-bottom: 20px;
}

/* Prevent overlapping and provide good spacing everywhere */
.card-container, .content-grid, .feature-grid {
  gap: 20px 24px;
}

/* Decorative gold line (optionally for hero or section headings) */
.luxury-divider {
  width: 48px;
  height: 4px;
  background: var(--luxury-gold);
  border-radius: 2px;
  margin-bottom: 18px;
  margin-top: -8px;
}

/* ICON ALIGNMENT */
img[alt="Telefon"], img[alt="E-Mail"] {
  display: inline-block;
  width: 1.12em;
  height: 1.12em;
  margin: 0 5px -4px 0;
  vertical-align: middle;
}

/* END OF STYLE.CSS */