/* Bunk Gruppe — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

:root {
  --gold: #9a8555;
  --gold-soft: #786333;
  --ink: #253539;
  --ink-2: #1c2a2d;
  --ink-3: #142428;
  --paper: #f5f3ec;
  --body-text: #444444;
  --line: rgba(154, 133, 85, 0.28);
  --text-mute: rgba(255, 255, 255, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: "Lato", system-ui, sans-serif;
  font-weight: 400;
  background: var(--ink);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

.bg-photo {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(60, 90, 95, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(20, 36, 40, 0.6) 0%, transparent 60%),
    linear-gradient(180deg, #253539 0%, #142428 100%);
}
.bg-photo::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(180deg, transparent 0 80px, rgba(255,255,255,0.015) 80px 81px),
    repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,0.012) 60px 61px);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%);
}
.bg-photo::after {
  content: 'PLATZHALTER · GEBÄUDEFOTO';
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  font-size: 10px; letter-spacing: 0.2em; color: rgba(255,255,255,0.18);
  font-family: ui-monospace, monospace;
}

/* Top nav */
.topnav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 56px;
  background: rgba(20, 36, 40, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topnav .brand {
  display: flex; align-items: center; gap: 10px;
}
.topnav .brand-mark {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  color: var(--gold);
  font-weight: 800; letter-spacing: 0.02em;
  background: rgba(0,0,0,0.15);
}
.topnav .brand-mark .mark-name { font-size: 22px; line-height: 1; }
.topnav .brand-mark .mark-tag {
  font-size: 8px; letter-spacing: 0.18em;
  font-weight: 400; font-style: italic;
  margin-top: 4px; opacity: 0.85;
}
.topnav nav {
  display: flex; align-items: center; gap: 36px;
  font-size: 16px; font-weight: 400;
  color: rgba(255,255,255,0.92);
}
.topnav nav a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 0;
  transition: color 120ms ease;
  white-space: nowrap;
}
.topnav nav a:hover { color: var(--gold); }
.topnav nav .lock {
  width: 14px; height: 14px;
  display: inline-block;
}

/* Home pill */
.home-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px;
  border: 1.5px solid var(--gold-soft);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}
.home-pill:hover { background: var(--gold); color: var(--ink); }
.home-pill svg { width: 16px; height: 16px; }

/* Floating right-side action stack */
.float-actions {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px; z-index: 20;
}
.float-actions a {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-soft); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 150ms ease;
}
.float-actions a:hover { transform: scale(1.08); }
.float-actions svg { width: 18px; height: 18px; }

/* Hero */
.hero {
  min-height: calc(100vh - 128px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 56px 120px;
  text-align: center;
}
.hero-headline {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: var(--gold);
  font-size: clamp(72px, 13vw, 220px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Watermark */
.watermark {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.watermark-inner {
  transform: rotate(-28deg);
  white-space: nowrap;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 92px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(154, 133, 85, 0.18);
  text-shadow: 0 0 1px rgba(0,0,0,0.12);
  line-height: 1.6;
  user-select: none;
}
.watermark-inner span {
  display: block;
  text-align: center;
}
.watermark-inner span:nth-child(even) { color: rgba(255,255,255,0.10); }

@media print {
  .watermark { position: fixed; }
  .watermark-inner { color: rgba(154, 133, 85, 0.32); }
  .watermark-inner span:nth-child(even) { color: rgba(0,0,0,0.18); }
}

/* Footer line */
.footnote {
  position: fixed; left: 56px; bottom: 24px;
  font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  font-family: ui-monospace, monospace;
  z-index: 5;
}

/* Shared site footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 56px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}
.site-footer a { color: var(--gold); }
.site-footer a + a { margin-left: 22px; }

/* Responsive nav */
@media (max-width: 900px) {
  .topnav { padding: 20px 24px; flex-wrap: wrap; gap: 12px; }
  .topnav nav { gap: 20px; font-size: 14px; flex-wrap: wrap; }
  .hero { padding: 40px 24px 80px; }
  .site-footer { flex-direction: column; gap: 10px; text-align: center; padding: 20px 24px; }
  .footnote { left: 24px; }
}
@media (max-width: 480px) {
  .topnav { padding: 16px; }
  .topnav .brand-mark { width: 56px; height: 56px; }
  .topnav .brand-mark .mark-name { font-size: 17px; }
  .topnav nav { display: none; }
  .home-pill { padding: 8px 16px; font-size: 13px; }
}

/* ─── Shared placeholder style ─── */
.placeholder {
  display: inline-block; padding: 1px 8px;
  background: rgba(154,133,85,0.12);
  border: 1px dashed var(--line);
  color: var(--gold);
  font-family: ui-monospace, monospace; font-size: 14px;
  border-radius: 3px;
}

/* ─── Smooth scrolling ─── */
html { scroll-behavior: smooth; }

/* ─── 4.0 full-width service sections ─── */
.svc-section {
  padding: 100px 56px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.svc-section-inner {
  max-width: 900px;
  margin: 0 auto;
}
.svc-num {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 14px;
}
.svc-section h2 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.svc-body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  max-width: 720px;
}

/* ─── Team section ─── */
.team-section {
  padding: 100px 56px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.team-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.team-inner > h2 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 56px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(154,133,85,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mute);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: ui-monospace, monospace;
}
.team-name {
  font-weight: 700;
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.03em;
}
.team-role {
  font-weight: 300;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  font-style: italic;
}

/* ─── Back button (ajb-gmbh) ─── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 32px 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity 120ms ease;
}
.back-btn:hover { opacity: 0.75; }
.back-btn svg { width: 16px; height: 16px; }

/* ─── Impressum page ─── */
.impressum-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 40px 120px;
}
.impressum-page > h1 {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 56px;
}
.impressum-block {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.impressum-block p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
}
.i-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

/* ─── Responsive additions ─── */
@media (max-width: 900px) {
  .svc-section, .team-section { padding: 64px 24px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .impressum-page { padding: 16px 24px 80px; }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}
