/* =====================================================================
   RT-Vermessung – Stylesheet
   Farbwelt wie Briefkopf/Unterlagen: Dunkel #0c0f13, Orange #e8940a
   ===================================================================== */

/* ---------- Schriften (lokal, keine Verbindung zu Dritten) ----------
   Syne ohne ß (U+00DF/U+1E9E): das Syne-ß sieht aus wie »ʒ«, deshalb fällt es auf DM Sans zurück. */
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/syne-latin.woff2) format('woff2');
  unicode-range: U+0000-00DE, U+00E0-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/syne-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9D, U+1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/dmsans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/dmsans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0c0f13;
  --ink-2: #121820;
  --ink-3: #1a2230;
  --ink-line: rgba(255, 255, 255, .09);
  --on-ink: #eef2f7;
  --on-ink-muted: #a3b3c6;          /* 9:1 auf --ink */

  --paper: #ffffff;
  --paper-2: #f5f6f8;
  --paper-3: #eceff3;
  --line: #e1e6ed;
  --text: #1b232e;
  --text-muted: #4f5f73;            /* 6,4:1 auf Weiß */

  --accent: #e8940a;                /* Flächen, Linien, Text auf Dunkel */
  --accent-hover: #f5b942;
  --accent-ink: #a35f00;            /* Orange-Text auf Hell (5:1) */
  --accent-soft: rgba(232, 148, 10, .12);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(12, 15, 19, .06), 0 8px 24px rgba(12, 15, 19, .06);
  --shadow-lg: 0 2px 4px rgba(12, 15, 19, .06), 0 18px 48px rgba(12, 15, 19, .12);

  --font-display: 'Syne', 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 72px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; color: var(--text);
  background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--ink); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000; padding: .7rem 1.1rem; border-radius: 0 0 10px 10px;
  background: var(--accent); color: var(--ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 10px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(232, 148, 10, .25); }
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--on-ink); --btn-bd: rgba(255, 255, 255, .22); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .06); --btn-bd: rgba(255, 255, 255, .5); --btn-fg: var(--on-ink); box-shadow: none; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: var(--on-ink); --btn-bd: var(--ink); }
.btn--dark:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); box-shadow: var(--shadow); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: #c7cfd9; }
.btn--outline:hover { --btn-bg: var(--paper); --btn-bd: var(--text); box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(12, 15, 19, .9); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--ink-line); color: var(--on-ink);
  transition: box-shadow .25s, background-color .25s;
}
.site-header::after { /* orange Akzentlinie wie in den Unterlagen */
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--accent) 0, var(--accent) 120px, transparent 120px);
}
.site-header.is-scrolled { background: rgba(12, 15, 19, .97); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--on-ink); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.03em; white-space: nowrap; }
.brand__name b { color: var(--accent); font-weight: 800; }
.brand__tag { margin-top: .32rem; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--on-ink-muted); white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.main-nav__list { display: flex; gap: clamp(.9rem, 2vw, 1.8rem); list-style: none; padding: 0; }
.main-nav__list a { position: relative; padding: .4rem 0; font-size: .95rem; font-weight: 500; color: var(--on-ink-muted); text-decoration: none; transition: color .2s; }
.main-nav__list a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--accent); transition: right .25s; }
.main-nav__list a:hover, .main-nav__list a[aria-current="true"] { color: var(--on-ink); }
.main-nav__list a:hover::after, .main-nav__list a[aria-current="true"]::after { right: 0; }
.main-nav .btn { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--ink-line); border-radius: 10px; background: transparent; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--ink); color: var(--on-ink);
  padding: 1.5rem var(--gutter) 2rem; overflow-y: auto; display: flex; flex-direction: column;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; padding: 0; }
.mobile-nav li a { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem 0; border-bottom: 1px solid var(--ink-line);
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-decoration: none; }
.mobile-nav li a .icon { color: var(--accent); }
.mobile-nav__contact { margin-top: auto; padding-top: 2rem; display: grid; gap: .75rem; }
.mobile-nav__contact .btn { width: 100%; }

@media (max-width: 1000px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 380px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 1.08rem; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-ink); }
.section--dark2 { background: var(--ink-2); color: var(--on-ink); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--stack { grid-template-columns: minmax(0, 780px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-ink);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.section--dark .eyebrow, .section--dark2 .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .contact__intro .eyebrow { color: var(--accent); }
.h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; }
.h2 em { font-style: normal; color: var(--accent-ink); }
.section--dark .h2 em, .section--dark2 .h2 em, .contact__intro .h2 em { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-muted); max-width: 60ch; }
.section--dark .lead, .section--dark2 .lead { color: var(--on-ink-muted); }

@media (max-width: 860px) {
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink);
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(48px, 6vw, 80px);
  isolation: isolate;
}
.hero::before { /* Messraster */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 30%, transparent 85%);
}
.hero::after { /* warmer Lichtschein hinter dem Modell */
  content: ''; position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
  right: -18vw; top: 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 148, 10, .16), rgba(232, 148, 10, 0) 62%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.1rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; hyphens: manual; }
.hero h1 .accent { color: var(--accent); }
.hero__lead { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.45vw, 1.22rem); color: #cfd8e3; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; margin-top: 2.2rem; }
.hero__phone { display: inline-flex; align-items: center; gap: .55rem; color: var(--on-ink-muted); text-decoration: none; font-weight: 500; padding: .5rem .2rem; }
.hero__phone strong { color: var(--on-ink); font-weight: 600; }
.hero__phone .icon { color: var(--accent); }
.hero__phone:hover strong { color: var(--accent); }

.hero__visual { position: relative; margin: 0 -3vw 0 0; }
.hero__visual img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .75rem; border-radius: 999px;
  background: rgba(18, 24, 32, .82); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .78rem; font-weight: 500; color: var(--on-ink); white-space: nowrap;
}
.hero__chip i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--accent-hover); flex: none; }
.hero__chip i.sq { border-radius: 2px; border: 0; background: #9fb0c4; }
.hero__chip--a { left: 2%; top: 4%; }
.hero__chip--b { right: 2%; bottom: 14%; }
.hero__visual figcaption { margin-top: .4rem; font-size: .8rem; color: var(--on-ink-muted); text-align: right; }

.facts { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink-line); }
.fact { display: flex; flex-direction: column; padding: 1.4rem 1.4rem 0 0; }
.fact dd { margin: 0; order: -1; }
.fact + .fact { padding-left: 1.4rem; border-left: 1px solid var(--ink-line); }
.fact__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--on-ink); letter-spacing: -.02em; line-height: 1.15; }
.fact__value b { color: var(--accent); font-weight: 700; }
.fact__label { margin-top: .35rem; font-size: .9rem; color: var(--on-ink-muted); line-height: 1.45; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--ink-line); margin-top: 1.2rem; }
}
@media (max-width: 520px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__phone { width: 100%; justify-content: center; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { padding: 1.1rem 0 0; border-left: 0; }
  .fact:nth-child(n+2) { border-top: 1px solid var(--ink-line); margin-top: 1.1rem; }
  .hero__chip { display: none; }
  .hero__visual { margin-right: 0; }
  .hero__visual figcaption { text-align: left; font-size: .75rem; }
}

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; }
.service {
  position: relative; display: flex; flex-direction: column; padding: 1.8rem 1.7rem 1.7rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(12, 15, 19, .04);
  transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden;
}
.service::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); transition: width .35s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d5dce5; }
.service:hover::before { width: 100%; }
.service__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 1.3rem; }
.service__icon .icon { width: 26px; height: 26px; stroke-width: 1.7; }
.service h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: .6rem; }
.service p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.service__num { position: absolute; right: 1.4rem; top: 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: #b3bdc9; letter-spacing: .05em; }

@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services { grid-template-columns: minmax(0, 1fr); } .service { padding: 1.5rem 1.35rem; } }

/* ---------- Komplexe Vorhaben ---------- */
.complex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.checklist { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 0; }
.checklist li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ink-line); color: #cfd8e3; }
.checklist li:last-child { border-bottom: 0; }
.checklist .icon { color: var(--accent); margin-top: .2rem; stroke-width: 2.2; }
.section--light .checklist li, .section--white .checklist li { color: var(--text); border-color: var(--line); }

.media-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--ink-line); }
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media-card figcaption { padding: 1rem 1.2rem; font-size: .88rem; color: var(--on-ink-muted); border-top: 1px solid var(--ink-line); }
.media-card figcaption strong { display: block; color: var(--on-ink); font-weight: 600; margin-bottom: .15rem; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.tag { display: inline-flex; padding: .32rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 500; letter-spacing: .01em;
  background: var(--accent-soft); color: var(--accent-ink); border: 1px solid rgba(232, 148, 10, .25); }
.section--dark .tag, .section--dark2 .tag { color: var(--accent-hover); }
.complex .tags { margin-top: 1.6rem; }

@media (max-width: 900px) { .complex { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Projekte ---------- */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; }
.project { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s, transform .25s; }
.project:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.project__media { position: relative; background: var(--paper-3); aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project:hover .project__media img { transform: scale(1.03); }
.project__badge { position: absolute; left: .9rem; top: .9rem; padding: .3rem .65rem; border-radius: 8px; background: var(--ink); color: var(--on-ink);
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.project__body { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem 1.5rem 1.6rem; flex: 1; }
.project__meta { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.project h3 { font-size: 1.22rem; font-weight: 700; }
.project p { color: var(--text-muted); font-size: .98rem; line-height: 1.6; }
.project .tags { margin-top: auto; padding-top: .4rem; }
.project .tag { background: var(--paper-2); color: var(--text-muted); border-color: var(--line); font-size: .76rem; }

.project--feature { grid-column: span 2; flex-direction: row; }
.project--feature .project__media { flex: 1.15; aspect-ratio: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line); background: #fff; }
.project--feature .project__media img { object-position: top center; }
.project__media picture { display: contents; }
.project--feature .project__body { flex: 1; padding: 2rem; justify-content: center; }
.project--feature h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }

@media (max-width: 1060px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project--feature { grid-column: span 2; }
}
@media (max-width: 700px) {
  .projects { grid-template-columns: minmax(0, 1fr); }
  .project--feature { grid-column: auto; flex-direction: column; }
  .project--feature .project__media { flex: none; min-height: 0; aspect-ratio: 4 / 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .project--feature .project__body { padding: 1.4rem 1.5rem 1.6rem; }
}
.projects-note { margin-top: 1.5rem; font-size: .78rem; color: var(--text-muted); }
.project__facts { display: grid; gap: 1px; margin: .3rem 0 .2rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.project__facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--paper-2); padding: .6rem .9rem; }
.project__facts dt { font-size: .85rem; color: var(--text-muted); }
.project__facts dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--text); white-space: nowrap; }
.project--cta { background: var(--ink); border-color: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.project--cta::before { content: ''; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 2px dashed rgba(232, 148, 10, .4); }
.project--cta::after { content: ''; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; border: 2px solid rgba(232, 148, 10, .25); }
.project--cta .project__body { justify-content: flex-end; padding: 2rem 1.6rem; gap: 1rem; position: relative; z-index: 1; }
.project--cta .project__meta { color: var(--accent); }
.project--cta h3 { font-size: 1.45rem; }
.project--cta p { color: var(--on-ink-muted); }
.project--cta .btn { align-self: flex-start; }
.project--cta:hover { transform: none; }
@media (max-width: 1060px) { .project--cta { grid-column: span 2; } }
@media (max-width: 700px) { .project--cta { grid-column: auto; } }
.media-card--scene { background: radial-gradient(ellipse at 45% 35%, rgba(232, 148, 10, .10), transparent 60%), var(--ink); }
.scene-frame { position: relative; }
.media-card--scene img { aspect-ratio: 900 / 600; object-fit: contain; }

/* Weitere Leistungen aus der Praxis */
.more-services { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.more-services h3 { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.more-services ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.more-services li { padding: 1.2rem 1.25rem; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.more-services strong { display: block; font-family: var(--font-display); font-size: 1rem; margin-bottom: .3rem; hyphens: manual; overflow-wrap: break-word; }
.more-services p { font-size: .93rem; color: var(--text-muted); line-height: 1.55; }

/* ---------- Unterlagen ---------- */
.deliver { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.deliver__list { list-style: none; padding: 0; display: grid; gap: 1.1rem; margin-top: 2rem; }
.deliver__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; align-items: start; }
.deliver__item .service__icon { width: 48px; height: 48px; margin: 0; }
.deliver__item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.deliver__item p { color: var(--text-muted); font-size: .98rem; }
.formats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; list-style: none; padding: 0; }
.formats li { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .06em; padding: .45rem .8rem; border-radius: 8px;
  background: var(--ink); color: var(--on-ink); }
.formats li:first-child { background: var(--accent); color: var(--ink); }

.sheets { position: relative; aspect-ratio: 5 / 4; }
.sheet { position: absolute; margin: 0; background: #fff; border-radius: 6px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.sheet img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sheet--a { left: 0; top: 6%; width: 62%; aspect-ratio: 1.414 / 1; transform: rotate(-2.5deg); z-index: 1; }
.sheet--b { right: 2%; top: 0; width: 40%; aspect-ratio: 1 / 1.414; transform: rotate(3deg); z-index: 2; }
.sheet--c { left: 22%; bottom: 0; width: 42%; aspect-ratio: 1.414 / 1; transform: rotate(1deg); z-index: 3; }
@media (max-width: 900px) { .deliver { grid-template-columns: minmax(0, 1fr); } .sheets { max-width: 620px; width: 100%; margin-inline: auto; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 2rem 1.7rem 1.8rem; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius); }
.step__num { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--accent);
  font-family: var(--font-display); font-weight: 800; color: var(--accent); margin-bottom: 1.3rem; background: var(--ink); }
.step h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.step p { color: var(--on-ink-muted); }
.steps::before { content: ''; position: absolute; left: 4rem; right: 4rem; top: calc(2rem + 27px); height: 2px;
  background: repeating-linear-gradient(90deg, rgba(232, 148, 10, .55) 0 8px, transparent 8px 16px); }
.step { z-index: 1; background: transparent; border: 0; padding: 0 1rem 0 0; }
.step__num { position: relative; }

.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.principle { padding: 1.7rem; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-line); }
.principle h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.1rem; margin-bottom: .6rem; }
.principle h3 .icon { color: var(--accent); width: 22px; height: 22px; }
.principle p { color: var(--on-ink-muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .steps::before { left: 27px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(232, 148, 10, .55) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 0 1.2rem; padding: 0; }
  .step__num { margin: 0; grid-row: span 2; }
  .principles { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Einsatzgebiet ---------- */
.region { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.map { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #eef1f4; }
.map img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map figcaption { position: absolute; right: .5rem; bottom: .4rem; font-size: .68rem; color: #3b4757; background: rgba(255, 255, 255, .8); padding: .1rem .4rem; border-radius: 4px; }
.map .ring { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 14 12; opacity: .9; }
.map .ring-fill { fill: rgba(232, 148, 10, .07); }
.map .ring-label { font: 700 30px var(--font-body); fill: var(--accent-ink); }
.map .town { font: 700 34px var(--font-display); fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .92); stroke-width: 9px; stroke-linejoin: round; }
.map .town-dot { fill: var(--ink); stroke: #fff; stroke-width: 4; }
.map .home { font: 800 46px var(--font-display); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 10px; stroke-linejoin: round; }
.region__areas { list-style: none; padding: 0; margin-top: 1.8rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; }
.region__areas li { display: flex; gap: .6rem; align-items: center; font-weight: 500; }
.region__areas li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
@media (max-width: 900px) { .region { grid-template-columns: minmax(0, 1fr); } .map { order: 2; } }
@media (max-width: 600px) {
  .map .town { font-size: 64px; stroke-width: 14px; }
  .map .home { font-size: 80px; stroke-width: 16px; }
  .map .ring-label { font-size: 56px; }
  .map .town-dot { r: 14; }
}
@media (max-width: 420px) { .region__areas { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Profil ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.portrait { position: relative; margin: 0; }
.portrait__frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.portrait::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.portrait figcaption { margin-top: 1.1rem; }
.portrait figcaption strong { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.portrait figcaption span { color: var(--accent); font-size: .95rem; }
.profile__text p + p { margin-top: 1rem; }
.profile__text p { color: var(--on-ink-muted); font-size: 1.08rem; }
.profile__text p.big { color: var(--on-ink); font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.5; font-weight: 500; }
@media (max-width: 860px) {
  .profile { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 320px; margin-left: 14px; }
}

/* Inhaber-Kasten (bis ein neues Porträt vorliegt) */
.owner-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.6rem 2rem 2rem;
  border-radius: var(--radius); background: radial-gradient(circle at 50% 30%, rgba(232, 148, 10, .14), transparent 60%), var(--ink);
  border: 1px solid var(--ink-line); overflow: hidden; }
.owner-card::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 28px 28px; }
.owner-card > * { position: relative; }
.owner-card__mark { width: 150px; height: 150px; margin-bottom: 1.6rem; }
.owner-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--on-ink); }
.owner-card__role { color: var(--accent); margin-top: .2rem; }
.owner-card__facts { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: .5rem; width: 100%; }
.owner-card__facts li { padding: .7rem 1rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.04); border: 1px solid var(--ink-line); color: var(--on-ink-muted); }
.owner-card__facts b { font-family: var(--font-display); color: var(--on-ink); margin-right: .35rem; }
@media (max-width: 860px) { .owner-card { max-width: 420px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent-ink); transition: transform .25s; width: 22px; height: 22px; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--text-muted); max-width: 70ch; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact__intro { background: var(--ink); color: var(--on-ink); padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.contact__intro::after { content: ''; position: absolute; right: -120px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%;
  border: 2px dashed rgba(232, 148, 10, .35); }
.contact__intro .lead { color: var(--on-ink-muted); margin-top: 1rem; }
.contact__need { margin-top: 2rem; }
.contact__need h3 { font-size: 1rem; letter-spacing: .02em; margin-bottom: .6rem; font-family: var(--font-body); font-weight: 600; color: var(--on-ink); }
.contact__need ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.contact__need li { display: flex; gap: .7rem; color: #cfd8e3; }
.contact__need li .icon { color: var(--accent); margin-top: .2rem; stroke-width: 2.2; }
.contact__panel { background: var(--paper); padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-direction: column; gap: 1rem; }
.contact-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.contact-row:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }
.contact-row .service__icon { width: 48px; height: 48px; margin: 0; }
.contact-row small { display: block; font-size: .8rem; color: var(--text-muted); }
.contact-row strong { display: block; font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.contact__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.contact__actions .btn { flex: 1 1 200px; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .contact__intro, .contact__panel { padding: 1.75rem 1.25rem; }
  .contact-row { grid-template-columns: 40px minmax(0, 1fr); gap: .8rem; padding: .85rem; }
  .contact-row .service__icon { width: 40px; height: 40px; }
  .contact-row strong { font-size: 1rem; }
}

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: clamp(56px, 7vw, 88px) 0 2rem; font-size: .95rem; border-top: 2px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.site-footer h2 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink); margin-bottom: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.site-footer address { font-style: normal; line-height: 1.75; }
.footer-brand p { margin-top: 1.2rem; max-width: 34ch; }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mobile Aktionsleiste ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 16px;
    background: rgba(12, 15, 19, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--ink-line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transform: translateY(150%); transition: transform .3s;
  }
  .action-bar.is-visible { transform: none; }
  .action-bar .btn { min-height: 46px; padding: .6rem .8rem; font-size: .95rem; }
  .site-footer { padding-bottom: 6rem; }
}

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.page-hero { background: var(--ink); color: var(--on-ink); padding: calc(var(--header-h) + 64px) 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero h1 { position: relative; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.03em; }
.page-hero p { position: relative; margin-top: .8rem; color: var(--on-ink-muted); }
.page-hero--404 { min-height: 72vh; display: flex; align-items: center; }
.page-hero--404 .hero__actions { margin-top: 2rem; }
.prose { max-width: 780px; padding-block: clamp(48px, 7vw, 88px); }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 2.8rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.8rem 0 .5rem; }
.prose p, .prose li { color: #36414f; }
.prose p + p { margin-top: .8rem; }
.prose ul { padding-left: 1.2rem; margin: .6rem 0; }
.prose li + li { margin-top: .25rem; }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.prose a:hover { color: var(--text); }
.prose .card { margin: 1rem 0 1.4rem; padding: 1.4rem 1.6rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); background: var(--paper-2); }
.prose .card p { margin: 0; color: var(--text); }
.prose .note { font-size: .9rem; color: var(--text-muted); margin-top: 3rem; }

/* ---------- Hilfsklassen ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mt-s { margin-top: 1.2rem; }
.mt-m { margin-top: 1.4rem; }
.footer-bottom--solo { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- Bewegung ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .site-header, .mobile-nav, .action-bar, .hero__visual, .nav-toggle, .skip-link { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .hero, .section--dark, .section--dark2, .site-footer, .contact__intro { background: #fff !important; color: #000 !important; }
  .hero { padding-top: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
