/* lp-responsive.css — Larfeld 3D — Gemeinsames Stylesheet */

/* ── RESET / BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── SKIP-LINK (WCAG 2.4.1) ──────────────────────────────────── */
.skip-link { position:absolute; left:-9999px; top:8px; z-index:99999; background:#3cb1eb; color:#17171f; font-weight:700; font-size:14px; padding:10px 18px; border-radius:8px; text-decoration:none; }
.skip-link:focus { left:8px; }

/* ── FOKUS-INDIKATOREN (WCAG 2.4.7) ─────────────────────────── */
a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible, select:focus-visible { outline:3px solid #3cb1eb; outline-offset:2px; border-radius:4px; }

@font-face {
  font-family: 'Open Sans';
  src: url('assets/fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: #2c2c2d;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}
button, input, textarea, select { font-family: inherit; }
input::placeholder, textarea::placeholder { color: #737475; }
input:focus, textarea:focus {
  outline: none;
  border-color: #3cb1eb !important;
  box-shadow: 0 0 0 3px rgba(66,173,226,0.15);
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f4f4f5; }
::-webkit-scrollbar-thumb { background: #d8d9da; border-radius: 3px; }
a { color: inherit; }

:root { --cta-color: #3cb1eb; }

/* Scroll fade-in */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── HEADER ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: #fff;
  border-bottom: 1px solid #eaeaeb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; height: 64px; gap: 12px;
}
.header-logo { height: 38px; width: auto; display: block; }
.header-nav { display: none; flex: 1; gap: 2px; }
.nav-btn {
  background: none; border: none; cursor: pointer; text-decoration: none;
  font-size: 14px; font-weight: 500; color: #4e4f50;
  padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center;
  border-radius: 6px; transition: color 0.15s, background 0.15s;
}
.nav-btn:hover { color: #ea8325; background: #f4f4f5; }
.header-cta-desktop {
  display: none; background: var(--cta-color); color: #17171f; border: none; cursor: pointer; text-decoration: none;
  font-size: 14px; font-weight: 700; padding: 13px 22px; min-height: 44px; border-radius: 8px; white-space: nowrap;
  transition: transform 0.15s, filter 0.15s;
}
.header-cta-desktop:hover { filter: brightness(0.93); transform: scale(1.02); }
.header-hamburger {
  display: flex; margin-left: auto; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.header-hamburger span { display: block; width: 22px; height: 2px; background: #2c2c2d; border-radius: 2px; transition: all 0.25s ease; }
.site-header.menu-open .header-hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.site-header.menu-open .header-hamburger span:nth-child(2) { opacity: 0; }
.site-header.menu-open .header-hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  display: none; position: fixed; inset: 0; top: 64px; background: #fff; z-index: 200;
  flex-direction: column; padding: 16px 20px 32px; gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1); border-top: 1px solid #eaeaeb;
}
.mobile-nav a { text-decoration: none; }
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  background: none; border: none; cursor: pointer; text-align: left;
  font-size: 17px; font-weight: 500; color: #2c2c2d; padding: 14px 12px; border-radius: 8px; width: 100%;
}
.mobile-nav-link:hover { background: #f4f4f5; }
.mobile-nav-cta {
  margin-top: 12px; background: var(--cta-color); color: #17171f; border: none; cursor: pointer;
  font-size: 16px; font-weight: 700; padding: 14px; border-radius: 8px; width: 100%; text-align: center; text-decoration: none; display: block;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn { cursor: pointer; border: none; font-family: inherit; border-radius: 8px; transition: filter 0.15s, transform 0.15s; }
.btn:hover { filter: brightness(0.94); }
.btn-primary { background: var(--cta-color); color: #17171f; font-weight: 700; }
.btn-ghost { background: transparent; color: #fff; font-weight: 600; }
.btn-ghost a { text-decoration: none; }
.btn-dark { background: #17171f; color: #fff; font-weight: 700; }

/* ── HERO SHARED ─────────────────────────────────────────────── */
[data-hero] { display: none; }
[data-hero].active { display: flex; }
.hero-content-wrap { max-width: 1200px; margin: 0 auto; padding: 60px 20px 48px; width: 100%; }
.hero-heading { font-size: 36px; font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: #fff; margin: 0 0 14px; }
.hero-lead { font-size: 15px; line-height: 1.65; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1a6fa0; margin-bottom: 12px; }
.rule { height: 3px; width: 56px; background: #ea8325; border-radius: 2px; margin-bottom: 20px; }

/* ── TRUST BAR ───────────────────────────────────────────────── */
.trust-bar { background: #f4f4f5; border-bottom: 1px solid #eaeaeb; }
.trust-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.trust-bar-item { display: flex; align-items: center; gap: 10px; padding: 16px 12px; border-right: 1px solid #eaeaeb; border-bottom: 1px solid #eaeaeb; }
.trust-bar-item:nth-child(2n) { border-right: none; }
.trust-bar-item:nth-last-child(-n+2) { border-bottom: none; }
.trust-bar-item:last-child { grid-column: 1 / -1; border-right: none; border-bottom: none; }
.trust-ico { font-size: 20px; line-height: 1; }
.trust-title { font-size: 13px; font-weight: 700; color: #2c2c2d; }
.trust-sub { font-size: 12px; color: #696a6b; }

/* ── SECTION SHARED ──────────────────────────────────────────── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 56px 0; }
.sec-head h2 { font-size: clamp(26px,5vw,38px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.sec-head p { font-size: 16px; color: #696a6b; line-height: 1.65; max-width: 520px; margin: 0; }

/* ── IMPRESSUM / DATENSCHUTZ CONTENT ────────────────────────── */
.datenschutz { max-width: 1200px; }
.datenschutz h2 { font-size: clamp(26px,5vw,38px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }

/* ── KONTAKT ─────────────────────────────────────────────────── */
.kontakt-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.kontakt-form-inner { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
.form-card { background: #242425; border-radius: 14px; padding: 28px 24px; }
.form-label { font-size: 12px; font-weight: 600; color: #a9a9a9; display: block; margin-bottom: 5px; }
.form-input { width: 100%; padding: 12px 14px; min-height: 44px; border: 1px solid #d8d9da; border-radius: 8px; font-size: 14px; color: #2c2c2d; background: #fff; box-sizing: border-box; outline: none; }
.contact-row { display: flex; align-items: center; gap: 12px; }
.contact-ico { width: 38px; height: 38px; border-radius: 8px; background: rgba(66,173,226,0.12); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer { background: #17171f; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-links { display: flex; gap: 32px; }
.footer-col-h { font-size: 11px; font-weight: 700; color: #3cb1eb; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: #b8b9ba; text-decoration: none; display: flex; align-items: center; min-height: 44px; padding: 4px 0; margin-bottom: 2px; }
.footer-links a:hover { color: #ea8325; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer-bottom span { font-size: 13px; color: #a9a9a9; }

/* ── TWEAKS PANEL ────────────────────────────────────────────── */
.tweaks-panel { position: fixed; bottom: 16px; right: 16px; z-index: 10000; background: #fff; border-radius: 14px; box-shadow: 0 8px 40px rgba(0,0,0,0.18); padding: 18px 20px; width: 250px; border: 1px solid #eaeaeb; }
.tw-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #696a6b; margin-bottom: 10px; }
.tw-opt { display: block; width: 100%; text-align: left; background: none; border: 1px solid #eaeaeb; border-radius: 8px; padding: 8px 12px; margin-bottom: 6px; cursor: pointer; font-size: 13px; color: #4e4f50; }
.tw-opt.sel { background: #e8f5fd; border-color: #3cb1eb; font-weight: 700; color: #165372; }
.tw-swatch { width: 32px; height: 32px; border-radius: 50%; border: 3px solid transparent; cursor: pointer; padding: 0; }
.tw-swatch.sel { border-color: #2c2c2d; }

/* ── LEISTUNGEN ──────────────────────────────────────────────── */
.leistungen-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.leist-card { border-radius: 12px; padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.leist-badge { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.04em; }
.leist-card h3 { font-size: 18px; font-weight: 800; margin: 0; }
.leist-card p { font-size: 14px; line-height: 1.6; margin: 0; }
.leist-card ul { margin: auto 0 0; padding: 10px 0 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.leist-card li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }

/* ── MATERIALIEN ─────────────────────────────────────────────── */
.mat-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.mat-card { background: #242425; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mat-name { font-size: 20px; font-weight: 800; color: #fff; }
.mat-full { font-size: 12px; color: #a9a9a9; margin-top: 2px; }
.mat-heat { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; flex-shrink: 0; }
.mat-card > p { font-size: 13px; color: #b8b9ba; line-height: 1.6; margin: 0; }
.mat-props { display: flex; flex-wrap: wrap; gap: 6px; }
.mat-prop { font-size: 11px; font-weight: 600; color: #a9a9a9; background: #17171f; padding: 3px 8px; border-radius: 4px; }
.mat-use { font-size: 12px; color: #a9a9a9; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 8px; }

/* ── PROZESS ─────────────────────────────────────────────────── */
.prozess-grid { display: flex; flex-direction: column; gap: 0; position: relative; }
.prozess-connector { display: none; }
.prozess-step { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid #eaeaeb; }
.prozess-step:last-child { border-bottom: none; }
.prozess-circle { width: 64px; height: 64px; font-size: 20px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.prozess-circle span { font-weight: 800; }
.prozess-text { text-align: left; }
.prozess-text h3 { font-size: 16px; font-weight: 700; color: #2c2c2d; margin: 0 0 6px; }
.prozess-text p { font-size: 14px; color: #696a6b; line-height: 1.6; margin: 0; }

/* ── ÜBER UNS ────────────────────────────────────────────────── */
.ueber-uns-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.ueber-uns-img { width: 100%; height: 300px; object-fit: cover; object-position: center 30%; border-radius: 14px; display: block; box-shadow: 0 8px 40px rgba(0,0,0,0.14); }
.ueber-uns-feature-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.feat { background: #f4f4f5; border-radius: 8px; padding: 12px 14px; }
.feat-t { font-size: 13px; font-weight: 700; color: #2c2c2d; }
.feat-s { font-size: 12px; color: #696a6b; margin-top: 3px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-wrap { background: #fff; border-radius: 12px; padding: 4px 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.faq-item { border-bottom: 1px solid #eaeaeb; }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 12px; text-align: left; }
.faq-q span:first-child { font-size: 15px; font-weight: 600; color: #2c2c2d; line-height: 1.4; }
.faq-plus { font-size: 20px; color: #1a6fa0; font-weight: 300; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { font-size: 14px; color: #696a6b; line-height: 1.7; margin: 0; padding: 0 0 18px; }

/* ── TABLET (≥ 640px) ────────────────────────────────────────── */
@media (min-width: 640px) {
  .leistungen-grid { grid-template-columns: 1fr 1fr; }
  .mat-grid        { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { grid-template-columns: repeat(3, 1fr); }
  .trust-bar-item:nth-child(2n) { border-right: 1px solid #eaeaeb; }
  .trust-bar-item:nth-child(3n) { border-right: none; }
  .trust-bar-item:last-child    { grid-column: auto; border-right: none; }
  .ueber-uns-feature-grid { grid-template-columns: 1fr 1fr; }
}

/* ── DESKTOP (≥ 900px) ───────────────────────────────────────── */
@media (min-width: 900px) {
  .header-logo  { height: 44px; }
  .header-inner { height: 68px; padding: 0 32px; gap: 16px; }
  .header-nav   { display: flex; }
  .header-cta-desktop { display: block; }
  .header-hamburger   { display: none; }
  .mobile-nav         { display: none !important; }

  .hero-content-wrap { padding: 80px 32px; }
  .hero-heading      { font-size: 56px; }
  .hero-lead         { font-size: 18px; }

  .trust-bar-inner { display: flex; justify-content: space-between; padding: 0 32px; }
  .trust-bar-item  { border-bottom: none !important; border-right: 1px solid #eaeaeb; flex: 1; }
  .trust-bar-item:last-child { border-right: none; }

  .section-inner   { padding: 0 32px; }
  .section-pad     { padding: 80px 0; }

  .leistungen-grid { grid-template-columns: repeat(4, 1fr); }
  .mat-grid        { grid-template-columns: repeat(3, 1fr); }

  .prozess-grid { flex-direction: row; gap: 0; }
  .prozess-connector { display: block; }
  .prozess-step { display: flex; flex-direction: column; align-items: center; border-bottom: none; padding: 0 20px; flex: 1; }
  .prozess-circle { width: 88px; height: 88px; font-size: 26px; margin: 0 auto 20px; }
  .prozess-text   { text-align: center; }

  .ueber-uns-grid { grid-template-columns: 400px 1fr; gap: 72px; }
  .ueber-uns-img  { height: 460px; }
  .ueber-uns-feature-grid { grid-template-columns: 1fr 1fr; }

  .kontakt-grid       { grid-template-columns: 1fr 1fr; gap: 80px; }
  .kontakt-form-inner { grid-template-columns: 1fr 1fr; }

  .footer-inner  { grid-template-columns: 1fr auto; gap: 64px; padding: 0 32px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 32px; }
}
