/* ============================================
   MP BUILDING INTELLIGENCE – Structural Silence
   Design System v2.0 — 10.03.2026
   Font: Outfit 250 | Palette: Charcoal + Copper
   ============================================ */

/* Outfit Variable Font – lokal gehostet (DSGVO-konform, kein Drittland-Transfer) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/outfit-latin-wght-normal.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: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('fonts/outfit-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-0303,U+0305-0307,U+0309-0329,U+1D00-1EC9,U+1ECC-1EE3,U+2008-200F,U+2011,U+2018-2019,U+201C-201D,U+2039-203A,U+2044,U+2060,U+20B1,U+2113,U+2120,U+2190,U+2194-2199,U+21A9-21AA,U+2200,U+2202,U+2206,U+220F,U+2211,U+221A,U+221E,U+222B,U+2248,U+2260,U+2264-2265,U+25CA,U+2713,U+274C,U+2B0E-2B11,U+EE01-EE02,U+F8FF,U+FB01-FB02;
}

:root {
  --deep-charcoal: #1A1A1A;
  --soft-charcoal: #2A2A2A;
  --copper: #C49A6C;
  --copper-light: #D4B08C;
  --copper-dark: #A07A4C;
  --white: #FFFFFF;
  --warm-sand: #F5F0EB;
  --mid-grey: #888888;
  --font: 'Outfit', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  font-weight: 250;
  color: var(--deep-charcoal);
  background: var(--warm-sand);
  line-height: 1.85;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ---- Typography – Structural Silence ---- */
h1, h2, h3 {
  font-family: var(--font);
  font-weight: 250;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1.35;
}

h1 { font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: 6px; }
h2 { font-size: clamp(1.2rem, 2.2vw, 1.8rem); letter-spacing: 5px; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.8rem); letter-spacing: 4px; }

p {
  font-size: 18px;
  font-weight: 250;
  max-width: 680px;
  line-height: 1.85;
}

/* Labels / Taglines – Bauplan-Notation */
.label {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--copper);
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 140px 0; }

.section--dark {
  background: var(--deep-charcoal);
  color: var(--white);
}

.section--soft {
  background: var(--soft-charcoal);
  color: var(--white);
}

.section--light {
  background: var(--warm-sand);
  color: var(--deep-charcoal);
}

.section--white {
  background: var(--white);
  color: var(--deep-charcoal);
}

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }

/* ---- Copper Divider (Grundstrich-Referenz) ---- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--copper);
  margin: 0 auto;
}

/* ---- Buttons – Minimal, architektonisch ---- */
.btn {
  display: inline-block;
  padding: 14px 44px;
  background: transparent;
  color: var(--copper);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid var(--copper);
  border-radius: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--copper);
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.btn:hover {
  color: var(--white);
  letter-spacing: 4px;
}

.btn:hover::after {
  height: 100%;
}

.btn--filled {
  background: var(--copper);
  color: var(--white);
}

.btn--filled:hover {
  background: var(--copper-light);
  border-color: var(--copper-light);
}

/* On dark backgrounds */
.section--dark .btn,
.hero .btn {
  color: var(--copper);
  border-color: var(--copper);
}

.section--dark .btn:hover,
.hero .btn:hover {
  background: var(--copper);
  color: var(--deep-charcoal);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 154, 108, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  transition: opacity 0.3s ease;
}

.nav__brand:hover { opacity: 0.8; }

.nav__brand svg {
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.nav__brand:hover svg {
  transform: scale(1.06);
}

.nav__brand-text {
  font-family: var(--font);
  font-weight: 250;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.2;
}

.nav__brand-tagline {
  font-family: var(--font);
  font-size: 8px;
  font-weight: 250;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font);
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  white-space: nowrap;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__phone {
  color: var(--copper) !important;
}

.nav__lang {
  border: 1px solid var(--copper);
  border-radius: 4px;
  padding: 2px 10px !important;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--copper) !important;
  transition: background 0.2s, color 0.2s;
}
.nav__lang:hover {
  background: var(--copper);
  color: var(--deep-charcoal) !important;
}

.nav__toggle {
  display: none;
  background: none;
  color: var(--white);
  font-size: 1.4rem;
  padding: 8px;
}

/* ---- Hero – Monumental Silence ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--deep-charcoal);
  padding-top: 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--copper) 20%, var(--copper) 80%, transparent 100%);
  opacity: 0.2;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  min-height: calc(92vh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 32px;
}

.hero p {
  color: rgba(255, 255, 255, 0.70);
  font-size: 18px;
  margin-bottom: 48px;
  line-height: 1.9;
}

/* ---- Hero Tech – Bild-Hero (Technologie) ---- */
.hero--tech {
  min-height: 88vh;
  align-items: flex-end;
  padding-bottom: 100px;
  background-color: #1A1A1A;
  background-size: cover;
  background-position: center 75%;
  background-repeat: no-repeat;
}

.hero--tech::before {
  content: none;
}

.hero--tech::after {
  content: none;
}

.hero--tech .hero__content {
  min-height: auto;
  justify-content: flex-end;
  z-index: 1;
  max-width: 640px;
}

.hero--tech h1 {
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  letter-spacing: 5px;
  margin-bottom: 24px;
}

.hero--tech p {
  color: rgba(255, 255, 255, 0.70);
  font-size: 18px;
  line-height: 1.95;
  margin-bottom: 0;
}

.hero--tech .label {
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 6px;
  opacity: 0.85;
}

/* ---- Grid Layouts ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  align-items: start;
}

/* ---- Cards – Raum als Material ---- */
.card {
  text-align: center;
  padding: 56px 32px 48px;
  border: 1px solid rgba(196, 154, 108, 0.12);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card .btn { margin-top: auto; }

.card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover {
  border-color: rgba(196, 154, 108, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.card:hover::before {
  width: 60%;
}

.card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 40px;
  opacity: 0.75;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover .card__icon {
  opacity: 1;
  transform: scale(1.12);
}

.card h3 {
  margin-bottom: 20px;
  transition: color 0.4s ease;
}

.card:hover h3 {
  color: var(--copper-dark);
}

.card p {
  margin: 0 auto 28px;
  font-size: 18px;
  color: inherit;
  opacity: 0.65;
  transition: opacity 0.4s ease;
}

.card:hover p {
  opacity: 0.85;
}

.section--dark .card p { color: rgba(255, 255, 255, 0.65); }
.section--dark .card:hover p { color: rgba(255, 255, 255, 0.75); }
.section--dark .card:hover h3 { color: var(--copper); }
.section--dark .card:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }

/* ---- Stats – Architektonische Kennzahlen ---- */
.stat {
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat:hover {
  transform: translateY(-6px);
}

.stat__line {
  width: 1px;
  height: 48px;
  background: var(--copper);
  margin: 0 auto 24px;
  opacity: 0.4;
  transition: all 0.5s ease;
}

.stat:hover .stat__line {
  height: 64px;
  opacity: 0.8;
}

.stat__number {
  font-family: var(--font);
  font-size: 2.4rem;
  color: var(--copper);
  margin-bottom: 16px;
  font-weight: 200;
  text-transform: none;
  letter-spacing: 2px;
  transition: all 0.4s ease;
}

.stat:hover .stat__number {
  color: var(--copper-light);
  letter-spacing: 4px;
}

.stat p {
  margin: 0 auto;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
  transition: color 0.4s ease;
}

.stat:hover p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Feature Block ---- */
.feature-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.feature-block__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 32px;
}

.feature-block h2 { margin-bottom: 24px; }
.feature-block p { margin: 0 auto 16px; }

.feature-block__note {
  font-size: 18px;
  font-style: italic;
  color: var(--mid-grey);
  margin-top: 24px;
  max-width: 520px;
}

/* ---- Leistungen (Subgrid: Zeilen teilen sich über Nachbar-Cards) ---- */
.leistung {
  display: grid;
  grid-template-columns: 66px 1fr;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 4px 24px;
  padding: 24px;
  margin: 0;
  transition: all 0.4s ease;
  border-left: 2px solid transparent;
  overflow: hidden;
}

.leistung > .leistung__icon {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
}

.leistung > h3 { grid-column: 2; }
.leistung > p { grid-column: 2; margin: 0; }
.leistung > .leistung__highlight { grid-column: 2; }

.leistung:hover {
  background: rgba(196, 154, 108, 0.03);
  border-left-color: var(--copper);
}

.leistung__icon {
  width: 66px;
  height: 66px;
  margin-top: 4px;
  opacity: 0.5;
  transition: all 0.4s ease;
}

.leistung:hover .leistung__icon {
  opacity: 1;
  transform: scale(1.1);
}

.leistung h3 {
  margin-bottom: 12px;
  letter-spacing: 2.5px;
  transition: color 0.4s ease;
}

.leistung:hover h3 { color: var(--copper-dark); }
.section--dark .leistung:hover h3 { color: var(--copper); }

.leistung p { font-size: 18px; max-width: none; }

.leistung__highlight {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(196, 154, 108, 0.05);
  border-left: 1px solid var(--copper);
  font-size: 18px;
  transition: all 0.4s ease;
}

.leistung:hover .leistung__highlight {
  background: rgba(196, 154, 108, 0.1);
  border-left-width: 2px;
}

.leistung__highlight strong { color: var(--copper-dark); }

/* ---- Über Mich – Split Hero ---- */
.hero--split {
  min-height: auto;
  padding: 72px 0 0;
  background: var(--deep-charcoal);
}

.hero--split .grid-2 {
  align-items: center;
  min-height: 70vh;
  padding: 60px 0;
}

.hero--split h1 { color: var(--white); margin-bottom: 28px; }
.hero--split p { color: rgba(255, 255, 255, 0.70); font-size: 18px; }

.portrait {
  width: 100%;
  max-width: 400px;
  border-radius: 0;
  margin-left: auto;
  filter: grayscale(100%);
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--soft-charcoal);
}

/* ---- Erfahrung Grid ---- */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.exp-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 4px 20px;
  padding: 20px;
  margin: 0;
  transition: all 0.4s ease;
}

.exp-card > .exp-card__icon {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
}

.exp-card > h3 { grid-column: 2; }
.exp-card > p { grid-column: 2; margin: 0; }

.exp-card:hover {
  background: rgba(196, 154, 108, 0.04);
}

.exp-card__icon {
  width: 66px;
  height: 66px;
  opacity: 0.5;
  transition: all 0.4s ease;
}

.exp-card:hover .exp-card__icon {
  opacity: 1;
  transform: scale(1.1);
}

.exp-card h3 {
  color: var(--copper);
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  letter-spacing: 3px;
  transition: letter-spacing 0.4s ease;
}

.exp-card:hover h3 {
  letter-spacing: 3px;
}

.exp-card p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: none;
  transition: color 0.4s ease;
}

.exp-card:hover p {
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Kontakt ---- */
.contact {
  background: var(--warm-sand);
  padding: 140px 0;
}

.contact .grid-2 {
  gap: 80px;
  align-items: start;
}

.contact h2 {
  color: var(--deep-charcoal);
  margin-bottom: 24px;
}

.contact > .container > .grid-2 > div:first-child p {
  color: #777;
  margin-bottom: 16px;
}

.contact__info { margin-top: 36px; }

.contact__info a {
  display: inline-block;
  font-size: 15px;
  color: var(--copper-dark);
  margin-bottom: 10px;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  position: relative;
}

.contact__info a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact__info a:hover {
  color: var(--copper);
  letter-spacing: 1.5px;
}

.contact__info a:hover::after {
  width: 100%;
}

/* ---- Form – Reduktion ---- */
.form { display: flex; flex-direction: column; gap: 16px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 250;
  color: var(--deep-charcoal);
  transition: all 0.4s ease;
  letter-spacing: 0.5px;
}

.form input:hover,
.form select:hover,
.form textarea:hover {
  border-color: rgba(196, 154, 108, 0.4);
  background: rgba(245, 240, 235, 0.5);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(196, 154, 108, 0.08);
}

.form textarea { min-height: 120px; resize: vertical; }

.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

/* ---- Section intro ---- */
.section__intro { margin-bottom: 80px; }
.section__intro h2 { margin-bottom: 24px; }
.section__intro p { margin: 0 auto 12px; font-size: 18px; }

/* ---- Footer ---- */
.footer {
  background: var(--deep-charcoal);
  padding: 48px 0;
  border-top: 1px solid rgba(196, 154, 108, 0.1);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__brand-text {
  font-family: var(--font);
  font-weight: 250;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.footer__links a {
  font-size: 10px;
  font-weight: 250;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.4s;
}

.footer__links a:hover { color: var(--copper); }

.footer__copy {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 1px;
}

.footer__links a {
  position: relative;
}

.footer__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.3s ease;
}

.footer__links a:hover::after {
  width: 100%;
}

/* ---- Portrait Hover ---- */
.portrait {
  transition: filter 0.6s ease;
}

.portrait:hover {
  filter: grayscale(40%);
}

/* ---- Scroll Reveal Animation ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__content {
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.hero .label {
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

/* ---- Divider Hover ---- */
.divider {
  transition: width 0.5s ease;
}

.divider:hover {
  width: 120px;
}

/* ---- Parallax Background ---- */
.parallax-bg {
  background-attachment: fixed;
}

/* iOS / mobile: fixed attachment wird nicht unterstützt → Fallback */
@supports (-webkit-touch-callout: none) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(26, 26, 26, 0.98);
    padding: 28px;
    gap: 18px;
    border-bottom: 1px solid rgba(196, 154, 108, 0.08);
  }
  .nav__toggle { display: block; }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: 1fr; gap: 48px; }
  .exp-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; }
  .hero__content { min-height: 65vh; }
  .section { padding: 100px 0; }
  .contact { padding: 100px 0; }
  .footer__inner { flex-direction: column; gap: 24px; text-align: center; }
}

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
  .nav__brand-text { font-size: 10px; letter-spacing: 2px; }
  .nav__brand-tagline { display: none; }
  h1 { font-size: 1.3rem; letter-spacing: 3px; }
  .hero { min-height: 65vh; }
  .hero--tech { min-height: 70vh; padding-bottom: 60px; background-position: center 0%; }
  .card { padding: 36px 20px 32px; }
  .card__icon { width: 60px; height: 60px; margin-bottom: 28px; }
}
