/* Wilmesmeyer & Cie. – Landingpage "Legal Check / Leitfaden" (ohne Fremd-Framework) */

@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/source-sans-3-regular.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/source-sans-3-600.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/source-sans-3-700.woff2') format('woff2'); }

:root {
  --green: #70b080;
  --green-600: #5a9a6b;
  --green-dark: #2e5e41;
  --ink: #1d1d1b;
  --ink-2: #4a4a46;
  --ink-3: #77776f;
  --sand: #eeece8;
  --paper: #f7f7f7;
  --line: #e4e2dc;
  --container: 1250px;
  --gutter: 20px;
  --section-y: 96px;
  --font: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); margin: 0; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(112, 176, 128, .5); outline-offset: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 4px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--sand { background: var(--sand); }

.tag {
  display: inline-block;
  background: var(--green); color: #fff;
  font-size: 15px; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px;
  margin-bottom: 18px;
}
.tag--light { background: var(--sand); color: var(--ink); }
.h2 { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.18; font-weight: 700; letter-spacing: -.005em; }
.hl { color: var(--green); }
.intro { font-size: 21px; line-height: 1.55; margin-top: 22px; max-width: 1100px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-size: 17px; font-weight: 600; line-height: 1.2;
  padding: 16px 26px; border-radius: 4px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.btn--dark { background: var(--ink); color: #fff; border-color: var(--green); }
.btn--dark:hover { background: #000; transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(29, 29, 27, .1);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 106px; }
.site-header__logo img { width: 188px; height: auto; }
.site-header__phone {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 17.6px; text-decoration: none; color: var(--ink);
  margin-right: 70px;
}
.site-header__phone svg { width: 25px; height: 25px; color: var(--ink-3); }
.site-header__phone:hover { color: var(--green-dark); }

/* ---------- Logo-Laufband ---------- */
.logos { padding: 34px 0 36px; overflow: hidden; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-duration, 45s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logos .marquee__track { gap: 0; align-items: center; }
.logos__item { flex: none; display: flex; align-items: center; padding: 0 28px; height: 50px; }
.logos__item img { height: 50px; width: auto; max-width: 170px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Leistungen ---------- */
.services__box {
  margin-top: 40px;
  border: 1px solid #f0efeb;
  border-radius: 4px;
  padding: 48px 0;
  background: #fff;
}
.services .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.services .marquee__track { --marquee-duration: 60s; }
.service { flex: none; width: 385px; padding: 0 28px; }
.service__icon { width: 40px; height: 40px; color: var(--green); margin-bottom: 22px; }
.service__icon svg { width: 40px; height: 40px; }
.service h3 { font-size: 34px; line-height: 1.2; font-weight: 700; margin-bottom: 16px; hyphens: manual; }
.service p { font-size: 19px; line-height: 1.5; }

/* ---------- Situationen ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.case {
  border: 3px solid var(--green);
  border-radius: 12px;
  padding: 30px 28px 32px;
  background: var(--sand);
}
.case__icon { width: 40px; height: 40px; color: var(--green); margin-bottom: 14px; }
.case .tag { margin-bottom: 18px; }
.case h3 { font-size: 22px; line-height: 1.3; font-weight: 700; margin-bottom: 14px; }
.case p { font-size: 17px; line-height: 1.55; }

/* ---------- Wer hinter dem Guide steht ---------- */
.expert { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.expert__img { aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--sand); }
.expert__img img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.expert .h2 { font-size: clamp(30px, 3.2vw, 44px); }
.expert__intro { font-size: 19px; line-height: 1.6; margin: 20px 0 26px; }
.facts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts li { background: var(--sand); border-radius: 10px; padding: 16px 18px; }
.facts b { display: block; font-size: 30px; line-height: 1.1; font-weight: 700; color: var(--green-dark); }
.facts span { font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.authors { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.authors li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.authors b { display: block; font-size: 19px; font-weight: 700; }
.authors span { font-size: 15px; color: var(--ink-3); }

/* ---------- Vier Rechtsbereiche (Guide-Inhalt) ---------- */
.kicker { font-size: 20px; color: var(--green-dark); margin: 0 0 8px; }
.kicker--light { color: rgba(255, 255, 255, .78); }
.areas__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.area {
  background: #faf9f6; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 22px 26px;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.area:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-2px); }
.area__no { font-size: 17px; color: var(--green-dark); margin-bottom: 6px; }
.area h3 { font-size: 24px; line-height: 1.15; font-weight: 700; margin-bottom: 10px; }
.area__desc { font-size: 16px; line-height: 1.45; color: var(--ink-2); margin-bottom: 16px; }
.area__topics { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.area__topics li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.4; }
.area__topics li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 13px; height: 13px; border-radius: 3px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.area:hover .area__no, .area:hover .area__desc { color: rgba(255, 255, 255, .9); }
.area:hover .area__topics { border-color: rgba(255, 255, 255, .35); }
.area:hover .area__topics li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='%2370b080' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.areas__cta { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; margin-top: 48px; }
.areas__text { font-size: 26px; line-height: 1.35; margin-bottom: 24px; max-width: 620px; }
.areas__text strong { font-weight: 700; }

/* Gestapelte Seiten (Mini-Mockup) */
.areas__mock {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / .9;
  border: 0; padding: 0; background: none; cursor: pointer;
}
.areas__mock span {
  position: absolute; top: 6%; width: 52%; aspect-ratio: 595 / 842; border-radius: 3px;
  background: #fff center / cover no-repeat;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 22px 40px -20px rgba(0, 0, 0, .55);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.areas__mock span:nth-child(1) { left: 6%; z-index: 3; background-image: url('/assets/leadmagnet/cover.webp'); }
.areas__mock span:nth-child(2) { left: 24%; z-index: 2; transform: rotate(4deg); background-image: url('/assets/leadmagnet/page-inhalt.webp'); }
.areas__mock span:nth-child(3) { left: 42%; z-index: 1; transform: rotate(8deg); background-image: url('/assets/leadmagnet/page-checkliste.webp'); }
.areas__mock:hover span:nth-child(3) { transform: rotate(11deg) translateX(10px); }

/* ---------- FAQ ---------- */
.faq__head { text-align: center; max-width: 900px; margin: 0 auto 36px; }
.faq__head em { font-style: italic; }
.faq__list { max-width: 900px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid transparent; }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 24px; gap: 24px; align-items: center;
  padding: 30px 0;
  font-size: 24px; line-height: 1.3; font-weight: 700;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { width: 20px; height: 20px; color: var(--green); transition: transform .25s ease; }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__answer { padding: 0 48px 26px 0; font-size: 20px; line-height: 1.6; }
.faq__answer p + p { margin-top: 12px; }

/* ---------- Final CTA ---------- */
.final { background: var(--green); color: #fff; padding: 72px 0 88px; }
.final__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.final h2 { font-size: 36px; line-height: 1.3; font-weight: 700; color: #fff; }
.final h2 span { color: var(--ink); }
.final__micro { font-size: 15px !important; margin: 14px 0 0 !important; opacity: .85; }
.final__aside { background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 30px 30px 32px; align-self: start; margin-top: 52px; }
.final__aside-title { font-size: 24px !important; line-height: 1.25 !important; font-weight: 700; margin: 0 0 8px !important; }
.final__aside-text { font-size: 18px !important; margin: 0 !important; opacity: .9; }
.final .contact-list { margin-top: 24px; gap: 20px; }
.final p { font-size: 22px; line-height: 1.55; margin: 24px 0 30px; }
.final .tag { margin-bottom: 26px; }
.contact-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 28px; align-content: start; }
.contact-list a { display: grid; grid-template-columns: 26px 1fr; gap: 0 32px; text-decoration: none; color: #fff; font-size: 20.8px; line-height: 1.3; }
.contact-list svg { width: 26px; height: 26px; grid-row: span 2; align-self: center; }
.contact-list small { grid-column: 2; font-size: 18.7px; opacity: .75; }
.contact-list a:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); padding: 72px 0 60px; color: #000; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px 32px; }
.footer__logo img { width: 220px; }
.footer__label { font-size: 20px; margin-bottom: 4px; }
.footer__big { font-size: 36px; line-height: 1.2; font-weight: 700; text-decoration: none; color: #000; }
.footer__big:hover { color: var(--green-dark); }
.footer__social { display: flex; gap: 12px; justify-content: flex-start; padding-left: 40px; }
.footer__social a { width: 60px; height: 60px; border-radius: 4px; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.footer__social a:hover { background: var(--green-600); }
.footer__social svg { width: 24px; height: 24px; }
.footer__addr { font-size: 20px; line-height: 1.5; text-decoration: none; }
.footer__links { list-style: none; margin: 0; padding: 0 0 0 40px; display: grid; gap: 14px; font-size: 19.2px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { text-decoration: underline; }
.footer__rule { border: 0; border-top: 1px solid rgba(0, 0, 0, .2); margin: 44px 0 0; }

/* ---------- Cookie-Hinweis ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 0; z-index: 2147482000;
  transform: translateX(-50%);
  width: min(900px, 100%);
  background: #fff; color: var(--ink);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -6px 40px rgba(0, 0, 0, .18);
  padding: 22px 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start;
  font-size: 13px; line-height: 1.45;
}
.cookie[hidden] { display: none; }
.cookie strong { font-size: 15px; display: block; margin-bottom: 4px; }
.cookie a { color: var(--ink-3); font-size: 12px; }
.cookie button {
  background: var(--green); color: #fff; border: 0; border-radius: 4px;
  font-size: 14px; font-weight: 600; padding: 10px 16px; cursor: pointer; white-space: nowrap;
}
.cookie button:hover { background: var(--green-600); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  :root { --section-y: 72px; }
  .site-header__phone { margin-right: 0; }
  .cases { grid-template-columns: 1fr 1fr; }
  .areas__grid { grid-template-columns: 1fr 1fr; }
  .areas__cta { grid-template-columns: 260px 1fr; gap: 32px; }
  .areas__text { font-size: 22px; }
  .final__aside { margin-top: 24px; }
  .expert { grid-template-columns: 1fr; gap: 32px; }
  .expert__img { max-width: 560px; }
  .final__grid { grid-template-columns: 1fr; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__social, .footer__links { padding-left: 0; }
}
@media (max-width: 640px) {
  :root { --section-y: 56px; --gutter: 16px; }
  body { font-size: 16px; }
  .site-header__inner { height: 72px; }
  .site-header__logo img { width: 150px; }
  .site-header__phone span { display: none; }
  .site-header__phone { width: 48px; height: 48px; justify-content: center; background: var(--paper); border-radius: 4px; }
  .site-header__phone svg { width: 22px; height: 22px; color: var(--ink); }
  .tag { font-size: 12px; }
  .intro { font-size: 17px; margin-top: 16px; }
  .logos { padding: 24px 0; }
  .logos__item { padding: 0 18px; height: 38px; }
  .logos__item img { height: 38px; max-width: 150px; }
  .services__box { padding: 32px 0; margin-top: 28px; }
  .service { width: 290px; padding: 0 20px; }
  .service h3 { font-size: 26px; }
  .service p { font-size: 16px; }
  .cases { gap: 20px; margin-top: 32px; }
  .case { padding: 26px 22px 28px; }
  .case h3 { font-size: 21px; }
  .case p { font-size: 16px; }
  /* Situationen als wischbares Karussell */
  .cases {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 28px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 10px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .cases::-webkit-scrollbar { display: none; }
  .case { flex: 0 0 86%; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .case h3 { font-size: 20px; }
  .cases-hint { display: flex !important; }
  .kicker { font-size: 16px; }
  .areas__grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .area h3 { font-size: 22px; }
  .areas__cta { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .areas__mock { max-width: 300px; margin: 0 auto; }
  .areas__text { font-size: 19px; }
  .areas__cta .lm-btn { width: 100%; font-size: 17px; padding: 17px 18px; }
  .expert__intro { font-size: 16px; }
  .facts b { font-size: 24px; }
  .facts span { font-size: 13px; }
  .final .lm-btn { width: 100%; font-size: 17px; padding: 17px 18px; }
  .final__aside { padding: 22px 18px; }
  .final__aside-title { font-size: 20px !important; }
  .final__aside-text { font-size: 16px !important; }
  .faq__item summary { font-size: 19px; padding: 22px 0; gap: 16px; }
  .faq__answer { font-size: 16px; padding-right: 0; }
  .final { padding: 56px 0 64px; }
  .final h2 { font-size: 27px; }
  .final p { font-size: 17px; }
  .final .btn { width: 100%; }
  .contact-list a { font-size: 18px; gap: 0 20px; }
  .contact-list small { font-size: 15px; }
  .site-footer { padding: 48px 0 40px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__big { font-size: 27px; }
  .footer__logo img { width: 180px; }
  .cookie { grid-template-columns: 1fr; border-radius: 12px 12px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .cookie button { width: 100%; padding: 12px; }
}
.areas { padding-bottom: 40px; }

.cases-hint { display: none; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.cases-hint svg { width: 18px; height: 18px; }
