/* ===================================================
   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 {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.7;
  background: #F5F7FA;
  color: #1A2A40;
  font-family: 'Roboto', 'Times New Roman', Times, serif;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* =========================
   BRAND COLOR PALETTE & FONTS
   ========================= */
:root {
  --color-primary: #1A2A40;
  --color-secondary: #E7B74A;
  --color-accent: #F5F7FA;
  --color-dark: #12192B;
  --color-muted: #C9D0D8;
  --color-bg: #F5F7FA;
  --color-bg-section: #fffefa;
  --color-card-bg: #fff;
  --color-border: #E9E6E2;
  --color-shadow: rgba(26, 42, 64, 0.08);
  --color-shadow-dark: rgba(26, 42, 64, 0.16);
  --font-display: 'Montserrat', 'Times New Roman', Times, serif;
  --font-body: 'Roboto', 'Georgia', serif;
}

/* =========================
   GENERAL TYPOGRAPHY
   ========================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.18;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, blockquote {
  font-family: var(--font-body);
  color: var(--color-dark);
}
p {
  margin-bottom: 1em;
  font-size: 1.05rem;
}
strong {
  font-weight: 700;
}

/* =========================
   LAYOUT CONTAINERS & SPACING
   ========================= */
.container {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  background: var(--color-card-bg);
  border-radius: 24px;
  box-shadow: 0 3px 18px var(--color-shadow);
  padding: 32px 24px;
  margin-bottom: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 24px;
  box-shadow: 0 3px 18px var(--color-shadow);
}

/* Responsive adjustments for .section */
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 22px 10px;
    border-radius: 16px;
  }
  .text-section {
    padding: 18px 10px;
    border-radius: 14px;
  }
}

/* =========================
   FLEXBOX LAYOUTS
   ========================= */
.card-container,
.features,
.services,
.card-grid,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 3px 18px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.12s;
  flex: 1 1 265px;
  min-width: 260px;
  max-width: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px 22px 22px 22px;
}
.card:hover {
  box-shadow: 0 6px 24px var(--color-shadow-dark);
  transform: translateY(-5px) scale(1.02);
}

.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;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.features ul,
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}
.features ul li,
.services ul li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  background: var(--color-card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 8px var(--color-shadow);
  padding: 16px 18px;
  font-size: 1.06rem;
  margin-bottom: 12px;
  min-width: 220px;
}
@media (max-width: 650px) {
  .features ul, .services ul {
    flex-direction: column;
    gap: 10px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px var(--color-shadow);
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  min-width: 230px;
}
.testimonial-card p {
  flex: 1 1 auto;
  color: var(--color-dark);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.testimonial-card div {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  white-space: nowrap;
}
.testimonial-card span[aria-label] {
  color: #E7B74A;
  font-size: 1.25em;
  letter-spacing: 1px;
}

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

/* =========================
   HEADER + NAVIGATION
   ========================= */
header {
  background: #fffefa;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
}
.main-nav a {
  padding: 10px 8px;
  border-radius: 5px;
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 500;
  opacity: 0.93;
  transition: background 0.15s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-muted);
  color: #402E1A;
}
.cta.primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 25px;
  text-align: center;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.18s, color 0.16s, transform 0.17s, box-shadow 0.18s;
  display: inline-block;
  margin-left: 30px;
  border: 1px solid var(--color-secondary);
}
.cta.primary:hover,
.cta.primary:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  box-shadow: 0 6px 20px var(--color-shadow-dark);
  transform: translateY(-3px) scale(1.03);
  border-color: var(--color-primary);
}

/* Burger menu toggle (mobile only) */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: 10px;
  z-index: 53;
  box-shadow: 0 2px 8px var(--color-shadow);
  border: 1px solid var(--color-secondary);
  transition: background 0.15s, color 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
  outline: none;
  border-color: var(--color-primary);
}
 @media (max-width: 1020px) {
  .main-nav {
    gap: 14px;
  }
  .cta.primary {
    margin-left: 12px;
    padding: 11px 20px;
  }
  .logo img {
    max-width: 160px;
  }
}
@media (max-width: 820px) {
  .main-nav {
    display: none;
  }
  .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ============================
   MOBILE MENU OVERLAY + NAV
   ============================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(26,42,64,0.96);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.7,.19,.31,.97);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0%);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.5rem;
  color: var(--color-secondary);
  background: transparent;
  padding: 20px 20px 4px 12px;
  border-radius: 50%;
  margin: 15px 14px 0 0;
  align-self: flex-end;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #ddd4a6;
  color: var(--color-primary);
  outline: none;
}
.mobile-nav {
  width: 100vw;
  padding-top: 36px;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: #fffefa;
  font-size: 1.35rem;
  padding: 13px 0;
  margin-right: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  transition: color 0.2s, background 0.2s;
  border-radius: 6px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.07);
}
@media (min-width: 821px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ============================
   HERO + CTA Banners
   ============================ */
.hero {
  padding: 60px 0 36px 0;
  background: linear-gradient(110deg, #fffefa 60%, #f5f7fa 100%);
  border-radius: 24px;
  box-shadow: 0 2px 8px var(--color-shadow);
  margin-bottom: 32px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
  letter-spacing: .01em;
}
.hero h2 {
  font-size: 1.45rem;
  font-weight: 450;
  margin-bottom: 1em;
  color: var(--color-secondary);
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 18px;
}
@media (max-width: 700px) {
  .hero {
    padding: 30px 0 20px 0;
    border-radius: 14px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero h2 {
    font-size: 1.1rem;
  }
  .hero .container {
    padding: 0 8px;
  }
}

.cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0 0 0;
  margin-bottom: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.cta .cta.primary {
  margin-left: 0;
  margin-top: 0;
}

/* =========================
   ABOUT/WHY US/LEGAL
   ========================= */
.certifications {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 7px;
  font-family: var(--font-display);
  font-weight: 500;
}
.customer-trust {
  margin-top: 7px;
  color: #e6ab36;
  font-size: 1.14rem;
  font-family: var(--font-body);
}
.legal {
  padding: 48px 0;
  background: var(--color-bg-section);
  border-radius: 18px;
}
.legal h1 {
  margin-bottom: 12px;
  font-size: 2.1rem;
}
.legal ul li {
  padding: 11px 0 11px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-dark);
}
@media (max-width: 700px) {
  .legal {
    padding: 24px 0;
    border-radius: 10px;
  }
}

/* =========================
   BUTTONS & LINKS
   ========================= */
.cta,
.cta.primary,
.cta.secondary {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}
.cta {
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 500;
  padding: 12px 26px;
  border-radius: 25px;
  font-size: 1.09rem;
  transition: background 0.17s, color 0.16s, border 0.18s, box-shadow 0.2s, transform 0.17s;
  border: 1px solid var(--color-secondary);
  box-shadow: 0 2px 7px var(--color-shadow);
  margin-top: 4px;
}
.cta:hover, .cta:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  outline: none;
  box-shadow: 0 5px 18px var(--color-shadow-dark);
  transform: translateY(-1.5px) scale(1.015);
  border-color: var(--color-secondary);
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #fffefa;
  border-top: 1px solid var(--color-border);
  padding: 0;
}
footer .container {
  padding: 18px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand {
  flex: 0 0 70px;
  margin-right: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 180px;
}
.footer-nav a {
  font-size: 1rem;
  color: var(--color-primary);
  padding: 5px 0;
  text-decoration: underline;
  opacity: .7;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
}
.contact-summary {
  font-size: 0.98rem;
  color: var(--color-dark);
  opacity: .85;
  font-family: var(--font-body);
}
@media (max-width: 850px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* =========================
   SECTION SPACING & ALIGNMENT
   ========================= */
section,
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 600px) {
  section, .section {
    margin-bottom: 32px;
    padding: 20px 8px;
  }
}

/* ===============
   IMAGE ICONS
   =============== */
.features ul li img,
.services ul li img {
  height: 34px;
  width: 34px;
  margin-right: 5px;
  display: inline;
  object-fit: contain;
  border-radius: 6px;
  background: var(--color-bg-section);
}
@media (max-width: 600px) {
  .features ul li img,
  .services ul li img {
    height: 28px;
    width: 28px;
  }
}

/* =========================
   FAQ PAGE (Kontakt)
   ========================= */
.faq ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 8px;
}
.faq ul li {
  background: var(--color-card-bg);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 1px 6px var(--color-shadow);
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  font-size: 1.04rem;
  margin-bottom: 6px;
}

/* =========================
   THANK YOU PAGE
   ========================= */
.thankyou {
  min-height: 360px;
  padding: 48px 0 0 0;
  background: var(--color-bg-section);
  border-radius: 20px;
  text-align: center;
}
.thankyou h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

/* =========================
   ANIMATIONS & TRANSITIONS
   ========================= */
.card,
.cta.primary,
.cta,
.header .main-nav a,
footer .footer-nav a,
.mobile-nav a,
button,
.testimonial-card {
  transition: box-shadow 0.19s, transform 0.12s, background 0.16s, color 0.16s;
}
.mobile-menu,
.cookie-banner,
.cookie-modal {
  transition: transform 0.36s cubic-bezier(0.7, 0.19, 0.31, 0.97), opacity 0.22s;
}

/* =========================
   COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 36px 18px 18px;
  background: #fff;
  border-top: 1px solid #ece0b6;
  box-shadow: 0 -4px 22px var(--color-shadow-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  z-index: 200;
  gap: 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  opacity: 1;
  transform: translateY(0%);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-banner p {
  flex: 1 1 180px;
  margin-bottom: 0;
  font-size: 1.03rem;
  color: var(--color-primary);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.cookie-banner button {
  font-family: var(--font-display);
  padding: 10px 23px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 500;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1px solid var(--color-secondary);
  margin-right: 0;
  transition: background 0.16s, color 0.13s, border 0.13s;
}
.cookie-banner button.cookie-reject {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-banner button.cookie-settings {
  background: var(--color-muted);
  color: var(--color-primary);
  border: 1px solid var(--color-muted);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 7px 16px 7px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .cookie-banner button {
    margin-top: 8px;
    width: 100%;
    min-width: 0;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 225;
  background: rgba(14, 18, 26, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.23s, transform 0.28s cubic-bezier(.7,.19,.31,.97);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-modal .modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 45px var(--color-shadow-dark);
  max-width: 390px;
  width: 95vw;
  padding: 35px 22px 28px 22px;
  font-family: var(--font-body);
  color: var(--color-primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 1.7rem;
  background: none;
  color: var(--color-primary);
  border-radius: 50%;
  border: 0;
}
.cookie-modal .close-modal:focus,
.cookie-modal .close-modal:hover {
  background: var(--color-muted);
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.08rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: 0;
}
.cookie-modal .cookie-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--color-secondary);
  width: 20px;
  height: 20px;
  margin: 0 4px 0 0;
}
.cookie-modal .category-desc {
  font-size: 0.95em;
  color: var(--color-dark);
  margin-top: 0;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.cookie-modal button {
  font-family: var(--font-display);
  padding: 11px 18px;
  border-radius: 22px;
  font-size: 1rem;
  font-weight: 500;
  background: var(--color-secondary);
  color: var(--color-primary);
  transition: background 0.17s, color 0.2s, border 0.13s;
  border: 1px solid var(--color-secondary);
}
.cookie-modal button.cancel {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.cookie-modal button:focus, .cookie-modal button:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-primary);
}

/* =========================
   GENERAL RESPONSIVE RULES
   ========================= */
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .hero .content-wrapper,
  .content-wrapper,
  .about-teaser .content-wrapper {
    padding: 0;
    flex-direction: column;
    gap: 14px;
  }
  .features ul, .services ul {
    gap: 13px; flex-direction: column;
  }
}
@media (max-width: 680px) {
  h1 { font-size: 1.34rem; }  h2 { font-size: 1.1rem; }
  .section, section { padding: 14px 6px; margin-bottom: 22px; border-radius: 8px; }
  .text-section { padding: 7px 6px; border-radius: 7px; }
  .legal { border-radius: 6px; }
}

/* =========================
   UTILITY CLASSES
   ========================= */
.d-none { display: none !important; }
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.gap-0 { gap: 0 !important; }
.gap-10 { gap: 10px !important; }
.gap-20 { gap: 20px !important; }

/* =========================
   ACCESSIBILITY: FOCUS
   ========================= */
a:focus, button:focus, .cta:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(231,183,74,0.15);
}

/* =========================
   OVERRIDE FOR CARD LINK CTA
   ========================= */
.card a.cta {
  margin-top: 10px;
  align-self: flex-start;
}

/* =========================
   PRINT
   ========================= */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal, nav, header, footer { display: none !important; }
  section, .section, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; }
  body { color: #000 !important; }
}

/* === END OF STYLE === */
