/* Singoldwerk – Demo "Dachdeckerei Muster"
   Reines CSS, keine externen Ressourcen, keine Webfonts. */

:root {
  --anthrazit: #1c2126;
  --anthrazit-hell: #2c343c;
  --ziegel: #a8331b;
  --ziegel-dunkel: #8a2814;
  --sand: #f4f1ec;
  --sand-dunkel: #e5dfd5;
  --weiss: #ffffff;
  --text: #23282d;
  --text-leise: #4d545b;
  --rahmen: #d7d1c7;
  --max: 68rem;
  --radius: 10px;
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 1.95rem; letter-spacing: -.02em; }
h2 { font-size: 1.55rem; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
a { color: var(--ziegel-dunkel); }
img, svg { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--ziegel);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.15rem; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--anthrazit); color: #fff; padding: .7rem 1rem; z-index: 100;
}
.skip:focus { left: .5rem; top: .5rem; }

/* --- Hinweisbanner (auf jeder Seite) --- */
.hinweis {
  background: var(--anthrazit);
  color: #f0ece5;
  font-size: .8125rem;
  line-height: 1.45;
  padding: .55rem 1.15rem;
  text-align: center;
}
.hinweis strong { color: #fff; }

/* --- Kopf --- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--weiss);
  border-bottom: 1px solid var(--rahmen);
}
.kopf .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; min-height: 3.5rem; padding-top: .5rem; padding-bottom: .5rem;
}
.marke {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 700; color: var(--anthrazit); text-decoration: none;
  font-size: .9375rem; line-height: 1.2; letter-spacing: -.01em; min-width: 0;
}
@media (min-width: 26rem) { .marke { font-size: 1.0625rem; } }
.marke svg { width: 1.85rem; height: 1.85rem; flex: 0 0 auto; }
.marke span { display: block; }
.marke small {
  display: block; font-size: .6875rem; line-height: 1.4; font-weight: 500;
  color: var(--text-leise); letter-spacing: .06em; text-transform: uppercase;
}

.nav { display: none; }
@media (min-width: 56rem) {
  .nav { display: flex; gap: 1.35rem; margin-left: auto; margin-right: 1.25rem; }
  .nav a {
    color: var(--anthrazit); text-decoration: none; font-weight: 600;
    font-size: .95rem; padding: .25rem 0; border-bottom: 2px solid transparent;
  }
  .nav a:hover { border-bottom-color: var(--ziegel); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.15rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; min-height: 48px;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; }
.btn-tel { background: var(--ziegel-dunkel); color: #fff; }
.btn-tel:hover { background: #6f2010; }
.btn-hell { background: var(--weiss); color: var(--anthrazit); border-color: var(--anthrazit); }
.btn-hell:hover { background: var(--sand-dunkel); }
.kopf .btn { padding: .6rem .85rem; font-size: .9375rem; white-space: nowrap; }

/* --- Hero --- */
.hero {
  background: var(--sand);
  border-bottom: 1px solid var(--rahmen);
  padding: 1.5rem 0 2rem;
}
.hero .wrap { display: grid; gap: 1.5rem; }
.hero p.lead { font-size: 1.0625rem; color: var(--text-leise); max-width: 34rem; }
.ort {
  display: inline-block; font-size: .8125rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ziegel-dunkel);
  margin-bottom: .65rem;
}
.hero-aktionen { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-aktionen .btn { flex: 1 1 14rem; }
.hero-tel {
  margin: .9rem 0 0; font-size: .9375rem; color: var(--text-leise);
}
.hero-bild {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--rahmen); background: var(--sand-dunkel);
}
@media (min-width: 56rem) {
  .hero { padding: 3rem 0 3.25rem; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2.5rem; }
  h1 { font-size: 2.85rem; }
  h2 { font-size: 1.9rem; }
}

/* --- Vertrauensleiste --- */
.vertrauen { background: var(--anthrazit); color: #eae6df; padding: 0; }
.vertrauen ul {
  list-style: none; margin: 0; padding: 1.1rem 0;
  display: grid; gap: .55rem;
}
.vertrauen li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; }
.vertrauen svg { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; margin-top: .2rem; color: #e0a03c; }
.vertrauen .platzhalter {
  font-weight: 400; color: #bdb7ad; font-size: .9375rem;
}
@media (min-width: 44rem) {
  .vertrauen ul { grid-template-columns: repeat(3, 1fr); padding: 1.35rem 0; }
}

/* --- Abschnitte --- */
section { padding: 2.5rem 0; }
.alt { background: var(--sand); }
.sektionskopf { max-width: 40rem; margin-bottom: 1.6rem; }
.sektionskopf p { color: var(--text-leise); margin-bottom: 0; }

.karten { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 40rem) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .karten { grid-template-columns: repeat(3, 1fr); } }
.karte {
  background: var(--weiss); border: 1px solid var(--rahmen);
  border-radius: var(--radius); padding: 1.25rem;
}
.alt .karte { background: var(--weiss); }
.karte h3 { display: flex; align-items: center; gap: .55rem; }
.karte h3 svg { width: 1.4rem; height: 1.4rem; color: var(--ziegel); flex: 0 0 auto; }
.karte p { margin-bottom: 0; color: var(--text-leise); font-size: .9875rem; }

/* --- Ablauf --- */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 48rem) { .schritte { grid-template-columns: repeat(3, 1fr); } }
.schritt {
  background: var(--weiss); border: 1px solid var(--rahmen);
  border-radius: var(--radius); padding: 1.25rem; position: relative;
}
.schritt .nr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--ziegel-dunkel); color: #fff; font-weight: 700;
  margin-bottom: .7rem;
}
.schritt p { margin-bottom: 0; color: var(--text-leise); font-size: .9875rem; }

/* --- Region --- */
.orte { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.orte li {
  background: var(--weiss); border: 1px solid var(--rahmen);
  border-radius: 999px; padding: .4rem .9rem; font-weight: 600; font-size: .9375rem;
}
.region-hinweis { color: var(--text-leise); font-size: .9375rem; margin-bottom: 0; }

/* --- Kontakt --- */
.kontakt-raster { display: grid; gap: 1.75rem; }
@media (min-width: 52rem) { .kontakt-raster { grid-template-columns: 1fr 1.25fr; gap: 2.5rem; } }

.kontaktdaten { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.kontaktdaten li { display: flex; gap: .7rem; margin-bottom: .9rem; }
.kontaktdaten svg { width: 1.25rem; height: 1.25rem; color: var(--ziegel); flex: 0 0 auto; margin-top: .25rem; }
.kontaktdaten b { display: block; font-size: .8125rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-leise); font-weight: 700; }
.kontaktdaten a { font-weight: 700; text-decoration: none; font-size: 1.0625rem; }
.kontaktdaten a:hover { text-decoration: underline; }

.zeiten { border-collapse: collapse; width: 100%; max-width: 22rem; font-size: .9375rem; }
.zeiten caption { text-align: left; font-weight: 700; margin-bottom: .5rem; }
.zeiten th, .zeiten td { text-align: left; padding: .35rem 0; border-bottom: 1px solid var(--rahmen); font-weight: 400; }
.zeiten th { font-weight: 600; }

form { background: var(--weiss); border: 1px solid var(--rahmen);
  border-radius: var(--radius); padding: 1.25rem; }
.feld { margin-bottom: 1rem; }
.feld label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .9375rem; }
.feld .pflicht { color: var(--ziegel-dunkel); }
.feld input, .feld textarea, .feld select {
  width: 100%; padding: .7rem .8rem; font: inherit; font-size: 1rem;
  color: var(--text); background: var(--weiss);
  border: 1px solid #b9b2a6; border-radius: 8px; min-height: 48px;
}
.feld textarea { min-height: 7rem; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { border-color: var(--anthrazit); }
.hinweis-klein { font-size: .8125rem; color: var(--text-leise); margin: .9rem 0 0; }
form .btn { width: 100%; background: var(--ziegel-dunkel); color: #fff; }
form .btn:hover { background: #6f2010; }

/* --- Fuß --- */
.fuss { background: var(--anthrazit); color: #cfcac2; padding: 2rem 0 1.25rem; font-size: .9375rem; }
.fuss a { color: #fff; }
.fuss-raster { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 44rem) { .fuss-raster { grid-template-columns: repeat(3, 1fr); } }
.fuss h2 { font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: .6rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .3rem; }
.fuss-unten { border-top: 1px solid #39424b; padding-top: 1rem; font-size: .8125rem; }
.fuss-unten p { margin: 0 0 .35rem; }

/* --- Impressum --- */
.inhalt { padding: 2rem 0 3rem; }
.inhalt .wrap { max-width: 44rem; }
.inhalt h2 { font-size: 1.25rem; margin-top: 2rem; }
.inhalt dl { margin: 0 0 1rem; }
.inhalt dt { font-weight: 700; margin-top: .75rem; }
.inhalt dd { margin: 0; }
.kasten {
  background: var(--sand); border-left: 4px solid var(--ziegel);
  padding: 1rem 1.15rem; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 1.5rem;
}
.kasten p:last-child { margin-bottom: 0; }
