/* NIKA Dienstleistung - Hausmeisterservice & Gartenpflege
   Stylesheet, selbst gehostet, keine externen Aufrufe (DSGVO) */

/* ---------- Schriften (lokal, kein fremder Server) ---------- */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-ext-400-normal.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-ext-600-normal.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-ext-700-normal.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-latin-ext-400-normal.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: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/lora-latin-ext-600-normal.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: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/lora-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lora-latin-ext-700-normal.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: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lora-latin-700-normal.woff2') format('woff2');
}

/* ---------- Farben ---------- */
:root {
  --gruen-hell: #8CC63F;
  --gruen: #4CA23E;
  --gruen-dunkel: #1E5B2A;
  --schwarz: #141414;
  --text: #22251F;
  --grau: #6A6F66;
  --hellgrau: #F2F5EE;
  --linie: #DDE2D6;
  --weiss: #FFFFFF;
  --breite: 1120px;
  --radius: 10px;
}

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

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

body {
  margin: 0;
  font-family: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gruen-dunkel); }

h1, h2, h3 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 22px; }

section { padding: 72px 0; }
@media (max-width: 700px) { section { padding: 52px 0; } }

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

:focus-visible { outline: 3px solid var(--gruen-dunkel); outline-offset: 2px; }

/* ---------- Kopfbereich ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--linie);
  backdrop-filter: saturate(140%) blur(8px);
}
.kopf .wrap { display: flex; align-items: center; gap: 18px; min-height: 76px; }

.marke { display: flex; align-items: center; gap: 0; text-decoration: none; color: var(--schwarz); margin-right: auto; }
.marke svg { width: 40px; height: 40px; flex: none; }
.marke img { height: 52px; width: auto; flex: none; }
.marke b { display: block; font-size: 1.22rem; font-weight: 700; letter-spacing: .02em; line-height: 1.05; }
.marke span { display: block; font-size: .74rem; color: var(--grau); letter-spacing: .07em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav a:hover { color: var(--gruen-dunkel); }

.sprache { display: flex; gap: 6px; align-items: center; font-size: .92rem; font-weight: 600; margin-left: 22px; }
.sprache a {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--grau); text-decoration: none; padding: 5px 11px;
  border-radius: 6px; border: 1px solid var(--linie);
}
.sprache .fl { width: 22px; height: 15px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.14); }
.sprache a[aria-current="true"] { background: var(--gruen-dunkel); color: #fff; }

.burger {
  display: none; border: 1px solid var(--linie); background: #fff;
  width: 46px; height: 42px; border-radius: 8px; cursor: pointer; padding: 0;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--schwarz); margin: 4px auto; }

@media (max-width: 880px) {
  .burger { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--linie); padding: 8px 22px 18px;
  }
  .nav.offen { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--linie); }
  .sprache { margin-left: auto; margin-right: 10px; }
  .nav-klein { display: flex; position: static; flex-direction: row; gap: 18px; background: none; border: 0; padding: 0; }
  .nav-klein a { padding: 0; border: 0; }
}

/* ---------- Schaltflaechen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--radius); text-decoration: none;
  font-weight: 700; font-size: 1.04rem; border: 2px solid transparent;
  transition: background .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gruen { background: var(--gruen-dunkel); color: #fff; }
.btn-gruen:hover { background: #164621; }
.btn-weiss { background: #fff; color: var(--schwarz); border-color: var(--linie); }
.btn-weiss:hover { border-color: var(--gruen-dunkel); color: var(--gruen-dunkel); }
.btn-wa { background: #25D366; color: #0B2612; }
.btn-wa:hover { background: #1DB954; }

/* ---------- Hero ---------- */
.hero { background: var(--schwarz); color: #fff; padding: 0; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gruen-hell); }
.hero .lead { font-size: 1.2rem; color: #D8DED2; max-width: 32em; }
.hero .tasten { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .ort { margin-top: 24px; font-size: .95rem; color: #9BA595; }
.hero-bild { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #222; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; padding-bottom: 44px; }
  .hero-bild { order: -1; aspect-ratio: 16 / 10; }
}

/* ---------- Versprechen-Band ---------- */
.band { background: var(--gruen-dunkel); color: #fff; padding: 0; }
.band ul {
  list-style: none; margin: 0; padding: 20px 22px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: var(--breite); margin-inline: auto;
}
.band li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1rem; }
.band svg { width: 21px; height: 21px; flex: none; color: var(--gruen-hell); }
@media (max-width: 760px) { .band ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Abschnittskopf ---------- */
.kopfzeile { max-width: 42em; margin-bottom: 42px; }
.kopfzeile .ueber { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--gruen); margin-bottom: 10px; }
.kopfzeile p { color: var(--grau); font-size: 1.08rem; margin: 0; }

/* ---------- Leistungen ---------- */
.leistungen { background: var(--hellgrau); }
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px; }
.karte {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 28px 24px 26px; display: flex; flex-direction: column;
}
.karte .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--gruen-dunkel);
  display: grid; place-items: center; margin-bottom: 18px;
}
.karte .icon svg { width: 27px; height: 27px; color: var(--gruen-hell); }
.karte h3 { margin-bottom: .35em; }
.karte ul { margin: 0; padding-left: 1.15em; color: var(--grau); font-size: 1rem; }
.karte li { margin-bottom: .25em; }

/* ---------- Referenzen / Galerie ---------- */
.galerie { columns: 3 300px; column-gap: 18px; }
.galerie figure {
  break-inside: avoid; margin: 0 0 18px; background: #fff;
  border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(20,20,20,.04);
  transition: box-shadow .2s ease, transform .2s ease;
}
.galerie figure:hover { box-shadow: 0 10px 26px rgba(20,20,20,.12); transform: translateY(-2px); }
.galerie .g-bild {
  display: block; width: 100%; padding: 0; border: 0; background: var(--hellgrau);
  cursor: zoom-in; position: relative; line-height: 0;
}
.galerie .g-bild img { width: 100%; height: auto; display: block; }
.galerie .g-bild::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(30,91,42,0); transition: background .2s ease;
}
.galerie figure:hover .g-bild::after { background: rgba(30,91,42,.1); }
.galerie figcaption {
  padding: 13px 16px 15px; font-size: .97rem; color: var(--text);
  line-height: 1.4; border-top: 1px solid var(--linie);
}

/* ---------- Bildansicht (Lupe) ---------- */
.lupe {
  position: fixed; inset: 0; z-index: 200; background: rgba(10,12,10,.93);
  display: grid; place-items: center; padding: 56px 18px;
}
.lupe[hidden] { display: none; }
.lupe figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lupe img { max-width: 100%; max-height: 78vh; width: auto; margin: 0 auto; border-radius: 6px; }
.lupe figcaption { color: #E6EBE1; margin-top: 14px; font-size: 1.02rem; }
.lupe button {
  position: absolute; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.25); border-radius: 8px;
  width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lupe button:hover { background: rgba(255,255,255,.22); }
.lupe-zu { top: 14px; right: 14px; }
.lupe-vor { left: 14px; top: 50%; transform: translateY(-50%); }
.lupe-nach { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) {
  .lupe-vor { left: 14px; top: auto; bottom: 14px; transform: none; }
  .lupe-nach { right: 14px; top: auto; bottom: 14px; transform: none; }
}

/* ---------- Sanftes Einblenden ---------- */
.auf { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.auf.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .auf { opacity: 1; transform: none; } }

/* ---------- Ablauf ---------- */
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; counter-reset: s; }
.schritt { counter-increment: s; }
.schritt::before {
  content: counter(s); display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gruen-hell); color: var(--gruen-dunkel);
  font-weight: 700; font-size: 1.1rem; margin-bottom: 14px;
}
.schritt h3 { margin-bottom: .3em; }
.schritt p { color: var(--grau); margin: 0; font-size: 1rem; }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--schwarz); color: #fff; }
.kontakt h2 { color: #fff; }
.kontakt .kopfzeile p { color: #AEB7A6; }
.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .kontakt-raster { grid-template-columns: 1fr; gap: 28px; } }

.tel-liste { list-style: none; margin: 0 0 26px; padding: 0; }
.tel-liste li { border-top: 1px solid #2E332B; }
.tel-liste li:last-child { border-bottom: 1px solid #2E332B; }
.tel-liste a {
  display: flex; align-items: center; gap: 14px; padding: 16px 2px;
  color: #fff; text-decoration: none; font-size: 1.32rem; font-weight: 700;
}
.tel-liste a:hover { color: var(--gruen-hell); }
.tel-liste svg { width: 22px; height: 22px; color: var(--gruen-hell); flex: none; }

.anschrift { color: #AEB7A6; font-size: 1.02rem; }
.anschrift strong { color: #fff; display: block; font-size: 1.1rem; margin-bottom: 4px; }

/* ---------- Fusszeile ---------- */
.fuss { background: #0D0F0C; color: #8E978A; font-size: .95rem; padding: 34px 0; }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.fuss a { color: #C9D1C1; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 44em; }
.rechtstext h2 { font-size: 1.4rem; margin-top: 1.8em; }
.rechtstext h1 { margin-bottom: .6em; }
.platzhalter {
  background: #FFF4CE; border-left: 4px solid #E0A800;
  padding: 3px 7px; border-radius: 3px; font-weight: 600;
}
.hinweiskasten {
  background: #FFF4CE; border: 1px solid #E0A800; border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 32px; font-size: 1rem;
}
.hinweiskasten strong { display: block; margin-bottom: 4px; }

/* ---------- Einsatzgebiet ---------- */
.orte { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
@media (max-width: 620px) { .orte { grid-template-columns: 1fr; gap: 22px; } }
.orte h3 { margin-bottom: .5em; }
.orte ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.orte li {
  background: var(--hellgrau); border: 1px solid var(--linie);
  border-radius: 999px; padding: 5px 14px; font-size: .97rem; color: var(--text);
}
.orte-schluss { margin: 26px 0 0; color: var(--grau); }

/* ---------- Haeufige Fragen ---------- */
.fragen { max-width: 46em; }
.fragen details {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.fragen summary {
  cursor: pointer; padding: 17px 52px 17px 20px; font-weight: 600; font-size: 1.06rem;
  position: relative; list-style: none;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--gruen-dunkel); line-height: 1;
}
.fragen details[open] summary::after { content: "\2013"; }
.fragen summary:hover { color: var(--gruen-dunkel); }
.fragen .antwort { padding: 0 20px 18px; color: var(--grau); }
.fragen .antwort p { margin: 0; }
