/* q-rad.de — Design nach Squarespace-Original (Poppins, Navy-Akzent, helle Karten) */

:root {
  --ink: #1f1f1f;
  --ink-soft: #444444;
  --navy: #253551;            /* Original-Akzent: hsl(218 37% 23%) */
  --card: #e0e0db;            /* Original lightAccent: hsl(60 7% 87%) */
  --bg: #ffffff;
  --max: 1500px;              /* sqs-site-max-width des Originals */
  --pad: clamp(1.25rem, 5vw, 4rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

a { color: inherit; }
a:hover { opacity: 0.7; }

img { max-width: 100%; display: block; }

/* ---------- Header ---------- */

.site-header { padding-top: 1.4rem; padding-bottom: 1.4rem; }

.site-title {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
  text-decoration: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.2;
  background: var(--navy);
  color: #ffffff;
  border-radius: 2px;
}

.btn:hover { opacity: 0.85; }

.btn-light { background: #ffffff; color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: clamp(420px, 68vh, 660px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero picture, .hero .hero-bg {
  position: absolute;
  inset: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.hero h1 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff;
  margin-bottom: 1.6rem;
  max-width: 34ch;
}

.hero h1 .hl {
  background: rgba(37, 53, 81, 0.82);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0.28em 0.45em;
}

/* ---------- Mission (helle Vollbreiten-Sektion) ---------- */

.mission { background: var(--card); }

.mission .wrap {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  align-items: start;
}

.mission h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.5;
}

.mission p { margin-bottom: 1rem; font-size: 0.95rem; }

/* ---------- Bild + überlappende Karte ---------- */

.section { padding-top: clamp(3.5rem, 8vw, 7rem); }

.overlap {
  display: grid;
  grid-template-columns: repeat(24, 1fr);
  align-items: center;
}

.overlap .shot {
  grid-row: 1;
  grid-column: 1 / 14;
  width: 100%;
  height: auto;
}

.overlap .shot img { width: 100%; height: auto; }

.overlap .card {
  grid-row: 1;
  grid-column: 13 / 25;
  z-index: 2;
}

/* gespiegelt: Karte links, Bild rechts */
.overlap.flip .shot { grid-column: 8 / 25; }
.overlap.flip .card { grid-column: 1 / 12; }

.card {
  background: var(--card);
  padding: clamp(1.8rem, 3.5vw, 3.2rem);
}

.card h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}

.card p, .card ul { margin-bottom: 0.9rem; font-size: 0.9rem; }

.card ul { padding-left: 1.3rem; }

.card b, .card strong { font-weight: 600; }

.card .btn { margin-top: 0.8rem; }

.card .faq-link { font-weight: 600; }

/* ---------- Zitat (schwarze Sektion mit Hintergrundbild) ---------- */

.quote {
  position: relative;
  margin-top: clamp(3.5rem, 8vw, 7rem);
  padding: clamp(5rem, 12vw, 9rem) var(--pad);
  text-align: center;
  color: #ffffff;
  background: #000000;
  overflow: hidden;
}

.quote picture {
  position: absolute;
  inset: 0;
}

.quote img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.quote blockquote {
  position: relative;
  z-index: 1;
}

.quote blockquote p {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.quote cite { font-style: normal; font-size: 0.95rem; opacity: 0.85; }

/* ---------- Abschluss-CTA ---------- */

.cta .wrap {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  align-items: center;
}

.cta h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.cta .sub { font-size: 1rem; }

.cta-contact p { margin-bottom: 1.2rem; font-size: 0.95rem; }

.cta-contact a:not(.btn) { font-weight: 400; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid #e6e6e6;
  padding: 2.5rem var(--pad) 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-footer nav { margin-bottom: 0.8rem; }

.site-footer nav a { margin: 0 0.7rem; }

.site-footer .credit { margin-top: 1.6rem; font-size: 0.8rem; }

/* ---------- Unterseiten (Kontakt, FAQ, Impressum, Datenschutz) ---------- */

.page { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }

.page h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.8rem;
}

.page h1 small { display: block; font-size: 0.55em; font-weight: 300; margin-top: 0.4rem; }

.page h2 { font-weight: 500; font-size: 1.3rem; margin: 2.2rem 0 0.7rem; }

.page h3 { font-weight: 600; font-size: 1.02rem; margin: 1.6rem 0 0.5rem; }

.page p, .page ul, .page ol { margin-bottom: 1rem; }

.page ul, .page ol { padding-left: 1.3rem; }

.page b, .page strong { font-weight: 600; }

.narrow { max-width: 52rem; }

/* Kontakt: Text links, Kontakt-Karte rechts */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact-card {
  background: var(--card);
  padding: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-card p { font-size: 0.95rem; }

.contact-card .btn { margin-top: 0.5rem; }

.banner { margin-top: clamp(2.5rem, 6vw, 4.5rem); }

.banner img { width: 100%; height: clamp(220px, 38vw, 460px); object-fit: cover; }

.page .disclaimer { font-size: 0.85rem; color: var(--ink-soft); margin-top: 2rem; }

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  .mission .wrap, .cta .wrap, .contact-grid { grid-template-columns: 1fr; }

  .overlap { display: block; }
  .overlap .card { margin: 0 var(--pad); position: relative; top: -2.5rem; margin-bottom: -1rem; }

  .hero h1 { font-size: 1.35rem; }
}
