/* R2Lab website — shared finishing layer, 2026-10-14.
   Brand: r2lab-brand; original BootstrapMade styles remain in main.css. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../brand/fonts/r2lab-font-inter-subset-9.woff2') format('woff2');
}
@font-face {
  font-family: Sora;
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('../brand/fonts/r2lab-font-sora-subset-2.woff2') format('woff2');
}
:root {
  --background-color: #f8fafc;
  --surface-color: #fff;
  --default-color: #0f172a;
  --heading-color: #0f172a;
  --accent-color: #0f172a;
  --contrast-color: #fff;
  --r2lab-muted: #64748b;
  --r2lab-border: #e2e8f0;
  --r2lab-radius: 16px;
  --r2lab-header-height: 89px;
}
body { font-size: 16px; line-height: 1.7; }
section.section { padding: 88px 0; scroll-margin-top: 110px; }
.header { padding: 20px 0; border-bottom: 1px solid var(--r2lab-border); }
:is(.index-page, .kontakt-page, .legal-page) .header { --background-color: #f8fafc; border-bottom-color: transparent; transition: background-color .25s, box-shadow .25s; }
:is(.index-page, .kontakt-page, .legal-page).scrolled .header { --background-color: #fff; border-bottom-color: var(--r2lab-border); box-shadow: 0 4px 20px rgb(15 23 42 / 5%); }
.index-page #start {
  display: flex; align-items: center;
  min-height: calc(100vh - var(--r2lab-header-height));
  min-height: calc(100svh - var(--r2lab-header-height));
}
.header .logo img { width: 144px; max-height: none; height: auto; margin: 0; }
.footer-brand { display: inline-block; margin-bottom: 16px; color: var(--heading-color); font-family: Sora, sans-serif; font-size: 30px; font-weight: 400; line-height: 1.2; letter-spacing: -0.04em; }
.footer-brand-r2 { font-weight: 700; }
.footer-brand-lab { font-weight: 400; }
.navmenu a, .navmenu a:focus { font-size: 14px; font-weight: 500; }
.mobile-nav-toggle { background: transparent; border: 0; padding: 8px; line-height: 1; }
.r2lab-btn,
.header .btn-getstarted,
.header .btn-getstarted:focus,
.hero .content .cta-buttons .r2lab-btn,
.call-to-action-3 .r2lab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 1px solid var(--accent-color);
  border-radius: 8px; font: 500 14px/1.5 var(--heading-font);
  background: var(--accent-color); color: var(--contrast-color);
  text-decoration: none; transition: background .2s, border-color .2s;
}
.r2lab-btn:hover, .header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover,
.hero .content .cta-buttons .r2lab-btn:hover, .call-to-action-3 .r2lab-btn:hover {
  color: #fff; background: #64748b; border-color: #64748b;
  box-shadow: none; transform: none;
}
.hero .content .cta-buttons .r2lab-btn-secondary {
  background: transparent; color: var(--accent-color); border-color: var(--r2lab-border);
}
.hero .content .cta-buttons .r2lab-btn-secondary:hover {
  color: #fff; background: #64748b; border-color: #64748b;
}
a:focus-visible, button:focus-visible, [role='tabpanel']:focus-visible {
  outline: 3px solid #64748b; outline-offset: 4px;
}
.r2lab-eyebrow {
  display: block; margin-bottom: 16px; color: var(--r2lab-muted);
  font: 500 12px/1.6 var(--heading-font); letter-spacing: .08em; text-transform: uppercase;
}
.hero .content h1 {
  font-size: clamp(36px, 3.5vw, 50px); font-weight: 600; line-height: 1.16;
  letter-spacing: -.04em; max-width: 580px; margin-bottom: 24px;
}
.hero .content h1 span { display: block; }
.hero .content .subtitle { color: var(--r2lab-muted); font-size: 12px; line-height: 1.8; margin-bottom: 20px; }
.hero .content .description {
  font-size: 17px; line-height: 1.75; color: var(--default-color); max-width: 510px; margin-bottom: 32px;
}
.hero .content .cta-buttons { gap: 12px; }
.about-2 { background: #fff; border-block: 1px solid var(--r2lab-border); }
#haltung.section, #arbeitsweise.section { display: flex; align-items: center; min-height: max(780px, 85svh); padding-block: 144px; }
.about-2 .content h2, .features-2 .features-header h2,
.tabs .section-title h2, .call-to-action-3 h2 {
  font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.28;
  letter-spacing: -.025em; margin: 0 0 24px;
}
.about-2 .content p, .about-2 .content p.lead,
.features-2 .features-header .features-subtitle,
.tabs .section-title p, .call-to-action-3 .lead {
  font-size: 17px; font-weight: 400; line-height: 1.75; color: var(--default-color); margin-bottom: 20px;
}
.about-2 .content p:last-child { margin-bottom: 0; }
.about-2 .image-wrapper { padding: 0; }
.about-2 .image-wrapper img { border-radius: var(--r2lab-radius); box-shadow: none; }
.features-2 .features-header, .tabs .section-title {
  max-width: 780px; padding-bottom: 0; margin: 0 auto 48px; text-align: center;
}
.tabs .section-title h2::before, .tabs .section-title h2::after { display: none; }
.tabs .section-title h2 { padding-bottom: 0; }
.features-2 .features-grid { gap: 24px; margin-bottom: 0; }
.features-2 .features-grid .feature-card {
  background: #fff; border: 1px solid var(--r2lab-border); border-radius: var(--r2lab-radius); padding: 32px;
}
.features-2 .features-grid .feature-card:hover { background: #fff; border-color: var(--r2lab-border); }
.features-2 .features-grid .feature-card:hover .card-icon { transform: none; }
.features-2 .features-grid .feature-card .card-icon { background: #f8fafc; border: 1px solid var(--r2lab-border); }
.features-2 .features-grid .feature-card .card-content h3 { font-size: 22px; font-weight: 600; }
.features-2 .features-grid .feature-card .card-content p { color: var(--default-color); margin-bottom: 0; }
.tabs { background: #fff; border-top: 1px solid var(--r2lab-border); }
.tabs .nav-link { text-align: left; background: #f8fafc; border-color: var(--r2lab-border); padding: 16px; }
.tabs .nav-link .link-text .link-title { font-family: var(--heading-font); font-size: 13px; }
.tabs .nav-link .link-text .link-desc, .tabs .nav-link i { color: var(--r2lab-muted); }
.tabs .nav-link.active { background: #e2e8f0; border-color: var(--accent-color); }
.tabs .panel-card { border-color: var(--r2lab-border); border-radius: var(--r2lab-radius); box-shadow: none; background: #f8fafc; }
/* Service illustration series v1 – draft. Keep complete motifs visible at every breakpoint. */
.tabs .panel-image:has(.r2lab-service-illustration) { display: flex; align-items: center; justify-content: center; background: #f8fafc; }
.tabs .panel-image img.r2lab-service-illustration { object-fit: contain; }
.tabs .panel-body { padding: 32px; }
.tabs .panel-body h3 { font-size: 24px; font-weight: 600; line-height: 1.35; }
.tabs .panel-body p { font-size: 16px; color: var(--default-color); }
.tabs .check-list { margin-bottom: 0; gap: 12px; }
.tabs .check-list li { font-size: 15px; line-height: 1.6; }
.tabs .check-list li i { font-size: 18px; }
.tabs .panel-body .panel-badge { background: #fff; border-color: var(--r2lab-border); color: var(--r2lab-muted); border-radius: 6px; }
.call-to-action-3 {
  --background-color: #0f172a; --heading-color: #f8fafc; --default-color: #f8fafc;
  border: 0;
}
#kontakt.section { display: flex; align-items: center; min-height: max(780px, 85svh); padding-block: 144px; }
.call-to-action-3 .r2lab-eyebrow { color: #e2e8f0; }
.call-to-action-3 h2 { max-width: 800px; margin-inline: auto; }
.call-to-action-3 .r2lab-btn { background: #f8fafc; border-color: #f8fafc; color: #0f172a; }
.call-to-action-3 .lead { max-width: 680px; margin: 0 auto 16px; }
.call-to-action-3 .contact-copy { margin: 0 auto 36px; max-width: 640px; font-size: 18px; line-height: 1.8; color: #e2e8f0; text-wrap: pretty; }
.footer { background: #fff; padding: 48px 0 24px; }
.footer .footer-bottom { border-top: 1px solid var(--r2lab-border); }
.footer .footer-nav a { font-size: 14px; }
.footer .footer-claim { font-style: normal; }
.scroll-top { border-radius: 8px; }
.services-accordion { display: none; }
.legal-content { max-width: 760px; margin-inline: auto; overflow-wrap: anywhere; }
.legal-content h1 { font-size: clamp(36px, 4vw, 50px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 24px; }
.legal-notice { padding: 24px; border: 1px solid var(--r2lab-border); border-left: 4px solid #64748b; border-radius: 8px; background: #f8fafc; margin-bottom: 40px; }
.legal-notice p { margin: 8px 0 0; }
.legal-block { margin-top: 36px; }
.legal-block h2 { font-size: clamp(21px, 2.5vw, 26px); font-weight: 600; line-height: 1.35; margin-bottom: 16px; }
.legal-block p, .legal-block address, .legal-block li { font-size: 16px; line-height: 1.8; }
.legal-block address { font-style: normal; }
.legal-block li + li { margin-top: 8px; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.legal-page .footer-nav [aria-current='page'] { text-decoration: underline; text-underline-offset: 4px; }
.legal-skip-link { position: fixed; top: 12px; left: 12px; z-index: 10000; padding: 12px 20px; background: #fff; color: #0f172a; transform: translateY(-200%); }
.legal-skip-link:focus { transform: translateY(0); }
#kontakt-start { scroll-margin-top: var(--r2lab-header-height); }
.contact-intro h1 { font-size: clamp(36px, 4vw, 50px); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; max-width: 540px; margin-bottom: 24px; }
.contact-intro .contact-lead { font-size: 19px; line-height: 1.75; max-width: 540px; margin-bottom: 20px; }
.contact-intro .r2lab-btn { margin-top: 16px; }
/* Direct contact stays secondary to appointment selection. */
.contact-options { display: grid; gap: 16px; padding-left: 24px; border-left: 1px solid var(--r2lab-border); }
.contact-option { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: var(--r2lab-muted); }
.contact-option:hover { color: #0f172a; }
.contact-option-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.contact-option-text { min-width: 0; }
.contact-option-text .r2lab-eyebrow { font-size: 10px; margin-bottom: 2px; }
.contact-address { display: block; font-size: 16px; font-weight: 400; }
.booking-section { background: #fff; border-block: 1px solid var(--r2lab-border); }
.booking-heading { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.booking-heading h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 600; line-height: 1.3; margin-bottom: 20px; letter-spacing: -.025em; }
.booking-heading p { font-size: 17px; margin: 0; }
.booking-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.booking-option { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--r2lab-border); border-radius: var(--r2lab-radius); background: #f8fafc; color: #0f172a; }
.booking-option:hover { color: #0f172a; border-color: #64748b; background: #fff; }
.booking-option-icon { font-size: 24px; margin-bottom: 24px; color: #64748b; }
.booking-option h3 { font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 16px; }
.booking-option p { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.booking-option-action { margin-top: auto; display: flex; align-items: center; gap: 12px; font: 500 13px/1.5 var(--heading-font); }
.booking-option:hover .booking-option-action { color: #64748b; }
.booking-privacy { text-align: center; font-size: 13px; color: var(--r2lab-muted); margin: 24px 0 0; }
.booking-status { padding: 24px; text-align: center; margin: 0; }
.booking-alternative { margin: 24px 0 0; font-size: 14px; text-align: center; }
.booking-alternative a { text-decoration: underline; text-underline-offset: 4px; }
.r2lab-btn:disabled { opacity: .6; cursor: wait; }
@media (max-width: 991px) {
  .contact-options { padding-left: 0; border-left: 0; gap: 8px; }
  .booking-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section.section { padding: 64px 0; }
  #haltung.section, #arbeitsweise.section, #kontakt.section { min-height: 85svh; padding-block: 112px; }
  .hero .content { text-align: left; margin-bottom: 40px; }
  .hero .content .description { margin-left: 0; }
  .hero .content .cta-buttons { justify-content: flex-start; }
  .about-2 .image-wrapper { margin-top: 32px; }
  .features-2 .features-grid { grid-template-columns: 1fr; }
  .tabs .sidebar-nav { position: static; margin-bottom: 0; }
}
@media (max-width: 767px) {
  #start .image-wrapper { display: none; }
  #start .content { margin-bottom: 0; }
}
@media (max-width: 991px) {
  .services-accordion-ready #leistungen-desktop { display: none; }
  .services-accordion-ready .services-accordion { display: grid; gap: 16px; }
  .service-disclosure { border: 1px solid var(--r2lab-border); border-radius: 12px; overflow: hidden; background: #f8fafc; }
  .service-disclosure summary {
    display: flex; align-items: center; gap: 12px; list-style: none;
    cursor: pointer; padding: 20px 16px; min-height: 80px;
  }
  .service-disclosure summary::-webkit-details-marker { display: none; }
  .service-disclosure summary > i { font-size: 22px; flex-shrink: 0; }
  .service-disclosure .link-text { flex: 1; min-width: 0; }
  .service-disclosure .service-heading { font-size: 16px; line-height: 1.45; font-weight: 600; margin: 0 0 4px; }
  .service-disclosure .link-desc { display: block; font-size: 13px; line-height: 1.5; color: var(--r2lab-muted); }
  .service-indicator { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
  .service-indicator::before, .service-indicator::after { content: ''; position: absolute; background: #0f172a; border-radius: 1px; }
  .service-indicator::before { width: 14px; height: 2px; top: 9px; left: 3px; }
  .service-indicator::after { width: 2px; height: 14px; top: 3px; left: 9px; }
  .service-disclosure[open] .service-indicator::after { display: none; }
  .service-disclosure[open] summary { background: #e2e8f0; }
  .service-disclosure summary:focus-visible { outline: 3px solid #64748b; outline-offset: -4px; border-radius: 12px; }
  .tabs .service-disclosure .panel-card { border: 0; border-radius: 0; }
  .tabs .service-disclosure .panel-image { min-height: 0; height: 200px; }
  .tabs .service-disclosure .panel-body { padding: 24px 20px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .tabs .service-disclosure .panel-image { height: 100%; min-height: 280px; }
}
@media (max-width: 575px) {
  .header { padding: 16px 0; }
  .header .logo img { width: 112px; }
  .header .btn-getstarted { font-size: 12px; padding: 10px 12px; margin-right: 8px; min-height: 44px; }
  section.section { padding: 48px 0; }
  #haltung.section, #arbeitsweise.section, #kontakt.section { padding-block: 96px; }
  .hero .content .cta-buttons { flex-direction: row; }
  .hero .content .cta-buttons .r2lab-btn { width: 100%; }
  .features-2 .features-header, .tabs .section-title { margin-bottom: 32px; }
  .features-2 .features-grid .feature-card, .tabs .panel-body { padding: 24px; }
  .tabs .panel-image { min-height: 0; height: 220px; }
  .footer-brand { font-size: 27px; }
  .contact-intro .r2lab-btn { width: 100%; }
  .contact-intro .contact-lead { font-size: 17px; }
  .booking-heading { margin-bottom: 32px; }
  .booking-options { grid-template-columns: 1fr; gap: 16px; }
  .booking-option { padding: 24px; }
  .booking-alternative a { display: block; margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
