/* NIRO | Metall – statische Website, Stand 11/2026 */
@font-face{font-family:"News Cycle";src:url("../fonts/news-cycle-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"News Cycle";src:url("../fonts/news-cycle-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root{
  --gruen:#85bc22;
  --gruen-hell:#9fd63a;
  --text:#fff;
  --text-gedimmt:#c8c8c8;
  --panel:rgba(30,30,30,.62);
  --panel-rand:rgba(255,255,255,.14);
  --max:1186px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;min-height:100vh;display:flex;flex-direction:column;
  font:400 1.125rem/1.6 "News Cycle",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  color:var(--text);
  background:#2b2b2b url("../img/hintergrund-1000.jpg") center/cover no-repeat fixed;
  background-image:image-set(url("../img/hintergrund-1000.webp") type("image/webp"),url("../img/hintergrund-1000.jpg") type("image/jpeg"));
}
@media (min-width:1001px){
  body{background-image:image-set(url("../img/hintergrund-1920.webp") type("image/webp"),url("../img/hintergrund-1920.jpg") type("image/jpeg"))}
}
/* iOS kann kein background-attachment:fixed */
@supports (-webkit-touch-callout:none){body{background-attachment:scroll}}

a{color:var(--text);text-decoration:none}
a:hover,a:focus-visible{color:var(--gruen-hell);text-decoration:underline}
:focus-visible{outline:2px solid var(--gruen);outline-offset:3px}
img{max-width:100%;height:auto;display:block}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.skip{position:absolute;left:-999px;top:0;background:var(--gruen);color:#111;padding:.5rem 1rem;z-index:10}
.skip:focus{left:0}

/* Kopf */
.kopf{padding:clamp(28px,6vh,56px) 20px 0;text-align:center}
.kopf a{display:inline-block}
.kopf img{width:min(648px,90vw);margin:0 auto;filter:drop-shadow(0 2px 6px rgba(0,0,0,.7))}

main{flex:1;width:100%}

/* Startseite */
.start-hero{min-height:calc(100vh - 260px);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;padding:0 20px 40px}
.leist{display:inline-block;text-transform:uppercase;text-shadow:1px 1px 2px rgba(0,0,0,.9);margin:0 0 24px;line-height:1.05;font-size:clamp(1.1rem,2.6vw,1.5rem)}
.leist span{display:block}
.leist .l{text-align:left}
.leist .r{text-align:right}
.leist .gruen{font-weight:700;font-size:2em;color:var(--gruen);margin:.1em 0}

.leistungen{
  width:100%;max-width:var(--max);margin:0 auto;list-style:none;padding:20px;
  display:flex;flex-wrap:wrap;justify-content:center;gap:10px 0;
  text-transform:uppercase;text-align:center;
  background:var(--panel);border:1px solid var(--panel-rand);border-radius:4px;
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
}
.leistungen{gap:10px 12px}
.leistungen li{padding:.25em .8em;border-left:3px solid var(--gruen);background:rgba(0,0,0,.25)}

/* Inhaltsseiten */
.inhalt{
  max-width:var(--max);margin:40px auto 0;padding:clamp(20px,4vw,48px);
  background:var(--panel);border:1px solid var(--panel-rand);border-radius:4px;
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  font-size:1.0625rem;
}
.inhalt h1{font-weight:700;font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.1;color:var(--gruen);margin:0 0 .8em;text-transform:uppercase}
.inhalt h2{font-size:1.35rem;line-height:1.25;margin:2em 0 .5em;color:var(--gruen-hell);text-transform:uppercase}
.inhalt h3{font-size:1.1rem;margin:1.5em 0 .4em}
.inhalt p,.inhalt ul,.inhalt ol{margin:0 0 1em;max-width:75ch}
.inhalt li{margin-bottom:.3em}
.inhalt a{color:var(--gruen-hell);text-decoration:underline;text-underline-offset:2px}
.inhalt address{font-style:normal;margin-bottom:1em}
.inhalt .klein{font-size:.9rem;color:var(--text-gedimmt)}
.inhalt .formular{border:1px dashed var(--panel-rand);padding:1em 1.2em;margin:1em 0;max-width:75ch}
.inhalt .linie{display:inline-block;min-width:16em;border-bottom:1px solid var(--text-gedimmt)}

/* Fuß */
.fuss{padding:40px 20px 28px;text-align:center}
.kontakt{list-style:none;margin:0 auto;padding:0;max-width:1200px;display:flex;flex-wrap:wrap;justify-content:space-around;gap:8px 24px;font-size:1.25rem}
.kontakt li{padding:8px}
.kontakt a{display:inline-flex;align-items:center;gap:.5em;text-shadow:1px 1px 2px rgba(0,0,0,.9)}
.kontakt svg{width:1.1em;height:1.1em;fill:currentColor;flex:none}
.fussnav{margin-top:32px;font-size:.95rem;color:#bbb}
.fussnav a{color:#bbb;padding:0 .35em}
.fussnav a[aria-current="page"]{color:var(--gruen)}

@media (max-width:640px){
  body{font-size:1rem}
  .leistungen{flex-direction:column;gap:6px;border-radius:0}
  .leistungen li{border-left:0;background:none;padding:.1em 0}
  .kontakt{flex-direction:column;align-items:center;font-size:1.1rem}
  .inhalt{margin-top:24px;border-radius:0}
}

@media print{
  body{background:#fff;color:#000}
  .kopf img{filter:invert(1) hue-rotate(180deg);width:300px}
  .inhalt{background:none;border:0;backdrop-filter:none;padding:0}
  .inhalt h1,.inhalt h2{color:#000}
  .inhalt a{color:#000}
  .fuss,.skip{display:none}
}
