/* Jann Joachimsthaler, Hausmeisterservice & PC-Notdienst Cuxhaven
   Stil "hell & handfest" (Vait, 27.11.2026). Farben gemessen in Jans Werbegrafik kunde/bilder/bild-01.jpeg.
   Schriften wie in seinen Grafiken: Roboto Condensed (Überschriften), Roboto (Text). Lokal, OFL. */

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

:root {
  --orange: #ee8a2c;        /* Schrift "HAUSMEISTER-SERVICE" in bild-01 */
  --orange-dunkel: #a8550c; /* Orange als Text auf Weiß (Kontrast 5,0:1) */
  --blau: #0b1f33;          /* Grundfläche der Werbegrafiken bild-01/-02/-04 */
  --blau-2: #14304d;        /* etwas heller für Flächen auf Dunkelblau */
  --text: #1c2833;
  --leise: #4e5b68;
  --grau: #f2f4f6;
  --linie: #dde2e7;
  --weiss: #fff;
  --kopf: "Roboto Condensed", "Arial Narrow", sans-serif;
  --fliess: "Roboto", Arial, sans-serif;
  --radius: 6px;
  --breite: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--weiss); color: var(--text); font: 400 1.125rem/1.6 var(--fliess); }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1.25em; height: 1.25em; flex: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--kopf); font-weight: 800; line-height: 1.1; color: var(--blau); margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.25rem; color: var(--text); }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--blau); color: #fff; padding: .6rem 1rem; }
.sprung:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.rahmen { width: min(var(--breite), 100% - 2.5rem); margin-inline: auto; }
.abschnitt { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.flaeche { background: var(--grau); }
.hinweis { color: var(--leise); font-size: 1rem; margin-top: 1.2rem; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.3rem;
  border-radius: var(--radius); border: 2px solid var(--orange); background: var(--orange); color: var(--blau);
  font: 700 1.05rem/1.2 var(--fliess); text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.knopf:hover { background: #f5a052; border-color: #f5a052; }
.knopf-rand { background: transparent; border-color: var(--blau); color: var(--blau); }
.knopf-rand:hover { background: var(--blau); border-color: var(--blau); color: #fff; }
.knopf-hell { background: #fff; border-color: #fff; color: var(--blau); }
.knopf-hell:hover { background: var(--grau); border-color: var(--grau); }
.knopf-dunkel { background: var(--blau); border-color: var(--blau); color: #fff; }
.knopf-dunkel:hover { background: var(--blau-2); border-color: var(--blau-2); }
.knopf-dunkel-rand { background: transparent; border-color: var(--blau); color: var(--blau); }
.knopf-dunkel-rand:hover { background: var(--blau); color: #fff; }
.knopf-gross { min-height: 56px; padding: .9rem 1.5rem; font-size: 1.125rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }
.textlink { display: inline-block; color: var(--blau); font-weight: 700; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.textlink:hover { color: var(--orange-dunkel); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--linie); }
.kopf .rahmen { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.marke { display: flex; flex-direction: column; text-decoration: none; color: var(--blau); line-height: 1; }
.marke-name { font: 800 1.7rem/1 var(--kopf); letter-spacing: .01em; }
.marke small { font: 700 .82rem/1.2 var(--kopf); color: var(--orange-dunkel); margin-top: .25rem; }
.marke-hell { color: #fff; }
.marke-hell small { color: var(--orange); }
.hauptnav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.hauptnav ul { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.hauptnav li a { text-decoration: none; font-weight: 700; font-size: 1rem; padding: .4rem 0; border-bottom: 3px solid transparent; }
.hauptnav li a:hover, .hauptnav li a[aria-current="page"] { border-bottom-color: var(--orange); }
.kopf-knoepfe { display: flex; gap: .6rem; }
.kopf-knoepfe .knopf { min-height: 44px; padding: .5rem 1rem; font-size: .98rem; }
.menue-knopf { display: none; margin-left: auto; background: none; border: 2px solid var(--blau); border-radius: var(--radius); color: var(--blau); width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; }
.menue-knopf svg { width: 26px; height: 26px; }

/* Hero */
.buehne { position: relative; color: #fff; min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--blau); }
.buehne-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.buehne::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 31, 51, .92) 0%, rgba(11, 31, 51, .78) 42%, rgba(11, 31, 51, .15) 75%); }
.buehne-inhalt { position: relative; z-index: 2; padding: 4rem 0 6.5rem; }
.buehne h1 { color: #fff; max-width: 15ch; }
.buehne-text { font-size: 1.25rem; max-width: 36rem; margin-bottom: 1.8rem; }
.buehne-fakten { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 1.6rem 0 0; font-weight: 700; }
.buehne-fakten span { display: inline-flex; align-items: center; gap: .45rem; }
.buehne-fakten svg { color: var(--orange); }
.symbol { position: absolute; right: .6rem; bottom: .6rem; z-index: 3; background: rgba(0, 0, 0, .55); color: #fff; font-size: .75rem; padding: .15rem .45rem; border-radius: 3px; }

/* Vorteilsleiste, ragt in den Hero */
.vorteile { position: relative; z-index: 5; margin: -3.5rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(11, 31, 51, .14); border-top: 5px solid var(--orange); }
.vorteile li { display: flex; gap: .8rem; align-items: flex-start; padding: 1.4rem 1.3rem; }
.vorteile li + li { border-left: 1px solid var(--linie); }
.vorteile svg { width: 30px; height: 30px; color: var(--orange-dunkel); margin-top: .1rem; }
.vorteile strong { display: block; font: 700 1.2rem/1.2 var(--kopf); color: var(--blau); }
.vorteile span { display: block; font-size: .98rem; color: var(--leise); line-height: 1.4; margin-top: .2rem; }

/* Abschnittskopf links, Link rechts */
.kopfzeile { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.kopfzeile h2 { margin: 0; }

/* Leistungen Startseite: großes Foto + Liste mit kleinen Bildern */
.leistung-gross { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.gross-karte { position: relative; display: block; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--blau); color: #fff; }
.gross-karte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gross-karte > div { padding: 1.4rem 1.5rem 1.6rem; }
.gross-karte h3 { color: #fff; font-size: 1.8rem; margin-bottom: .3rem; }
.gross-karte p { margin: 0; }
.gross-karte .symbol { bottom: auto; top: .6rem; }
.leistung-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.leistung-liste a { display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; align-items: center; text-decoration: none; padding: .8rem; border: 1px solid var(--linie); border-radius: var(--radius); transition: border-color .15s; }
.leistung-liste a:hover { border-color: var(--orange); }
.leistung-liste img { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; }
.leistung-liste strong { display: block; font: 700 1.3rem/1.2 var(--kopf); color: var(--blau); margin-bottom: .15rem; }
.leistung-liste span { font-size: 1rem; color: var(--leise); line-height: 1.45; }

/* Dunkler Abschnitt Bild + Text */
.dunkel { background: var(--blau); color: #e9eef3; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.dunkel h2 { color: #fff; }
.dunkel .lead { color: #fff; }
.geteilt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.geteilt-bild { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.geteilt-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.haken { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.haken li { position: relative; padding-left: 1.7rem; margin-bottom: .5rem; }
.haken li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .55rem; height: .9rem; border: solid var(--orange); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.preiszeile { font-weight: 700; color: #fff; border-left: 4px solid var(--orange); padding-left: .9rem; }

/* Über mich + Ablauf */
.ueber { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.unterschrift { color: var(--leise); }
.unterschrift strong { color: var(--blau); }
.ablauf { list-style: none; margin: 0; padding: 0; counter-reset: schritt; display: grid; gap: 1.6rem; }
.ablauf li { counter-increment: schritt; border-top: 4px solid var(--blau); padding-top: 1rem; }
.ablauf h3 { margin-bottom: .3rem; }
.ablauf h3::before { content: counter(schritt) ". "; color: var(--orange-dunkel); }
.ablauf p { margin: 0; color: var(--leise); }

/* Fotostreifen Projekte */
.fotostreifen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fotostreifen figure { margin: 0; position: relative; }
.fotostreifen img, .galerie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.fotostreifen figcaption { position: absolute; left: .6rem; top: .6rem; background: var(--blau); color: #fff; font: 700 .9rem/1 var(--kopf); padding: .35rem .55rem; border-radius: 3px; }

/* Farbband */
.band { background: var(--orange); color: var(--blau); padding: 2.6rem 0; }
.band-gross { font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.15 var(--kopf); margin-bottom: .4rem; }
.band p:last-child { margin: 0; font-weight: 700; }

/* Fragen */
.zweispaltig { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen details:first-child { border-top: 1px solid var(--linie); }
.fragen summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font: 700 1.25rem/1.3 var(--kopf); color: var(--blau); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: .3rem; top: .85rem; font-size: 1.6rem; color: var(--orange-dunkel); }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { color: var(--leise); }

/* Abschluss */
.abschluss { background: var(--orange); color: var(--blau); padding: 3rem 0; }
.abschluss .rahmen { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; }
.abschluss h2 { margin-bottom: .3rem; }
.abschluss p { margin: 0; max-width: 40rem; }

/* Unterseiten */
.seitenkopf { position: relative; color: #fff; background: var(--blau); overflow: hidden; }
.seitenkopf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seitenkopf::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(11, 31, 51, .72); }
.seitenkopf .rahmen { position: relative; z-index: 2; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem); }
.seitenkopf h1 { color: #fff; max-width: 20ch; }
.seitenkopf p { max-width: 40rem; font-size: 1.2rem; margin: 0; }
.pfad { font-size: 1rem !important; margin-bottom: 1rem !important; color: #c9d4de; }
.pfad a { color: #fff; }
.leistung { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--linie); }
.leistung:last-child { border-bottom: 0; }
.leistung:nth-child(even) .leistung-bild { order: 2; }
.leistung-bild { position: relative; border-radius: var(--radius); overflow: hidden; }
.leistung-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.preisraster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.5rem; }
.preise { background: #fff; border-radius: var(--radius); border-top: 5px solid var(--orange); padding: 1.5rem 1.6rem .6rem; }
.preise dl { margin: 0; }
.preise dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--linie); }
.preise dt { color: var(--text); }
.preise dd { margin: 0; font-weight: 700; color: var(--blau); text-align: right; white-space: nowrap; }
.galerie-titel { margin-top: 2.4rem; }
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.galerie a, .fotostreifen a { display: block; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--radius); }
.lightbox-zu { display: block; margin: .8rem auto 0; background: #fff; color: var(--blau); border: 0; border-radius: var(--radius); font: 700 1rem var(--fliess); padding: .6rem 1.2rem; cursor: pointer; }

/* Kontakt */
.kontaktraster { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.kontaktwege { display: grid; gap: .8rem; }
.kontaktweg { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; }
a.kontaktweg:hover { border-color: var(--orange); }
.kontaktweg svg { width: 28px; height: 28px; color: var(--orange-dunkel); }
.kontaktweg strong { display: block; color: var(--blau); font-size: 1.15rem; }
.kontaktweg span { color: var(--leise); font-size: 1rem; }
.umbruch { overflow-wrap: anywhere; }

/* Rechtstexte */
.recht { padding: 3.5rem 0 5rem; }
.recht .rahmen { max-width: 820px; }
.recht h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.recht li { margin-bottom: .3rem; }

/* Fuß */
.fuss { background: var(--blau); color: #c9d4de; padding: 3.5rem 0 1.5rem; font-size: 1rem; }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.fuss h3 { color: #fff; font-size: 1.2rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .45rem; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss .marke { margin-bottom: 1rem; }
.fuss-unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; border-top: 1px solid var(--blau-2); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .95rem; }
.leiste { display: none; }

/* Tablet */
@media (max-width: 1100px) {
  .hauptnav ul { gap: .9rem; }
  .kopf-knoepfe .knopf-rand { display: none; }
}
@media (max-width: 960px) {
  .menue-knopf { display: inline-flex; }
  .hauptnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; }
  .hauptnav.offen { display: flex; }
  .hauptnav ul { flex-direction: column; gap: 0; }
  .hauptnav li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--linie); }
  .kopf-knoepfe { margin-top: 1rem; }
  .kopf-knoepfe .knopf-rand { display: inline-flex; }
  .vorteile { grid-template-columns: 1fr 1fr; }
  .vorteile li:nth-child(3) { border-left: 0; }
  .vorteile li:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .leistung-gross, .geteilt, .ueber, .zweispaltig, .kontaktraster, .leistung { grid-template-columns: 1fr; }
  .leistung:nth-child(even) .leistung-bild { order: 0; }
  .fotostreifen, .galerie { grid-template-columns: 1fr 1fr; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
}

/* Handy */
@media (max-width: 600px) {
  body { font-size: 1.0625rem; padding-bottom: 64px; }
  .kopf .rahmen { min-height: 66px; }
  .marke-name { font-size: 1.45rem; }
  .marke small { font-size: .74rem; }
  .buehne { min-height: 0; }
  .buehne::before { background: rgba(11, 31, 51, .74); }
  .buehne-inhalt { padding: 3rem 0 5.5rem; }
  .buehne .knopf { width: 100%; }
  .vorteile { grid-template-columns: 1fr; margin-top: -3rem; }
  .vorteile li + li { border-left: 0; border-top: 1px solid var(--linie); }
  .vorteile li { padding: 1rem 1.1rem; }
  .leistung-liste a { grid-template-columns: 80px 1fr; }
  .leistung-liste img { width: 80px; height: 60px; }
  .abschluss .knopf { width: 100%; }
  .fuss-raster { grid-template-columns: 1fr; }
  .preise dl div { flex-direction: column; gap: .1rem; }
  .preise dd { text-align: left; }
  .leiste { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; }
  .leiste .knopf { border-radius: 0; min-height: 58px; border: 0; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
