/* n-rb.net – gemeinsames Stylesheet für alle Seiten */
:root {
  --bg: #f5f3ef;
  --surface: #ffffff;
  --ink: #1b1b1b;
  --muted: #5f5c57;
  --line: #e2ded6;
  --accent: #1f4d46;
  --accent-soft: #e5eeeb;
  --radius: 14px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--accent); }
img { max-width: 100%; display: block; }

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

/* Kopfzeile */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 243, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.logo { font-weight: 700; letter-spacing: 0.02em; text-decoration: none; color: var(--ink); }
.logo span { color: var(--muted); font-weight: 400; }
nav.main { display: flex; gap: 22px; }
nav.main a { text-decoration: none; color: var(--ink); font-size: 15px; }
nav.main a:hover, nav.main a.active { color: var(--accent); }

/* Typografie */
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 18px; }
h3 { font-size: 20px; margin-bottom: 8px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.lead { font-size: 20px; color: var(--muted); max-width: 680px; margin-top: 18px; }

/* Abschnitte */
section { padding: 80px 0; }
section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.hero { padding: 96px 0 72px; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* Raster und Karten */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
section.alt .card { background: var(--bg); }
.card p { color: var(--muted); }

/* Kacheln der Bereiche auf der Startseite */
a.tile {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 240px; text-decoration: none; color: var(--ink);
  transition: border-color .15s ease, transform .15s ease;
}
a.tile:hover { border-color: var(--accent); transform: translateY(-2px); }
a.tile .more { color: var(--accent); font-weight: 600; margin-top: 20px; }
.tile.soon { opacity: .55; border-style: dashed; }

/* Listen */
ul.check { list-style: none; margin-top: 10px; }
ul.check li { padding-left: 28px; position: relative; margin: 8px 0; }
ul.check li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Ablauf */
ol.steps { list-style: none; counter-reset: s; }
ol.steps li {
  counter-increment: s; position: relative; padding: 0 0 26px 58px;
}
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700;
}
ol.steps li p { color: var(--muted); }

/* Preis-/Format-Karten */
.format .price { font-size: 22px; font-weight: 700; margin: 14px 0 4px; }
.format .meta { font-size: 14px; color: var(--muted); }

/* Über mich */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: #d9d4cb center/cover no-repeat;
}
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .portrait { max-width: 280px; }
}

/* Hinweis-Box */
.note {
  background: var(--accent-soft); border-radius: var(--radius); padding: 20px 24px;
  color: var(--ink); font-size: 15px;
}

/* Kontakt */
.contact-box { text-align: center; }
.contact-box .lead { margin-left: auto; margin-right: auto; }
.contact-box .actions { justify-content: center; }

/* Fußzeile */
footer.site { padding: 40px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 18px; }
footer.site a:hover { color: var(--accent); }

/* Rechtstexte */
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p { margin-bottom: 12px; }
.placeholder { background: #fff4d6; padding: 2px 6px; border-radius: 4px; }

/* Mobil */
@media (max-width: 640px) {
  nav.main { gap: 14px; }
  nav.main a.hide-sm { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 48px; }
}

/* Bild-Hero (z. B. Unternehmensseite) */
.hero-image {
  position: relative; color: #fff; padding: 140px 0 110px;
  background: #1b1b1b center/cover no-repeat;
}
.hero-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,24,22,.88) 0%, rgba(14,24,22,.65) 45%, rgba(14,24,22,.15) 100%);
}
.hero-image .wrap { position: relative; }
.hero-image .eyebrow { color: #9fd3c7; }
.hero-image .lead { color: rgba(255,255,255,.85); }
.hero-image .btn { background: #fff; color: var(--accent); }
.hero-image .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }

/* Breites Zwischenbild */
.image-band { height: 360px; background: #1b1b1b center/cover no-repeat; }
@media (max-width: 640px) {
  .hero-image { padding: 90px 0 70px; }
  .hero-image::before { background: rgba(14,24,22,.72); }
  .image-band { height: 220px; }
}
