/* Merk Montage – alles auf einem Bildschirm: Foto-Hero, Stahlplatte, Foto-Leiste. */

@font-face { font-family: "Barlow Condensed"; src: url(fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0d0f12;
  --text: #eef0f2;
  --muted: #a4abb3;
  --funke: #ff6a00;
  --funke-hell: #ffa04d;
  --rost: #a43700;
  --gutter: clamp(16px, 4vw, 64px);
  --kopf: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --stahlfoto: url(img/stahl-textur.jpg);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.5;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--funke); outline-offset: 3px; }
::selection { background: var(--funke); color: #000; }

/* ---------- Navigation (Glas-Leiste) ---------- */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: min(1240px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(14,15,17,.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1);
}
.logo {
  font-family: var(--kopf);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}
.logo b { color: var(--funke); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.nav-btns { display: flex; align-items: center; gap: 8px; }
.btn-rahmen { color: var(--text); border: 1.5px solid rgba(255,255,255,.4); background: rgba(0,0,0,.25); }
.btn-rahmen:hover { border-color: var(--funke-hell); color: var(--funke-hell); transform: translateY(-2px); }
.btn-hell { background: var(--funke); color: #130800; box-shadow: 0 8px 24px rgba(255,106,0,.35); }
.btn-hell:hover { transform: translateY(-2px); background: var(--funke-hell); box-shadow: 0 10px 34px rgba(255,106,0,.55); }

/* ---------- Eine-Seite-Layout ---------- */
body.eine-seite {
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.oben {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(72px, 11vh, 104px) var(--gutter) clamp(24px, 5vh, 64px);
  background:
    radial-gradient(ellipse 55% 65% at 25% 55%, rgba(6,7,8,.42), rgba(6,7,8,0) 75%),
    linear-gradient(90deg, rgba(8,9,10,.6) 0%, rgba(8,9,10,.15) 55%, rgba(8,9,10,0) 100%),
    linear-gradient(180deg, rgba(10,11,13,.45) 0%, rgba(10,11,13,0) 22%),
    url(img/hero-montage.jpg) 55% center / cover no-repeat;
  background-color: #1a1c1f;
}
.oben h1 {
  font-family: var(--kopf);
  font-weight: 700;
  display: inline-block;
  font-size: clamp(3.4rem, min(15vw, 26vh), 13rem);
  white-space: nowrap;
  line-height: .86;
  letter-spacing: .01em;
  text-transform: uppercase;
  background: var(--stahlfoto) center / cover;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0,0,0,.5)) drop-shadow(0 14px 30px rgba(0,0,0,.55));
}
.oben h1 span { display: block; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.lead {
  display: inline-block;
  margin-top: clamp(14px, 2.6vh, 30px);
  padding: 7px 18px 6px;
  border-left: 4px solid var(--funke);
  font-family: var(--kopf);
  font-weight: 700;
  font-size: clamp(1.3rem, min(2.4vw, 4vh), 2rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(10,11,13,.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-shadow: 0 2px 12px rgba(0,0,0,.7);
}
.hinweis {
  margin-top: clamp(12px, 2.4vh, 26px);
  white-space: nowrap;
  font-size: clamp(1.05rem, min(1.7vw, 3vh), 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0,0,0,.85);
}

/* Kontakt: echte Stahlplatte */
.platte {
  justify-self: end;
  width: min(100%, 460px);
  padding: clamp(18px, 3.2vh, 36px) clamp(20px, 2.4vw, 36px);
  border-radius: 20px;
  color: #101214;
  background:
    linear-gradient(180deg, rgba(255,255,255,.4) 0 1px, transparent 1px),
    var(--stahlfoto) center / cover;
  box-shadow: inset 0 0 70px rgba(0,0,0,.18), inset 0 -2px 0 rgba(0,0,0,.3), 0 24px 60px rgba(0,0,0,.55);
}
.platte h2 {
  font-family: var(--kopf);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rost);
  margin-bottom: clamp(4px, 1vh, 10px);
}
.tel {
  display: block;
  font-family: var(--kopf);
  font-weight: 700;
  font-size: clamp(2.1rem, min(4.2vw, 6.6vh), 3.7rem);
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(255,255,255,.55), 0 -1px 0 rgba(0,0,0,.25);
  transition: color .15s;
}
.mail {
  display: inline-block;
  margin-top: clamp(4px, .9vh, 10px);
  font-family: var(--kopf);
  font-weight: 700;
  font-size: clamp(1.2rem, min(2.3vw, 3.6vh), 1.75rem);
  text-decoration: none;
  border-bottom: 2px solid rgba(0,0,0,.5);
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  transition: color .15s, border-color .15s;
}
.tel:hover, .mail:hover { color: var(--rost); }
.mail:hover { border-color: var(--rost); }
.adresse {
  margin-top: clamp(10px, 2vh, 20px);
  padding-top: clamp(8px, 1.6vh, 16px);
  border-top: 2px solid rgba(0,0,0,.28);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px 16px;
  font-weight: 600;
  line-height: 1.35;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
address { font-style: normal; }
.adresse a { font-size: .92rem; color: #7a2900; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.adresse a:hover { color: #101214; }

/* ---------- Footer ---------- */
.fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 10px var(--gutter);
  font-size: .88rem;
  color: var(--muted);
  background: #08090a;
}
.fuss nav { display: flex; gap: 22px; }
.fuss a { text-decoration: none; }
.fuss a:hover, .fuss a[aria-current] { color: var(--funke-hell); }

/* ---------- Rechtstexte ---------- */
.kopfzeile { padding: 24px var(--gutter) 0; }
.recht {
  flex: 1;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 40px var(--gutter) 72px;
}
.recht h1 {
  font-family: var(--kopf);
  font-weight: 700;
  font-size: clamp(1.4rem, 6.4vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 24px;
  white-space: nowrap;
  hyphens: none;
  background: var(--stahlfoto) center / cover;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.7));
}
.recht h2 {
  font-family: var(--kopf);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--funke-hell);
  margin: 36px 0 10px;
}
.recht { overflow-wrap: break-word; hyphens: auto; }
.recht h1 { overflow-wrap: normal; }
.recht p, .recht address, .recht li { color: #cdd2d8; }
.recht p + p { margin-top: 12px; }
.recht ul { margin: 12px 0 0 22px; display: grid; gap: 4px; }
.recht a:hover { color: var(--funke-hell); }
.recht .stand { color: var(--muted); }

/* ---------- Kleine Fenster: nur verdichten, wenn wirklich noetig ---------- */
@media (min-width: 861px) and (max-height: 640px) {
  .hinweis { margin-top: 10px; font-size: 1rem; }
  .oben { padding-top: 64px; }
  .platte { padding: 14px 20px; }
  .adresse { margin-top: 8px; padding-top: 6px; }
}
@media (max-width: 1100px) {
  .hinweis { white-space: normal; max-width: 30ch; text-wrap: balance; }
}
@media (max-height: 470px) {
  .hinweis { display: none; }
}

/* ---------- Handy / schmal: Platz nutzen, grosser Titel ---------- */
@media (max-width: 860px) {
  .oben {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: clamp(18px, 3.6vh, 34px);
    padding: 80px var(--gutter) clamp(20px, 4vh, 40px);
  }
  .oben h1 { font-size: clamp(3.6rem, min(30vw, 17vh), 9rem); line-height: .9; }
  .lead { margin-top: clamp(12px, 2.4vh, 24px); font-size: clamp(1.1rem, 5vw, 1.5rem); letter-spacing: .16em; }
  .hinweis { max-width: none; margin-top: clamp(12px, 2.2vh, 22px); font-size: clamp(1.02rem, 4.4vw, 1.2rem); text-wrap: balance; }
  .platte { justify-self: stretch; width: 100%; padding: clamp(18px, 3.2vh, 28px) 24px; border-radius: 18px; }
  .platte h2 { display: none; }
  .tel { font-size: clamp(2.3rem, min(11vw, 6.8vh), 3.4rem); }
  .mail { margin-top: clamp(8px, 1.4vh, 14px); font-size: clamp(1.35rem, 6vw, 1.7rem); }
  .adresse { margin-top: clamp(14px, 2.4vh, 22px); padding-top: clamp(12px, 2vh, 18px); font-size: 1.05rem; }
}
/* Handy mit wenig Hoehe: verdichten, Titel einzeilig */
@media (max-width: 860px) and (max-height: 640px) {
  .oben { gap: 12px; padding-top: 66px; padding-bottom: 14px; }
  .oben h1 { font-size: clamp(3rem, min(26vw, 21vh), 6.5rem); }
  .hinweis { margin-top: 8px; }
  .platte { padding: 12px 18px; }
  .tel { font-size: clamp(1.9rem, min(9vw, 6vh), 2.6rem); }
  .adresse { margin-top: 8px; padding-top: 8px; font-size: .95rem; }
}
@media (max-width: 520px) {
  .logo { font-size: 1.2rem; }
  .btn { padding: 9px 16px; font-size: .92rem; }
}
@media (max-width: 420px) {
  .nav { padding-left: 16px; }
  .btn .txt { display: none; }
  .btn { padding: 10px; }
  .btn svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
