/* ==========================================================================
   Dachkonzept Radinger – Design System
   Architektonisch, minimalistisch (Logo: Schwarz/Weiß) + dezenter Kupfer-Akzent
   Keine externen Fonts (DSGVO/Performance) – hochwertiger System-Font-Stack
   ========================================================================== */

:root {
  --ink: #141414;
  --ink-soft: #33312e;
  --muted: #6c6862;
  --paper: #ffffff;
  --mist: #f6f4f1;
  --mist-2: #efece7;
  --line: #e2ded7;
  --accent: #6f6d69;        /* neutrales Warmgrau (vormals Kupfer) */
  --accent-dark: #4c4a47;
  --accent-soft: #ededeb;   /* helles Grau für getönte Flächen */
  --btn-ink: #2c2b29;       /* dunkles Grau für Buttons */
  --btn-ink-hover: #46443f;
  --maxw: 1180px;
  --radius: 4px;
  --shadow: 0 10px 40px rgba(20, 20, 20, .08);
  --shadow-sm: 0 4px 18px rgba(20, 20, 20, .06);
  --font: "Helvetica Neue", "Segoe UI", Arial, system-ui, -apple-system, sans-serif;
  --head-spacing: .04em;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: var(--head-spacing);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.22rem; letter-spacing: .02em; }

p { margin: 0 0 1.1em; }

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

.section { padding: 84px 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #e9e6e1; }
.section--ink h1,.section--ink h2,.section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}
.section--ink .eyebrow { color: #c9c7c2; }

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 15px 28px;
  font-size: .98rem; font-weight: 700; letter-spacing: .03em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer; transition: all .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--btn-ink); color: #fff; }
.btn--primary:hover { background: var(--btn-ink-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--btn-ink); color: #fff; }
.btn--block { width: 100%; justify-content: center; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 50px; width: auto; }
.brand span { display: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 10px 14px; border-radius: var(--radius); letter-spacing: .01em;
}
.nav a:hover { color: var(--accent-dark); text-decoration: none; background: var(--mist); }
.nav a.active { color: var(--accent-dark); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--accent-dark); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-centered {
  max-width: 760px; margin: 0 auto;
  padding: 40px 0 34px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-logo {
  width: min(430px, 82%); height: auto;
  margin-bottom: 20px;
  mix-blend-mode: multiply;
}
.hero h1 { font-size: clamp(1.4rem, 6.4vw, 2.4rem); font-weight: 400; margin-bottom: .25em; }
.hero-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 24px; }
.hero .btn-row { justify-content: center; margin-top: 2px; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.25rem; }
.hero-meista {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; font-weight: 700; letter-spacing: .04em;
  font-size: .8rem; text-transform: uppercase; padding: 8px 16px; border-radius: 100px;
  margin-bottom: 26px;
}
.hero-meista::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9b7b2; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--ink); color: #d9d5cf; }
.trustbar .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; padding-top: 26px; padding-bottom: 26px;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .94rem; }
.trust-item b { color: #fff; }
.trust-item .ic { color: #c9c7c2; flex: 0 0 auto; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: all .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--accent-soft); }
.card .ic { color: var(--accent); margin-bottom: 16px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1em; }
.card .more { font-weight: 700; color: var(--accent-dark); font-size: .92rem; letter-spacing: .03em; }

.section-head { max-width: 64ch; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .num {
  font-size: 2.4rem; font-weight: 800; color: var(--accent-soft);
  line-height: 1; margin-bottom: 10px; letter-spacing: 0;
}
.step h3 { margin-bottom: .3em; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.split--media { background: var(--mist-2); border: 1px solid var(--line); border-radius: var(--radius);
  min-height: 360px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.media-motif { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, #d9d4cc 0 1px, transparent 1px 26px);
  opacity: .7; -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%); }
.media-label { position: relative; z-index: 2; color: var(--muted); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; text-align: center; padding: 20px; }

/* ---------- List with checks ---------- */
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  background: var(--accent); border-radius: 50%;
  -webkit-mask: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  mask: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}

/* ---------- Gallery (Referenzen Platzhalter) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery .tile {
  aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--mist-2); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.gallery .tile::before { content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, #d7d2ca 0 1px, transparent 1px 20px); opacity: .6; }
.gallery .tile span { position: relative; z-index: 2; color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 56px 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9c4bc; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list .ic { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.info-list a { color: var(--ink); font-weight: 600; }
.info-list small { display: block; color: var(--muted); font-weight: 400; }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
form input, form select, form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: .98rem; background: #fff; color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
form textarea { min-height: 130px; resize: vertical; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; flex: 0 0 auto; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }

/* ---------- Page hero (Unterseiten) ---------- */
.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: 64px 0; }
.page-hero .eyebrow { margin-bottom: 12px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 75ch; overflow-wrap: anywhere; }
.prose code { overflow-wrap: anywhere; white-space: pre-wrap; }
.prose a { overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.8em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.placeholder-note {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  padding: 14px 18px; border-radius: var(--radius); font-size: .92rem; color: var(--ink-soft); margin: 18px 0;
}
.legal-meta { font-size: .85rem; color: var(--muted); }
.prose blockquote {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  margin: 18px 0; padding: 14px 20px; border-radius: var(--radius);
  font-size: .95rem; color: var(--ink-soft);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code {
  background: var(--mist-2); padding: 2px 6px; border-radius: 3px;
  font-size: .88em; color: var(--accent-dark);
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose h2 { letter-spacing: .01em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b8b3ab; padding: 64px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.site-footer a { color: #b8b3ab; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-brand img { height: 54px; filter: invert(1) brightness(1.6); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #2e2c29; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: #8a857d; }
.footer-bottom a { color: #8a857d; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Icons ---------- */
.ic svg { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-centered { padding: 60px 0 54px; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav, .header-phone { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px;
    box-shadow: var(--shadow-sm);
  }
  .site-header.open .nav a { padding: 14px; border-radius: var(--radius); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .trustbar .container { grid-template-columns: 1fr 1fr; gap: 18px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .field-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .hero-centered { padding: 46px 0 42px; }
}
@media (max-width: 460px) {
  .trustbar .container { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
}
