:root {
  --ink: #0c1210;
  --ink-2: #111915;
  --cream: #f7f4ee;
  --cream-2: #efe9de;
  --gold: #b79a5e;
  --gold-2: #c9ab6e;
  --muted: #8b857a;
  --line: rgba(183,154,94,0.35);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
em { font-style: italic; color: var(--gold); }

.container { width: min(1120px, 90%); margin: 0 auto; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; background: var(--ink); z-index: 200; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s ease, visibility 0.8s ease; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark { font-family: var(--serif); font-size: 6rem; color: var(--gold); animation: pulse 1.6s ease infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: linear-gradient(rgba(12,18,16,0.85), rgba(12,18,16,0)); transition: background 0.4s ease; }
.header.scrolled { background: rgba(12,18,16,0.92); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; gap: 2.5rem; padding: 1.1rem 0; }
.brand-img { height: 38px; width: auto; background: #fff; padding: 0.25rem 0.4rem; border-radius: 4px; }
.nav { margin-left: auto; }
.nav-links { display: flex; list-style: none; gap: 2.4rem; }
.nav-links a { font-weight: 400; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247,244,238,0.85); position: relative; padding: 0.25rem 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.cta { font-weight: 400; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cream); border: 1px solid var(--gold); padding: 0.65rem 1.5rem; transition: all 0.3s ease; }
.cta:hover { background: var(--gold); color: var(--ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; margin-left: auto; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: var(--cream); margin: 6px 0; transition: all 0.3s ease; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,18,16,0.6) 0%, rgba(12,18,16,0.15) 40%, rgba(12,18,16,0.9) 100%); }
.hero-content { position: relative; z-index: 2; padding: 0 0 6rem; max-width: 820px; }
.hero-kicker { font-weight: 300; font-size: 0.8rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.6rem; opacity: 0; animation: fadeUp 1.2s ease 0.3s forwards; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 8vw, 6.4rem); line-height: 1.02; letter-spacing: -0.01em; opacity: 0; animation: fadeUp 1.2s ease 0.5s forwards; }
.hero-title em { font-style: italic; }
.hero-sub { margin-top: 1.8rem; font-weight: 300; font-size: 1.15rem; color: rgba(247,244,238,0.85); max-width: 520px; opacity: 0; animation: fadeUp 1.2s ease 0.7s forwards; }
.hero-scroll { display: inline-flex; align-items: center; gap: 1rem; margin-top: 3.2rem; font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(247,244,238,0.8); opacity: 0; animation: fadeUp 1.2s ease 0.9s forwards; }
.line-v { display: inline-block; width: 1px; height: 46px; background: var(--gold); position: relative; overflow: hidden; }
.line-v::after { content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: #fff; animation: drip 2.4s ease infinite; }
@keyframes drip { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Statement ---------- */
.statement { padding: 9rem 0; background: var(--cream); }
.statement-inner { max-width: 880px; margin: 0 auto; }
.statement-label { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; }
.statement-text { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 2.4rem; }
.statement-body { color: var(--muted); max-width: 560px; margin-bottom: 3.4rem; }
.statement-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.statement-meta span { display: block; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.statement-meta strong { font-weight: 400; font-size: 1.05rem; }

/* ---------- Kicker ---------- */
.kicker { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }

/* ---------- Angebote ---------- */
.angebote { background: var(--ink); color: var(--cream); padding: 9rem 0; }
.angebote-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; margin-bottom: 5rem; }
.angebote-title em { font-style: italic; }
.ao { display: grid; grid-template-columns: 60px 1fr 380px; gap: 3rem; align-items: center; padding: 3rem 0; border-top: 1px solid rgba(247,244,238,0.14); }
.ao:last-child { border-bottom: 1px solid rgba(247,244,238,0.14); }
.ao-num { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--gold); }
.ao-body h3 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin-bottom: 0.7rem; }
.ao-body p { color: rgba(247,244,238,0.7); font-weight: 300; max-width: 420px; }
.ao-note { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); margin-top: 1.2rem; }
.ao-figure { overflow: hidden; border-radius: 6px; }
.ao-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transform: scale(1.08); will-change: transform; }
.ao-placeholder { min-height: 220px; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid rgba(247,244,238,0.18); border-radius: 6px; padding: 2rem; }
.ao-placeholder span { font-family: var(--serif); font-style: italic; font-size: 1.45rem; color: rgba(247,244,238,0.75); }

/* ---------- Projekt ---------- */
.projekt { padding: 9rem 0; }
.projekt-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 3.5rem; }
.projekt-media { overflow: hidden; border-radius: 8px; }
.projekt-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; transform: scale(1.06); will-change: transform; }
.projekt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; align-items: start; }
.projekt-lead { font-family: var(--serif); font-size: 1.45rem; line-height: 1.5; font-weight: 400; }
.projekt-list { list-style: none; border-top: 1px solid var(--line); }
.projekt-list li { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.projekt-list span { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.projekt-list strong { font-weight: 400; font-size: 1rem; text-align: right; }

/* ---------- Weitere Projekte ---------- */
.projekte { background: var(--cream); padding: 0 0 9rem; }
.projekte-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.pcard { background: var(--cream-2); border: 1px solid var(--line); }
.pcard-media { overflow: hidden; }
.pcard-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s ease; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-body { padding: 2rem; }
.pcard-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; }
.pcard-loc { color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 1.4rem; }
.pcard-tag { display: inline-block; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream); background: var(--gold); padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 0.8rem; }
.pcard-body ul { list-style: none; border-top: 1px solid var(--line); }
.pcard-body li { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.pcard-body span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.pcard-body strong { font-weight: 400; font-size: 0.95rem; text-align: right; }

/* ---------- Quote ---------- */
.quote { background: var(--ink); color: var(--cream); padding: 9rem 0; }
.quote-inner { text-align: center; max-width: 760px; }
.quote blockquote { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.35; }
.quote cite { display: block; margin-top: 2rem; font-style: normal; font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }

/* ---------- Team ---------- */
.team { background: var(--cream-2); padding: 9rem 0; }
.team-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 4rem; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.tm { text-align: center; }
.tm-media { overflow: hidden; border-radius: 50%; max-width: 320px; margin: 0 auto; }
.tm-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.6s ease; }
.tm:hover .tm-media img { transform: scale(1.06); }
.tm figcaption { margin-top: 1.4rem; }
.tm h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; }
.tm span { color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }
.team-values { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 2rem; }
.team-values span { display: block; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.team-values strong { font-weight: 400; font-size: 1.05rem; }

/* ---------- Kontakt ---------- */
.kontakt { padding: 9rem 0; }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.kontakt-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.1; margin-bottom: 1.4rem; }
.kontakt-text { color: var(--muted); margin-bottom: 3rem; }
.kontakt-lines a, .kontakt-lines div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.kontakt-lines span { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.kontakt-lines strong { font-weight: 400; font-size: 1.1rem; }
.kontakt-lines a:hover strong { color: var(--gold); }

.kontakt-form { display: grid; gap: 1.2rem; background: var(--cream-2); border: 1px solid var(--line); padding: 2.6rem; }
.kontakt-form h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin-bottom: 0.5rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.kontakt-form input, .kontakt-form textarea {
  width: 100%; padding: 0.85rem 0.2rem; background: transparent; border: 0; border-bottom: 1px solid rgba(12,18,16,0.3);
  font-family: var(--sans); font-size: 1rem; color: var(--ink); font-weight: 300;
}
.kontakt-form input::placeholder, .kontakt-form textarea::placeholder { color: var(--muted); }
.kontakt-form input:focus, .kontakt-form textarea:focus { outline: none; border-bottom-color: var(--gold); }
.btn { background: var(--ink); color: var(--cream); border: 0; padding: 1rem 2.2rem; font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; transition: background 0.3s ease; justify-self: start; }
.btn:hover { background: var(--gold); color: var(--ink); }
.form-status { font-size: 0.9rem; }
.form-status.ok { color: #1d6b35; }
.form-status.err { color: #a12c1e; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted); padding: 3rem 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer-img { height: 36px; width: auto; background: #fff; padding: 0.25rem 0.4rem; border-radius: 4px; }
.footer p { font-size: 0.85rem; font-weight: 300; letter-spacing: 0.04em; }

/* ---------- Album Lightbox ---------- */
.album {
  position: fixed; inset: 0;
  background: rgba(12,18,16,0.97);
  display: none;
  align-items: center; justify-content: center;
  z-index: 300;
  padding: 2rem;
}
.album.open { display: flex; }
.album-stage { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.album-stage img { max-width: 88vw; max-height: 66vh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.65); }
.album-cap { color: rgba(247,244,238,0.85); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.album-close {
  position: absolute; top: 1.4rem; right: 1.8rem;
  background: none; border: 0; color: var(--cream);
  font-size: 2.6rem; cursor: pointer; line-height: 1; z-index: 2;
}
.album-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid rgba(247,244,238,0.35); color: var(--cream);
  width: 54px; height: 54px; border-radius: 50%;
  font-size: 1.9rem; line-height: 1; cursor: pointer; z-index: 2;
  transition: all 0.3s ease;
}
.album-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.album-prev { left: 1.4rem; }
.album-next { right: 1.4rem; }
.album-thumbs {
  position: absolute; bottom: 1.6rem; left: 0; right: 0;
  display: flex; gap: 0.55rem; justify-content: center;
  overflow-x: auto; padding: 0.5rem 1rem;
}
.album-thumbs img {
  width: 68px; height: 50px; object-fit: cover; border-radius: 4px;
  opacity: 0.55; cursor: pointer; border: 2px solid transparent;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}
.album-thumbs img.active { opacity: 1; border-color: var(--gold); }

/* ---------- Clickable media ---------- */
.projekt-media, .pcard-media { position: relative; cursor: pointer; }
.projekt-media::after, .pcard-media::after {
  content: 'Alle Fotos ansehen ›';
  position: absolute; inset: auto 0 0 0;
  padding: 2.6rem 1rem 1.2rem;
  background: linear-gradient(transparent, rgba(12,18,16,0.88));
  color: var(--cream); text-align: center;
  font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.projekt-media:hover::after, .pcard-media:hover::after { opacity: 1; }

/* ---------- Reveal ---------- */
.reveal-up { opacity: 0; transform: translateY(34px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal-up.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ao { grid-template-columns: 40px 1fr; gap: 1.5rem; }
  .ao-figure { grid-column: 1 / -1; }
  .statement-meta, .team-values { grid-template-columns: 1fr; gap: 1.6rem; }
  .projekt-grid, .kontakt-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .projekt-media img { aspect-ratio: 16 / 10; }
  .projekte-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .team-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { margin-left: auto; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(12,18,16,0.97); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 1rem 1.4rem; border-top: 1px solid rgba(247,244,238,0.12); }
  .cta { display: none; }
  .row { grid-template-columns: 1fr; }
  .album-prev { left: 0.6rem; }
  .album-next { right: 0.6rem; }
  .album-stage img { max-width: 94vw; }
  .album-thumbs { justify-content: flex-start; }
}
