/* =============================================
   CLAUDIA LEE HOECKLE — Architektin & Sachverständige
   Design: Clean Minimalism
   Font: Inter
   ============================================= */

:root {
  --ink:       #1a1a1a;
  --ink-light: #555555;
  --stone:     #999999;
  --rule:      #e0e0e0;
  --cream:     #f5f5f5;
  --white:     #ffffff;
  --accent:    #2a2a2a;
  --accent-hover: #3a3a3a;

  --font-display: 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-w: 1160px;
  --nav-h: 68px;
  --radius: 0px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
ul { list-style: none; }

/* ---- NAV ---- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s var(--ease);
}
#nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid var(--rule);
  background: var(--white);
}
.nav-mobile.open { display: flex; }
.mobile-link {
  padding: 0.7rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  border-bottom: 1px solid var(--rule);
}
.mobile-link:last-child { border-bottom: none; }

/* ---- HERO ---- */
#hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 4rem;
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  padding-bottom: 3rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.5rem;
}
.hero-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-name em {
  font-style: normal;
  font-weight: 300;
}
.hero-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 1.5rem;
}
.hero-statement {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-light);
  margin-bottom: 2.5rem;
}
.hero-cta-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  transition: background 0.25s, transform 0.2s;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color 0.25s, background 0.25s;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--cream); }
.btn-full { width: 100%; text-align: center; }
.hero-rule {
  height: 1px;
  background: var(--rule);
  margin-bottom: 1.5rem;
}
.hero-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--stone);
}
.dot { opacity: 0.4; }

/* ---- SECTIONS SHARED ---- */
section:not(#hero) {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 3.5rem;
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
}

/* ---- LEISTUNGEN ---- */
#leistungen { background: var(--cream); }
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--rule);
  border: 1.5px solid var(--rule);
}
.leistung-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.25s var(--ease);
}
.leistung-card:hover { background: var(--cream); }
.leistung-card[data-num]::before {
  content: attr(data-num);
  position: absolute;
  top: 1.8rem; right: 1.8rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--rule);
}
.leistung-icon {
  width: 40px;
  height: 40px;
  color: var(--ink-light);
  margin-bottom: 1.4rem;
}
.leistung-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--ink);
}
.leistung-card p {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.leistung-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.leistung-card ul li {
  font-size: 0.8rem;
  color: var(--stone);
  padding-left: 1rem;
  position: relative;
}
.leistung-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rule);
}

/* ---- ÜBER MICH ---- */
#ueber { background: var(--white); }
.ueber-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.ueber-left {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.ueber-left .section-title {
  margin-top: 1rem;
  margin-bottom: 2rem;
}
.ueber-deko-line {
  width: 40px;
  height: 1px;
  background: var(--ink);
}
.ueber-lead {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.ueber-right p {
  color: var(--ink-light);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}
.ueber-facts {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--rule);
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.fact-num {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.fact-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---- KONTAKT ---- */
#kontakt { background: var(--cream); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
}
.kontakt-block {
  margin-bottom: 2rem;
}
.kontakt-block h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.6rem;
}
.kontakt-block p,
.kontakt-block address {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.7;
}
.kontakt-block a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s;
}
.kontakt-block a:hover { border-color: var(--ink); }

/* FORM */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  background: var(--white);
}
.form-field textarea { resize: vertical; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8a84' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-success {
  display: none;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 2rem;
  text-align: center;
  color: var(--ink-light);
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ---- FOOTER ---- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.5);
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.8rem;
  line-height: 1.6;
}
.footer-right {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.78rem;
}
.footer-right a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-right a:hover { color: rgba(255,255,255,0.9); }
.footer-copy {
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: 0.72rem;
  text-align: center;
}

/* ---- MODALS ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,24,0.7);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.modal-overlay:target { display: flex; }
.modal-box {
  background: var(--white);
  max-width: 600px;
  width: 100%;
  padding: 3rem;
  border-radius: var(--radius);
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}
.modal-box h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--ink);
}
.modal-box p, .modal-box address {
  font-size: 0.9rem;
  color: var(--ink-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}
.modal-box strong { color: var(--ink); }
.modal-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--stone);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 4px;
}
.modal-close:hover { color: var(--ink); }

/* ---- ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .leistungen-grid { grid-template-columns: 1fr 1fr; }
  .ueber-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ueber-left { position: static; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  #hero { padding-top: calc(var(--nav-h) + 3rem); }
  .leistungen-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ueber-facts { flex-wrap: wrap; gap: 1.5rem; }
  .hero-meta { flex-wrap: wrap; gap: 0.4rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .kontakt-form { padding: 1.5rem; }
}
