/* 1. Schriften & Designvariablen — Farben hier zentral ändern. */
@font-face {
  font-family: Barlow;
  src: url("../assets/fonts/barlow-condensed-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f0f0eb;
  --ink: #252b27;
  --muted: #737871;
  --line: #d2d5cc;
  --lime: #d4f849;
  --on-lime: #252b27;
  --secondary: #666d64;
  --heading-muted: #7b8176;
  --accent-text: #697b45;
  --hover-surface: #e3e7dc;
  --surface: #e1e6d7;
  --image-placeholder: #d8dcd2;
  --focus: #5c7d08;
  --display: Barlow, "Arial Narrow", Impact, sans-serif;
  --body: Manrope, Arial, sans-serif;
  --gutter: clamp(22px, 4.25vw, 76px);
  --max: 1600px;
}
/* Beide Farbwelten bleiben zentral und leicht anpassbar. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171c19;
  --ink: #edf1e9;
  --muted: #a5b09f;
  --line: #394239;
  --secondary: #b2bcac;
  --heading-muted: #a6b39e;
  --accent-text: #c6e477;
  --hover-surface: #293329;
  --surface: #303d2d;
  --image-placeholder: #29332b;
  --focus: #d4f849;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
::selection {
  background: var(--lime);
  color: var(--on-lime);
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.section-shell {
  max-width: var(--max);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  margin-inline: auto;
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.65px;
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.5;
}
.lime-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #91ab36;
}
.lime-text {
  color: var(--lime);
}
.accent-text {
  color: var(--accent-text);
}
.skip-link {
  position: fixed;
  left: 20px;
  top: 12px;
  z-index: 100;
  background: var(--lime);
  color: var(--on-lime);
  padding: 12px 20px;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}

/* 2. Kopfzeile & mobile Navigation. */
.site-header {
  max-width: var(--max);
  margin: auto;
  padding: 25px var(--gutter);
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}
.brand-mark {
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: -1.5px;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.brand-mark > span {
  color: var(--accent-text);
}
.brand-name {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.5;
}
.brand-name > span {
  display: block;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.1px;
  color: var(--muted);
  margin-top: 3px;
}
#main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 11px;
  font-weight: 600;
  order: 1;
  margin-left: auto;
}
#main-nav a {
  transition: color 0.2s;
}
#main-nav a:hover {
  color: var(--accent-text);
}
#main-nav .nav-contact {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 19px;
  display: flex;
  align-items: center;
  gap: 25px;
}
#main-nav .nav-contact:hover {
  background: var(--hover-surface);
  color: var(--ink);
}
.nav-contact span {
  font-size: 19px;
  line-height: 1;
}
.menu-toggle {
  display: none;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 2;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  border-radius: 24px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.theme-toggle:hover {
  background: var(--hover-surface);
  border-color: var(--muted);
}
.theme-toggle[hidden] {
  display: none;
}
.theme-toggle img {
  flex-shrink: 0;
}
.theme-icon-moon,
:root[data-theme="dark"] .theme-icon-sun {
  display: none;
}
:root[data-theme="dark"] .theme-icon-moon {
  display: block;
}
/* 3. Gemeinsame Textlinks. Einstieg und Fokusprojekt: home.css. */

.text-link {
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 27px;
  margin-top: 25px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
}
.text-link span {
  font-size: 20px;
  line-height: 1;
}

/* 4. Projekte — Daten stehen in js/projects.js. */
.projects-section {
  padding-top: 108px;
  padding-bottom: 98px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 40px;
}
.section-heading h2 {
  font-size: 49px;
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -2px;
  margin-top: 16px;
}
.serif-accent {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -1.9px;
}
.section-description {
  max-width: 290px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--secondary);
  margin-bottom: 4px;
}
.project-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 24px 0 30px;
  gap: 18px;
}
.project-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.project-filters button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 10px;
  font-weight: 600;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.project-filters button:not(.is-active):hover {
  background: var(--hover-surface);
}
.project-filters .is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.filter-dot {
  width: 5px;
  height: 5px;
  background: #89a923;
  border-radius: 50%;
}
.project-count {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 25px;
  row-gap: 45px;
}
.project-open {
  display: block;
  background: none;
  padding: 0;
  text-align: left;
  width: 100%;
}
.project-image-wrap {
  position: relative;
  aspect-ratio: 1.38;
  background: var(--image-placeholder);
  overflow: hidden;
}
.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.project-concept {
  isolation: isolate;
  background: var(--hover-surface);
  border: 1px solid var(--line);
}
.concept-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 58px 24px 22px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
}
.concept-art::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -95px;
  width: 240px;
  height: 240px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
}
.concept-art > * {
  position: relative;
  z-index: 1;
}
.project-image-wrap .concept-art {
  position: absolute;
  inset: 0;
}
.concept-eyebrow {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--secondary);
}
.concept-headline {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: clamp(38px, 4.2vw, 68px);
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.05;
  color: var(--accent-text);
}
.concept-detail {
  margin-top: 10px;
  font-size: 9px;
  font-weight: 600;
  color: var(--secondary);
}
.project-open:hover .project-image {
  transform: scale(1.045);
}
.project-status {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 9px;
  font-size: 8px;
  font-weight: 700;
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
}
.status-ongoing {
  background: var(--lime);
  color: var(--on-lime);
}
.status-planned {
  border: 1px solid var(--line);
}
.project-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 31px;
  height: 31px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--on-lime);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
}
.project-image-note {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 8px;
  background: rgba(20, 24, 21, 0.7);
  color: #eee;
  padding: 4px 7px;
  max-width: calc(100% - 24px);
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 19px;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--muted);
  text-transform: uppercase;
}
.project-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin-top: 10px;
}
.project-color {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  font-size: 9px;
  color: var(--muted);
}
.color-swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
}
/* Die Farbpunkte sind nur Orientierung; der Farbname steht daneben. */
.color-alpinweiss,
.color-weiss {
  background: #f8f8f4;
}
.color-monacoblau {
  background: #21354e;
}
.color-grau {
  background: #8a8c8e;
}
.color-schwarz {
  background: #07090a;
}
.color-mattschwarz {
  background: #2b2c2d;
}
.color-blau {
  background: #2f5688;
}
.project-tagline {
  font-size: 11px;
  line-height: 1.75;
  color: var(--secondary);
  margin-top: 8px;
  min-height: 39px;
}
.project-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 19px;
}
.project-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-label {
  font-size: 8px;
  color: var(--muted);
  font-weight: 500;
}
.spec-value {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
}
.project-image-disclosure {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  padding-top: 27px;
  max-width: 750px;
  line-height: 1.8;
}
.project-image-disclosure > span {
  font-size: 15px;
}

/* 5. Über mich. */
.about-section {
  background: #252b28;
  color: #f0f0eb;
  overflow: hidden;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-top: 78px;
  padding-bottom: 79px;
}
.about-title {
  position: relative;
  isolation: isolate;
}
.about-title > .eyebrow {
  color: #a6b19f;
}

.about-portrait {
  width: clamp(190px, 21vw, 240px);
  max-width: 100%;
  margin-top: 30px;
  padding: 3px;
}
.about-portrait img {
  width: 100%;
  height: auto;
  filter: drop-shadow(1.5px 0 0 #f3f4ef) drop-shadow(-1.5px 0 0 #f3f4ef)
    drop-shadow(0 1.5px 0 #f3f4ef) drop-shadow(0 -1.5px 0 #f3f4ef);
}

.about-title h2 {
  font-size: clamp(45px, 5.7vw, 85px);
  line-height: 1.07;
  letter-spacing: -3px;
  margin-top: 29px;
  font-weight: 600;
}

.about-copy {
  padding-top: 46px;
  max-width: 570px;
}
.about-lead {
  font-size: 22px;
  line-height: 1.65;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
.about-lead em {
  color: var(--lime);
  font-style: normal;
}
.about-quote,
.about-quote blockquote,
.about-quote .about-lead {
  margin: 0;
}
.about-quote {
  margin-bottom: 30px;
}
.about-quote figcaption {
  margin-top: 13px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: #b4beb0;
}
.about-copy > p:not(.about-lead) {
  font-size: 12px;
  line-height: 1.95;
  color: #b4beb0;
  margin-top: 14px;
}

/* 6. Kontakt & Footer. */
.contact-section {
  background: var(--lime);
  color: var(--on-lime);
  padding-top: 32px;
  padding-bottom: 29px;
  border-left: var(--gutter) solid var(--paper);
  border-right: var(--gutter) solid var(--paper);
  padding-left: 35px;
  padding-right: 35px;
  margin-bottom: 49px;
}
.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.contact-label {
  font-size: 8px;
  letter-spacing: 1.3px;
  font-weight: 600;
}
.contact-label span {
  font-size: 19px;
  margin-left: 10px;
}
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 30px;
  padding-bottom: 27px;
}
.contact-link h2 {
  font-size: clamp(45px, 5.5vw, 79px);
  line-height: 1.1;
  letter-spacing: -3px;
  font-weight: 600;
}
.contact-link h2 > span {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.contact-arrow {
  font-size: 83px;
  line-height: 1;
  transition: transform 0.3s;
  padding-right: 9px;
}
.contact-link:hover .contact-arrow {
  transform: translate(5px, -5px);
}
.contact-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(33, 44, 22, 0.25);
  padding-top: 16px;
  font-size: 10px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 27px;
  font-size: 8px;
  color: var(--muted);
}
.site-footer > span:nth-child(2) {
  font-size: 7px;
  letter-spacing: 1.5px;
}
.site-footer a {
  font-size: 9px;
}
.site-footer a > span {
  margin-left: 10px;
}

/* 7. Projektansicht — natives Dialogfenster. */
.project-dialog {
  width: min(1060px, calc(100% - 40px));
  max-height: 90dvh;
  border: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  box-shadow: 0 30px 100px #0005;
}
.project-dialog::backdrop {
  background: rgba(15, 20, 16, 0.75);
  backdrop-filter: blur(6px);
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 2;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 25px;
  display: grid;
  place-items: center;
  line-height: 1;
}
.dialog-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.dialog-photo {
  position: relative;
  min-height: 100%;
  background: #29342b;
}
.dialog-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.dialog-photo .project-image-note {
  bottom: 16px;
  left: 16px;
}
.dialog-concept {
  overflow: hidden;
}
.dialog-concept .concept-art {
  min-height: 470px;
  padding: 65px 38px;
}
.dialog-concept .concept-eyebrow {
  font-size: 10px;
}
.dialog-concept .concept-headline {
  margin-top: 18px;
  font-size: clamp(55px, 6.5vw, 84px);
}
.dialog-concept .concept-detail {
  margin-top: 22px;
  font-size: 11px;
}
.dialog-copy {
  padding: 45px 36px 33px;
}
.dialog-copy .eyebrow {
  font-size: 8px;
  padding-right: 25px;
  color: var(--muted);
}
.dialog-title {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-top: 18px;
}
.dialog-description {
  font-size: 12px;
  line-height: 1.9;
  color: var(--secondary);
  margin-top: 17px;
  white-space: pre-line;
}
.project-youtube {
  display: block;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.youtube-preview {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  background: var(--image-placeholder);
}
.youtube-thumbnail {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.youtube-play {
  position: relative;
  display: grid;
  width: 64px;
  height: 48px;
  padding-left: 3px;
  place-items: center;
  border-radius: 12px;
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 3px 20px #0004;
  font-size: 23px;
}
.youtube-caption {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 17px;
}
.youtube-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 3px;
}
.youtube-label {
  color: var(--accent-text);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.youtube-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}
.youtube-hint {
  color: var(--secondary);
  font-size: 9px;
}
.youtube-arrow {
  flex-shrink: 0;
  font-size: 25px;
  line-height: 1;
}
.project-youtube:hover,
.project-youtube:focus-visible {
  border-color: var(--accent-text);
}
.project-youtube:hover .youtube-play,
.project-youtube:focus-visible .youtube-play {
  background: var(--ink);
  color: var(--paper);
}
.detail-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 24px 0;
  border-block: 1px solid var(--line);
  padding: 19px 0;
}
.detail-spec {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.detail-spec dd {
  margin: 0;
}
.steps-heading {
  font-size: 12px;
  margin-bottom: 22px;
}
.build-step {
  display: flex;
  gap: 16px;
  margin-top: 22px;
}
.step-marker {
  width: 27px;
  height: 27px;
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 8px;
  font-weight: 700;
  flex-shrink: 0;
}
.is-current .step-marker {
  background: var(--lime);
  color: var(--on-lime);
}
.contact-section :focus-visible,
.round-link:focus-visible,
.skip-link:focus-visible {
  outline-color: var(--on-lime);
}
.step-state {
  font-size: 8px;
  color: var(--muted);
}
.step-title {
  font-size: 12px;
  line-height: 1.6;
  margin: 3px 0 5px;
}
.step-description {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.step-subpoints {
  margin-top: 9px;
  padding-left: 16px;
  list-style: disc;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.step-subpoints li + li {
  margin-top: 4px;
}

/* 8. Tablet & Smartphone. */

@media (max-width: 1100px) {
  .text-link {
    margin-top: 15px;
    font-size: 10px;
  }
  .brand-name {
    font-size: 9px;
  }
  #main-nav {
    gap: 21px;
  }
  .project-grid {
    column-gap: 20px;
  }
  .project-title {
    font-size: 19px;
  }
  .project-specs {
    gap: 6px;
  }
  .about-inner {
    gap: 50px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 95px;
  }
  .site-header {
    height: 83px;
    padding-block: 19px;
  }
  .brand-mark {
    font-size: 33px;
  }
  .brand-name {
    font-size: 9px;
  }
  .brand-name > span {
    font-size: 7px;
  }
  .site-header {
    gap: 12px;
  }
  .brand {
    gap: 10px;
  }
  .header-controls {
    margin-left: auto;
    gap: 5px;
  }
  .theme-toggle {
    width: 40px;
    min-height: 40px;
    padding: 10px;
  }
  .theme-toggle-text {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: transparent;
    width: 38px;
    height: 38px;
    padding: 6px;
  }
  .menu-toggle span {
    height: 1.5px;
    width: 24px;
    background: var(--ink);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  #main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 22px;
    background: var(--paper);
    box-shadow: 0 15px 20px #242b2210;
  }
  #main-nav.is-open {
    display: flex;
  }
  #main-nav a {
    padding: 12px 0;
    font-size: 13px;
  }
  #main-nav .nav-contact {
    justify-content: space-between;
    padding: 12px 16px;
    margin-top: 8px;
  }

  .text-link {
    font-size: 9px;
    gap: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .projects-section {
    padding-top: 65px;
    padding-bottom: 60px;
  }
  .section-heading {
    gap: 26px;
    align-items: flex-start;
    margin-bottom: 27px;
  }
  .section-heading h2 {
    font-size: 35px;
    letter-spacing: -1.5px;
  }
  .serif-accent {
    letter-spacing: -1.3px;
  }
  .section-description {
    font-size: 10px;
    max-width: 225px;
    margin-top: 29px;
  }
  .project-toolbar {
    padding: 18px 0 23px;
  }
  .project-filters button {
    font-size: 9px;
    padding: 8px 13px;
  }
  .project-count {
    font-size: 8px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 19px;
  }
  .project-image-wrap {
    aspect-ratio: 1.26;
  }
  .project-title {
    font-size: 20px;
  }
  .project-image-note {
    font-size: 7px;
  }
  .project-specs {
    grid-template-columns: 1fr 1fr;
    row-gap: 11px;
  }
  .project-spec:last-child {
    grid-column: 1/-1;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 52px;
  }
  .about-title h2 {
    font-size: 57px;
    margin-top: 23px;
  }

  .about-copy {
    padding-top: 8px;
    max-width: none;
  }
  .about-lead {
    font-size: 20px;
  }

  .contact-section {
    padding: 24px 24px 23px;
    margin-bottom: 29px;
  }
  .contact-label {
    font-size: 7px;
  }
  .contact-label span {
    font-size: 15px;
    margin-left: 6px;
  }
  .contact-top .eyebrow {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
  .contact-link h2 {
    font-size: 45px;
    letter-spacing: -1.8px;
  }
  .contact-arrow {
    font-size: 61px;
    padding-right: 0;
  }
  .contact-bottom {
    font-size: 9px;
  }
  .site-footer {
    flex-wrap: wrap;
    font-size: 8px;
    gap: 13px;
  }
  .site-footer > span:nth-child(2) {
    display: none;
  }
  .project-dialog {
    width: calc(100% - 26px);
    max-height: 92dvh;
  }
  .dialog-layout {
    grid-template-columns: 1fr;
  }
  .dialog-photo {
    height: 250px;
    min-height: 0;
  }
  .dialog-photo img {
    object-position: center 53%;
  }
  .dialog-concept {
    height: auto;
  }
  .dialog-concept .concept-art {
    min-height: 250px;
    padding: 38px 28px;
  }
  .dialog-copy {
    padding: 27px 24px;
  }
  .dialog-title {
    font-size: 31px;
  }
  .dialog-close {
    right: 12px;
    top: 12px;
  }
}
@media (max-width: 480px) {
  .text-link {
    margin-top: 13px;
  }

  .section-heading {
    display: block;
  }
  .section-description {
    max-width: 100%;
    margin-top: 18px;
    font-size: 11px;
  }
  .section-heading h2 {
    font-size: 37px;
  }
  .project-toolbar {
    align-items: flex-start;
    gap: 12px;
  }
  .project-filters {
    gap: 5px;
  }
  .project-filters button {
    padding: 8px 10px;
    font-size: 8px;
  }
  .project-count {
    font-size: 7px;
    letter-spacing: 0.3px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 33px;
  }
  .project-image-wrap {
    aspect-ratio: 1.45;
  }
  .project-title {
    font-size: 24px;
  }
  .project-tagline {
    font-size: 11px;
    min-height: 0;
  }
  .project-specs {
    grid-template-columns: repeat(3, 1fr);
  }
  .project-spec:last-child {
    grid-column: auto;
  }
  .spec-label {
    font-size: 8px;
  }
  .spec-value {
    font-size: 10px;
  }
  .project-meta {
    font-size: 8px;
  }
  .project-image-note {
    font-size: 7px;
  }

  .contact-label {
    display: none;
  }
  .contact-link h2 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }
  .contact-arrow {
    font-size: 49px;
  }
  .contact-bottom {
    flex-direction: column;
    gap: 7px;
  }
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-footer a {
    font-size: 8px;
  }
  .dialog-photo {
    height: 210px;
  }
  .dialog-concept {
    height: auto;
  }
  .dialog-copy {
    padding: 25px 21px;
  }
  .detail-specs {
    gap: 12px;
  }
  .detail-spec .spec-value {
    font-size: 9px;
  }
}
/* 9. Herangehensweise: drei Gedanken statt wiederholtem Lebenslauf. */

.profile-section {
  padding-block: 88px 0;
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.profile-item {
  padding: 30px 28px 32px 0;
  min-width: 0;
}
.profile-item + .profile-item {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.profile-index {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.15px;
  color: var(--accent-text);
}
.profile-item h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 15px 0 14px;
}
.profile-item p {
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.9;
}
@media (max-width: 760px) {
  .profile-section {
    padding-top: 60px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-item,
  .profile-item + .profile-item {
    padding: 25px 0;
    border-left: 0;
  }
  .profile-item + .profile-item {
    border-top: 1px solid var(--line);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
