/* ====================================================================
   CSS Reset & Normalize (Mobile-first)
==================================================================== */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  background: #F8F8FA;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #19191C;
  background: #F8F8FA;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
a {
  color: #0A0F2C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus { color: #38A8F6; }
ul, ol { margin-left: 23px; }
strong, b { font-weight: 700; }
hr { border: 0; height: 1px; background-color: #E5E5EA; margin: 32px 0; }

/* ====================================================================
   Typography (elegant_classic)
==================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Georgia', serif;
  color: #19191C;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: 0.008em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; font-weight: 600; }
h4 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 600; }
p, ul, ol { margin-bottom: 14px; }

@media (min-width: 900px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.35rem; }
  h3 { font-size: 1.7rem; }
}

/* ====================================================================
   Color Palette
==================================================================== */
:root {
  --color-primary: #0A0F2C;
  --color-secondary: #38A8F6;
  --color-accent: #B65AFF;
  --color-background: #F8F8FA;
  --color-card: #FFFFFF;
  --color-border: #E5E5EA;
  --color-muted: #B1B5C3;
  --color-heading: #19191C;
  --color-text: #26283D;
  --color-link: #19191C;
  --color-link-hover: var(--color-secondary);
  --color-footer: #EFEFF3;
}

/* ====================================================================
   Layout Structure
==================================================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (min-width: 900px) {
  .section { 
    padding: 55px 0; 
    margin-bottom: 80px;
  }
  .container { padding: 0 28px; }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.card-container,
.card-grid,
.feature-grid,
.benefits-grid,
.supported-assets-grid,
.security-layers-grid,
.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.market-listings,
.faq-list,
.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

/* ====================================================================
   HEADER & NAVIGATION
==================================================================== */
header {
  background: var(--color-card);
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 2px 10px 0 rgba(25,25,30,0.02);
}
header > a img {
  max-height: 48px;
  margin-right: 26px;
}
nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
nav a {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.05rem;
  color: var(--color-link);
  padding: 5px 6px;
  border-radius: 4px;
  position: relative;
  letter-spacing: 0.03em;
  transition: color 0.14s, background 0.19s;
}
nav a:hover, nav a:focus {
  color: var(--color-accent);
  background: #F4F5FC;
}
nav a.cta-main {
  background: var(--color-secondary);
  color: #fff !important;
  border-radius: 20px;
  padding: 7px 22px;
  font-weight: 700;
  margin-left: 13px;
  transition: background 0.2s, color 0.2s;
}
nav a.cta-main:hover, nav a.cta-main:focus {
  background: var(--color-accent);
  color: #fff;
}

/* Hide desktop nav on mobile */
@media (max-width: 980px) {
  nav {
    display: none;
  }
}

/* ====================================================================
   HERO SECTION
==================================================================== */
.hero {
  background: #F5F6FB;
  padding: 44px 0 35px 0;
  margin-bottom: 0;
}
.hero h1 {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 2.2rem;
  letter-spacing: 0.01em;
  margin-bottom: 11px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-bottom: 16px;
}
@media (min-width: 900px) {
  .hero {
    padding: 72px 0 51px 0;
  }
  .hero h1 {
    font-size: 3.1rem;
  }
}

.cta {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 18px;
  padding: 28px 0;
  margin-bottom: 60px;
}
.cta h2 { color: #fff; }

/* ====================================================================
   CARDS, FEATURES, MARKET, TABLES
==================================================================== */
.card, .benefits-grid > div, .supported-assets-grid > div,
.security-layers-grid > div, .contact-method {
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(10,15,44,0.06);
  border: 1px solid var(--color-border);
  padding: 28px 20px;
  min-width: 180px;
  flex: 1 1 210px;
  transition: box-shadow 0.2s, border 0.18s, transform 0.21s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card:hover, .benefits-grid > div:hover, .supported-assets-grid > div:hover,
.security-layers-grid > div:hover, .contact-method:hover {
  box-shadow: 0 4px 30px 0 rgba(54,63,97,0.13);
  border-color: var(--color-secondary);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid > div {
  background: var(--color-card);
  padding: 24px 17px;
  border-radius: 15px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px 0 rgba(35,39,61,0.05);
  flex: 1 1 220px;
  transition: box-shadow 0.17s, border 0.15s, transform 0.19s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.feature-grid > div:hover {
  border-color: var(--color-accent);
  transform: translateY(-1.5px) scale(1.02);
  box-shadow: 0 6px 22px 0 rgba(54,63,120,0.09);
}
.benefits-grid, .supported-assets-grid, .security-layers-grid {
  gap: 20px;
  flex-wrap: wrap;
}
.benefits-grid > div, .supported-assets-grid > div, .security-layers-grid > div {
  min-width: 140px;
  flex: 1 1 180px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.market-listings > div {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 13px;
  padding: 16px 20px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 6px;
  font-size: 1rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: var(--color-card);
  border-radius: 14px;
  overflow: hidden;
  font-size: 1.05em;
  box-shadow: 0 2px 14px 0 rgba(50,60,110,0.04);
}
.pricing-table th, .pricing-table td {
  padding: 12px 14px;
}
.pricing-table th {
  background: #F5F5F7;
  color: #19191C;
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
}
.pricing-table td {
  border-bottom: 1px solid #F3F3F5;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

.comparison-section {
  background: #F8F8FC;
  padding: 16px 14px;
  border-radius: 12px;
  border-left: 4px solid var(--color-secondary);
}

/* ====================================================================
   TESTIMONIALS & SLIDER
==================================================================== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(32,36,56,0.05);
  color: #19191C;
  min-width: 230px;
  max-width: 370px;
  flex: 1 1 260px;
  transition: box-shadow 0.19s, border 0.16s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px 0 rgba(60,66,110,0.09);
  border-color: var(--color-accent);
  transform: translateY(-2px) scale(1.02);
}
.testimonial-card p {
  margin-bottom: 0; 
  font-style: italic; 
}
.testimonial-card strong {
  color: var(--color-secondary);
  font-weight: 700;
}

/* ====================================================================
   FAQ, Timeline, etc.
==================================================================== */
.faq-list > li, .timeline > li {
  background: #fff;
  border-radius: 12px;
  border-left: 5px solid var(--color-secondary);
  margin-bottom: 8px;
  padding: 17px 18px;
  box-shadow: 0 2px 8px 0 rgba(50,70,140,0.03);
}
.faq-list > li strong, .timeline > li strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05em;
}

/* ====================================================================
   BUTTONS & INTERACTIVES
==================================================================== */
.cta-button {
  background: var(--color-accent);
  color: #fff;
  font-family: 'Merriweather', 'Georgia', serif;
  font-weight: 700;
  padding: 12px 30px;
  border: none;
  border-radius: 22px;
  font-size: 1.11rem;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 rgba(181,90,255,0.09);
  transition: background 0.17s, color 0.17s, transform 0.17s;
  margin-top: 12px;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.025);
}

button, .button {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1rem;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, transform 0.13s;
  margin-right: 12px;
}
button:hover, .button:hover, button:focus, .button:focus {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-1.5px);
}

/* ====================================================================
   DATA PROTECTION HINT
==================================================================== */
.data-protection-hint {
  background: #F8F8E6;
  border-left: 5px solid var(--color-secondary);
  color: #726B4E;
  padding: 13px 15px;
  border-radius: 11px;
  margin: 20px 0;
  font-size: 0.97em;
}

/* ====================================================================
   FOOTER AREA
==================================================================== */
footer {
  background: var(--color-footer);
  padding: 46px 0 20px 0;
  color: #26283D;
  margin-top: 60px;
  font-size: 1rem;
  border-top: 1.5px solid var(--color-border);
}
footer nav {
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}
footer nav a {
  color: #4C4957;
  font-size: 1.05em;
  padding: 4px 7px;
  border-radius: 5px;
  transition: color 0.12s, background 0.09s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
  background: #fff;
}
.footer-contact {
  margin: 20px auto 8px auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 1.04em;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
}
.footer-legal {
  text-align: center;
  margin-top: 10px;
  font-size: 0.95em;
  color: #888;
}

/* ====================================================================
   MOBILE MENU (BURGER NAV)
==================================================================== */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  border: none;
  color: #fff;
  font-size: 2.1rem;
  border-radius: 14px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.16s, color 0.14s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-accent);
  color: #fff;
}
@media (min-width: 980px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,15,44,0.98);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 22px 10px 22px;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 2rem;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 201;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  width: 100%;
  padding-top: 39px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.17em;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 0 7px 7px;
  border-radius: 7px;
  width: 100%;
  transition: background 0.17s, color 0.17s;
  margin-bottom: 1px;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav a.cta-main,
.mobile-nav a[href*="registrierung"],
.mobile-nav a.cta-main {
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 700;
  border-radius: 18px;
  padding: 10px 17px;
  margin-top: 15px;
  width: auto;
  display: inline-block;
}
.mobile-nav a.cta-main:hover,
.mobile-nav a[href*="registrierung"]:hover {
  background: var(--color-secondary);
}
@media (min-width: 980px) {
  .mobile-menu { display: none !important; }
}

/* ====================================================================
   COOKIE CONSENT BANNER & MODAL
==================================================================== */
.cookie-banner {
  position: fixed;
  left: 14px; right: 14px;
  bottom: 0;
  z-index: 3000;
  background: #fff;
  border: 1.5px solid #F2F3FF;
  border-radius: 17px 17px 7px 7px;
  box-shadow: 0 4px 32px 0 rgba(60,56,133,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 23px 18px 17px 18px;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1rem;
  color: #19191C;
  animation: cookieSlideIn 0.65s cubic-bezier(.64,-0.4,.22,1.21);
}
@keyframes cookieSlideIn {
  from { transform: translateY(130%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner strong { color: var(--color-secondary); }
.cookie-banner .cookie-banner-buttons {
  margin-top: 7px;
  display: flex;
  gap: 13px;
}
.cookie-banner button {
  padding: 7px 19px;
  border-radius: 10px;
  font-weight: 600;
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1em;
  border: none;
  cursor: pointer;
  background: var(--color-secondary);
  color: #fff;
  transition: background 0.16s, color 0.14s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-accent);
}
.cookie-banner .cookie-reject {
  background: #E5EAFA;
  color: #26283D;
}
.cookie-banner .cookie-reject:hover,
.cookie-banner .cookie-reject:focus {
  background: #e9c5ff;
  color: #19191C;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  transition: background 0.2s, color 0.14s;
}
.cookie-banner .cookie-settings:hover,
.cookie-banner .cookie-settings:focus {
  background: #e9f4ff; color: var(--color-accent);
}

/* Cookie Preferences Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3050;
  background: rgba(10,15,44,0.51);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: cookieModalFadeIn 0.35s ease;
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; }
  to{ opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 34px 23px 22px 23px;
  border-radius: 14px;
  max-width: 390px;
  width: 95vw;
  box-shadow: 0 8px 32px 0 rgba(33,40,118,0.17);
  color: #19191C;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: 'Merriweather', 'Georgia', serif;
}
.cookie-modal h3 {
  color: var(--color-secondary);
  font-size: 1.32em;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 14px 0 9px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-category label {
  flex: 1;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}
.cookie-category input[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}
.cookie-modal-buttons {
  display: flex;
  gap: 11px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  background: #e9e9f3;
  color: #0A0F2C;
  border: none;
  border-radius: 10px;
  padding: 6px 18px;
  font-size: 1em;
  cursor: pointer;
  margin-left: 0;
  transition: background 0.16s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* ====================================================================
   RESPONSIVE & SPACING
==================================================================== */
@media (max-width: 900px) {
  footer {
    padding: 35px 0 12px 0;
    font-size: 0.98em;
  }
  .benefits-grid, .supported-assets-grid, .security-layers-grid {
    flex-direction: column;
    gap: 10px;
  }
  .card-container, .feature-grid {
    flex-direction: column;
    gap: 20px; 
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 580px) {
  .container {
    padding: 0 5px;
  }
  .section {
    padding: 22px 5px;
    margin-bottom: 32px;
  }
  .hero {
    padding: 20px 0 17px 0;
  }
  .cta {
    padding: 18px 0;
    border-radius: 12px;
  }
  .testimonial-card,
  .card, .feature-grid > div, .benefits-grid > div {
    padding: 14px 8px;
    min-width: 0;
    font-size: 1em;
    border-radius: 12px;
  }
  .pricing-table th, .pricing-table td {
    padding: 8px 5px;
  }
  .cookie-banner { padding: 11px 5px 11px 5px; font-size: 0.98em; }
}

/* ====================================================================
   Other Micro-Interactions & Transitions
==================================================================== */
.card, .feature-grid > div, .testimonial-card, .benefits-grid > div, .supported-assets-grid > div, .security-layers-grid > div, .contact-method {
  transition: box-shadow 0.18s, border 0.16s, transform 0.13s;
}
.cta-button, button, .button {
  transition: background 0.18s, color 0.13s, transform 0.15s;
}

/* Hide scrollbars in mobile menu & overlay, but allow scroll */
.mobile-menu, .cookie-modal {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}
.mobile-menu::-webkit-scrollbar,
.cookie-modal::-webkit-scrollbar {
  display: none;
}

/* ====================================================================
   Print small fix
==================================================================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff; color: #19191C; }
}
