/* ============================================================
   AMPAND — Shared Styles
   Alle Seiten laden diese Datei.
   ============================================================ */

/* ── SELF-HOSTED FONTS (DSGVO-konform) ──
   Dateien liegen im Ordner /fonts/ neben dieser CSS-Datei.
   Download-Anleitung: siehe SETUP.md
   ──────────────────────────────────────── */
@font-face {
  font-family: 'CormorantGaramond';
  src: url('fonts/CormorantGaramond-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'CormorantGaramond';
  src: url('fonts/CormorantGaramond-LightItalic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'CormorantGaramond';
  src: url('fonts/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'CormorantGaramond';
  src: url('fonts/CormorantGaramond-Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DMSans';
  src: url('fonts/DMSans-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DMSans';
  src: url('fonts/DMSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DMSans';
  src: url('fonts/DMSans-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ── TOKENS ── */
:root {
  --black:      #0e0e0d;
  --off-black:  #1a1916;
  --dark:       #252420;
  --mid:        #6b6a66;
  --light-mid:  #9e9d99;
  --light:      #d4d3ce;
  --off-white:  #f2f0ea;
  --white:      #faf9f6;
  --accent:     #b8a882;
  --accent-dark:#8a7a5e;
  --font-display: 'CormorantGaramond', Georgia, serif;
  --font-body:    'DMSans', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(14,14,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.nav-logo-icon {
  height: 48px !important;
  width: 48px !important;
  max-height: 48px !important;
  max-width: 48px !important;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-logo-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--white);
  line-height: 1;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding-left: 0.05em;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.4); text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 400;
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 0.5rem 1.25rem; border-radius: 2px;
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta:hover { background: var(--accent) !important; color: var(--black) !important; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent); color: var(--black);
  border: none; padding: 0.9rem 2rem;
  font-family: var(--font-body); font-size: 0.8rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; cursor: pointer;
  transition: background 0.25s, transform 0.2s; display: inline-block;
}
.btn-primary:hover { background: #c9b896; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--light-mid);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.9rem 2rem; font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px; cursor: pointer;
  transition: border-color 0.25s, color 0.25s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ── TYPOGRAPHY HELPERS ── */
.eyebrow {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before {
  content: ''; display: block; width: 1.5rem; height: 1px; background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300; line-height: 1.2; color: var(--white); margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-intro {
  font-size: 0.92rem; color: rgba(255,255,255,0.42);
  max-width: 52ch; line-height: 1.85;
}

/* ── LAYOUT ── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 3rem; }
section { padding: 7rem 0; }

/* ── PHOTO PLACEHOLDER ── */
.photo-suggestion {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
}
.photo-icon { opacity: 0.07; }
.img-cell-label {
  position: absolute; bottom: 1rem; left: 1rem;
  font-size: 0.62rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.18);
}

/* ── TAGS ── */
.tag {
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-dark); border: 1px solid rgba(184,168,130,0.25);
  padding: 0.2rem 0.6rem; border-radius: 2px;
}

/* ── FOOTER ── */
footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 300;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.28); text-decoration: none;
}
.footer-legal { font-size: 0.72rem; color: rgba(255,255,255,0.18); }
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); text-decoration: none; transition: color 0.25s;
}
.footer-links a:hover { color: rgba(255,255,255,0.5); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0.75rem 1.5rem; }
  .nav-links { display: none; }
  .container { padding: 0 1.5rem; }
  section { padding: 5rem 0; }
  footer { padding: 2.5rem 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ── PROJECT NAV (Zurück / Nächstes) ── */
.project-nav { border-top:2px solid rgba(255,255,255,0.08); background:#111110; }
.project-nav-inner {
  max-width:1240px; margin:0 auto; padding:2.5rem 3rem;
  display:flex; justify-content:space-between; align-items:center; gap:3rem;
}
.proj-nav-link { text-decoration:none; display:flex; flex-direction:column; gap:0.4rem; }
.proj-nav-dir { font-size:0.6rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--accent); }
.proj-nav-name { font-size:1rem; font-weight:400; color:rgba(255,255,255,0.82); transition:color 0.25s; }
.proj-nav-link:hover .proj-nav-name { color:var(--white); }
.proj-nav-divider { width:1px; height:2rem; background:rgba(255,255,255,0.1); flex-shrink:0; }

/* ── PAGE TOP SPACING (alle Seiten mit fixed nav) ── */
.page-top { padding-top: 80px; }

/* ── HAMBURGER MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 200;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(14,14,13,0.97);
  backdrop-filter: blur(16px);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}
.nav-mobile ul li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile ul li:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.nav-mobile ul li a {
  display: block;
  padding: 1.25rem 2rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-mobile ul li a:hover { color: var(--white); }
.nav-mobile ul li a.nav-cta {
  color: var(--accent);
  border: none;
  padding: 1.5rem 2rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  /* Hero startet unterhalb der Nav */
  .hero { padding-top: 60px; min-height: calc(100vh - 60px); }
  .hero-visual { min-height: 40vh; }
}

/* ── MOBILE: Seite startet unterhalb der Nav ── */
@media (max-width: 768px) {
  body { padding-top: 72px; }
  .hero { padding-top: 0; min-height: calc(100vh - 72px); }
  nav { height: 72px; }
}
