/* ============================================================
   TRECURO IT – Static Website CSS
   Alternating White / Navy sections
   ============================================================ */

:root {
  --radius: 0.625rem;

  /* Navy (dark sections) */
  --navy:            #1e2a4a;
  --navy-mid:        #162040;
  --navy-text:       #f0f4ff;
  --navy-muted:      rgba(240,244,255,0.65);
  --navy-card-bg:    rgba(255,255,255,0.06);
  --navy-card-border:rgba(255,255,255,0.10);

  /* White (light sections) */
  --white-bg:        #f4f6fb;
  --white-surface:   #edf0f7;
  --white-text:      #1a2540;
  --white-muted:     #5a6a88;
  --white-card-bg:   #ffffff;
  --white-card-border: #d4daea;

  /* Accent */
  --petrol:          #00B7C6;
  --petrol-dark:     #009aaa;
  --petrol-glow:     rgba(0,183,198,0.14);
  --petrol-border:   rgba(0,183,198,0.30);

  /* Header */
  --header-bg:       #1e2a4a;
  --header-border:   rgba(255,255,255,0.08);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--white-bg);
  color: var(--white-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1,h2,h3,h4,h5,h6 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Layout ── */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section-padding { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section-padding { padding-top: 7rem; padding-bottom: 7rem; } }

/* ============================================================
   SECTION THEMING  – light vs dark
   ============================================================ */

/* Light sections (white background) */
.section-light {
  background: var(--white-bg);
  color: var(--white-text);
}
.section-light .section-title   { color: var(--white-text); }
.section-light .section-desc    { color: var(--white-muted); }
.section-light .section-label   { color: var(--petrol-dark); }

/* Dark sections (navy background) */
.section-dark {
  background: var(--navy);
  color: var(--navy-text);
}
.section-dark .section-title    { color: var(--navy-text); }
.section-dark .section-desc     { color: var(--navy-muted); }
.section-dark .section-label    { color: var(--petrol); }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(12px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }

.nav-logo { display: flex; align-items: center; gap: 0.625rem; }
.nav-logo img { height: 2.25rem; width: 2.25rem; object-fit: contain; }
.nav-logo-text { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.nav-logo-text .cyber    { color: #ffffff; }
.nav-logo-text .survivor { color: var(--petrol); }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: rgba(240,244,255,0.70); transition: color 0.15s; }
.nav-links a:hover { color: #fff; }

/* Buttons */
.btn-trust {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--petrol); color: #fff;
  font-size: 0.875rem; font-weight: 600; padding: 0.5rem 1.25rem;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: background 0.15s, transform 0.1s; white-space: nowrap; text-decoration: none;
}
.btn-trust:hover { background: var(--petrol-dark); transform: translateY(-1px); }

.btn-trust-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--petrol);
  font-size: 0.875rem; font-weight: 600; padding: 0.5rem 1.25rem;
  border-radius: var(--radius); border: 1.5px solid var(--petrol); cursor: pointer;
  transition: background 0.15s, transform 0.1s; white-space: nowrap; text-decoration: none;
}
.btn-trust-outline:hover { background: var(--petrol-glow); transform: translateY(-1px); }

/* Outline button on dark bg */
.section-dark .btn-trust-outline,
.hero .btn-trust-outline {
  color: rgba(240,244,255,0.90);
  border-color: rgba(240,244,255,0.45);
  background: rgba(255,255,255,0.05);
}
.section-dark .btn-trust-outline:hover,
.hero .btn-trust-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-lg  { padding: 0.75rem 1.75rem;  font-size: 1rem; }
.btn-xl  { padding: 0.875rem 2rem;    font-size: 1.0625rem; }
.btn-sm  { padding: 0.4rem 1rem;      font-size: 0.8125rem; }

/* Hamburger */
.nav-hamburger { display: block; background: none; border: none; cursor: pointer; padding: 0.5rem; color: #fff; }
@media (min-width: 768px) { .nav-hamburger { display: none; } }
.mobile-menu { display: none; flex-direction: column; gap: 0.75rem; padding: 1rem 0; border-top: 1px solid var(--header-border); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 0.875rem; font-weight: 500; color: rgba(240,244,255,0.70); transition: color 0.15s; }
.mobile-menu a:hover { color: #fff; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden;
  background-image: url("assets/hero-security.png");
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(0,183,198,0.15), transparent 32%),
    linear-gradient(to right, rgba(30,42,74,0.96) 0%, rgba(30,42,74,0.88) 48%, rgba(30,42,74,0.58) 100%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.04));
}
.hero .container { position: relative; z-index: 2; }
.hero-content { padding: 6rem 0 5rem; max-width: 52rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; background: rgba(0,183,198,0.12);
  border: 1px solid rgba(0,183,198,0.28); padding: 0.375rem 1rem;
  margin-bottom: 1.5rem; backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 9999px;
  background: var(--petrol); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
.hero-badge span { font-size: 0.875rem; font-weight: 500; color: rgba(240,244,255,0.90); }

.hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); color: #fff; margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--petrol); }
.hero p { font-size: 1.125rem; color: rgba(240,244,255,0.82); line-height: 1.7; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

@media (max-width: 768px) {
  .hero { min-height: 85vh; }
  .hero-content { padding: 6rem 0 4rem; max-width: 100%; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); margin-bottom: 1rem; }
  .hero p  { font-size: 1rem; margin-bottom: 1.25rem; }
  .hero-closing { font-size: 0.9375rem; margin-bottom: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-trust, .hero-actions .btn-trust-outline { width: 100%; text-align: center; }
  .hero-badge span { font-size: 0.8125rem; }
}

/* ── Section labels ── */
.section-label { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.75rem; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.section-desc  { font-size: 1.0625rem; max-width: 40rem; margin: 0 auto; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 3.5rem; }

/* ── Problem cards ── */
.problems-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .problems-grid { grid-template-columns: 1fr 1fr; } }

.problem-card {
  border-radius: calc(var(--radius) * 1.5); padding: 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
/* Light version */
.section-light .problem-card {
  background: #ffffff;
  border: 1px solid #c8d0e0;
  box-shadow: 0 2px 12px rgba(30,42,74,0.10);
}
.section-light .problem-card:hover {
  box-shadow: 0 8px 28px rgba(30,42,74,0.13);
  border-color: var(--petrol-border);
  transform: translateY(-2px);
}
.section-light .problem-card h3 { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: var(--white-text); }
.section-light .problem-card p  { font-size: 0.875rem; line-height: 1.6; color: var(--white-muted); }

/* Dark version */
.section-dark .problem-card {
  background: var(--navy-card-bg); border: 1px solid var(--navy-card-border);
}
.section-dark .problem-card:hover { box-shadow: 0 8px 32px rgba(0,183,198,0.10); border-color: var(--petrol-border); }
.section-dark .problem-card h3 { font-size: 0.9375rem; font-weight: 600; line-height: 1.4; color: var(--navy-text); }
.section-dark .problem-card p  { font-size: 0.875rem; line-height: 1.6; color: var(--navy-muted); }

.problem-icon {
  flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 0.5rem;
  background: var(--petrol-glow); color: var(--petrol);
  display: flex; align-items: center; justify-content: center;
}
.problem-icon svg { width: 1.5rem; height: 1.5rem; }

/* ── Service cards ── */
.services-category { margin-bottom: 3rem; }
.cat-label { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.cat-bar { height: 0.25rem; width: 2rem; border-radius: 9999px; background: var(--petrol); }
.cat-bar.grey { background: rgba(128,128,128,0.35); }
.cat-label h3 { font-size: 1.25rem; font-weight: 700; }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  border-radius: calc(var(--radius) * 1.5); padding: 1.5rem;
  display: flex; flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.section-light .service-card {
  background: var(--white-card-bg);
  border: 1px solid var(--white-card-border);
  box-shadow: 0 2px 8px rgba(30,42,74,0.07);
}
.section-light .service-card:hover {
  box-shadow: 0 8px 28px rgba(30,42,74,0.13);
  border-color: var(--petrol-border);
  transform: translateY(-2px);
}
.section-light .service-card h4 { color: var(--white-text); }
.section-light .service-card p  { color: var(--white-muted); }

.section-dark .service-card {
  background: var(--navy-card-bg); border: 1px solid var(--navy-card-border);
}
.section-dark .service-card:hover { box-shadow: 0 8px 32px rgba(0,183,198,0.10); border-color: var(--petrol-border); }
.section-dark .service-card h4 { color: var(--navy-text); }
.section-dark .service-card p  { color: var(--navy-muted); }

.service-card h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.5rem; transition: color 0.15s; }
.service-card:hover h4 { color: var(--petrol); }
.service-card p  { font-size: 0.875rem; line-height: 1.65; flex: 1; }

.services-cta { text-align: center; margin-top: 3rem; }

/* ── Trust / cert badges ── */
.cert-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 3.5rem; }
.cert-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 500;
}
.section-dark  .cert-badge { border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.05); color: var(--navy-text); }
.section-light .cert-badge { border: 1px solid var(--petrol-border); background: var(--petrol-glow); color: var(--white-text); }
.cert-badge svg { width: 1rem; height: 1rem; color: var(--petrol); }

/* ── Values grid ── */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-item { text-align: center; }
.value-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 0.75rem;
  background: var(--petrol-glow); color: var(--petrol);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.value-icon svg { width: 1.75rem; height: 1.75rem; }
.value-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.section-dark  .value-item h3 { color: var(--navy-text); }
.section-dark  .value-item p  { color: var(--navy-muted); font-size: 0.875rem; line-height: 1.65; }
.section-light .value-item h3 { color: var(--white-text); }
.section-light .value-item p  { color: var(--white-muted); font-size: 0.875rem; line-height: 1.65; }

/* ── About ── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text h2 { margin-bottom: 1.5rem; }
.section-light .about-text p { color: var(--white-muted); line-height: 1.7; margin-bottom: 1rem; }
.section-dark  .about-text p { color: var(--navy-muted);  line-height: 1.7; margin-bottom: 1rem; }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card { border-radius: calc(var(--radius) * 1.5); padding: 1.5rem; text-align: center; }
.section-light .stat-card {
  background: var(--white-card-bg);
  border: 1px solid var(--white-card-border);
  box-shadow: 0 2px 8px rgba(30,42,74,0.07);
}
.section-dark  .stat-card { background: var(--navy-card-bg); border: 1px solid var(--navy-card-border); }
.stat-card .stat-num   { font-size: 1.875rem; font-weight: 700; color: var(--petrol); margin-bottom: 0.25rem; }
.section-light .stat-card .stat-label { font-size: 0.8125rem; color: var(--white-muted); }
.section-dark  .stat-card .stat-label { font-size: 0.8125rem; color: var(--navy-muted); }

/* ── CTA ── */
.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p  { font-size: 1.0625rem; margin-bottom: 2rem; max-width: 38rem; margin-left: auto; margin-right: auto; line-height: 1.7; }
.section-light .cta-section p { color: var(--white-muted); }
.section-dark  .cta-section p { color: var(--navy-muted); }
.cta-buttons { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .cta-buttons { flex-direction: row; justify-content: center; } }

/* ── Contact / Form ── */
.contact-header { text-align: center; margin-bottom: 3rem; }
.contact-header h1 { margin-bottom: 1rem; }
.section-dark  .contact-header p { font-size: 1.0625rem; color: var(--navy-muted); max-width: 32rem; margin: 0 auto; line-height: 1.7; }
.section-light .contact-header p { font-size: 1.0625rem; color: var(--white-muted); max-width: 32rem; margin: 0 auto; line-height: 1.7; }

.form-container { max-width: 44rem; margin: 0 auto; }

/* Card wrapper around form on light bg */
.section-light .form-container form {
  background: var(--white-card-bg);
  border: 1px solid var(--white-card-border);
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 4px 24px rgba(30,42,74,0.10);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.section-light label { color: var(--white-text); }
.section-dark  label { color: var(--navy-text); }
label .optional { font-weight: 400; opacity: 0.6; }

/* Inputs – light section */
.section-light input,
.section-light select,
.section-light textarea {
  width: 100%;
  border: 1.5px solid #cdd5e4;
  background: #f8fafc;
  border-radius: calc(var(--radius) * 1.2);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--white-text);
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  outline: none;
  appearance: none; -webkit-appearance: none;
}
.section-light input:focus,
.section-light select:focus,
.section-light textarea:focus {
  border-color: var(--petrol);
  background: #fff;
  box-shadow: 0 0 0 3px var(--petrol-glow);
}
.section-light input::placeholder,
.section-light textarea::placeholder { color: #a0aec0; }

/* Inputs – dark section */
.section-dark input,
.section-dark select,
.section-dark textarea {
  width: 100%; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.875rem;
  color: var(--navy-text); font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
  appearance: none; -webkit-appearance: none;
}
.section-dark input:focus,
.section-dark select:focus,
.section-dark textarea:focus { border-color: var(--petrol); box-shadow: 0 0 0 3px var(--petrol-glow); }
.section-dark input::placeholder,
.section-dark textarea::placeholder { color: var(--navy-muted); }

textarea { resize: none; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300B7C6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem;
}
.section-dark select option { background: var(--navy); color: var(--navy-text); }

.btn-submit {
  width: 100%;
  background: var(--petrol);
  color: white;
  border: none;
  border-radius: calc(var(--radius) * 1.2);
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  font-family: inherit;
  margin-top: 0.5rem;
}
.btn-submit:hover {
  background: var(--petrol-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,183,198,0.35);
}

.section-light .form-note { font-size: 0.75rem; color: var(--white-muted); text-align: center; margin-top: 1rem; }
.section-dark  .form-note { font-size: 0.75rem; color: var(--navy-muted);  text-align: center; margin-top: 1rem; }

/* ── Footer ── */
.site-footer { background: var(--navy-mid); border-top: 1px solid rgba(255,255,255,0.07); color: var(--navy-muted); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-logo { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; }
.footer-logo img { height: 2.5rem; width: 2.5rem; object-fit: contain; }
.footer-logo-text { font-size: 1rem; font-weight: 700; line-height: 1; }
.footer-logo-text .cyber    { color: #fff; }
.footer-logo-text .survivor { color: var(--petrol); }
.footer-desc { font-size: 0.875rem; color: var(--navy-muted); max-width: 18rem; line-height: 1.6; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 0.75rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li { font-size: 0.875rem; color: var(--navy-muted); }
.footer-col ul li a { color: var(--petrol); font-weight: 500; transition: color 0.15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.5rem 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.75rem; color: rgba(240,244,255,0.35); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 1rem; }

/* ── Legal pages ── */
.page-main { padding-top: 4rem; }
.legal-content { max-width: 48rem; }
.legal-content h1 { margin-bottom: 2rem; color: var(--white-text); }
.legal-content h2 { font-size: 1.125rem; font-weight: 600; color: var(--white-text); margin-top: 2rem; margin-bottom: 1rem; }
.legal-content h3 { font-size: 1rem; font-weight: 600; color: var(--white-text); margin-top: 1.5rem; margin-bottom: 0.75rem; }
.legal-content p  { color: var(--white-muted); line-height: 1.7; margin-bottom: 1rem; }
.legal-content strong { color: var(--white-text); }
.legal-content ul { list-style: disc; padding-left: 1.5rem; color: var(--white-muted); margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: 0.25rem; line-height: 1.65; }

/* ── Contact two-column layout ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-form-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: calc(var(--radius) * 2);
  padding: 2rem;
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-text, #e8eef5);
  margin-bottom: 1.75rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--navy-muted, rgba(232,238,245,0.65));
  line-height: 1.5;
}
.contact-detail svg {
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  color: var(--petrol, #00B7C6);
  margin-top: 0.1rem;
}
.contact-detail a { color: var(--petrol, #00B7C6); transition: color 0.15s; }
.contact-detail a:hover { color: #fff; }
.contact-divider {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Leistung detail pages ── */
.leistung-hero {
  background: var(--navy, #1e2a4a);
  padding: 8rem 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: rgba(240,244,255,0.45);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--petrol, #00B7C6); transition: color 0.15s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(240,244,255,0.25); }
.leistung-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}
.leistung-hero .lead {
  font-size: 1.125rem;
  color: rgba(240,244,255,0.75);
  max-width: 44rem; line-height: 1.75;
  margin-bottom: 2rem;
}
.leistung-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; border-radius: 1rem;
  background: rgba(0,183,198,0.15);
  border: 1px solid rgba(0,183,198,0.30);
  color: var(--petrol, #00B7C6);
  margin-bottom: 1.5rem;
}
.leistung-icon svg { width: 2rem; height: 2rem; }

.leistung-body {
  padding: 5rem 0;
  background: #fff;
}
.leistung-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .leistung-grid { grid-template-columns: 3fr 2fr; }
}

.leistung-main h2 {
  font-size: 1.375rem; font-weight: 700;
  color: #1a2540;
  margin-top: 2.5rem; margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--petrol-glow, rgba(0,183,198,0.14));
}
.leistung-main h2:first-child { margin-top: 0; }
.leistung-main p { color: #5a6a88; line-height: 1.8; margin-bottom: 1rem; }
.leistung-main strong { color: #1a2540; }

.check-list {
  display: flex; flex-direction: column; gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  list-style: none; padding: 0;
}
.check-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9375rem; color: #5a6a88; line-height: 1.6;
}
.check-list li::before {
  content: '';
  flex-shrink: 0; margin-top: 0.3rem;
  width: 1.125rem; height: 1.125rem; border-radius: 9999px;
  background: rgba(0,183,198,0.12);
  border: 1.5px solid var(--petrol, #00B7C6);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300B7C6' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 68%; background-repeat: no-repeat; background-position: center;
}

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tag {
  font-size: 0.75rem; font-weight: 500; padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0,183,198,0.10);
  border: 1px solid rgba(0,183,198,0.25);
  color: #1a2540;
}

/* Sidebar form */
.sidebar-card {
  background: #fff;
  border: 1px solid #d4daea;
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 4px 24px rgba(30,42,74,0.10);
  padding: 2rem;
  position: sticky; top: 6rem;
}
.sidebar-label {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--petrol-dark, #009aaa);
  display: block; margin-bottom: 0.5rem;
}
.sidebar-card h3 {
  font-size: 1.125rem; font-weight: 700;
  color: #1a2540; margin-bottom: 0.5rem;
}
.sidebar-card .sidebar-desc {
  font-size: 0.875rem; color: #5a6a88;
  margin-bottom: 1.5rem; line-height: 1.6;
}
.sidebar-form .form-group { margin-bottom: 1rem; }
.sidebar-form label {
  display: block; font-size: 0.8125rem; font-weight: 500;
  color: #1a2540; margin-bottom: 0.3rem;
}
.sidebar-form input,
.sidebar-form select,
.sidebar-form textarea {
  width: 100%; border: 1.5px solid #cdd5e4; background: #f8fafc;
  border-radius: var(--radius); padding: 0.65rem 0.875rem;
  font-size: 0.875rem; color: #1a2540; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  outline: none; appearance: none; -webkit-appearance: none;
}
.sidebar-form input:focus,
.sidebar-form select:focus,
.sidebar-form textarea:focus {
  border-color: var(--petrol, #00B7C6);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,183,198,0.14);
}
.sidebar-form input::placeholder,
.sidebar-form textarea::placeholder { color: #a0aec0; }
.sidebar-form textarea { resize: none; }
.sidebar-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300B7C6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem;
}
.sidebar-form .btn-submit {
  font-size: 0.9375rem; padding: 0.8rem 1.25rem; margin-top: 0.25rem;
}
.sidebar-note {
  font-size: 0.75rem; color: #5a6a88;
  text-align: center; margin-top: 0.75rem;
}
.related-links {
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid #d4daea;
}
.related-links h4 {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #5a6a88; margin-bottom: 0.75rem;
}
.related-links ul { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; padding: 0; }
.related-links ul li a {
  font-size: 0.875rem; color: var(--petrol-dark, #009aaa);
  font-weight: 500; display: flex; align-items: center;
  gap: 0.4rem; transition: color 0.15s;
}
.related-links ul li a:hover { color: #1a2540; }

/* Message boxes */
.form-success {
  display: none; text-align: center; padding: 2rem 1rem;
}
.form-success-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background: rgba(0,183,198,0.12);
  border: 2px solid rgba(0,183,198,0.30);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: var(--petrol, #00B7C6);
}

/* Hero closing line */
.hero-closing {
  font-size: 1rem;
  color: rgba(240,244,255,0.70);
  font-style: italic;
  margin-bottom: 2rem;
}

/* ── Card numbers (Option C) ── */
.card-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--petrol, #00B7C6);
  opacity: 0.5;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.2s;
}
.service-card:hover .card-number {
  opacity: 0.85;
}

/* ── Card button always visible (text link style) ── */
.service-card .card-btn {
  margin-top: auto;
  padding-top: 1.25rem;
}
.service-card .card-btn a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--petrol, #00B7C6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.15s, color 0.15s;
}
.service-card .card-btn a:hover {
  gap: 0.5rem;
  color: #009aaa;
}

/* ── Equal card height ── */
.services-grid {
  align-items: stretch;
}
.service-card {
  display: flex;
  flex-direction: column;
}

/* ── Contact trust bullets ── */
.contact-trust {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.contact-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--navy-muted, rgba(232,238,245,0.65));
}
.contact-trust-item svg {
  flex-shrink: 0;
  color: var(--petrol, #00B7C6);
}

/* ── DSGVO Checkbox ── */
.dsgvo-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--navy-muted, rgba(232,238,245,0.65));
  line-height: 1.5;
  font-weight: 400;
}

/* Native Checkbox verstecken */
.dsgvo-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Custom Box */
.dsgvo-box {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  margin-top: 0.1rem;
  border: 1.5px solid rgba(255,255,255,0.30);
  border-radius: 3px;
  background: transparent;
  transition: background 0.15s, border-color 0.15s;
}
.dsgvo-box svg {
  width: 0.75rem;
  height: 0.75rem;
  color: transparent;
  transition: color 0.15s;
}

/* Aktiviert: Hintergrund petrol, Kreuz weiß */
.dsgvo-label input[type="checkbox"]:checked ~ .dsgvo-box {
  background: var(--petrol, #00B7C6);
  border-color: var(--petrol, #00B7C6);
}
.dsgvo-label input[type="checkbox"]:checked ~ .dsgvo-box svg {
  color: #fff;
}

/* Fokus-Ring für Barrierefreiheit */
.dsgvo-label input[type="checkbox"]:focus-visible ~ .dsgvo-box {
  outline: 2px solid var(--petrol, #00B7C6);
  outline-offset: 2px;
}

/* Globale Input-Regel überschreiben */
.section-dark input[type="checkbox"],
.section-light input[type="checkbox"] {
  width: 0;
  padding: 0;
}

/* DSGVO Box im hellen Sidebar-Formular */
.sidebar-form .dsgvo-box {
  border: 1.5px solid #cdd5e4;
  background: #f8fafc;
}
.sidebar-form .dsgvo-label {
  color: #5a6a88;
}