/* ==========================================================================
   MANTAS Bauleistungen — Landing Page
   Tokens taken from design-system/design-system.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   Poppins, self-hosted (SIL Open Font License 1.1).
   Deliberately NOT loaded from fonts.googleapis.com: embedding Google Fonts
   transmits the visitor's IP address to Google without consent, which German
   courts have treated as a GDPR violation (LG München I, 20.01.2022,
   Az. 3 O 17493/20). Self-hosting removes that exposure entirely.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/poppins-400-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;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('assets/fonts/poppins-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/poppins-500-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;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('assets/fonts/poppins-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/poppins-600-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;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('assets/fonts/poppins-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/poppins-700-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;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('assets/fonts/poppins-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink:        #231F20;
  --ink-soft:   #4a4645;
  --ink-muted:  #8a8582;
  --orange:     #F7921E;   /* action colour  */
  --orange-dk:  #d97b0d;
  --gold:       #FCB715;   /* brand accent   */
  --steel:      #5586A6;
  --bg:         #ffffff;
  --bg-soft:    #F7F6F5;
  --line:       #ece9e7;

  --pad:        clamp(20px, 5vw, 60px);
  --radius-pill: 100px;
  --maxw:       1600px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video, svg { max-width: 100%; }
img, video { display: block; }
/* width/height attributes reserve space, but must not defeat CSS aspect-ratio */
img { height: auto; }

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-weight: 600; margin: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.section { padding-inline: var(--pad); }
.inner   { max-width: var(--maxw); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; cursor: pointer;
  font-family: inherit; font-weight: 600;
  border-radius: var(--radius-pill);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn--primary {
  background: var(--orange); color: #fff;
  font-size: 15px; padding: 16px 32px;
}
.btn--primary:hover { background: var(--orange-dk); color: #fff; }
.btn--dark {
  background: var(--ink); color: #fff;
  font-size: 14.5px; padding: 14px 26px;
}
.btn--dark:hover { background: #fff; color: var(--ink); }
.btn--sm { font-size: 12.5px; padding: 10px 18px; letter-spacing: .03em; }

.text-link { font-size: 14px; font-weight: 600; }

/* ---------- Utility bar -------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  letter-spacing: .02em;
  padding: 8px var(--pad);
}
.topbar__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; justify-content: flex-end; align-items: center;
  gap: 28px; flex-wrap: wrap;
}
.topbar a { color: inherit; }
.topbar a:hover { color: var(--gold); }

/* ---------- Header / nav ------------------------------------------------- */

.masthead {
  position: sticky; top: 0; z-index: 20;
  padding-inline: var(--pad);
  /* pulled back over the hero so the photo still starts at the very top */
  margin-bottom: -100px;
  transition: background .25s ease, box-shadow .25s ease;
}
/* once the page scrolls, the bar needs its own background to stay readable */
.masthead--scrolled {
  background: rgba(28,25,26,.94);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* subpages have no hero to sit on top of */
.masthead--solid { background: var(--ink); margin-bottom: 0; }
.masthead__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 18px;
  height: 100px;
}
.logo { flex-shrink: 0; display: block; }
.logo img { height: 62px; width: auto; }

.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 22px;
}
.nav a {
  color: #fff; font-size: 12.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.nav a:hover { color: var(--gold); }
/* the CTA pill keeps its own colours, not the nav link colours */
.nav .btn--primary,
.nav .btn--primary:hover { color: #fff; }
.nav .btn--primary:hover { background: var(--orange-dk); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 10px;
  background: transparent; border: 0; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: #fff;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- Hero --------------------------------------------------------- */

.hero { position: relative; min-height: 760px; overflow: hidden; display: flex; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(23,21,26,.94) 0%, rgba(23,21,26,.62) 45%, rgba(23,21,26,.22) 100%);
}

.hero__inner {
  position: relative; z-index: 3;
  max-width: var(--maxw); margin-inline: auto; width: 100%;
  padding: 190px var(--pad) 230px;
  display: flex;
}
.hero__frame {
  position: relative;
  padding: 36px 40px;
  max-width: 640px;
}
.hero__frame::before,
.hero__frame::after,
.hero__frame > .corner::before,
.hero__frame > .corner::after {
  content: ''; position: absolute; width: 28px; height: 28px;
}
.hero__frame::before { top: 0; left: 0;  border-top: 3px solid var(--gold); border-left: 3px solid var(--gold); }
.hero__frame::after  { top: 0; right: 0; border-top: 3px solid var(--gold); border-right: 3px solid var(--gold); }
.hero__frame > .corner::before { bottom: 0; left: 0;  border-bottom: 3px solid var(--gold); border-left: 3px solid var(--gold); }
.hero__frame > .corner::after  { bottom: 0; right: 0; border-bottom: 3px solid var(--gold); border-right: 3px solid var(--gold); }

.hero h1 {
  color: #fff;
  font-size: clamp(30px, 5.2vw, 52px);
  line-height: 1.14;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero__lead {
  color: rgba(255,255,255,.87);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 520px;
}

/* hotspots */
.hotspot {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 10px;
}
.hotspot__dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 2px solid #fff; flex-shrink: 0;
  animation: dotPulse 1.8s ease-out infinite;
}
.hotspot__label {
  color: #fff; font-size: 13.5px; font-weight: 500; letter-spacing: .04em;
  white-space: nowrap; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(252,183,21,.6); }
  100% { box-shadow: 0 0 0 18px rgba(252,183,21,0); }
}
@media (prefers-reduced-motion: reduce) {
  .hotspot__dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Cards -------------------------------------------------------- */

.card {
  position: relative; overflow: hidden;
  min-height: 220px; padding: 40px 34px;
  background: repeating-linear-gradient(135deg, #2c2a2b 0 14px, #383536 14px 28px);
  color: #fff;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,31,32,.35) 0%, rgba(35,31,32,.9) 75%);
}
.card__glyph {
  position: absolute; right: -6px; bottom: -10px;
  width: 150px; height: 150px; color: #fff; opacity: .08; z-index: 1;
}
.card__bullet,
.card h3,
.card p,
.card .text-link { position: relative; z-index: 2; }
.card__bullet { display: block; width: 10px; height: 10px; background: var(--gold); margin-bottom: 18px; }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card p {
  color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.6;
  margin: 0 0 22px; max-width: 280px;
}
.card .text-link { color: var(--gold); }
.card .text-link:hover { color: #fff; }

/* ---------- About -------------------------------------------------------- */

.about { padding: 100px var(--pad) 120px; }
.about__inner {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.2;
  margin-bottom: 24px;
  text-wrap: balance;
}
/* second sentence sits on its own line, one shade lighter for rhythm */
.about__h2-second { color: var(--ink-soft); }
.about__quote {
  border-left: 4px solid var(--gold); padding-left: 20px;
  font-size: clamp(17px, 2vw, 19px); font-weight: 600; margin-bottom: 22px;
}
.about p {
  font-size: 16px; line-height: 1.75; color: var(--ink-soft);
  margin: 0 0 20px; max-width: 520px;
}
.about p:last-child { margin-bottom: 0; }

.fill-in {
  background: rgba(252,183,21,.28);
  box-shadow: inset 0 -1px 0 var(--gold);
  padding: 0 4px; border-radius: 2px; font-weight: 600;
}

/* ---------- Partners ----------------------------------------------------- */

.partners {
  padding: 50px var(--pad);
  border-block: 1px solid var(--line);
}
.partners__title {
  text-align: center; color: var(--ink-muted);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 28px;
}
.partners__row {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(28px, 6vw, 60px); flex-wrap: wrap;
  max-width: 1000px; margin-inline: auto;
}
.partners__row img {
  height: 52px; width: auto; max-width: 150px; object-fit: contain;
  filter: grayscale(1); opacity: .75;
  transition: filter .2s ease, opacity .2s ease;
}
.partners__row img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Leistungen --------------------------------------------------- */

.services { padding: 90px var(--pad); background: var(--bg-soft); }
.services__inner { max-width: var(--maxw); margin-inline: auto; }
.services h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  text-align: center; margin: 0 auto 16px; max-width: 640px;
}
.services__lead {
  font-size: 16px; line-height: 1.7; color: var(--ink-soft);
  text-align: center; margin: 0 auto 44px; max-width: 640px;
}
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.tile {
  position: relative; overflow: hidden;
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,19,0) 12%, rgba(20,18,19,.5) 44%, rgba(20,18,19,.95) 100%);
}
.tile:hover img { transform: scale(1.05); }
.tile__body { position: relative; z-index: 2; padding: 26px 26px 28px; }
.tile h3 { font-size: 19px; margin-bottom: 8px; }
.tile p {
  font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.8);
  margin: 0 0 14px; max-width: 260px;
}
.tile .text-link { color: #fff; font-size: 13.5px; }
.tile .text-link:hover { color: var(--gold); }

/* ---------- Gallery ------------------------------------------------------ */

.gallery { padding: 90px var(--pad); }
.gallery h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  text-align: center; margin: 0 auto 44px; max-width: 640px;
}
.gallery__grid {
  display: grid; grid-template-columns: 300px 1fr; gap: 24px;
  max-width: 1320px; margin-inline: auto; align-items: stretch;
}
/* wrapper takes its height from the grid row; the (portrait) video fills it */
.gallery__reel {
  position: relative; overflow: hidden;
  min-height: 320px; background: var(--ink);
  padding: 0; border: 0; cursor: pointer; display: block;
  font: inherit; color: inherit;
}
/* play badge marks the reel as clickable */
.gallery__play {
  position: absolute; inset: 0; margin: auto;
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(35,31,32,.55); color: #fff;
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
  pointer-events: none;
}
.gallery__play svg { width: 32px; height: 32px; margin-left: 3px; }
.gallery__reel:hover .gallery__play { background: var(--orange); transform: scale(1.06); }
.gallery__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.gallery__stills {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.gallery__stills img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* each still is a button that opens the lightbox */
.gallery__item {
  padding: 0; border: 0; background: none; cursor: zoom-in;
  position: relative; overflow: hidden; display: block;
  font: inherit; color: inherit;
}
.gallery__item img { transition: transform .45s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(35,31,32,0); transition: background .25s ease;
}
.gallery__item:hover::after { background: rgba(35,31,32,.18); }

/* ---------- Lightbox ----------------------------------------------------- */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16,14,15,.975);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(6px, 2vw, 24px);
  padding: clamp(16px, 4vw, 48px);
}
.lightbox[hidden] { display: none; }

.lightbox__stage {
  margin: 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lightbox__img,
.lightbox__video {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  width: auto; height: auto;
  object-fit: contain;
  background: #1a1819;
}
.lightbox__video { min-width: min(420px, 80vw); }
.lightbox__img[hidden], .lightbox__video[hidden] { display: none; }
.lightbox__caption {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  justify-content: center; text-align: center;
  max-width: 70ch;
}
.lightbox__counter {
  color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .1em;
  flex-shrink: 0;
}
.lightbox__text { color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.5; }

.lightbox__nav,
.lightbox__close {
  border: 0; cursor: pointer;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background .18s ease, transform .18s ease;
}
.lightbox__nav:hover,
.lightbox__close:hover { background: var(--orange); }

.lightbox__nav { width: 56px; height: 56px; flex-shrink: 0; }
.lightbox__nav svg { width: 26px; height: 26px; }

.lightbox__close {
  position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px);
  width: 46px; height: 46px; z-index: 2;
}
.lightbox__close svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  .gallery__item img,
  .lightbox__nav, .lightbox__close { transition: none; }
}

/* ---------- Contact ------------------------------------------------------ */

.contact { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.contact__info {
  padding: 80px var(--pad);
  display: flex; flex-direction: column; justify-content: center;
}
.contact__info h2 {
  font-size: clamp(31px, 3.9vw, 46px); line-height: 1.15; margin-bottom: 24px;
  max-width: 540px;
}
.contact__info h2 em { font-style: normal; color: var(--orange); }
.contact__info > p {
  font-size: 17.5px; line-height: 1.65; color: var(--ink-soft);
  margin: 0 0 40px; max-width: 480px;
}
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; color: var(--ink); flex-shrink: 0;
}
.contact__icon svg { width: 21px; height: 21px; }
.contact__label { display: block; font-size: 13.5px; color: var(--ink-muted); }
.contact__value { display: block; font-size: 17.5px; font-weight: 600; color: var(--ink); }
a.contact__value:hover { color: var(--orange); }

.contact__form {
  background: var(--gold);
  padding: 80px var(--pad);
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.field label,
.consent {
  display: block; font-size: 13px; font-weight: 600; color: var(--ink);
}
.field label { margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
  width: 100%; border: 1px solid #e6e3e1; background: #fff;
  border-radius: 8px; padding: 12px 14px;
  font-size: 14px; font-family: inherit; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline-offset: 1px; }

.consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 400; font-size: 12.5px; line-height: 1.5;
}
.consent input { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; }
.consent a { color: var(--ink); text-decoration: underline; }

.contact__form .btn { align-self: flex-start; }

/* spam trap — must stay reachable for bots, invisible for people */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Legal pages (Datenschutz) ------------------------------------ */

.legal { padding: 70px var(--pad) 90px; }
.legal__inner { max-width: 820px; margin-inline: auto; }
.legal h1 {
  font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; margin-bottom: 16px;
}
.legal__meta { color: var(--ink-muted); font-size: 14px; margin: 0 0 44px; }
.legal h2 {
  font-size: clamp(19px, 2.2vw, 23px); margin: 44px 0 14px;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.legal h3 { font-size: 16px; margin: 24px 0 8px; }
.legal p, .legal li {
  font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 14px;
}
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; }
.legal address {
  font-style: normal; line-height: 1.9; color: var(--ink-soft); font-size: 15.5px;
  margin: 0 0 18px;
}

/* ---------- Thank-you page ----------------------------------------------- */

.thanks { padding: clamp(70px, 12vw, 130px) var(--pad); }
.thanks__inner { max-width: 620px; margin-inline: auto; text-align: center; }
.thanks__mark {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center; margin: 0 auto 28px;
}
.thanks__mark svg { width: 32px; height: 32px; }
.thanks h1 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.15; margin-bottom: 18px; }
.thanks p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 16px; }
.thanks .btn { margin-top: 22px; }

/* ---------- Footer ------------------------------------------------------- */

.footer {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: 70px var(--pad) 30px;
}
.footer__pattern { position: absolute; inset: 0; opacity: .06; pointer-events: none; }
.footer__pattern svg { position: absolute; }
.footer__inner { position: relative; max-width: var(--maxw); margin-inline: auto; }

.footer__top {
  display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__brand { max-width: 300px; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.7; margin: 0; }

.footer__nav { display: flex; flex-wrap: wrap; gap: 16px; align-content: flex-start; }
.footer__nav a {
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
}
.footer__nav a:hover { color: var(--gold); }

/* Impressum */
.footer__impressum {
  padding-top: 34px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 30px;
}
.footer__impressum h2 {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.footer__impressum p {
  margin: 0; color: rgba(255,255,255,.62); font-size: 13.5px; line-height: 1.85;
}
.footer__impressum a { color: inherit; }
.footer__impressum a:hover { color: var(--gold); }

.footer__bottom {
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  color: rgba(255,255,255,.5); font-size: 12.5px;
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a { color: rgba(255,255,255,.62); }
.footer__legal a:hover { color: var(--gold); }

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* --- laptop --------------------------------------------------------------*/
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav a { font-size: 11.5px; letter-spacing: .04em; }
  .about__inner { gap: 48px; }
  .gallery__grid { grid-template-columns: 240px 1fr; }
}

/* --- tablet --------------------------------------------------------------*/
@media (max-width: 980px) {
  .topbar__inner { justify-content: center; gap: 8px 20px; font-size: 12px; }

  /* nav collapses into a panel */
  .masthead { background: var(--ink); margin-bottom: 0; }
  .masthead__inner { height: 84px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0;
    background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 0 var(--pad);
    max-height: 0; overflow: hidden;
    transition: max-height .28s ease;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .nav[data-open="true"] { max-height: 540px; }
  .nav a {
    padding: 16px 0; font-size: 14px; letter-spacing: .05em;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav .btn--sm {
    margin: 18px 0 22px; justify-content: center; font-size: 13px; padding: 14px 18px;
  }
  .nav a:last-of-type { border-bottom: 0; }

  .hero { min-height: 0; }
  .hero__inner { padding: 80px var(--pad) 110px; }
  .hero__frame { max-width: 100%; padding: 30px 26px; }
  .hotspot { display: none; }          /* clip off-canvas on narrow screens */

  .card { min-height: 0; padding: 32px 28px; }
  .card p { max-width: 100%; }
  .card__glyph { width: 118px; height: 118px; }

  .about { padding: 70px var(--pad) 80px; }
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .about p, .contact__info > p, .contact__info h2 { max-width: 100%; }

  .services { padding: 70px var(--pad); }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .tile { min-height: 280px; }

  .gallery { padding: 70px var(--pad); }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__reel { min-height: 0; aspect-ratio: 16/10; }
  .gallery__stills { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .contact { grid-template-columns: 1fr; }
  .contact__info { padding: 64px var(--pad) 48px; }
  .contact__form { padding: 48px var(--pad) 64px; }

  .footer { padding: 56px var(--pad) 26px; }
  .footer__top { gap: 36px; padding-bottom: 36px; }
  .footer__brand { max-width: 100%; }
}

/* --- phone ---------------------------------------------------------------*/
@media (max-width: 620px) {
  /* stacked over three lines it just crowds the logo — the same details
     are in the contact section and the Impressum */
  .topbar { display: none; }

  .logo img { height: 50px; }

  .hero__inner { padding: 64px var(--pad) 90px; }
  .hero__frame { padding: 24px 20px; }
  .hero__frame::before, .hero__frame::after,
  .hero__frame > .corner::before, .hero__frame > .corner::after { width: 20px; height: 20px; }
  .hero .btn--primary { width: 100%; justify-content: center; }


  .services__grid { grid-template-columns: 1fr; }
  .tile { min-height: 240px; }
  .tile p { max-width: 100%; }

  .gallery__stills { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* arrows move below the picture so they do not squeeze it */
  .lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    align-content: center;
    padding: 56px 16px 24px;
  }
  .lightbox__stage     { grid-row: 1; grid-column: 1 / -1; }
  .lightbox__img       { max-height: calc(100vh - 260px); }
  .lightbox__nav       { width: 52px; height: 52px; }
  .lightbox__nav--prev { grid-row: 2; grid-column: 1; justify-self: end;   margin-right: 10px; }
  .lightbox__nav--next { grid-row: 2; grid-column: 2; justify-self: start; margin-left: 10px; }

  .partners__row { gap: 24px 32px; }
  .partners__row img { height: 40px; }

  .contact__form .btn { align-self: stretch; justify-content: center; }

  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* --- touch targets -------------------------------------------------------*/
@media (hover: none), (max-width: 980px) {
  .text-link,
  .footer__nav a,
  .footer__impressum a,
  .footer__legal a,
  .consent a {
    display: inline-block;
    padding-block: 10px;
  }
  .contact__value { padding-block: 6px; }   /* already display:block */
  .card p, .tile p { margin-bottom: 4px; }
  .footer__nav { gap: 4px 16px; }
}
