/* ═══════════════════════════════════
   NW Architektur – Hauptseite
   main.css
═══════════════════════════════════ */

/* ── HERO ── */
header#top {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  padding-top: 68px;
}

.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 3rem 5rem 3rem;
}
.hero-label {
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.7s 0.15s forwards;
}
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 6vw, 6rem);
  line-height: 0.95; font-weight: 400;
  opacity: 0; animation: fadeUp 0.7s 0.28s forwards;
}
h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  margin-top: 2rem; max-width: 400px;
  font-size: 1rem; line-height: 1.75; color: var(--mid);
  opacity: 0; animation: fadeUp 0.7s 0.42s forwards;
}
.hero-btn {
  display: inline-block; margin-top: 2.5rem;
  padding: 0.85rem 2rem;
  background: var(--dark); color: var(--white);
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.08em;
  text-decoration: none; transition: background 0.3s;
  opacity: 0; animation: fadeUp 0.7s 0.55s forwards;
  align-self: flex-start;
}
.hero-btn:hover { background: var(--accent); }

.hero-img-wrap { overflow: hidden; }
.hero-placeholder {
  width: 100%; height: 100%; min-height: 500px;
  background: var(--off);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.8rem; color: var(--light);
  opacity: 0; animation: fadeIn 1s 0.3s forwards;
}
.hero-placeholder span {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--light);
}

/* ── SECTIONS ── */
section {
  padding: 7rem 3rem;
  border-top: 1px solid var(--line);
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400; line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* ── ÜBER MICH ── */
.ueber-grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 4rem; align-items: start;
  margin-top: 2rem;
}
.portrait-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: var(--off);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.8rem; color: var(--light);
}
.portrait-placeholder span {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--light);
}
.ueber-text p {
  font-size: 1rem; line-height: 1.8; color: var(--mid);
  margin-bottom: 1.1rem;
}
.ueber-cv {
  font-size: 0.9rem !important;
  color: var(--light) !important;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 0.5rem;
}
.ueber-tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-top: 2rem;
}
.ueber-tags span {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  font-size: 0.78rem; color: var(--mid);
  letter-spacing: 0.04em;
}

/* ── WERDEGANG ── */
#werdegang { background: var(--off); }

.timeline {
  margin-top: 2.5rem;
  display: flex; flex-direction: column; gap: 0;
}
.timeline-item {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 2rem; padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-year {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--accent); padding-top: 3px;
  white-space: nowrap;
}
.timeline-content strong {
  display: block; font-size: 1rem; font-weight: 500;
  color: var(--dark); margin-bottom: 0.4rem;
}
.timeline-content p {
  font-size: 0.92rem; line-height: 1.7; color: var(--mid);
}

/* ── PROJEKTE ── */
.section-sub {
  font-size: 0.95rem; line-height: 1.75; color: var(--mid);
  max-width: 560px; margin-bottom: 3rem;
}
.projekte-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.projekt-card { display: flex; flex-direction: column; gap: 0.8rem; }
.projekt-img {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; transition: opacity 0.3s;
}
.projekt-card:hover .projekt-img { opacity: 0.85; }
.img-label {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(28,27,25,0.2);
}
.p1 { background: #ddd9d2; }
.p2 { background: #d0ccc4; }
.p3 { background: #c8c3bb; }
.p4 { background: #d6d2cb; }
.p5 { background: #cac6be; }
.p6 { background: #bfbbb3; }

.projekt-info { display: flex; flex-direction: column; gap: 0.2rem; }
.projekt-info strong { font-size: 0.95rem; font-weight: 500; color: var(--dark); }
.projekt-info span { font-size: 0.8rem; color: var(--mid); }

/* ── KONTAKT ── */
.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.kontakt-left p {
  font-size: 1rem; line-height: 1.8; color: var(--mid);
  margin-bottom: 2rem; max-width: 360px;
}
.kontakt-details {
  display: flex; flex-direction: column; gap: 0.7rem;
}
.kontakt-details a, .kontakt-details span {
  font-size: 0.95rem; color: var(--dark); text-decoration: none;
  transition: color 0.25s;
}
.kontakt-details a:hover { color: var(--accent); }

.kontakt-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mid);
}
.form-group input,
.form-group textarea {
  background: transparent;
  border: none; border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem; font-weight: 300;
  color: var(--dark); outline: none;
  transition: border-color 0.25s; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: none; height: 90px; }
.kontakt-form button {
  align-self: flex-start;
  padding: 0.85rem 2rem;
  background: var(--dark); color: var(--white);
  border: none; cursor: pointer;
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.08em;
  transition: background 0.3s;
}
.kontakt-form button:hover { background: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  header#top { grid-template-columns: 1fr; }
  .hero-text { padding: 5rem 1.5rem 3rem; order: 2; }
  .hero-img-wrap { order: 1; }
  .hero-placeholder { min-height: 280px; }

  section { padding: 5rem 1.5rem; }
  .ueber-grid { grid-template-columns: 1fr; gap: 2rem; }
  .portrait-placeholder { aspect-ratio: 4/3; max-width: 320px; }
  .projekte-grid { grid-template-columns: 1fr 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

@media (max-width: 540px) {
  .projekte-grid { grid-template-columns: 1fr; }
}


/* ── COMING SOON OVERLAY ── */
#overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(245,242,238,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
#overlay-card {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 3.5rem;
  max-width: 480px; width: 100%;
  text-align: center;
  box-shadow: 0 8px 40px rgba(28,27,25,0.08);
}
.overlay-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}
#overlay-card h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300; line-height: 1.2;
  color: var(--dark); margin-bottom: 0;
}
.overlay-divider {
  width: 32px; height: 1px;
  background: var(--accent);
  margin: 2rem auto;
}
.overlay-sub {
  font-size: 0.88rem; color: var(--mid);
  margin-bottom: 1.2rem; line-height: 1.6;
}
.overlay-contacts {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.overlay-contacts a {
  font-size: 0.95rem; color: var(--dark); text-decoration: none;
  transition: color 0.25s;
}
.overlay-contacts a:hover { color: var(--accent); }
