/* ============================================================
   Hecht Engineering Projects – Gemeinsames Stylesheet
   ============================================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --card:    #1a1a1a;
  --border:  #2a2a2a;
  --gold:    #c8a860;
  --white:   #ffffff;
  --muted:   #aaaaaa;
  --font:    'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
}

.nav-logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-content h1 strong { font-weight: 700; }

.hero-content p {
  font-size: 1.05rem;
  color: #cccccc;
  max-width: 640px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-block;
  padding: 13px 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn:hover { background: var(--gold); color: var(--black); }

/* ── Sections ── */
section { padding: 96px 48px; }

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 64px;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}

/* ── Kernkompetenzen ── */
.kompetenzen {
  background: var(--dark);
  display: flex;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.kompetenzen-photo {
  width: 280px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.kompetenzen-list {
  flex: 1;
}

.kompetenzen-list h2 {
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.kompetenzen-list h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 12px;
}

.kompetenzen-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin-bottom: 36px;
}

.kompetenzen-list li {
  font-size: 0.95rem;
  color: #cccccc;
  padding-left: 16px;
  border-left: 2px solid var(--gold);
}

/* ── Quote Banner ── */
.quote-banner {
  position: relative;
  padding: 80px 48px;
  text-align: center;
  overflow: hidden;
}

.quote-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.2);
}

.quote-banner blockquote {
  position: relative;
  z-index: 1;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  font-weight: 300;
  color: #dddddd;
  max-width: 800px;
  margin: 0 auto;
}

.quote-banner cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Career Timeline ── */
.career-intro {
  max-width: 800px;
  margin: 0 auto 64px;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

.career-item {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.career-item.reverse { direction: rtl; }
.career-item.reverse > * { direction: ltr; }

.career-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--border);
}

.career-text {}

.career-period {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.career-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

.career-text ul {
  list-style: none;
  padding: 0;
}

.career-text ul li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 5px 0 5px 16px;
  border-left: 1px solid var(--border);
  margin-bottom: 4px;
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  left: 24px;
  line-height: 1;
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
}

.testimonial-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
}

/* ── Impressum ── */
.impressum-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.impressum-block h3 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.impressum-block p,
.impressum-block address {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: normal;
  line-height: 2;
}

.impressum-block a { color: var(--white); border-bottom: 1px solid var(--border); }
.impressum-block a:hover { border-color: var(--gold); color: var(--gold); }

.impressum-img {
  max-width: 900px;
  margin: 0 auto 64px;
  height: 320px;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--border);
}

/* ── Footer ── */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-contact { font-size: 0.85rem; color: var(--muted); }
.footer-contact a { color: var(--muted); }
.footer-contact a:hover { color: var(--white); }
.footer-copy { font-size: 0.8rem; color: #555; }

/* ── Back to top ── */
.back-top {
  display: block;
  text-align: center;
  padding: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
.back-top:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11px; }
  section { padding: 64px 20px; }
  .kompetenzen { flex-direction: column; }
  .kompetenzen-photo { width: 200px; }
  .kompetenzen-list ul { grid-template-columns: 1fr; }
  .career-item, .career-item.reverse { grid-template-columns: 1fr; direction: ltr; }
  .impressum-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
}
