/* ===========================================================================
   Z1 DIENSTLEISTUNGEN - Gestaltung
   ===========================================================================
   Eine Datei fuer alle drei Seiten. Wer hier eine Farbe aendert, aendert sie
   ueberall - genau deshalb stehen die Farben oben als Variablen und nicht
   fuenfzehnmal einzeln im Text.

   Die Farben sind dieselben wie im Routenplaner (--navy #173a5e). Das ist
   keine Spielerei: wenn der Kunde spaeter eine Terminkarte oder ein Angebot
   bekommt, soll das erkennbar von derselben Firma sein.
   =========================================================================== */

:root {
  /* DIE HAUSFARBEN KOMMEN AUS DEM LOGO - gemessen, nicht geschaetzt.
     #0090cc ist die haeufigste Farbe der Bildmarke, #96c846 das gruene
     Ende des Verlaufs. Das Dunkelblau ist daraus abgeleitet (dieselbe
     Farbe, nur abgedunkelt), damit weisse Schrift darauf lesbar bleibt -
     auf dem hellen Logoblau waere sie es nicht. */
  --blau: #0090cc;
  --blau-tief: #084b6b;
  --blau-nacht: #06374f;
  --gruen: #7ab52f;
  --gruen-hell: #96c846;

  /* Die alten Namen zeigen jetzt auf die neuen Farben. So musste nicht
     jede einzelne Regel angefasst werden - und es gibt keine Stelle, an
     der aus Versehen das alte Dunkelblau stehen bleibt. */
  --navy: var(--blau-tief);
  --navy-hell: var(--blau);

  --text: #16222c;
  --leise: #5a6b78;
  --linie: #dde5ea;
  --grund: #f2f7fa;
  --weiss: #ffffff;
  --rand: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--weiss);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); }

.huelle { max-width: var(--rand); margin: 0 auto; padding: 0 20px; }

/* ----------------------------------------------------------------- Kopf */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px; max-width: var(--rand); margin: 0 auto;
}
/* Das Logo im Kopf: die Bildmarke als Bild, daneben das Wort als Text.
   Das ganze Logo samt Schriftzug waere hier 905 Pixel hoch - auf 48 Pixel
   verkleinert koennte man "Dienstleistungen" nicht mehr lesen. Deshalb die
   Marke allein und das Wort in Schrift daneben; so steht es auch auf dem
   Briefkopf nebeneinander statt uebereinander. */
.marke { font-weight: 600; font-size: 18px; color: var(--blau-tief);
         text-decoration: none; letter-spacing: -.01em;
         display: inline-flex; align-items: center; gap: 11px; }
.marke img { height: 38px; width: auto; }

.ueberzeile {
  text-transform: uppercase; letter-spacing: .14em; font-size: 13px;
  font-weight: 700; color: var(--gruen-hell); margin: 0 0 16px;
}


.ueberzeile {
  text-transform: uppercase; letter-spacing: .14em; font-size: 13px;
  font-weight: 700; color: #7fd0a4; margin: 0 0 16px;
}
.kopf nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.kopf nav a { color: var(--leise); text-decoration: none; font-size: 15px;
              font-weight: 500; }
.kopf nav a:hover { color: var(--navy); }

/* Auf dem Handy ist kein Platz fuer eine Navigation - und sie wird dort
   auch nicht gebraucht: die Seite ist kurz genug zum Scrollen. Was bleibt,
   ist der Anrufknopf, denn das ist der Grund, warum jemand hier ist. */
.ruf {
  background: var(--navy); color: #fff !important; padding: 9px 17px;
  border-radius: 8px; font-weight: 650 !important; white-space: nowrap;
}

/* ---------------------------------------------------------------- Aufmacher */
/* KEIN FOTO IM AUFMACHER
   ----------------------
   Es gibt (noch) keine eigenen Bilder von der Arbeit, und ein gekauftes
   Stockfoto mit laechelnden Fremden in sauberer Arbeitskleidung erkennt
   jeder - das kostet mehr Vertrauen, als es bringt. Stattdessen Farbe,
   Typografie und ein ruhiges Raster. Sobald echte Fotos da sind (Vorher/
   Nachher vom Grundstueck, der Transporter, eine fertige Montage), gehoeren
   sie genau hierhin. */
.held {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--blau-tief) 0%,
                              var(--blau-nacht) 55%, #052c40 100%);
  color: #fff; padding: 76px 0 84px;
}
.held::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1px,
                    transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(105deg, transparent 45%, #000 100%);
          mask-image: linear-gradient(105deg, transparent 45%, #000 100%);
  pointer-events: none;
}
.held .huelle { position: relative; z-index: 1; }
.held h1 {
  font-size: clamp(30px, 5.2vw, 46px); line-height: 1.18; margin: 0 0 18px;
  letter-spacing: -.02em; max-width: 19ch;
}
.held p.unter {
  font-size: clamp(17px, 2.2vw, 19px); color: #cfe3ee; margin: 0 0 30px;
  max-width: 56ch;
}
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 10px; text-decoration: none;
  font-weight: 650; font-size: 16px; border: 1px solid transparent;
}
.knopf.haupt { background: #fff; color: var(--navy); }
.knopf.rand { border-color: rgba(255,255,255,.4); color: #fff; }
.knopf.gruen { background: var(--gruen); color: #fff; }
.knopf.haupt { background: #fff; color: var(--blau-tief); }
.knopf:hover { opacity: .9; }

.merkmale {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0;
  padding: 0; list-style: none; color: #cfe3ee; font-size: 15px;
}
.merkmale li::before { content: "\2713"; color: var(--gruen-hell); font-weight: 700;
                       margin-right: 8px; }

/* -------------------------------------------------------------- Abschnitte */
section { padding: 72px 0; }
section.grau { background: var(--grund); }
h2 {
  font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 12px;
  letter-spacing: -.015em;
}
.vorspann { color: var(--leise); max-width: 62ch; margin: 0 0 38px;
            font-size: 17px; }

.raster { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.karte {
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: 14px; padding: 26px;
}
section.grau .karte { background: var(--weiss); }
.karte h3 { margin: 0 0 8px; font-size: 19px; }
.karte p { margin: 0 0 14px; color: var(--leise); font-size: 15px; }
.karte ul { margin: 0; padding-left: 18px; color: var(--leise);
            font-size: 15px; }
.karte li { margin-bottom: 5px; }
/* Die Zeichen sind Strichzeichnungen, keine Emoji - siehe Kommentar in
   index.html. Sie erben die Textfarbe, lassen sich also mit einer Zeile
   umfaerben und bleiben bei jeder Groesse scharf. */
.zeichen { line-height: 1; margin-bottom: 16px; color: var(--blau); }
.sym { width: 28px; height: 28px; display: block; }
.weg .sym { width: 22px; height: 22px; }
.karte .zeichen {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,144,204,.10);
  display: flex; align-items: center; justify-content: center;
}

/* Ablauf: nummerierte Schritte. Die Zahl ist gross, weil sie die Reihenfolge
   traegt - wer ueberfliegt, soll in zwei Sekunden sehen, dass es drei
   Schritte sind und keine Verhandlung. */
.schritte { counter-reset: schritt; display: grid; gap: 22px;
            grid-template-columns: repeat(3, 1fr); }
.schritt { position: relative; padding-left: 54px; }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  position: absolute; left: 0; top: -4px;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
}
.schritt h3 { margin: 0 0 5px; font-size: 17px; }
.schritt p { margin: 0; color: var(--leise); font-size: 15px; }

/* ------------------------------------------------------------- Einsatzgebiet */
.orte { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.ort {
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: 99px; padding: 7px 15px; font-size: 14px; color: var(--leise);
}

/* ------------------------------------------------------------------ Kontakt */
.kontaktraster {
  display: grid; gap: 34px; grid-template-columns: 1fr 1fr; align-items: start;
}
.wege { display: grid; gap: 12px; margin: 0 0 26px; }
.weg {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: 12px; padding: 15px 18px; color: inherit;
}
.weg:hover { border-color: var(--navy); }
.weg .zeichen { font-size: 22px; margin: 0; }
.weg b { display: block; font-size: 16px; }
.weg small { color: var(--leise); font-size: 14px; }

/* ----------------------------------------------------------------- Formular */
form { background: var(--weiss); border: 1px solid var(--linie);
       border-radius: 14px; padding: 26px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 5px; }
input, textarea, select {
  width: 100%; padding: 12px 13px; border: 1px solid var(--linie);
  border-radius: 9px; font: inherit; font-size: 16px; background: #fff;
  color: var(--text); margin-bottom: 15px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--navy-hell); outline-offset: 1px;
  border-color: var(--navy-hell);
}
textarea { min-height: 120px; resize: vertical; }
button[type=submit] {
  background: var(--navy); color: #fff; border: 0; border-radius: 10px;
  padding: 15px 26px; font: inherit; font-weight: 700; font-size: 16px;
  cursor: pointer; width: 100%;
}
button[type=submit]:hover { background: var(--navy-hell); }
.hinweis { font-size: 13px; color: var(--leise); margin: 12px 0 0; }

/* Der Honigtopf. Er muss fuer Menschen unsichtbar sein, fuer Maschinen aber
   wie ein normales Feld aussehen - deshalb KEIN display:none (manche
   Programme erkennen das), sondern aus dem Bild geschoben. */
.honig {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

.meldung { border-radius: 12px; padding: 16px 18px; margin-bottom: 22px;
           font-size: 15px; }
.meldung.gut { background: rgba(26,127,75,.1); border: 1px solid var(--gruen);
               color: #10532f; }
.meldung.schlecht { background: rgba(180,83,9,.1); border: 1px solid #b45309;
                    color: #7c3d06; }

/* -------------------------------------------------------------------- Fuss */
footer {
  background: var(--blau-nacht); color: #cfe3ee; padding: 44px 0 30px;
  font-size: 15px;
}
footer a { color: #fff; }
.fussraster { display: grid; gap: 26px; grid-template-columns: 2fr 1fr 1fr; }
footer h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 6px; }
.fussleiste {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px;
  padding-top: 18px; font-size: 14px; display: flex; flex-wrap: wrap;
  gap: 8px 20px;
}

/* -------------------------------------------------------------- Rechtstexte */
.text { max-width: 760px; }
.text h2 { margin-top: 38px; font-size: 22px; }
.text h3 { margin-top: 26px; font-size: 17px; }
.text p, .text li { color: #35414f; }
.luecke {
  background: #fff3cd; border-bottom: 2px solid #b45309; padding: 0 4px;
  font-weight: 600;
}

/* ------------------------------------------------------------------- Handy */
@media (max-width: 860px) {
  .raster, .schritte, .kontaktraster, .fussraster { grid-template-columns: 1fr; }
  .kopf nav a:not(.ruf) { display: none; }
  section { padding: 52px 0; }
  .held { padding: 54px 0 60px; }
}
