/* Architekt Michael Knoll – schlicht, warm, ruhig */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --creme: #f4f0e7;
  --creme-2: #ebe6db;
  --anthrazit: #1a1f23;
  --anthrazit-soft: #2a3136;
  --muted: #5c6369;
  --line: #d9d3c6;
  --accent: #b9573a;
  --accent-hover: #9e4a32;
  --white: #fffcf7;
  --ph-bg: repeating-linear-gradient(
    -45deg,
    #f4f0e7,
    #f4f0e7 6px,
    #ebe4d4 6px,
    #ebe4d4 12px
  );
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
  /* Content shell: nearly full width; text blocks use --prose for line length */
  --max: none;
  --pad: clamp(20px, 4vw, 56px);
  --prose: 70ch;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--anthrazit);
  background: var(--creme);
  line-height: 1.55;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

ul {
  list-style: none;
}

.ph {
  background: var(--ph-bg);
  border-bottom: 1px dashed var(--accent);
  padding: 0 0.2em;
  color: var(--anthrazit);
  font-style: normal;
}

/* Header
   --- PREVIOUS (light) header – trial revert: uncomment this block and remove the dark trial below ---
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 240, 231, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.logo { color: inherit; }
.logo span { color: var(--muted); }
.nav-desktop a { color: var(--anthrazit-soft); }
.nav-desktop a:hover { color: var(--accent); }
.nav-toggle { color: var(--anthrazit); }
.nav-mobile { background: var(--creme); }
.nav-mobile a { color: inherit; border-bottom-color: var(--line); }
   --- end previous light header --- */

/* Header – TRIAL dark (same tone as footer / --anthrazit) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--anthrazit);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(244, 240, 231, 0.1);
  transition: border-color 0.2s, background 0.2s;
  color: var(--creme);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(244, 240, 231, 0.14);
}

.header-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--creme);
}

.logo:hover {
  color: #fff;
}

.logo span {
  font-weight: 400;
  color: rgba(244, 240, 231, 0.55);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(244, 240, 231, 0.82);
}

.nav-desktop a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--creme);
  padding: 0.4rem 0;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--anthrazit);
  padding: 2rem var(--pad);
  flex-direction: column;
  gap: 1.25rem;
  z-index: 99;
  color: var(--creme);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(244, 240, 231, 0.14);
  color: var(--creme);
}

.nav-mobile a:hover {
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--creme);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 31, 35, 0.72) 0%,
    rgba(26, 31, 35, 0.25) 45%,
    rgba(26, 31, 35, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 8vh, 5rem) var(--pad) clamp(2.5rem, 6vh, 4rem);
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
  margin-bottom: 0.85rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: rgba(244, 240, 231, 0.88);
  max-width: 62ch; /* one line on desktop ≥1280; wraps on narrow viewports */
  margin-bottom: 1.75rem;
  line-height: 1.45;
  white-space: normal;
}
@media (min-width: 900px) {
  .hero-sub {
    white-space: nowrap;
    max-width: none;
  }
}

.hero-cta {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--creme);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

.hero-cta:hover {
  color: #fff;
  border-color: #fff;
}

/* Sections */
.section {
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}

.section-inner {
  max-width: none;
  width: 100%;
  margin: 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

/* Projekte */
.project-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover {
  border-color: var(--anthrazit);
  color: var(--anthrazit);
}

.filter-btn.is-active {
  background: var(--anthrazit);
  border-color: var(--anthrazit);
  color: var(--creme);
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.project {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.project.is-hidden {
  display: none;
}

.project-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.project-media {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0.6rem;
  aspect-ratio: 2 / 1;
  max-height: 520px;
}

.project-media > .main-img,
.project-media > .side-imgs {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: var(--creme-2);
}

.project-media .main-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media .side-imgs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.project-media .side-imgs picture {
  flex: 1 1 0;
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--creme-2);
}

.project-media .side-imgs img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.75rem;
}

.project-body p {
  color: var(--anthrazit-soft);
  max-width: var(--prose);
  margin-bottom: 1rem;
}

.project-meta {
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
}

.project-meta span:not(:last-child)::after {
  content: "·";
  margin: 0 0.55rem;
  color: var(--line);
}

/* Before/After slider */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--creme-2);
  margin-top: 1.25rem;
  user-select: none;
  touch-action: none;
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-after {
  z-index: 1;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.ba-before-wrap img {
  width: 100vw;
  max-width: none;
  height: 100%;
  object-fit: cover;
  /* Will be sized via JS / CSS container */
}

.ba-slider .ba-before-wrap img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--ba-w, 100%);
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--creme);
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--creme);
  border: 2px solid var(--anthrazit);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ba-handle::after {
  content: "‹ ›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 700;
  color: var(--anthrazit);
  letter-spacing: -2px;
  z-index: 1;
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  margin: 0;
}

.ba-labels {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  pointer-events: none;
}

.ba-labels span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(26, 31, 35, 0.7);
  color: var(--creme);
  padding: 0.25rem 0.5rem;
}

/* Leistungen
   Switch grey variant on #leistungen: services--mittel (B) | services--dunkel (A)
   Previous light: background: var(--white);
*/
.services {
  background: var(--white);
}

/* Shared light-on-grey text for dark/medium variants */
.services--dunkel,
.services--mittel {
  color: rgba(244, 240, 231, 0.82);
}

.services--dunkel .section-label,
.services--mittel .section-label {
  color: #d4846a; /* accent readable on grey */
}

.services--dunkel .service h3,
.services--mittel .service h3 {
  color: #fff;
  border-bottom-color: rgba(244, 240, 231, 0.18);
}

.services--dunkel .service li,
.services--mittel .service li,
.services--dunkel .service p,
.services--mittel .service p {
  color: rgba(244, 240, 231, 0.78);
}

.services--dunkel .service-more,
.services--mittel .service-more {
  color: #e09a82;
}

.services--dunkel .service-more:hover,
.services--mittel .service-more:hover {
  color: #f0c4b4;
  border-bottom-color: #f0c4b4;
}

/* A) dark anthrazit (header/footer) */
.services--dunkel {
  background: var(--anthrazit);
}

/* B) medium grey – default active on index */
.services--mittel {
  background: #5f6266;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}

.service h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.service ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service li {
  font-size: 0.95rem;
  color: var(--anthrazit-soft);
  padding-left: 1rem;
  position: relative;
}

.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.service p {
  font-size: 0.95rem;
  color: var(--anthrazit-soft);
  line-height: 1.55;
}

/* Über mich */
.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--creme-2);
  filter: grayscale(1);
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: var(--prose);
  margin: 0;
  padding: 0;
}

.about-list li {
  font-size: 0.95rem;
  color: var(--anthrazit-soft);
  line-height: 1.45;
  padding-left: 1rem;
  position: relative;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Kontakt */
.contact {
  background: var(--anthrazit);
  color: var(--creme);
}

.contact .section-label {
  color: #d4846a;
}

.contact h2 {
  color: var(--creme);
  max-width: 22ch;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

.contact-links a,
.contact-links .contact-row {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--creme);
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
}

.contact-links a:hover {
  color: #d4846a;
}

.contact-links .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 240, 231, 0.5);
  min-width: 5.5rem;
}

.contact-address {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: rgba(244, 240, 231, 0.7);
  line-height: 1.6;
}

.contact .ph {
  background: repeating-linear-gradient(
    -45deg,
    rgba(185, 87, 58, 0.25),
    rgba(185, 87, 58, 0.25) 6px,
    rgba(185, 87, 58, 0.4) 6px,
    rgba(185, 87, 58, 0.4) 12px
  );
  border-bottom-color: #d4846a;
  color: var(--creme);
}

/* Footer */
.site-footer {
  background: var(--anthrazit);
  color: rgba(244, 240, 231, 0.55);
  border-top: 1px solid rgba(244, 240, 231, 0.1);
  padding: 1.75rem var(--pad) 2.25rem;
}

.footer-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
}

.footer-inner a {
  color: rgba(244, 240, 231, 0.7);
}

.footer-inner a:hover {
  color: var(--creme);
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

/* Legal pages */
.legal-page {
  padding: clamp(3rem, 8vh, 5rem) var(--pad) 5rem;
}

.legal-page .section-inner {
  max-width: none;
  width: 100%;
}

.legal-page h1 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--anthrazit-soft);
  margin-bottom: 0.75rem;
  max-width: var(--prose);
}

.legal-page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.back-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 2rem;
}

.back-link:hover {
  color: var(--accent-hover);
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 320px;
  }

  .project-media {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    max-height: none;
  }

  .project-media > .main-img {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .project-media .side-imgs {
    flex-direction: row;
    height: auto;
    aspect-ratio: auto;
  }

  .project-media .side-imgs picture {
    flex: 1 1 0;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .project-media .side-imgs:has(> picture:only-child) {
    flex-direction: column;
  }

  .project-media .side-imgs:has(> picture:only-child) picture {
    aspect-ratio: 16 / 10;
  }
}


@media (max-width: 720px) {
  :root {
    --header-h: 56px;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    max-width: none;
  }

  .project-list {
    gap: 3.5rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* Subpages (e.g. Parifizierung) */
.subpage {
  padding-top: clamp(2rem, 5vh, 3rem);
}

.subpage > .section-inner {
  padding-left: var(--pad);
  padding-right: var(--pad);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.subpage-intro {
  margin-bottom: clamp(2.5rem, 6vh, 3.5rem);
}

.subpage-intro h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.subpage-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 36ch;
}

.subpage-block {
  margin-bottom: clamp(2.5rem, 6vh, 3.5rem);
  max-width: var(--prose);
}

.subpage-block h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.subpage-block p {
  color: var(--anthrazit-soft);
  margin-bottom: 0.85rem;
}

.subpage-block em {
  font-style: italic;
}

.price-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.price-list > li > strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--anthrazit);
}

.price-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.price-list ul li {
  font-size: 0.95rem;
  color: var(--anthrazit-soft);
  padding-left: 1rem;
  position: relative;
}

.price-list ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.steps > li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
}

.step-num {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}

.steps h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}

.steps p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: var(--prose);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem 1.75rem 1rem 0;
  list-style: none;
  position: relative;
  color: var(--anthrazit);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1rem;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 0 1.15rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}

.contact-note {
  color: rgba(244, 240, 231, 0.75);
  max-width: var(--prose);
  margin-top: -1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.service-more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.15s, color 0.15s;
}

.service-more:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}

/* Leistungen: slimmer vertical rhythm (~30–40% less height on desktop) */
.services.section {
  padding-top: clamp(2rem, 4vh, 2.75rem);
  padding-bottom: clamp(2rem, 4vh, 2.75rem);
}

.services .section-label {
  margin-bottom: 1.1rem;
}

.services .service h3 {
  margin-bottom: 0.55rem;
  padding-bottom: 0.5rem;
  font-size: 1.1rem;
}

.services .service ul {
  gap: 0.28rem;
}

.services .service li {
  font-size: 0.88rem;
  line-height: 1.35;
}

.services .service p {
  font-size: 0.88rem;
  line-height: 1.4;
}

.services .service-more {
  margin-top: 0.55rem;
  font-size: 0.85rem;
}

.services .services-grid {
  gap: 1.5rem 2rem;
}

@media (max-width: 900px) {
  .services .services-grid {
    gap: 1.75rem;
  }
}


/* ZT Kammer logo – original colours, transparent bg; light translucent panel only */
.zt-badge {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  color: inherit;
  padding: 0;
  background: transparent;
}

.zt-badge:hover {
  color: inherit;
  opacity: 0.92;
}

.zt-badge img {
  width: 100%;
  height: auto;
  display: block;
}


.zt-badge--footer {
  width: 200px;
  flex-shrink: 0;
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
}

.footer-inner {
  align-items: center;
}

@media (max-width: 720px) {

  .zt-badge--footer {
    width: 160px;
  }

  .footer-right {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Akademische Titel im Namen: kleiner, schwarz */
.title-degrees {
  font-size: 0.55em;
  font-weight: 400;
  color: inherit;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Über mich: Text unten bündig mit Foto (Desktop) */
@media (min-width: 901px) {
  .about-grid { align-items: end; }
  .about-text > :last-child { margin-bottom: 0; }
}

/* Kontakt kompakter (ca. halbe Höhe) */
.section.contact {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.contact-links {
  margin-top: 0.75rem;
  gap: 0.3rem;
}
.contact-links a,
.contact-links .contact-row {
  font-size: 1.05rem;
}

/* Projekte im gleichen Mittelgrau wie Leistungen */
.projects--mittel {
  background: #5f6266;
  color: rgba(244, 240, 231, 0.82);
}
.projects--mittel .section-label { color: #d4846a; }
.projects--mittel h2,
.projects--mittel .project-body h3 { color: #fff; }
.projects--mittel .project-body p { color: rgba(244, 240, 231, 0.78); }
.projects--mittel .project-num,
.projects--mittel .project-meta { color: rgba(244, 240, 231, 0.6); }
.projects--mittel .project-meta span:not(:last-child)::after { color: rgba(244, 240, 231, 0.35); }
.projects--mittel .project { border-color: rgba(244, 240, 231, 0.18); }
.projects--mittel .filter-btn {
  border-color: rgba(244, 240, 231, 0.35);
  color: rgba(244, 240, 231, 0.8);
}
.projects--mittel .filter-btn:hover {
  border-color: #fff;
  color: #fff;
}
.projects--mittel .filter-btn.is-active {
  background: var(--creme);
  border-color: var(--creme);
  color: var(--anthrazit);
}
.projects--mittel .project-body p .ph { color: var(--anthrazit); }

/* Abschnittsüberschriften größer und fett */
.section-label {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* Projekt 1: großes Vorher-Nachher-Bild (Platzhalter bis Michaels Bild da ist) */
.ba-feature {
  margin: 0 0 1rem;
}
.ba-feature img {
  display: block;
  width: 100%;
  height: auto;
}
.ba-placeholder {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 16 / 9;
  max-height: 72vh;
  width: 100%;
  border: 1px dashed rgba(244, 240, 231, 0.45);
  background: rgba(0, 0, 0, 0.12);
}
.ba-ph-half {
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 240, 231, 0.6);
}
.ba-ph-half + .ba-ph-half {
  border-left: 1px dashed rgba(244, 240, 231, 0.45);
  justify-content: flex-end;
}
.ba-ph-note {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  padding: 0.5rem 0.9rem;
  background: var(--ph-bg);
  border-bottom: 1px dashed var(--accent);
  color: var(--anthrazit);
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Projektbilder über die volle Breite */
.project-media {
  max-height: none;
  aspect-ratio: 2.2 / 1;
  width: 100%;
}
.ba-placeholder {
  max-height: none;
  aspect-ratio: 2.2 / 1;
}
@media (max-width: 900px) {
  .project-media { aspect-ratio: auto; }
  .ba-placeholder { aspect-ratio: 4 / 3; }
  .ba-ph-note { white-space: normal; text-align: center; width: 80%; }
}

/* PROBE: Über mich dunkelgrau wie Kontakt/Footer (zurück: Klasse about--dunkel in index.html entfernen) */
.about--dunkel {
  background: var(--anthrazit);
  color: var(--creme);
}
.about--dunkel .section-label { color: #d4846a; }
.about--dunkel h2,
.about--dunkel .title-degrees { color: #fff; }
.about--dunkel .about-list li { color: rgba(244, 240, 231, 0.8); }
.about--dunkel + .contact { border-top: 1px solid rgba(244, 240, 231, 0.12); }

/* Über mich: weniger Leerraum oben/unten */
.section.about--dunkel,
#ueber-mich {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

/* Graue Trennlinie zwischen Leistungen und Projekten */
.services--mittel + .projects--mittel > .section-inner {
  border-top: 1px solid rgba(244, 240, 231, 0.28);
  padding-top: clamp(2.5rem, 6vh, 4rem);
}
.services--mittel + .projects--mittel {
  padding-top: 0;
}

/* Parifizierung-Unterseite im Mittelgrau (wie Projekte) */
.subpage--mittel {
  background: #5f6266;
  color: rgba(244, 240, 231, 0.82);
}
.subpage--mittel .section-label { color: #d4846a; }
.subpage--mittel .back-link { color: #e09a82; }
.subpage--mittel .back-link:hover { color: #f0c4b4; }
.subpage--mittel h1,
.subpage--mittel h2,
.subpage--mittel h3,
.subpage--mittel .price-list > li > strong,
.subpage--mittel .faq-list summary { color: #fff; }
.subpage--mittel .subpage-lead,
.subpage--mittel .subpage-block p,
.subpage--mittel .price-list ul li,
.subpage--mittel .steps p,
.subpage--mittel .faq-list details p { color: rgba(244, 240, 231, 0.8); }
.subpage--mittel .step-num,
.subpage--mittel .faq-list summary::after { color: rgba(244, 240, 231, 0.6); }
.subpage--mittel .faq-list,
.subpage--mittel .faq-list details { border-color: rgba(244, 240, 231, 0.22); }
.subpage--mittel em { color: rgba(244, 240, 231, 0.9); }
.subpage--mittel a:not(.back-link) { color: #e09a82; }
.subpage--mittel .ph { color: var(--anthrazit); }

.service p + p { margin-top: 0.5rem; }

/* Projekt Rumersteig: Vorher-Nachher-Schieberegler + Renderings-Paar */
.ba-slider--feature {
  aspect-ratio: 4 / 3;
  max-height: 80vh;
  margin: 0 0 0.6rem;
  background: rgba(0, 0, 0, 0.15);
}
.ba-slider--feature img { object-position: center center; }
.ba-slider--feature .ba-before-wrap img { object-position: center center; }
.project-media--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
  margin-bottom: 1rem;
}
.project-media--pair picture { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.project-media--pair img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .project-media--pair { grid-template-columns: 1fr; }
}

/* Projekt 02 Salzbergstraße: links zwei Querformate übereinander, rechts Hochformat */
.project-media--salzberg {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "b c" "a c";
  gap: 0.6rem;
}
.project-media--salzberg picture {
  position: relative;
  overflow: hidden;
  background: var(--creme-2);
  aspect-ratio: 16 / 10;
}
.project-media--salzberg .sb-a { grid-area: a; }
.project-media--salzberg .sb-b { grid-area: b; }
.project-media--salzberg .sb-c { grid-area: c; aspect-ratio: auto; }
.project-media--salzberg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
@media (max-width: 700px) {
  .project-media--salzberg { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "b" "a" "c"; }
  .project-media--salzberg .sb-c { aspect-ratio: 3 / 4; }
}

/* Parifizierung: Aufzählung, Preistabelle */
.pari-intro { font-size: clamp(1.02rem, 1.6vw, 1.12rem); }
.pari-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.pari-list li { position: relative; padding-left: 1.1rem; }
.pari-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.subpage--mittel .pari-list li { color: rgba(244, 240, 231, 0.8); }
.subpage--mittel .pari-list strong { color: #fff; font-weight: 600; }
.subpage--mittel .pari-list li::before { background: #d4846a; }

.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-bottom: 0.9rem; }
.price-table th, .price-table td {
  text-align: left; vertical-align: top; padding: 0.8rem 1rem 0.8rem 0;
  border-bottom: 1px solid var(--line);
}
.price-table thead th {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); padding-top: 0;
}
.price-table tbody th { font-weight: 600; }
.subpage--mittel .price-table th, .subpage--mittel .price-table td { border-color: rgba(244, 240, 231, 0.22); }
.subpage--mittel .price-table thead th { color: rgba(244, 240, 231, 0.6); }
.subpage--mittel .price-table tbody th { color: #fff; }
.subpage--mittel .price-table td { color: rgba(244, 240, 231, 0.85); }
.subpage-block .price-note { font-size: 0.9rem; }
@media (max-width: 640px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tr { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .subpage--mittel .price-table tr { border-color: rgba(244, 240, 231, 0.22); }
  .price-table th, .price-table td { border: 0; padding: 0.15rem 0; }
  .price-table tbody th { margin-bottom: 0.3rem; }
  .price-table td::before {
    content: attr(data-label); display: block;
    font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.65;
  }
  .price-table td + td { margin-top: 0.4rem; }
}

/* Parifizierung: weniger Abstand Untertitel -> Einleitung */
.subpage-intro--eng { margin-bottom: 1.25rem; }

/* Parifizierung: Anfrage-Ueberschrift kleiner, eine Zeile */
.contact h2.anfrage-title { font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: none; }
@media (min-width: 900px) { .contact h2.anfrage-title { white-space: nowrap; } }

/* Startseite Projekte: weniger Abstand zwischen den Projekten (vorher 133px Desktop / 117px Mobil von Meta-Zeile bis zum naechsten Bild) */
.project-list { gap: 2.5rem; }
.project-list .project-meta { margin-bottom: 0; }
.project-list .project-num { margin-bottom: -0.75rem; }
@media (max-width: 720px) {
  .project-list { gap: 2rem; }
}

/* Mobil: heller Streifen unter dem Footer (Overscroll/Bounce zeigte Body-Creme) -> Canvas in Footer-Anthrazit */
html { background: var(--anthrazit); }

/* iOS Safari (iOS 26, schwebende Leiste unten): Safari faerbt den Bereich hinter der Leiste
   nach dem html/body-Hintergrund. Daher html UND body in Footer-Anthrazit; das Creme
   liegt jetzt auf <main> (Startseite, Impressum, Datenschutz). Die Parifizierungsseite hat
   ueber .subpage--mittel ihren eigenen Hintergrund (Klassen-Selektor schlaegt "main"). */
html,
body { background: var(--anthrazit); }
main { background: var(--creme); }
.site-footer {
  margin-bottom: 0;
  padding-bottom: max(2.25rem, env(safe-area-inset-bottom));
}

/* Startseite Projekte: Nummern (01/02/03) entfernt, Titel + Meta-Zeile stehen ueber den Bildern */
.project-list { gap: 4rem; }
.project-list .project-body { margin-bottom: -0.5rem; }      /* Titel -> Bilder: 1rem statt 1.5rem */
.project-list .project-body h3 { margin-top: 0; }
.project-list .project > :last-child { margin-bottom: 0; }  /* kein Zusatzabstand nach dem letzten Bild */
@media (max-width: 720px) {
  .project-list { gap: 3rem; }
}
