/* Roman Peer – Website
   Schriften: Manrope (Überschriften), Poppins (Text) – lokal eingebunden, keine Google-Server. */

@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/poppins-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/poppins-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #e0e0db;          /* warmes Hellgrau wie bisher */
  --bg-soft: #e9e9e4;
  --ink: #141414;
  --ink-soft: #4b4b48;
  --accent: #253551;      /* Dunkelblau wie bisher */
  --line: rgba(37, 53, 81, 0.22);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
  --head: "Manrope", system-ui, sans-serif;
  --body: "Poppins", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
strong { font-weight: 500; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--accent);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 26px; padding-bottom: 26px;
}
.site-title {
  font-family: var(--head); font-weight: 500; font-size: 1.45rem;
  letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav a {
  font-size: 0.92rem; text-decoration: none; color: var(--ink);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav-toggle { display: none; }

/* Header über dem Startbild */
.page-home .site-header { position: absolute; inset: 0 0 auto 0; }
.page-home .site-title, .page-home .nav a, .page-home .nav-toggle { color: #fff; }

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    background: none; border: 0; padding: 6px 0; cursor: pointer;
    font: inherit; font-size: 0.95rem; color: var(--ink);
  }
  .nav-toggle .bars { width: 22px; height: 12px; position: relative; display: inline-block; }
  .nav-toggle .bars::before, .nav-toggle .bars::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .2s;
  }
  .nav-toggle .bars::before { top: 0; }
  .nav-toggle .bars::after { bottom: 0; }
  .nav-open .nav-toggle .bars::before { transform: translateY(5px) rotate(45deg); }
  .nav-open .nav-toggle .bars::after { transform: translateY(-5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; background: var(--bg); padding: 110px var(--gutter) 40px;
    display: none;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 18px; }
  .nav a { font-family: var(--head); font-size: 2rem; letter-spacing: -0.02em; color: var(--ink) !important; }
  .nav-open .site-title, .nav-open .nav-toggle { position: relative; z-index: 2; color: var(--ink) !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none;
  border: 1px solid var(--accent); color: var(--accent);
  padding: 0.85em 1.4em; font-size: 0.95rem; line-height: 1.2;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--accent); color: var(--bg); }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 1.6em; }
.note { font-size: 0.95rem; color: var(--ink-soft); }
.note a { color: var(--accent); }
.more { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--line); }
.more:hover { border-bottom-color: var(--accent); }

/* ---------- Startseite ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; color: #fff; overflow: hidden;
  background: #111;
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 78% 50%; filter: grayscale(1) brightness(.55);
}
.hero .wrap { position: relative; width: 100%; text-align: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 {
  color: #fff; font-size: clamp(3.4rem, 13.5vw, 11.5rem);
  letter-spacing: -0.04em; line-height: 0.95; margin: 0 0 0.12em;
}
.hero .tagline {
  font-size: clamp(1.25rem, 4.6vw, 4.1rem); line-height: 1.1; margin: 0;
}
.hero .actions { justify-content: center; margin-top: 2.4em; }

/* ---------- Seitenkopf ---------- */
.page-intro { padding: clamp(40px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); }
.page-intro .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46ch; color: var(--ink); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(48px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.split {
  display: grid; gap: clamp(32px, 6vw, 88px);
  grid-template-columns: 1fr 1fr; align-items: center;
}
.split.reverse .split-media { order: -1; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media.wide img { aspect-ratio: 4 / 3; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

.offers { display: grid; gap: 34px; }
.offer h2, .offer h3 { margin-bottom: 0.3em; }
.offer h2 a, .offer h3 a { text-decoration: none; }
.offer p { margin-bottom: 0.5em; }

.prices { list-style: none; padding: 0; margin: 1.4em 0 0; border-top: 1px solid var(--line); }
.prices li { padding: 0.75em 0; border-bottom: 1px solid var(--line); }

.prose > * { max-width: 70ch; }
.prose .actions { max-width: none; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); margin-top: 1.4em; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.05em 2.4em 1.05em 0; position: relative;
  font-family: var(--head); font-weight: 500; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--accent);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--body); font-weight: 400; font-size: 1.5rem; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 1.2em; max-width: 70ch; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid; gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  padding-bottom: clamp(48px, 8vw, 110px);
}
.post-card a { text-decoration: none; display: block; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg-soft); margin-bottom: 14px; }
.post-card h2 { font-size: 1.3rem; margin: 0.25em 0 0; }
.post-card a:hover h2 { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.meta { font-size: 0.88rem; color: var(--ink-soft); }

.post { padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 8vw, 110px); }
.post .wrap { max-width: 780px; }
.post h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 0.35em; }
.post .meta { margin-bottom: 2.4em; }
.post h3 { margin-top: 1.7em; }
.post blockquote {
  margin: 2.4em 0 0; padding: 1.2em 1.4em; border-left: 2px solid var(--accent);
  background: var(--bg-soft);
}
.post blockquote p:last-child { margin-bottom: 0; }
.post blockquote a { color: var(--accent); }
.post .back { margin-top: 3em; }

/* ---------- Rechtliches ---------- */
.legal { padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 8vw, 110px); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 44px; text-align: center; }
.site-footer .name { font-family: var(--head); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--ink); }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.site-footer a { text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .legal-links { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.page-home .site-footer { border-top: 0; }
