/* ===== Variables ===== */
:root {
  --bg:         #494c4c;
  --bg-dark:    #3a3d3d;
  --bg-darker:  #2d3030;
  --text:       #e8e8e8;
  --text-muted: #aaaaaa;
  --accent:     #c9a96e;
  --border:     rgba(255,255,255,0.1);
  --max-width:  960px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Header / Nav ===== */
header {
  background: var(--bg-darker);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

nav { display: flex; gap: 0; }

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--accent);
  background: rgba(201,169,110,0.08);
}

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Main ===== */
main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* ===== Footer ===== */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 0.6rem;
}
footer a:hover { color: var(--accent); }

/* ===== Page headings ===== */
h1 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 1.2rem 0 0.3rem;
}

p { margin-bottom: 1rem; }

a { color: var(--accent); }

/* ===== Home page ===== */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.home-hero .tagline {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.home-hero .intro {
  font-size: 1.05rem;
  line-height: 1.8;
}

.portrait {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* ===== Vita ===== */
.vita-section { margin-bottom: 2.5rem; }

.vita-section ul {
  list-style: none;
  padding: 0;
}

.vita-section ul li {
  padding: 0.25rem 0;
  padding-left: 1.2rem;
  position: relative;
  color: var(--text);
}

.vita-section ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.vita-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

/* ===== Sound ===== */
.sound-list { display: flex; flex-direction: column; gap: 2rem; }

.sound-item h3 {
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.sound-item .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.sound-item iframe {
  width: 100%;
  height: 166px;
  border: none;
  border-radius: 2px;
}

/* ===== Foto ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3/2;
  background: var(--bg-dark);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s;
  opacity: 0.9;
}

.gallery a:hover img {
  transform: scale(1.04);
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.lightbox:target { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  text-decoration: none;
  line-height: 1;
  opacity: 0.7;
}
.lightbox-close:hover { opacity: 1; }

/* ===== Contact ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info p { margin-bottom: 0.4rem; }
.contact-info .label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-top: 1rem;
}

form { display: flex; flex-direction: column; gap: 1rem; }

label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.3rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
}
textarea { resize: vertical; min-height: 140px; }

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.form-note a { font-size: inherit; }

button[type="submit"] {
  align-self: flex-start;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1.8rem;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
button[type="submit"]:hover {
  background: var(--accent);
  color: var(--bg-darker);
}

/* ===== Impressum ===== */
.impressum p { margin-bottom: 0.3rem; }

/* ===== Mobile ===== */
@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.5rem 0;
  }
  nav.open { display: flex; }
  nav a { padding: 0.7rem 1.5rem; border-radius: 0; }

  .home-hero { grid-template-columns: 1fr; }
  .home-hero .portrait-col { order: -1; }

  .vita-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }

  main { padding: 2rem 1rem; }
}
