/* Reuschel IT – Stylesheet v2
   Markenfarben: Schwarz, Grün, Weiß. Keine externen Schriften (DSGVO). */

:root {
  --black: #000;
  --ink: #1a1a1a;
  --grey: #5c6166;
  --line: #e3e6e8;
  --soft: #f3f5f3;
  --white: #fff;
  --green: #41b23b; /* Logo-Grün */
  --green-dark: #2f8a2a;
  --green-light: #e8f5e6;
  --wrap: 1160px;
  --brand: Verdana, Tahoma, "DejaVu Sans", sans-serif;
  --text: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--brand); font-weight: 700; letter-spacing: -0.02em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

/* Kopfzeile */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.logo img { height: 52px; width: auto; }
.site-nav { display: flex; gap: 1.6rem; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .975rem; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--green-dark); }
.site-nav .tel { white-space: nowrap; background: var(--green); color: var(--white); padding: .55rem 1rem; border-radius: 999px; font-weight: 700; }
.site-nav .tel:hover { background: var(--green-dark); color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--green); color: var(--white); font-family: var(--brand); font-weight: 700; font-size: 1.05rem; text-decoration: none; padding: 1.05rem 1.7rem; border-radius: 999px; transition: background .15s, transform .15s; }
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn svg { width: 1.2em; height: 1.2em; }
.btn.dark { background: var(--black); }
.btn.dark:hover { background: #222; }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--white); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--black); color: var(--white); padding: 5rem 0 5.5rem; }
.hero::before { /* großes grünes R als Markenmotiv, wie auf dem Auto */
  content: ""; position: absolute; right: -140px; top: 50%; width: 620px; height: 620px; transform: translateY(-50%);
  background: url("r-mark.svg") no-repeat center / contain;
  opacity: .22;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.08; margin: 0 0 1.4rem; max-width: 15ch; }
.band { display: inline-block; background: var(--green); color: var(--white); font-family: var(--brand); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.35rem); padding: .45rem 1rem; margin-bottom: 1.3rem; }
.hero .lead { font-size: 1.2rem; color: #c9cdd0; margin: 0 0 2rem; max-width: 34em; }
.hero .lead strong { color: var(--white); }
.actions { display: flex; gap: 1rem 1.6rem; flex-wrap: wrap; align-items: center; }
.call { color: inherit; text-decoration: none; line-height: 1.3; }
.call small { display: block; opacity: .7; font-size: .875rem; }
.call b { font-size: 1.2rem; font-family: var(--brand); }
.hero .fine { font-size: .9rem; color: #9aa0a4; margin: 1.6rem 0 0; }

.checkcard { background: var(--white); color: var(--ink); border-radius: 18px; padding: 1.7rem; box-shadow: 0 30px 60px -20px rgba(58,157,52,.45); }
.checkcard h2 { font-size: 1.1rem; margin: 0 0 1rem; }
.checkcard ul { list-style: none; margin: 0; padding: 0; }
.checkcard li { display: grid; grid-template-columns: 1.8rem 1fr; gap: .7rem; padding: .8rem 0; border-top: 1px solid var(--line); line-height: 1.4; }
.mark { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.mark.ok { background: var(--green); color: var(--white); }
.mark.open { border: 2px solid #c9ced1; color: var(--grey); }
.checkcard .result { margin: 1rem 0 0; padding: .9rem 1rem; background: var(--green-light); border-radius: 10px; font-weight: 600; color: var(--green-dark); }

/* Abschnitte */
.section { padding: 5rem 0; }
.section.soft { background: var(--soft); }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; margin: 0 0 .8rem; }
.intro { color: var(--grey); max-width: 42em; margin: 0 0 2.8rem; font-size: 1.1rem; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem 1.6rem; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--black); color: var(--white); font-family: var(--brand); font-weight: 700; font-size: 1.3rem; margin-bottom: 1.1rem; }
.steps li:last-child::before { background: var(--green); }
.steps h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--grey); }

/* Vor Ort / Über uns */
.onsite { background: var(--black); color: var(--white); }
.onsite .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: center; }
.onsite figure { margin: 0; border-radius: 18px; overflow: hidden; }
.onsite img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.onsite p { color: #c9cdd0; max-width: 36em; }
.facts { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; }
.facts li { display: flex; gap: .8rem; align-items: flex-start; }
.facts svg { flex: none; width: 1.5rem; height: 1.5rem; color: var(--green); margin-top: .1rem; }

/* Bildergalerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2rem; }
.gallery.two { grid-template-columns: repeat(2, 1fr); margin-top: 3rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.gallery figcaption { margin-top: .6rem; color: var(--grey); font-size: .95rem; line-height: 1.4; }

/* Leistungen */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.services li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; background: var(--white); border-radius: 14px; border: 1px solid var(--line); }
.services li:hover { border-color: var(--green); }
.ico { flex: none; width: 2.8rem; height: 2.8rem; border-radius: 12px; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; }
.ico svg { width: 1.5rem; height: 1.5rem; }
.services b { display: block; font-family: var(--brand); font-size: 1rem; margin-bottom: .2rem; }
.services span { color: var(--grey); font-size: .95rem; line-height: 1.45; }

.note { display: flex; gap: 1rem; margin-top: 2rem; padding: 1.3rem 1.5rem; border-radius: 14px; background: var(--green-light); max-width: 48em; }
.note p { margin: 0; }

/* Grünes Band (Teaser Arztpraxen) */
.greenband { background: var(--green); color: var(--white); padding: 3.5rem 0; }
.greenband .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.greenband h2 { margin: 0 0 .4rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.greenband p { margin: 0; max-width: 38em; }

/* Abschluss */
.final { background: var(--black); color: var(--white); padding: 4.5rem 0; text-align: center; }
.final h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 .6rem; }
.final p { color: #c9cdd0; margin: 0 0 2rem; }
.final .actions { justify-content: center; }

/* Fußzeile */
.site-foot { background: #111; color: #a8adb1; padding: 2.5rem 0; font-size: .925rem; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.site-foot address { font-style: normal; }
.site-foot strong { color: var(--white); }
.site-foot a { color: #d7dbde; }
.site-foot nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* Mobil */
@media (max-width: 900px) {
  .hero { padding: 3rem 0 3.5rem; }
  .hero::before { width: 420px; height: 420px; right: -180px; top: 22%; }
  .hero .wrap, .onsite .wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr; }
  .gallery, .gallery.two { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .site-nav .hide-m { display: none; }
  .logo img { height: 36px; }
  .site-nav .tel { font-size: .85rem; padding: .5rem .8rem; }
  .hero .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Trennlinie, wenn zwei schwarze Bereiche aufeinandertreffen */
.onsite + .final { border-top: 1px solid #2a2a2a; }

/* Rechtstexte (Impressum, Datenschutz, AGB) */
.legal { padding: 3.5rem 0 4.5rem; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 2rem; }
.legal h2 { font-size: 1.35rem; margin: 2.4rem 0 .7rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
.legal p, .legal li { color: #33383c; }
.legal ul, .legal ol { padding-left: 1.3rem; }
.legal li { margin: .3rem 0; }
.legal .box { background: var(--soft); border-radius: 14px; padding: 1.3rem 1.5rem; }
.legal .box p { margin: .2rem 0; }
.legal a { word-break: break-word; }

/* Sprungziele nicht unter der festen Kopfzeile verstecken */
[id] { scroll-margin-top: 96px; }
