/* ============================================
   BIDOLI IT SERVICES — Unified Stylesheet
   Ruhig · Strukturiert · Technisch · Seriös
   ============================================ */

:root {
  --navy:       #0f2340;
  --navy-mid:   #1a3a5c;
  --navy-light: #2a5080;
  --text:       #1a1a18;
  --text-2:     #4a4a46;
  --text-3:     #7a7a74;
  --line:       #e4e2da;
  --bg:         #faf9f6;
  --bg-2:       #f2f0e8;
  --white:      #ffffff;
  --accent:     #1a3a5c;
  --fs-xs:      12px;
  --fs-sm:      14px;
  --fs-base:    16px;
  --fs-md:      18px;
  --fs-lg:      22px;
  --fs-xl:      28px;
  --fs-2xl:     36px;
  --fs-3xl:     48px;
  --radius:     6px;
  --radius-lg:  10px;
  --max:        1080px;
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: 60px;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(22px, 3.5vw, 32px); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-base); }
p  { color: var(--text-2); line-height: 1.75; }
a  { color: inherit; text-decoration: none; }

.label-small {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 12px;
}

/* ---- LAYOUT ---- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

section { padding: 80px 0; }

.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 28px; width: auto; }
.nav-logo-text { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.nav-logo-sub  { font-size: 11px; color: var(--text-3); font-weight: 400; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 0 16px;
  height: 60px;
  line-height: 60px;
  font-size: var(--fs-sm);
  color: var(--text-2);
  transition: color var(--transition);
}
.nav-links > li > a:hover { color: var(--text); }

/* Dropdown */
.has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-width: 280px;
  padding: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: var(--fs-sm);
  color: var(--text-2);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.dropdown a:hover { background: var(--bg); color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  background: var(--navy);
  color: var(--white) !important;
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition);
  text-decoration: none;
}
.nav-cta:hover { background: var(--navy-mid); }

/* Hamburger */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
.nav-mobile {
  display: none;
  position: fixed;
  inset: 60px 0 0 0;
  background: var(--white);
  padding: 24px 40px;
  border-top: 1px solid var(--line);
  overflow-y: auto;
  z-index: 99;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: var(--fs-md);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.nav-mobile .sub-link {
  font-size: var(--fs-base);
  color: var(--text-2);
  padding-left: 16px;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--text-3);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
.breadcrumb-inner a { color: var(--text-3); }
.breadcrumb-inner a:hover { color: var(--text); }
.breadcrumb-inner span { color: var(--text); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 24px;
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--text-3); background: var(--bg-2); }

/* ---- HERO ---- */
.hero {
  padding: 80px 0 72px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
.hero-content {}
.hero-content h1 { margin-bottom: 20px; }
.hero-content p  { font-size: var(--fs-md); color: var(--text-2); margin-bottom: 32px; max-width: 540px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.hero-actions .btn {
  flex: 1 1 240px;
  max-width: 320px;
  white-space: normal;
  text-align: center;
  justify-content: center;
}
.hero-badges  {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- SECTIONS ---- */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-top: 8px; }
.section-header p  { margin-top: 12px; max-width: 560px; }

/* ---- LEISTUNGEN LIST (INDEX) ---- */
.leistungen-list {
  border-top: 1px solid var(--line);
}
.leistung-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background var(--transition);
}
.leistung-num {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.leistung-body h3 { font-size: var(--fs-md); margin-bottom: 8px; font-weight: 600; }
.leistung-body p  { font-size: var(--fs-sm); max-width: 480px; }
.leistung-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy);
  padding-top: 4px;
  white-space: nowrap;
  transition: gap var(--transition);
}
.leistung-link:hover { gap: 8px; }

/* ---- PROBLEM / ANSATZ SECTION ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.prose-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.prose-item:last-child { border-bottom: none; }
.prose-item h3 { font-size: var(--fs-base); font-weight: 600; margin-bottom: 6px; }
.prose-item p  { font-size: var(--fs-sm); }

/* ---- WARUM BIDOLI ---- */
.warum-section { background: var(--navy); }
.warum-section .label-small { color: rgba(255,255,255,0.4); }
.warum-section h2 { color: var(--white); }
.warum-section p  { color: rgba(255,255,255,0.65); }
.warum-lead { font-size: var(--fs-md); color: rgba(255,255,255,0.75) !important; margin: 16px 0 48px; max-width: 600px; }
.warum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.warum-item {
  padding: 28px 32px 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.warum-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); padding-right: 32px; }
.warum-item:nth-child(even) { padding-left: 32px; padding-right: 0; }
.warum-item h3 { font-size: var(--fs-base); color: var(--white); margin-bottom: 6px; }
.warum-item p  { font-size: var(--fs-sm); color: rgba(255,255,255,0.55); }

/* ---- ABLAUF ---- */
.ablauf-list { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.ablauf-item {}
.ablauf-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}
.ablauf-item h3 { font-size: var(--fs-base); font-weight: 600; margin-bottom: 8px; }
.ablauf-item p  { font-size: var(--fs-sm); }

/* ---- LEISTUNGSUMFANG ---- */
.umfang-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.umfang-item {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.umfang-item:nth-child(even) { border-right: none; }
.umfang-item:nth-last-child(-n+2) { border-bottom: none; }
.umfang-item h3 { font-size: var(--fs-base); font-weight: 600; margin-bottom: 6px; }
.umfang-item p  { font-size: var(--fs-sm); }

/* ---- FAQ ---- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  line-height: 1.4;
}
.faq-question .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
  color: var(--text-3);
}
.faq-item.open .icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: var(--fs-sm);
  color: var(--text-2);
  max-width: 680px;
}
.faq-item.open .faq-answer { display: block; }

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
}
.cta-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text h2 { margin-bottom: 10px; }
.cta-text p  { max-width: 480px; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ---- KONTAKT / TERMIN ---- */
.kontakt-section { background: var(--white); }
.kontakt-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.termin-col h3 { font-size: var(--fs-md); margin-bottom: 12px; }
.termin-col > p  { margin-bottom: 24px; color: var(--text-2); line-height: 1.7; }

/* ---- FORM ---- */
.form-section h3 { font-size: var(--fs-md); margin-bottom: 12px; }
.form-section p  { margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; }
.form-check input[type=checkbox] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: checkbox;
  accent-color: var(--navy);
  border: 1px solid var(--line);
}
.form-check label { font-size: var(--fs-sm); color: var(--text-2); cursor: pointer; }
.form-check label a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.form-submit { margin-top: 16px; }
.form-msg { font-size: var(--fs-sm); margin-top: 12px; }
.form-msg.success { color: #1a6644; }
.form-msg.error   { color: #c0392b; }

.scroll-trigger {
  margin: 40px auto;
  text-align: center;
  font-size: 14px;
  opacity: 0.5;
  max-width: 600px;
}

/* ---- EMAIL DISPLAY ---- */
.email-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
}
.copy-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--text-3);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.copy-btn:hover { border-color: var(--text-3); color: var(--text); }
.copy-btn.copied { color: #1a6644; border-color: #1a6644; }

/* ---- KONTAKT-INFO ---- */
.contact-info { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact-info-item { }
.contact-info-item .ci-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 4px; }
.contact-info-item .ci-val  { font-size: var(--fs-sm); color: var(--text-2); }
.contact-info-item a { color: var(--navy); }

/* ---- WEITERE LEISTUNGEN ---- */
.weitere-leistungen { border-top: 1px solid var(--line); padding-top: 48px; margin-top: 16px; }
.weitere-leistungen p { font-size: var(--fs-sm); color: var(--text-3); margin-bottom: 10px; }
.weitere-links { display: flex; gap: 24px; flex-wrap: wrap; }
.weitere-links a {
  font-size: var(--fs-sm);
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(26,58,92,0.3);
}
.weitere-links a:hover { text-decoration-color: var(--navy); }

/* ---- AUSGANGSLAGE ---- */
.ausgangslage-list { border-top: 1px solid var(--line); margin-top: 32px; }
.ausgangslage-item { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start; }
.ausgangslage-item .a-num { font-size: 11px; font-weight: 700; color: var(--text-3); padding-top: 4px; white-space: nowrap; }
.ausgangslage-item h3 { font-size: var(--fs-base); font-weight: 600; margin-bottom: 5px; }
.ausgangslage-item p  { font-size: var(--fs-sm); }

/* ---- ANSATZ ---- */
.ansatz-list { margin-top: 40px; }
.ansatz-item { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ansatz-item:first-child { border-top: 1px solid var(--line); }
.ansatz-item h3 { font-size: var(--fs-base); font-weight: 600; }
.ansatz-item p  { font-size: var(--fs-sm); }

/* ============================================================
   HIGH-END FOOTER — Bidoli IT-Services
   Trust · SEO-Cluster · Mobile sauber
   ============================================================ */

.site-footer {
  width: 100%;
  background: var(--navy);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 28px;
  font-size: var(--fs-sm);
}

.site-footer .footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.site-footer .footer-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.site-footer .footer-brand h3 {
  color: var(--white);
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.site-footer .footer-brand p {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.7;
  max-width: 430px;
  margin: 0;
}

.site-footer .footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-col li {
  margin-bottom: 9px;
  line-height: 1.45;
}

.site-footer .footer-col a,
.site-footer .footer-contact a {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.site-footer .footer-col a:hover,
.site-footer .footer-contact a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 22px;
  color: rgba(255,255,255,0.72);
  word-break: break-word;
}

.site-footer .email-display {
  color: rgba(255,255,255,0.72);
}

.site-footer .copy-btn {
  margin-left: 8px;
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.65);
}

.site-footer .copy-btn:hover {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}

.site-footer .copy-btn.copied {
  color: #8ee6a8;
  border-color: #8ee6a8;
}

.site-footer .footer-bottom {
  max-width: var(--max);
  margin: 44px auto 0;
  padding: 22px 40px 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer .footer-bottom p {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* Tablet */
@media (max-width: 900px) {
  .site-footer {
    padding: 56px 0 26px;
  }

  .site-footer .footer-inner,
  .site-footer .footer-bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }

  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .site-footer {
    padding: 48px 0 24px;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer .footer-brand h3 {
    font-size: 20px;
  }

  .site-footer .footer-contact {
    gap: 10px;
  }

  .site-footer .email-display {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .site-footer .copy-btn {
    margin-left: 0;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    gap: 8px;
    margin-top: 34px;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile .nav-cta { display: inline-flex; margin-top: 20px; height: 44px; }
  section { padding: 56px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-graphic { display: none; }
  .hero-content p { font-size: var(--fs-base); }
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .warum-grid { grid-template-columns: 1fr; }
  .warum-item:nth-child(odd) { border-right: none; padding-right: 0; }
  .warum-item:nth-child(even) { padding-left: 0; }
  .ablauf-list { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .umfang-list { grid-template-columns: 1fr; }
  .umfang-item { border-right: none !important; }

  /* Footer mobile fixes */
  .footer-inner {
    padding: 0 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 10px 16px;
    width: 100%;
  }
  .footer-cta {
    font-size: 13px;
    margin-top: 4px;
  }
  .kontakt-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .leistung-item { grid-template-columns: 40px 1fr; }
  .leistung-link { display: none; }
  .leistung-body h3::after { content: ' →'; color: var(--navy); font-size: 14px; }
  .ansatz-item { grid-template-columns: 1fr; gap: 6px; }
  .breadcrumb-inner { padding: 0 24px; }
  .footer-inner { padding: 0 24px; }
  .hero-inner { padding: 0 24px; }
}
@media (max-width: 600px) {
  .ablauf-list { grid-template-columns: 1fr; }
  .hero-badges { gap: 14px; }
}

/* ---- DIREKT-KONTAKT (unter dem Formular-Lead) ---- */
.kontakt-direct {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.kontakt-direct-label {
  font-size: var(--fs-xs);
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.kontakt-direct-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.kontakt-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
.kontakt-direct-link:hover {
  color: var(--navy);
}
.kontakt-direct-link svg {
  flex-shrink: 0;
  color: var(--text-3);
}
.kontakt-direct-link:hover svg {
  color: var(--navy);
}
.kontakt-direct-sep {
  color: var(--text-4, #c8c8c2);
  user-select: none;
}
@media (max-width: 480px) {
  .kontakt-direct-options { flex-direction: column; align-items: flex-start; gap: 10px; }
  .kontakt-direct-sep { display: none; }
}

/* ============================================
   SOCIAL ICONS & MOBILE CONTROLS
   ============================================ */

/* Desktop Nav Social Icons */
.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 60px;
  color: var(--text-3);
  transition: color var(--transition);
}
.nav-social:hover { color: var(--navy); }

/* Mobile: Social + Burger als Gruppe rechts */
.nav-mobile-controls {
  display: none;
  align-items: center;
  gap: 2px;
}
.nav-social-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-social-mobile:hover { color: var(--navy); background: var(--bg-2); }

/* Auf Mobile: nav-mobile-controls sichtbar, alter Burger versteckt */
@media (max-width: 900px) {
  .nav-mobile-controls { display: flex; }
  /* Der standalone nav-burger ist jetzt in nav-mobile-controls, also kein extra hide nötig */
}

/* Leistung-Item vollständig als Link */
a.leistung-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: background var(--transition);
}
a.leistung-item:hover .leistung-body h3 { color: var(--navy); }
a.leistung-item:hover .leistung-link { gap: 8px; }

/* Mobile: Leistung-Item 2-spaltig, Pfeil am Titel */
@media (max-width: 900px) {
  a.leistung-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
  a.leistung-item .leistung-link { display: none; }
  a.leistung-item .leistung-body h3::after {
    content: ' →';
    color: var(--navy);
    font-size: 14px;
  }
}

/* Horizontales Scrollen verhindern */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}




/* ============================================================
   BIDOLI IT-Services — Definitive Mobile & Layout Rules
   (replaces all previous patch blocks)
   ============================================================ */

/* ── Nav: fixed overlay (see main nav block above) ── */

/* ── Box-sizing global ── */
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe, embed { display: block; max-width: 100%; }


@media (min-width: 901px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 40px;
    gap: 48px;
  }
  .footer-main  { flex: 1 1 auto; min-width: 0; }
  .footer-links {
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .footer-links a { text-align: right; }
}

@media (max-width: 900px) {
  .footer-inner { padding: 0 20px; flex-direction: column; gap: 16px; }
  .footer-links { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
  .footer-contact { flex-direction: column; align-items: flex-start; }
  .footer-sep { display: none; }
}

/* ── ausgangslage-item: mobile stack ── */
@media (max-width: 600px) {
  .ausgangslage-item { grid-template-columns: 1fr; gap: 4px; }
  .ausgangslage-item .a-num { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
}

/* ── Pricing grid: 1 col on narrow ── */
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .stat-grid    { grid-template-columns: 1fr !important; }
  .hero-inner   { padding: 0 20px; }
  .container    { padding: 0 20px; }
  .nav-inner    { padding: 0 16px; }
  .breadcrumb-inner { padding: 0 20px; }
}

/* ── Mobile tables: card layout takes over via inline rules in pages.
     Hier nur sehr großer Sicherheits-Reset für sehr breite Tabellen
     auf Tablets zwischen 760-900px (zwischen Card-Breakpoint und Desktop). ── */
@media (min-width: 761px) and (max-width: 900px) {
  .plattform-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .vgl-table-wrap       { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
  .hero-graphic { display: none; }
  .hero-badges  { flex-direction: column; gap: 10px; }
}

/* ============================================================
   HEADING BREATHING ROOM + BEISPIEL-BOX STYLES
   + GLOBAL TYPOGRAPHY SPACING
   ============================================================ */

/* ── Heading-Abstände in Fliesstext-Bereichen ── */
/* section-internal h2 spacing */
section h2 { margin-top: 0; margin-bottom: 16px; }
section h3 { margin-top: 0; margin-bottom: 8px; }

/* h2 nach Label-Small: Platz nach oben */
.section-header .label-small + h2,
.section-header .label-small ~ h2 { margin-top: 10px; }

/* h3 nach Badge oder direkt im Content: Luft oben */
.badge + h3,
.badge ~ h3 { margin-top: 16px; }

/* Fliesstext p → h3 in Content-Boxes */
p + h3 { margin-top: 24px; }
h3 + p { margin-top: 6px; }
h2 + p { margin-top: 10px; }

/* ── Badge: Label oberhalb von Beispielen ── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(15, 35, 64, 0.06);
  border: 1px solid rgba(15, 35, 64, 0.12);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
}

/* ── Beispiel-Box: Container für Praxisbeispiele ── */
.beispiel-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 24px;
}
.beispiel-box:last-child { margin-bottom: 0; }
.beispiel-box h3 {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.3;
}
.beispiel-box p { font-size: var(--fs-sm); color: var(--text-2); }
.beispiel-box p + p { margin-top: 10px; }

@media (max-width: 600px) {
  .beispiel-box { padding: 24px 20px; }
}

/* ── Vorher/Nachher Grid ── */
.vorher-nachher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.vn-box {
  border-radius: var(--radius);
  padding: 20px 18px;
}
.vn-box.vorher {
  background: rgba(185, 74, 72, 0.05);
  border: 1px solid rgba(185, 74, 72, 0.18);
}
.vn-box.nachher {
  background: rgba(42, 110, 63, 0.05);
  border: 1px solid rgba(42, 110, 63, 0.18);
}
.vn-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.vn-box.vorher .vn-label { color: #b94a48; }
.vn-box.nachher .vn-label { color: #2a6e3f; }
.vn-box p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 600px) {
  .vorher-nachher { grid-template-columns: 1fr; }
}

/* ── Ansatz-Item h3: Luft oben entfernen wenn erstes Kind ── */
.ansatz-item h3 { margin-bottom: 8px; }
.ansatz-item p  { color: var(--text-2); }

/* ── Umfang-Item Spacing ── */
.umfang-item h3 { margin-bottom: 8px; }

/* ── Ablauf-Item Spacing ── */
.ablauf-item h3 { margin-top: 6px; margin-bottom: 6px; }

/* ── Warum-Item Spacing ── */
.warum-item h3 { margin-bottom: 8px; }

/* ── Legal Content (Impressum/Datenschutz) Headings ── */
.legal-content h2 { margin-top: 40px; margin-bottom: 12px; }
.legal-content h1 { margin-bottom: 40px; }
.legal-content p  { margin-bottom: 14px; line-height: 1.75; }
.legal-content ul { margin-bottom: 14px; padding-left: 20px; }
.legal-content li { margin-bottom: 6px; line-height: 1.7; }


/* ── CTA Section h2 ── */
.cta-text h2 { margin-bottom: 12px; }

/* ── Pricing Section: vollständiges Styling ── */
.pricing-hint { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
}
.pricing-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.pricing-item h3 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text);
}
.pricing-item p { font-size: var(--fs-sm); margin: 0; }
.pricing-lead { font-size: var(--fs-md); color: var(--text-2); max-width: 640px; margin-bottom: 24px; }
.pricing-note { font-size: var(--fs-sm); color: var(--text-3); margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Hero graphic: immer oben ausrichten ── */
.hero-graphic { align-self: start; }

/* ============================================================
   FIX-PASS 2026-05: Fehlende Klassen + Mobile Robustheit
   ============================================================ */

/* ── Index: Hero-Note (subtler Hinweis unter den Buttons) ── */
.hero-note {
  font-size: var(--fs-sm);
  color: var(--text-3);
  margin-top: 14px;
  margin-bottom: 0;
}

/* ── Index: Hero-Trust (Vertrauenshinweis am Ende des Hero) ── */
.hero-trust {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-trust p {
  font-size: var(--fs-xs);
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ── Index: Problem-Close (zusammenfassender Satz unter Problem-Liste) ── */
.problem-close {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-base);
  color: var(--text);
  font-weight: 500;
  max-width: 640px;
}

/* ── Index: Form-Note (Hinweis unter Submit-Button) ── */
.form-note {
  font-size: var(--fs-xs);
  color: var(--text-3);
  margin-top: 10px;
  margin-bottom: 0;
}

/* ── Index: Termin-Benefits-Liste (saubere Darstellung) ── */
.termin-benefits {
  list-style: none;
  margin: 16px 0 24px;
  padding: 0;
}
.termin-benefits li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 6px;
}
.termin-benefits li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

/* ============================================================
   MOBILE ROBUSTHEIT: Lange deutsche Komposita
   Verhindert Overflow bei sehr schmalen Viewports (<360px)
   ============================================================ */
h1, h2, h3, h4, p {
  /* Erlaubt sanftes Trennen langer Wörter wenn nötig */
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Headings: zusätzlich silbentrennung erlaubt (browser-gestützt) */
h1, h2 {
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Auf sehr kleinen Screens: aggressivere Trennung */
@media (max-width: 380px) {
  h1, h2, h3 {
    word-break: break-word;
  }
  /* Tabellen-Tags und Tool-Tags: weniger aggressiv */
  .tool-tag, .vgl-table td, .vgl-table th {
    word-break: normal;
  }
}

/* ============================================================
   NAV: Verhindert Wrapping des Logos und der Mobile-Controls
   auf engen Geräten (z.B. iPhone SE 320px)
   ============================================================ */
.nav-inner {
  gap: 8px;
}
.nav-logo-text {
  white-space: nowrap;
}
@media (max-width: 380px) {
  .nav-logo-sub { display: none; } /* Sub-Title weg auf sehr engen Screens */
  .nav-inner { padding: 0 12px; }
  .nav-social-mobile { width: 36px; height: 36px; }
}

/* ============================================================
   HERO ACTIONS: CTA-Buttons sollen auf Mobile nicht abgeschnitten werden
   ============================================================ */
.hero-actions .btn {
  white-space: normal; /* statt nowrap, falls Text lang ist */
  text-align: center;
}
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }
}

/* ============================================================
   STAT-NUM / K-PRICE / S-NUM: Auf Mobile kleiner damit Zahlen passen
   ============================================================ */
@media (max-width: 480px) {
  .stat-num { font-size: 32px; }
  .kosten-box .k-price { font-size: 26px; }
  .schmerz-box .s-num { font-size: 30px; }
}

/* ============================================================
   FOOTER-COPY: Bei Wrap nicht über Container-Breite gehen
   ============================================================ */
.footer-contact { word-break: break-word; }
.footer-contact a[href^="tel:"] { transition: color var(--transition); }
.footer-contact a[href^="tel:"]:hover { color: rgba(255,255,255,0.95); }

/* ============================================================
   FORM-CHECK: Datenschutz-Checkbox-Label nicht zu eng
   ============================================================ */
@media (max-width: 480px) {
  .form-check label { line-height: 1.55; }
}

/* ============================================================
   PRICING-NOTE / WARUM-LEAD: Lesbarkeit auf Mobile
   ============================================================ */
@media (max-width: 600px) {
  .warum-lead { font-size: var(--fs-base); margin-bottom: 32px; }
}
