/* ===================================================================
   Eisklar Rentenberatung – style.css
   Design style: tech_futuristic (gradient backgrounds, neon accents, modern fonts, sleek interfaces)
   Brand: Primary #0B3A5E, Secondary #2D6A7E, Accent #EAF2F8 | Fonts: Georgia (display), Arial (body)
   Layout: Mobile-first, ONLY flexbox. No CSS Grid or Columns.
   =================================================================== */

/* =========================
   CSS RESET / NORMALIZE
   ========================= */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; padding: 0; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
img { border: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { margin: 0; padding-left: 1.2rem; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
:focus { outline: 2px solid #00E5FF; outline-offset: 2px; }

/* =========================
   THEME VARIABLES (with fallbacks)
   ========================= */
:root {
  --color-primary: #0B3A5E;
  --color-secondary: #2D6A7E;
  --color-accent: #EAF2F8;
  --color-bg: #ffffff;
  --color-text: #0B3A5E;
  --color-muted: #5E7A8A;
  --color-soft: #F6FAFD;
  --neon-cyan: #00E5FF;
  --neon-magenta: #FF3DBF;
  --border: rgba(13, 77, 116, 0.15);
  --shadow: 0 8px 20px rgba(0,0,0,0.08);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --container: 1200px;
  --speed: 220ms;
}

/* =========================
   BASE TYPOGRAPHY
   ========================= */
body {
  font-family: Arial, Helvetica, sans-serif; /* brand body */
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; /* brand display */ }

h1 { font-size: 40px; line-height: 1.15; letter-spacing: 0.2px; }
h2 { font-size: 32px; line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: 22px; line-height: 1.3; }

p, li { font-size: 16px; }
.subheadline { font-size: 18px; color: var(--color-muted); max-width: 70ch; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: var(--neon-cyan); }

strong { font-weight: 700; }

/* Responsive type scale */
@media (min-width: 768px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }
}
@media (min-width: 1024px) {
  h1 { font-size: 56px; }
}

/* =========================
   LAYOUT CONTAINERS (FLEX ONLY)
   ========================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

section { /* general spacing for all sections */
  margin-bottom: 60px;
  padding: 40px 0;
  display: flex;
}

/* MANDATORY SPACING PATTERNS (exact values) */
.section { margin-bottom: 60px; padding: 40px 20px; display: flex; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; display: flex; flex-direction: column; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* =========================
   HEADER & NAVIGATION
   ========================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0B304E; /* solid fallback */
  background-image: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  color: #EAF6FF;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 20px rgba(11,58,94,0.25);
}
header .container { flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 20px; }
header a { color: #EAF6FF; }
header img { height: 36px; width: auto; }

header nav { display: none; flex-wrap: wrap; gap: 14px; align-items: center; }
header nav a { padding: 8px 10px; border-radius: 8px; transition: color var(--speed), background var(--speed), box-shadow var(--speed); }
header nav a:hover { background: rgba(255,255,255,0.08); box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset; }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #EAF6FF;
  cursor: pointer;
  transition: background var(--speed), box-shadow var(--speed), transform var(--speed);
}
.mobile-menu-toggle:hover { background: rgba(255,255,255,0.08); box-shadow: 0 0 8px var(--neon-cyan); }
.mobile-menu-toggle:active { transform: scale(0.98); }

/* Desktop nav visible */
@media (min-width: 992px) {
  header nav { display: flex; }
  .mobile-menu-toggle { display: none; }
}

/* =========================
   MOBILE MENU OVERLAY
   ========================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(4, 16, 28, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 320ms ease;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
  align-self: flex-end;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #EAF6FF;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background var(--speed), box-shadow var(--speed), transform var(--speed);
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.08); box-shadow: 0 0 8px var(--neon-magenta); }
.mobile-nav { display: flex; flex-direction: column; gap: 10px; }
.mobile-nav a {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  border-radius: 12px;
  color: #EAF6FF;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background var(--speed), transform var(--speed), box-shadow var(--speed);
}
.mobile-nav a:hover { background: rgba(255,255,255,0.08); box-shadow: 0 0 10px rgba(0,229,255,0.4); transform: translateX(2px); }

/* =========================
   HERO SECTIONS (tech_futuristic)
   ========================= */
.hero {
  background: var(--color-primary);
  background-image: #11240177;
  color: #EAF6FF;
  position: relative;
}
.hero .container { padding: 40px 20px; }
.hero .content-wrapper { gap: 16px; }
.hero .cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .trust-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .trust-badges span { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.15); }
.hero .trust-badges img { width: 18px; height: 18px; }

/* Add a subtle neon edge glow for the hero container */
.hero .container { box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 0 24px rgba(0,229,255,0.15); border-radius: var(--radius-lg); }

/* =========================
   BUTTONS / CTAs
   ========================= */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--speed), color var(--speed), box-shadow var(--speed), transform var(--speed), border-color var(--speed);
  font-weight: 700;
}
.cta.primary {
  color: #041A2B;
  background: #8CF0FF; /* bright cyan for neon accent */
  border-color: #4CEBFF;
  box-shadow: 0 6px 16px rgba(0,229,255,0.35), 0 0 0 2px rgba(76,235,255,0.3) inset;
}
.cta.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,229,255,0.45), 0 0 0 2px rgba(76,235,255,0.45) inset; }

.cta.secondary {
  color: var(--color-primary);
  background: transparent;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 0 rgba(0,0,0,0);
}
.cta.secondary:hover { background: var(--color-accent); box-shadow: 0 6px 16px rgba(11,58,94,0.15); transform: translateY(-1px); }

/* CTA groups */
.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================
   FEATURE / CARD GRIDS (FLEX ONLY)
   ========================= */
.feature-grid, .service-cards, .case-types-grid, .use-case-cards, .issue-types-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-grid > div, .service-cards > div, .case-types-grid > div, .use-case-cards > div, .issue-types-grid > div {
  flex: 1 1 260px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
}
.feature-grid > div:hover,
.service-cards > div:hover,
.case-types-grid > div:hover,
.use-case-cards > div:hover,
.issue-types-grid > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(11,58,94,0.18), 0 0 0 2px rgba(0,229,255,0.08) inset;
  border-color: rgba(0,229,255,0.35);
}
.feature-grid img, .feature-list img { width: 36px; height: 36px; }

/* =========================
   LISTS & TEXT BLOCKS
   ========================= */
ul, ol { display: flex; flex-direction: column; gap: 10px; }
.kpis { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding-left: 0; }
.kpis li { background: var(--color-accent); color: var(--color-primary); border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; }

.documents-checklist { display: flex; flex-direction: column; gap: 10px; background: var(--color-accent); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; }
.method-notes, .risk-notes, .quality-guarantees, .inclusions-list, .pricing-overview, .rating-summary, .quote-highlight, .compliance-note {
  display: flex; flex-direction: column; gap: 10px; background: var(--soft, var(--color-accent)); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px;
}

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; color: #2CCAF0; font-size: 14px; opacity: 0.95; }

/* =========================
   TESTIMONIALS (light bg, dark text for readability)
   ========================= */
.testimonial-list { display: flex; flex-wrap: wrap; gap: 20px; }
.testimonial-card {
  flex: 1 1 280px;
  background: #ffffff; /* light background */
  color: var(--color-text); /* dark text */
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.testimonial-card blockquote { margin: 0; font-style: italic; color: #143D61; }
.testimonial-card cite { font-size: 14px; color: var(--color-muted); }

.quote-highlight { background: #ffffff; color: var(--color-text); border-left: 4px solid var(--neon-cyan); }

/* =========================
   FAQ LISTS
   ========================= */
.faq-list { display: flex; flex-wrap: wrap; gap: 20px; }
.faq-list > div {
  flex: 1 1 280px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform var(--speed), box-shadow var(--speed);
}
.faq-list > div:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(11,58,94,0.12); }
.faq-cta { display: flex; }

/* =========================
   CONTACT & UTILITY SECTIONS
   ========================= */
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-info { display: flex; flex-direction: column; gap: 8px; }
.contact-info p { display: flex; align-items: center; gap: 8px; }
.contact-info img { width: 18px; height: 18px; }
.map-placeholder { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; border: 2px dashed var(--color-secondary); border-radius: var(--radius-md); color: var(--color-secondary); background: #F7FBFE; }
.features { display: flex; flex-direction: column; gap: 12px; }
.meeting-options { list-style: disc; padding-left: 1.2rem; }
.response-time-note { color: var(--color-secondary); }

/* ABOUT PAGE blocks */
.about-block, .associations-memberships { display: flex; flex-direction: column; gap: 12px; }
.brand-pillars, .bio-list, .qualifications-list { display: flex; flex-direction: column; gap: 10px; }

/* =========================
   FOOTER
   ========================= */
footer {
  background: #061E33;
  color: #CFE8FA;
  border-top: 1px solid rgba(255,255,255,0.08);
}
footer .container { padding: 30px 20px; gap: 20px; }
footer .brand-statement { display: flex; align-items: center; gap: 14px; }
footer .brand-statement img { width: 40px; height: 40px; }
footer .footer-nav, footer .footer-legal { display: flex; flex-wrap: wrap; gap: 12px; }
footer a { color: #CFE8FA; opacity: 0.9; padding: 6px 8px; border-radius: 8px; transition: background var(--speed), color var(--speed); }
footer a:hover { background: rgba(255,255,255,0.06); color: #ffffff; }

/* =========================
   LINKS
   ========================= */
a { color: var(--color-secondary); transition: color var(--speed), text-shadow var(--speed); }
a:hover { color: #00BFE0; text-shadow: 0 0 6px rgba(0,229,255,0.5); }

/* =========================
   DEADLINES / NOTICES
   ========================= */
.deadline-notice { display: flex; padding: 12px 14px; border-radius: 12px; background: #FFF7E8; color: #7A4A00; border: 1px solid #F3D4A2; }

/* =========================
   BREADCRUMBS
   ========================= */
.breadcrumbs a { text-decoration: underline; }

/* =========================
   RESPONSIVE BEHAVIOR
   ========================= */
@media (min-width: 768px) {
  .text-image-section { flex-direction: row; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: center; }
}

/* =========================
   ACCESSIBILITY & MICRO-INTERACTIONS
   ========================= */
button:hover, .cta:hover { filter: none; }
button:disabled, .cta:disabled { opacity: 0.6; cursor: not-allowed; }

/* =========================
   HEADER CTA alignment on desktop
   ========================= */
@media (min-width: 992px) {
  header nav a.cta.primary { margin-left: 6px; }
}

/* =========================
   CARDS GENERAL
   ========================= */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow);
}

/* =========================
   MISC STRUCTURAL CLASSES (from content)
   ========================= */
.deliverables-list, .benefit-bullets, .feature-list, .proof-strategy-points,
.country-scope-list, .principles-list, .data-subject-rights, .processor-agreements,
.consent-management, .data-minimization, .next-steps-list, .document-preparation-tips {
  display: flex; flex-direction: column; gap: 8px;
}

.quote-highlight p, .rating-summary p { margin: 0; }

/* =========================
   KPIs and Labels
   ========================= */
.kpis strong { font-size: 18px; }

/* =========================
   TABLE-LIKE OVERVIEWS (use flex)
   ========================= */
.pricing-overview ul { display: flex; flex-direction: column; gap: 8px; }
.inclusions-list ul { display: flex; flex-direction: column; gap: 8px; }

/* =========================
   COOKIE CONSENT BANNER & MODAL
   ========================= */
.cookie-banner {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 3000;
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 14px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  transform: translateY(30px);
  opacity: 0; pointer-events: none;
  transition: transform 300ms ease, opacity 300ms ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner .cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border); cursor: pointer; transition: background var(--speed), color var(--speed), box-shadow var(--speed); }
.cookie-banner .btn-accept { background: #8CF0FF; border-color: #4CEBFF; color: #062033; box-shadow: 0 6px 16px rgba(0,229,255,0.25); }
.cookie-banner .btn-accept:hover { box-shadow: 0 8px 20px rgba(0,229,255,0.35); }
.cookie-banner .btn-reject { background: #ffffff; color: var(--color-primary); }
.cookie-banner .btn-reject:hover { background: var(--color-accent); }
.cookie-banner .btn-settings { background: #ffffff; color: var(--color-secondary); border-color: var(--color-secondary); }
.cookie-banner .btn-settings:hover { background: var(--color-accent); }

.cookie-modal {
  position: fixed; inset: 0; z-index: 3500;
  display: none; /* toggled via .open */
  align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cookie-modal.open { display: flex; }
.cookie-modal-content {
  width: min(680px, calc(100% - 32px));
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
}
.cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cookie-toggle { position: relative; width: 48px; height: 28px; border-radius: 999px; background: #D9E6EE; border: 1px solid #C6DBE6; display: flex; align-items: center; padding: 2px; transition: background var(--speed), border-color var(--speed); }
.cookie-toggle::after { content: ""; width: 22px; height: 22px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transform: translateX(0); transition: transform var(--speed); }
.cookie-toggle.on { background: #8CF0FF; border-color: #4CEBFF; }
.cookie-toggle.on::after { transform: translateX(20px); }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* =========================
   UTILITIES
   ========================= */
.center { display: flex; align-items: center; justify-content: center; }
.row { display: flex; flex-direction: row; }
.col { display: flex; flex-direction: column; }
.wrap { flex-wrap: wrap; }
.gap-10 { gap: 10px; } .gap-12 { gap: 12px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; }
.mt-20 { margin-top: 20px; } .mb-20 { margin-bottom: 20px; }

/* =========================
   DESKTOP ENHANCEMENTS
   ========================= */
@media (min-width: 992px) {
  .container { gap: 24px; }
  section { padding: 56px 0; }
  .hero .container { padding: 56px 20px; }
}

/* =========================
   LINKED ICONS IN TEXT
   ========================= */
.trust-badges strong { font-weight: 700; }

/* =========================
   ENSURE NO OVERLAPS: consistent spacing
   ========================= */
section + section { margin-top: 0; }
.feature-grid > div, .service-cards > div, .faq-list > div, .testimonial-card { margin-bottom: 0; }

/* =========================
   ACCESSIBLE FOCUS STATES
   ========================= */
a:focus-visible, button:focus-visible, .cta:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; box-shadow: 0 0 0 2px rgba(0,229,255,0.25); }

/* =========================
   ADDITIONAL PAGE-SPECIFIC SMALL STYLES
   ========================= */
.disclaimer-note { color: var(--color-muted); font-size: 14px; }
.privacy-note { color: var(--color-muted); font-size: 14px; }

/* =========================
   NAV CTA distinct on hero background
   ========================= */
header nav a.cta.primary { color: #041A2B; background: #8CF0FF; border: 1px solid #4CEBFF; box-shadow: 0 4px 14px rgba(0,229,255,0.25); }
header nav a.cta.primary:hover { box-shadow: 0 8px 18px rgba(0,229,255,0.35); }

/* =========================
   PREVENT ANY GRID/COLUMN USAGE (NOT USED)
   ========================= */
/* Intentionally no display: grid or columns used anywhere */
