@import url("fonts.css");

/* Hintergrundfarbe: Chiffon */
:root { --bg: #F8F8F4; --text: 15px; --zeile: 1.7; }

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

body {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  color: #111;
  background: var(--bg);
  display: flex;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ---------- Menü links ---------- */
#nav {
  position: fixed;
  top: 0; left: 0;
  width: 330px;
  height: 100vh;
  padding: 50px 45px;
}
#nav .name {
  display: block;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 55px;
}
#nav ul { list-style: none; }
#nav li { margin-bottom: 14px; font-size: 16px; letter-spacing: 0.08em; }
#nav li.small { font-size: 13px; margin-bottom: 10px; }
#nav li.gap { height: 22px; margin: 0; }
#nav li a { transition: color 0.2s; }
#nav li a:hover, #nav li.active a { color: #999; }
.menu-toggle { display: none; }

/* ---------- Inhalt rechts ---------- */
main {
  margin-left: 330px;
  padding: 38px 38px 38px 0;
  width: 100%;
}

/* Foto-Raster (Masonry wie bei Hannes Caspar) */
#gallery { column-count: 5; column-gap: 12px; }
#gallery img {
  width: 100%;
  display: block;
  margin-bottom: 12px;
  break-inside: avoid;
  cursor: zoom-in;
  transition: opacity 0.2s;
}
#gallery img:hover { opacity: 0.85; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(248,248,244,0.97);
  display: none;
  align-items: center; justify-content: center;
  cursor: zoom-out;
  z-index: 10;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; display: block; margin: 0 auto; }
.lightbox figcaption { font-size: 11px; color: #888; letter-spacing: 0.06em; margin-top: 10px; }

/* Textseiten */
.text { max-width: 620px; padding-top: 12px; line-height: var(--zeile); font-size: var(--text); }
.text h1 { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 24px; }
.text h2 { font-size: 14px; font-weight: 600; margin: 26px 0 6px; }
.text p { margin-bottom: 12px; }
.text a { border-bottom: 1px solid #ccc; }
.todo { background: #fff3b0; }

.video { position: relative; width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; background: #111; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) { #gallery { column-count: 4; } }
@media (max-width: 1100px) { #gallery { column-count: 3; } }

@media (max-width: 760px) {
  body { display: block; }
  #nav { position: static; width: 100%; height: auto; padding: 24px 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
  #nav .name { font-size: 18px; margin: 0; }
  .menu-toggle { display: block; background: none; border: 0; font: inherit; letter-spacing: 0.08em; cursor: pointer; }
  #nav ul { display: none; width: 100%; padding-top: 24px; }
  #nav.open ul { display: block; }
  main { margin: 0; padding: 0 16px 16px; }
  #gallery { column-count: 2; column-gap: 8px; }
  #gallery img { margin-bottom: 8px; }
}

/* Sprachumschalter */
#nav li.langs a { color: #999; }
#nav li.langs a.on, #nav li.langs a:hover { color: #111; }

/* News */
#news { max-width: 900px; }
.news-item { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 12px 0 36px; }
.news-item img { width: 100%; display: block; }
.news-date { font-size: 12px; color: #999; letter-spacing: 0.08em; margin-bottom: 8px; }
.news-item h2 { font-size: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.news-item p { font-size: var(--text); line-height: var(--zeile); margin-bottom: 12px; }
.news-link { font-size: 14px; letter-spacing: 0.08em; border-bottom: 1px solid #111; }
@media (max-width: 760px) {
  /* Handy: kleines Bild links, Text rechts */
  .news-item { grid-template-columns: 112px 1fr; gap: 14px; padding: 6px 0 26px; }
  .news-item .news-date { font-size: 10px; margin-bottom: 4px; }
  .news-item h2 { font-size: 13px; margin-bottom: 6px; }
  .news-item p { font-size: var(--text); line-height: var(--zeile); margin-bottom: 8px; }
  .news-link { font-size: 12px; }
}

/* Showreel */
#showreel { max-width: 1100px; }
.player { background: #000; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; display: block; }
.clip-title { font-size: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin: 18px 0 6px; }
.clip-info { font-size: 13px; color: #888; letter-spacing: 0.04em; margin-bottom: 36px; }
.clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 12px; }
.clip { display: block; align-self: start; background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.clip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; margin-bottom: 8px; transition: opacity 0.2s; }
.clip:hover img { opacity: 0.8; }
.clip.on img { outline: 2px solid #111; outline-offset: 2px; }
.clip-name { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0.03em; line-height: 1.4; }
.clip-year { display: block; font-size: 12px; color: #999; margin-top: 2px; }
@media (max-width: 1100px) { .clips { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .clips { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; } }

/* Darko Productions */
.page-title { font-size: 15px; font-weight: 600; letter-spacing: 0.18em; margin: 12px 0 28px; }

/* About */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 44px; max-width: 1100px; padding-top: 12px; }
.about-foto { width: 100%; display: block; }
.about .text { padding-top: 0; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about-foto { max-width: 420px; }
}
.news-credit { font-size: 11px !important; color: #aaa; margin-top: 14px; }

/* Unterzeile unter dem Namen */
#nav .name .tagline { display: block; font-size: 10px; font-weight: 400; letter-spacing: 0.08em; color: #888; margin-top: 10px; line-height: 1.5; }
@media (max-width: 760px) { #nav .name .tagline { font-size: 9px; margin-top: 6px; } }

/* Coaching */
#coaching { max-width: 1000px; }
.coaching-intro { font-size: var(--text); line-height: var(--zeile); max-width: 640px; margin-bottom: 40px; }
.pakete { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.paket { border-top: 1px solid #111; padding: 18px 0 36px; }
.paket-fuer { font-size: 12px; color: #999; letter-spacing: 0.08em; margin-bottom: 8px; }
.paket h2 { font-size: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.paket ul { list-style: none; margin-bottom: 18px; }
.paket li { font-size: var(--text); line-height: var(--zeile); padding-left: 16px; position: relative; margin-bottom: 6px; }
.paket li::before { content: "–"; position: absolute; left: 0; color: #999; }
.coaching-info { font-size: 13px; color: #888; letter-spacing: 0.04em; margin-top: 8px; }
@media (max-width: 900px) { .pakete { grid-template-columns: 1fr; } }
.paket-preis { font-size: 13px; font-weight: 500; letter-spacing: 0.03em; margin-bottom: 14px; }

/* Anfrageformular */
.anfrage { max-width: 560px; margin-top: 56px; border-top: 1px solid #111; padding-top: 18px; display: grid; gap: 18px; scroll-margin-top: 24px; }
.anfrage h2 { font-size: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.anfrage label { display: grid; gap: 6px; font-size: 13px; color: #555; letter-spacing: 0.03em; line-height: 1.5; }
.anfrage input, .anfrage select, .anfrage textarea { font: inherit; font-size: 15px; color: #111; background: transparent; border: 0; border-bottom: 1px solid #bbb; padding: 8px 0; border-radius: 0; }
.anfrage textarea { border: 1px solid #bbb; padding: 10px; resize: vertical; }
.anfrage input:focus, .anfrage select:focus, .anfrage textarea:focus { outline: none; border-color: #111; }
.anfrage .check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: 12px; }
.anfrage .check input { margin-top: 3px; }
.anfrage button { justify-self: start; font: inherit; font-size: 14px; letter-spacing: 0.08em; background: none; border: 0; border-bottom: 1px solid #111; padding: 0 0 2px; cursor: pointer; color: #111; }
.anfrage button:disabled { opacity: 0.4; }
.anfrage-status { font-size: var(--text); }
.versteckt { position: absolute; left: -9999px; }

/* Darko Studio */
.productions-head { display: flex; align-items: center; gap: 22px; margin: 4px 0 28px; }
.productions-head .page-title { margin: 0; }
.studio-logo { width: 92px; height: 92px; }

.about figure { margin: 0; }
.foto-credit { font-size: 11px; color: #999; letter-spacing: 0.05em; margin-top: 8px; }

/* Coaching: zwei Bereiche zur Auswahl */
.gruppen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 48px; }
.gruppe { display: block; border: 1px solid #111; padding: 26px 24px 22px; transition: background 0.2s, opacity 0.2s; }
.gruppe h2 { font-size: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; line-height: 1.4; }
.gruppe p { font-size: var(--text); line-height: var(--zeile); margin-bottom: 18px; color: #333; }
.gruppe:hover { background: rgba(0,0,0,0.03); }
.gruppe.on { background: #111; color: #F8F8F4; }
.gruppe.on p { color: #ddd; }
.gruppe.on .news-link { border-color: #F8F8F4; }
.gruppe.aus { opacity: 0.45; }
.gruppe.aus:hover { opacity: 0.8; }
#pakete { scroll-margin-top: 24px; }
@media (max-width: 760px) { .gruppen { grid-template-columns: 1fr; gap: 12px; } }

/* Foto im aufgeklappten Handy-Menü */
#nav .menu-foto { display: none; }
@media (max-width: 760px) {
  #nav.open ul { width: 44%; }
  #nav.open .menu-foto { display: block; width: 54%; height: auto; margin-top: 24px; align-self: flex-start; object-fit: cover; object-position: center; }
}

/* Kontakt: Agentur-Logo rechts als Link zum Profil */
.kontakt { display: flex; gap: 72px; align-items: flex-start; flex-wrap: wrap; }
.agentur-logo { display: block; margin-top: 40px; text-align: center; }
.agentur-logo img { width: 170px; display: block; margin: 0 auto; transition: opacity 0.2s; }
.agentur-logo:hover img { opacity: 0.85; }
.agentur-logo span { display: inline-block; font-size: 12px; letter-spacing: 0.06em; margin-top: 10px; border-bottom: 1px solid #111; }
@media (max-width: 760px) { .kontakt { gap: 0; } .agentur-logo { margin-top: 28px; text-align: left; } .agentur-logo img { width: 150px; margin: 0; } }
.studio-text { font-size: var(--text); line-height: var(--zeile); max-width: 620px; margin-bottom: 22px; }
.studio-bald { font-size: 13px; color: #888; letter-spacing: 0.04em; }

/* Rundes Profilbild neben dem Namen */
#nav .name { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
#nav .name-logo { width: 42px; height: 42px; flex: none; }
@media (max-width: 760px) { #nav .name { gap: 10px; } #nav .name-logo { width: 34px; height: 34px; } }

/* Coaching: Einleitung zweiteilig, Bereiche untereinander */
.coaching-intro.koerper { margin-bottom: 16px; }
.gruppen { grid-template-columns: 1fr !important; max-width: 760px; gap: 14px; }
.gruppe { display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: end; padding: 22px 26px; }
.gruppe h2 { grid-column: 1; }
.gruppe p { grid-column: 1; margin-bottom: 0; }
.gruppe .news-link { grid-column: 2; grid-row: 1 / span 2; align-self: center; white-space: nowrap; }
@media (max-width: 760px) {
  .gruppe { grid-template-columns: 1fr; padding: 20px 18px; }
  .gruppe .news-link { grid-column: 1; grid-row: auto; margin-top: 14px; justify-self: start; }
}

/* Kekko: winkt nach dem Absenden */
.anfrage { position: relative; }
.kekko-danke { height: 0; overflow: visible; }
.kekko-danke img { width: 120px; display: block; opacity: 0; transform: translateY(30px) scale(0.6); }
.kekko-danke.da img { animation: kekko-rein 0.7s cubic-bezier(.34,1.56,.64,1) forwards, kekko-hops 1.6s ease-in-out 0.8s 2; }
.kekko-danke.da { height: auto; margin-top: 4px; }
@keyframes kekko-rein { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes kekko-hops { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-8px) rotate(-4deg); } 50% { transform: translateY(0) rotate(0); } 75% { transform: translateY(-5px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .kekko-danke.da img { animation: none; opacity: 1; transform: none; } }

/* Kekko links neben dem Danke-Text, kleiner */
.danke-zeile { display: flex; align-items: center; gap: 14px; }
.danke-zeile .kekko-danke { display: none; height: auto; margin: 0; flex: none; }
.danke-zeile .kekko-danke.da { display: block; }
.danke-zeile .kekko-danke img { width: 64px; }
@media (max-width: 760px) { .danke-zeile { gap: 10px; } .danke-zeile .kekko-danke img { width: 52px; } }

/* News: Link direkt unter dem Bild */
.news-bild .news-link { display: inline-block; margin-top: 12px; }
.news-item .news-credit { margin-top: 6px; }
@media (max-width: 760px) { .news-bild .news-link { margin-top: 8px; font-size: 10.5px; letter-spacing: 0.02em; line-height: 1.5; max-width: 100%; border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; } }

/* "menu"-Knopf: keine blaue Systemfarbe (iPhone/Safari) */
.menu-toggle { color: #111; -webkit-appearance: none; appearance: none; padding: 0; -webkit-tap-highlight-color: transparent; }
.anfrage button, .clip { -webkit-appearance: none; appearance: none; color: #111; }
