/* -----------------------------------------------------------
   0. CSS RESET & BASE STYLES
----------------------------------------------------------- */
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1B2321;
  background-color: #F5F7EB;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
a {
  color: #205337;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C9A94C;
}

/* Brand Colors (with gold for luxury accent) */
:root {
  --color-primary: #205337;
  --color-secondary: #2775B6;
  --color-accent: #F5F7EB;
  --color-gold: #C9A94C;
  --color-dark: #1B2321;
  --color-light: #FFFFFF;
  --shadow-card: 0 5px 24px rgba(32, 83, 55, 0.10), 0 1.5px 6px rgba(32, 83, 55, 0.04);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', serif;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--color-primary);
}
h2 {
  font-size: 2rem;
  color: var(--color-dark);
}
h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
}
h4 {
  font-size: 1.1rem;
}
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 10px;
}
strong {
  font-weight: bold;
}
@media (max-width: 380px) {
  h1 { font-size: 1.5rem; }
}

/* -----------------------------------------------------------
   1. CONTAINER & LAYOUT HELPERS
----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 25px 9px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow-card);
  border-radius: 18px;
  background: var(--color-light);
  padding: 24px;
  min-width: 0;
}

.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;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 18px 32px;
  margin: 24px 0 20px 0;
  background: var(--color-light);
  border-radius: 18px;
  border: 1px solid #EADCA4;
  box-shadow: 0 3.5px 14px rgba(32,83,55,0.04);
}
.testimonial-card p {
  font-size: 1.09rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 3px;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-gold);
  font-family: 'Open Sans', sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-light);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 24px 20px 18px 20px;
  border: 1.5px solid #E7E2C3;
  max-width: 310px;
  min-width: 220px;
  flex-grow: 1;
  transition: box-shadow 0.2s, border 0.2s;
}
.feature-item img {
  height: 40px;
  width: 40px;
  margin-bottom: 0px;
}
.feature-item h3 {
  color: var(--color-gold);
  font-size: 1.2rem;
  letter-spacing: -0.2px;
  margin: 0 0 7px 0;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 8px 24px rgba(32,83,55,0.13);
  border: 1.5px solid var(--color-gold);
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
@media (max-width: 980px) {
  .features-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* -----------------------------------------
   2. HEADER, NAVIGATION, LOGO
----------------------------------------- */
header {
  width: 100%;
  background: var(--color-light);
  border-bottom: 1.5px solid #E7E2C3;
  z-index: 40;
  position: relative;
}
header .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 86px;
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-left: 32px;
  align-items: center;
}
.main-nav a {
  color: var(--color-dark);
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.07rem;
  letter-spacing: -0.2px;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-bottom 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-gold);
  border-bottom: 2px solid var(--color-gold);
  outline: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--color-gold) 55%, #fff8de 100%);
  color: var(--color-primary);
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.09rem;
  padding: 10px 26px;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201,169,76,0.09);
  margin-left: 24px;
  transition: background 0.22s, color 0.16s, box-shadow 0.18s;
  display: inline-block;
  letter-spacing: -0.2px;
  text-align: center;
  text-shadow: 0 1px 0 #fffem2d8;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(90deg, #ffec90 30%, var(--color-gold) 100%);
  color: var(--color-dark);
  box-shadow: 0 6px 26px rgba(201,169,76,0.12);
  outline: none;
}

/* Mobile Header/Nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 110;
}
@media (max-width: 980px) {
  .main-nav,
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    padding: 6px 15px 6px 0;
    line-height: 1;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(31, 41, 38,0.80);
  z-index: 250;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.36,1.43,.6,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-light);
  font-size: 2.1rem;
  cursor: pointer;
  margin: 18px 29px 0 0;
  align-self: flex-end;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 35px 48px 30px;
  margin-top: 17px;
  width: 100%;
  align-items: flex-end;
}
.mobile-nav a {
  color: var(--color-light);
  background: transparent;
  font-size: 1.19rem;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  padding: 7px 24px 7px 5px;
  border-radius: 4px;
  width: fit-content;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  outline: none;
}
@media (max-width: 550px) {
  .mobile-nav {
    padding: 17px 4vw 34px 12px;
  }
}

/* Reserve space for header */
body {
  padding-top: 0px;
}
header + main {
  margin-top: 0;
}

/* -----------------------------------------------------------
   3. HERO SECTIONS
----------------------------------------------------------- */
.hero {
  width: 100%;
  background: linear-gradient(90deg, #EDE7C7 45%, #F5F7EB 100%);
  border-bottom: 1px solid #e3dfce;
  margin-bottom: 50px;
  padding: 54px 0 37px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.hero .content-wrapper {
  align-items: center;
  gap: 16px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.55rem;
  text-align: center;
  padding-bottom: 0;
  text-shadow: 0 2px 8px #e2dab3c0;
}
.hero p {
  font-size: 1.18rem;
  text-align: center;
}
.hero .btn-primary {
  margin-top: 12px;
  font-size: 1.07rem;
}
@media (max-width: 600px) {
  .hero {
    padding: 32px 0 17px 0;
    margin-bottom: 25px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero .container {
    min-height: 110px;
  }
}

/* -----------------------------------------------------------
   4. LISTS, PRICING, CALLOUTS
----------------------------------------------------------- */
ul, ol {
  list-style-type: disc;
  margin-left: 1.2em;
  margin-bottom: 14px;
}
.price {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.07em;
  margin-left: 8px;
  font-family: 'Roboto Slab', serif;
}

/* -----------------------------------------------------------
   5. FOOTER
----------------------------------------------------------- */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 24px 0 16px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
}
.footer-logo img {
  height: 54px;
  filter: drop-shadow(0 2px 9px #d4e2bd53);
  margin-bottom: 5px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 45px;
}
.footer-nav a {
  color: var(--color-light);
  opacity: 0.95;
  border-bottom: 1.5px solid transparent;
  font-size: 1.08rem;
  transition: border-bottom 0.18s, color 0.14s;
  padding: 1px 0;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-gold);
  border-bottom: 1.5px solid var(--color-gold);
}
.footer-contact {
  line-height: 1.6;
  font-size: 0.97rem;
  margin-right: 30px;
}
.footer-tagline {
  font-family: 'Roboto Slab', serif;
  font-size: 1.12rem;
  color: var(--color-gold);
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: -0.17px;
  opacity: .96;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .footer-nav { margin: 0 0 8px 0; }
  .footer-tagline { margin-bottom: 3px; }
}

/* -----------------------------------------------------------
   6. BUTTONS, INTERACTIVE ELEMENTS
----------------------------------------------------------- */
button, .btn-primary {
  box-shadow: none;
  outline: none;
}
button:focus, .btn-primary:focus {
  outline: 2px dotted var(--color-gold);
}

/* Micro-interactions: shadow/enlarge on button hover */
.btn-primary {
  transition: background 0.22s, color 0.16s, box-shadow 0.18s, transform 0.16s;
}
.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1.5px) scale(1.03);
}

/* -----------------------------------------------------------
   7. COOKIE CONSENT BANNER & MODAL
----------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(255,255,255,0.96);
  border-top: 2px solid #EADCA4;
  box-shadow: 0 -3px 16px #a39d7e29;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 18px 28px 18px 22px;
  z-index: 9999;
  font-size: 1.03rem;
  animation: cookie-slide-in 0.35s cubic-bezier(.05,.73,.39,1);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(120%); opacity: 0; }
  80% { transform: translateY(-12px); }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  color: var(--color-dark);
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-shrink: 0;
  align-items: center;
}
.cookie-btn {
  border: none;
  background: var(--color-gold);
  color: var(--color-primary);
  font-size: 1rem;
  font-family: 'Roboto Slab', serif;
  border-radius: 24px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: background 0.16s, color 0.16s, box-shadow 0.13s;
  box-shadow: 0 1.2px 5.5px #c9a94c43;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff5cc;
  color: var(--color-dark);
  box-shadow: 0 3px 19px #c9a94c41;
}
.cookie-btn.settings {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  font-weight: 500;
  padding: 8px 16px;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 10px 13px 10px;
    gap: 11px;
    font-size: 0.95rem;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(31,41,38,0.61);
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.19s cubic-bezier(.02,.74,.47,1);
}
.cookie-modal.active {
  opacity: 1;
  visibility: visible;
}
.cookie-modal__content {
  background: var(--color-light);
  border-radius: 18px;
  margin-top: 7vw;
  padding: 34px 34px 28px 34px;
  box-shadow: 0 12px 44px #20533711;
  min-width: 310px;
  max-width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: cookie-modal-in 0.23s cubic-bezier(.35,.98,.62,1.24);
}
@keyframes cookie-modal-in {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal__title {
  font-family: 'Roboto Slab', serif;
  color: var(--color-primary);
  font-size: 1.33rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
  margin: 8px 0;
}
.cookie-category__label {
  font-weight: 600;
  font-family: 'Roboto Slab', serif;
  font-size: 1.01rem;
  color: var(--color-primary);
}
.cookie-toggle {
  -webkit-appearance: none;
  background: #e7e2c3;
  border-radius: 18px;
  width: 38px; height: 20px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle:checked {
  background: var(--color-gold);
}
.cookie-toggle:after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  background: var(--color-light);
  width: 14px; height: 14px;
  border-radius: 50%;
  transition: left 0.18s, background 0.13s;
  box-shadow: 0 1.5px 9px #C9A94C23;
}
.cookie-toggle:checked:after {
  left: 21px;
  background: #ffec90;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
  margin-top: 17px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal__close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.32rem;
  cursor: pointer;
  margin-left: 0 auto;
  align-self: flex-end;
  transition: color 0.14s;
}
.cookie-modal__close:hover {
  color: var(--color-gold);
}

@media (max-width: 500px) {
  .cookie-modal__content {
    padding: 17px 8vw 16px 8vw;
    min-width: unset;
  }
}

/* -----------------------------------------------------------
   8. FORMATTING UTILITY & HELPERS
----------------------------------------------------------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }

/* -----------------------------------------------------------
   9. ACCORDION/FAQ & ARTICLE STYLES (Kontakt/Info Pages)
----------------------------------------------------------- */
.text-section h3 {
  font-size: 1.11rem;
  color: var(--color-secondary);
  font-family: 'Roboto Slab', serif;
  margin-top: 18px;
  margin-bottom: 3px;
}
.text-section p + h3 {
  margin-top: 19px;
}

/* -----------------------------------------------------------
   10. RESPONSIVE DESIGN
----------------------------------------------------------- */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 6vw;
  }
}
@media (max-width: 650px) {
  .card, .testimonial-card, .feature-item {
    padding: 15px 8px 13px 12px;
    border-radius: 12px;
  }
  .features-grid { gap: 14px; }
}
@media (max-width: 500px) {
  .content-wrapper { gap: 11px; }
  .testimonial-card {padding: 15px 7px; }
  .feature-item { padding: 13px 7px 11px 8px; }
}

/* -----------------------------------------------------------
   11. LUXURY / PREMIUM ACCENTS: GOLDS & DETAILS
----------------------------------------------------------- */
hr {
  border: none;
  border-bottom: 1.5px solid var(--color-gold);
  margin: 18px 0;
}
.feature-item::before, .card::before {
  content: '';
  display: block;
  height: 2.5px;
  width: 30px;
  background: var(--color-gold);
  border-radius: 12px;
  margin-bottom: 8px;
  opacity: 0.30;
}

/* Remove accent line for testimonials */
.testimonial-card::before {
  display: none;
}

/* -----------------------------------------------------------
   12. FINE GRAINED SPACING CONTROL
----------------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section { margin-bottom: 34px; padding: 24px 7px; }
}

.card-container > *, .content-grid > *, .features-grid > *, .feature-item > * {
  margin-bottom: 0 !important;
}

/* ------------
   VISUAL HIERARCHY
------------------ */
.card, .testimonial-card, .feature-item {
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
}

/* ----------------------------------------------
   MICRO-INTERACTIONS (focus/hover, etc.)
---------------------------------------------- */
a, button, .btn-primary {
  transition: color 0.14s, border 0.16s, background 0.18s;
}
.feature-item:active { box-shadow: 0 2px 9px #c9a94c92; }

/* ----------------------------------------------
   TEXT SELECTION
---------------------------------------------- */
::selection {
  background: #EDE7C7;
  color: var(--color-primary);
}

/* ----------------------------------------------
   PRINT
---------------------------------------------- */
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  section, main { margin: 0; padding: 0; }
}
