/* ===== Die Lichtformer – Stylesheet ===== */

/* Schrift Jost lokal eingebunden (kein Abruf bei Google, SIL Open Font License) */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --accent: #ff3c00;
  --accent-dark: #d93300;
  --ink: #1e1e1e;
  --grey: #8a8a8a;
  --muted: #555555;
  --neutral: #808080; /* fotografisches Neutralgrau als Bühne für die Fotos */
  --bg: #dedede;
  --bg-alt: #d0d0d0;
  --line: #c2c2c2;
  --dot: rgba(0, 0, 0, .1);
  --radius: 14px;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background-color: var(--bg);
  /* feines Punktraster als Struktur */
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 22px 22px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 400; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.accent { color: var(--accent); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--muted); font-weight: 300; max-width: 34em; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.header-inner .brand { margin-right: auto; }

/* Sprachwechsler */
.lang-switch { display: flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; font-size: .8rem; font-weight: 500; }
.lang-switch a { padding: .3em .75em; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="page"] { background: var(--ink); color: #fff; }

.brand { font-size: 1.45rem; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
.brand-die, .brand-former { color: var(--accent); }
.brand-licht { color: var(--grey); padding: 0 .08em; }
.brand-bracket { color: var(--accent); font-weight: 300; transform: scaleY(1.25); display: inline-block; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-weight: 500; position: relative; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { background: var(--ink); color: #fff; padding: .5em 1.2em; border-radius: 999px; transition: background .2s; }
.nav-cta:hover { background: var(--accent); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  padding: clamp(40px, 8vw, 96px) 0;
  overflow: hidden;
  background: #fff;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(6, clamp(48px, 7vw, 92px));
  gap: 14px;
}
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.hero-mosaic .m1 { grid-row: 1 / 5; }
.hero-mosaic .m2 { grid-row: 2 / 7; }
.hero-mosaic .m3 { grid-row: 5 / 7; }
.hero-mosaic .m4 { grid-column: 2; grid-row: 1 / 2; object-position: center 40%; }

/* ----- Sections ----- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-alt {
  background-color: var(--neutral);
  background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, .04) 0 1px, transparent 1px 14px);
  border-block: 1px solid rgba(0, 0, 0, .15);
}
.section-alt .eyebrow { color: #fff; }
.section-alt .section-head h2::after { background: #fff; }
.section-alt .gallery-item { background: #737373; }
#leistungen { background: linear-gradient(to bottom, rgba(255, 255, 255, .25), transparent 60%); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2::after {
  content: ""; display: block;
  width: 56px; height: 3px; margin-top: .45em;
  background: var(--accent); border-radius: 2px;
}

/* ----- Leistungen ----- */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.service {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4.2;
  color: #fff;
  isolation: isolate;
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.25) 50%, rgba(0,0,0,0) 75%);
}
.service:hover img { transform: scale(1.06); }
.service-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.service-body h3 { margin-bottom: .3em; }
.service-body h3::after { content: " →"; color: var(--accent); opacity: 0; transition: opacity .25s; }
.service:hover h3::after { opacity: 1; }
.service-body p { font-size: .92rem; font-weight: 300; opacity: .9; margin: 0; }

/* ----- Portfolio ----- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  font: inherit; font-weight: 500; font-size: .95rem;
  padding: .5em 1.15em; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  cursor: pointer; transition: all .2s;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.gallery { columns: 4 240px; column-gap: 14px; }
.gallery-item {
  break-inside: avoid;
  margin: 0 0 14px;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--line);
  animation: fadeIn .45s ease both;
}
.gallery-item img { width: 100%; transition: transform .5s ease, opacity .3s; }
.gallery-item:hover img { transform: scale(1.04); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ----- Videos ----- */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.video { margin: 0; }
.video figcaption { margin-top: 12px; font-weight: 500; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; color: #fff;
  background: radial-gradient(ellipse 80% 90% at 30% 20%, #3a3a3a, var(--ink) 70%);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Startfläche vor dem Laden: YouTube wird erst nach dem Klick kontaktiert */
.video-play {
  position: absolute; inset: 0; width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px 48px; border: 0; background: none; color: inherit; cursor: pointer;
}
.video-play-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: transform .2s, background .2s;
}
.video-play-icon::before {
  content: ""; margin-left: 5px;
  border-left: 20px solid #fff; border-block: 12px solid transparent;
}
.video-play:hover .video-play-icon,
.video-play:focus-visible .video-play-icon { transform: scale(1.08); background: var(--accent-dark); }
.video-notice {
  position: absolute; left: 16px; right: 16px; bottom: 12px; margin: 0;
  font-size: .78rem; line-height: 1.45; text-align: center; color: rgba(255, 255, 255, .6);
}
.video-notice a { color: #fff; text-decoration: underline; }
.video-empty {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: pre;
  font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
}
.video-empty::before { content: "[ "; color: var(--accent); }
.video-empty::after { content: " ]"; color: var(--accent); }

/* ----- Über mich ----- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.about-img::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--accent); border-radius: var(--radius); z-index: -1;
}
.about-text p { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts li { border-top: 2px solid var(--accent); padding-top: .8em; }
.facts strong { display: block; font-weight: 500; }
.facts span { font-size: .9rem; color: var(--grey); }

/* ----- Kontakt ----- */
.contact {
  color: #fff;
  background:
    radial-gradient(ellipse 50% 80% at 0% 0%, rgba(255, 255, 255, .08), transparent 70%),
    var(--ink);
}
.contact .lead { color: rgba(255,255,255,.7); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact .label { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); font-weight: 500; }

.studio-card {
  margin-top: 2rem; padding: 24px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.studio-name { font-size: 1.15rem; margin: .3em 0 .9em; }
.studio-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.studio-list li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: baseline; }
.studio-list span { font-size: .85rem; color: rgba(255,255,255,.5); }
.studio-list a { overflow-wrap: anywhere; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; justify-self: start; }
.studio-list a:hover { color: var(--accent); border-color: var(--accent); }

/* Kontaktformular */
.contact-form {
  display: grid; gap: 18px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.contact-form fieldset { border: 0; margin: 0; padding: 0; }
.contact-form legend, .form-row label { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 8px; padding: 0; }
.interest { display: flex; flex-wrap: wrap; gap: 8px; }
.interest legend { width: 100%; }
.interest label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: .5em 1em; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.2); transition: border-color .2s, background .2s;
}
.interest label:hover { border-color: rgba(255,255,255,.5); }
.interest label:has(input:checked) { background: var(--accent); border-color: var(--accent); }
.interest input { accent-color: var(--accent); margin: 0; }
.form-row { display: grid; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font: inherit; color: #fff; width: 100%;
  padding: .75em .9em; border-radius: 10px;
  background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.18);
  transition: border-color .2s;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: rgba(255,255,255,.7); cursor: pointer; }
.consent input { margin-top: .3em; accent-color: var(--accent); flex-shrink: 0; }
.consent a { color: #fff; text-decoration: underline; }
.contact-form .btn { border: 0; font: inherit; font-weight: 500; cursor: pointer; justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 12px 16px; border-radius: 10px; font-size: .95rem; }
.form-status.ok { background: rgba(80, 200, 120, .15); border: 1px solid rgba(80, 200, 120, .5); }
.form-status.error { background: rgba(255, 60, 0, .15); border: 1px solid var(--accent); }

/* ----- Rechtliche Seiten ----- */
.back-link { font-weight: 500; }
.back-link:hover { color: var(--accent); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.25rem; font-weight: 500; margin-top: 2.2em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }

/* ----- Footer ----- */
.site-footer { background: #121212; color: rgba(255,255,255,.55); font-size: .9rem; padding: 24px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner a:hover { color: #fff; }

/* ----- Lightbox ----- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,10,10,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff;
  font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 12px 16px;
  opacity: .75; transition: opacity .2s, color .2s;
}
.lightbox button:hover { opacity: 1; color: var(--accent); }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(6, 1fr); }
  .service { grid-column: span 2; }
  .service:nth-child(n+4) { grid-column: span 3; aspect-ratio: 16 / 10; }
}

@media (max-width: 900px) {
  .hero-inner, .about, .contact-inner { grid-template-columns: 1fr; }
  .hero-mosaic { grid-template-rows: repeat(6, clamp(40px, 11vw, 80px)); }
  .about-img { max-width: 440px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0 !important; }
  .brand { font-size: 1.2rem; }
  .header-inner { gap: .6rem; }
  .lang-switch { order: 1; }
  .nav-toggle { order: 2; margin-right: -8px; }
}

@media (max-width: 560px) {
  .back-link { display: none; } /* das Logo führt ebenfalls zur Startseite */
}

@media (max-width: 400px) {
  .brand { font-size: 1.05rem; }
  .lang-switch a { padding: .3em .6em; }
}

@media (max-width: 560px) {
  .services { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service, .service:nth-child(n+4) { grid-column: auto; aspect-ratio: 3 / 4.4; }
  .service:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .service-body { padding: 14px; }
  .service-body h3 { font-size: 1.02rem; }
  .service-body p { display: none; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; }
  .videos { grid-template-columns: 1fr; }
  .video-play-icon { width: 56px; height: 56px; }
  .facts { grid-template-columns: 1fr; }
  .studio-list li { grid-template-columns: 1fr; gap: 0; }
  .contact-form .btn { justify-self: stretch; text-align: center; }
  .about-img::after { inset: 12px -10px -12px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
