/* Singoldwerk – Demo "Fliesen Muster"
   Reines CSS, keine externen Ressourcen, keine Webfonts.
   Viertes eigenständiges Rasterprinzip: warmes Sandbeige + tiefes
   Graublau, ruhige, helle Typografie mit viel Weißraum, Karten als
   "Fliesenraster" mit duennen Fugenlinien statt Rundungen (Dachdecker),
   scharfer Zeilen (Elektro) oder Tag-Karten mit Akzentkante (Kfz). */

:root {
  --sand: #f1e9da;
  --sand-dunkel: #e4d8bf;
  --fuge: #cdbfa0;
  --graublau: #33475a;
  --graublau-hell: #45596e;
  --graublau-dunkel: #212f3b;
  --terra: #965a34;
  --weiss: #fffdf8;
  --text: #2c2820;
  --text-leise: #5c5546;
  --max: 68rem;
  --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.7;
  font-weight: 300;
  color: var(--text);
  background: var(--sand);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 {
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: .01em;
  margin: 0 0 .6em;
  color: var(--graublau-dunkel);
}
h1 { font-size: 2.125rem; }
h2 {
  font-size: .875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; color: var(--graublau-hell);
}
h3 { font-size: 1.1875rem; font-weight: 500; color: var(--text); }
p { margin: 0 0 1em; }
a { color: var(--graublau); }
img, svg { max-width: 100%; height: auto; display: block; }

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

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

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

/* --- Hinweisbanner --- */
.hinweis {
  background: var(--graublau-dunkel);
  color: #d8dee3;
  font-size: .8125rem;
  line-height: 1.45;
  padding: .55rem 1.15rem;
  text-align: center;
  font-weight: 400;
}
.hinweis strong { color: #fff; }

/* --- Kopf --- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--weiss);
  border-bottom: 1px solid var(--fuge);
}
.kopf .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; min-height: 3.75rem; padding-top: .5rem; padding-bottom: .5rem;
}
.marke {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 500; color: var(--graublau-dunkel); text-decoration: none;
  font-size: 1.0625rem; letter-spacing: .01em;
}
.marke svg { width: 2rem; height: 2rem; flex: 0 0 auto; }
.marke small {
  display: block; font-size: .6875rem; font-weight: 400;
  color: var(--text-leise); letter-spacing: .1em; text-transform: uppercase;
}

.nav { display: none; }
@media (min-width: 56rem) {
  .nav { display: flex; gap: 1.5rem; margin-left: auto; margin-right: 1.25rem; }
  .nav a {
    color: var(--graublau-dunkel); text-decoration: none; font-weight: 400;
    font-size: .9375rem; padding: .25rem 0; border-bottom: 1px solid transparent;
  }
  .nav a:hover { border-bottom-color: var(--terra); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.3rem; border-radius: 2px;
  font-weight: 500; font-size: .9375rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; min-height: 48px;
  letter-spacing: .02em;
}
.btn svg { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: #96562f; }
.btn-hell { background: transparent; color: var(--graublau-dunkel); border-color: var(--graublau-dunkel); }
.btn-hell:hover { background: var(--weiss); }
.kopf .btn { padding: .6rem .95rem; font-size: .875rem; white-space: nowrap; }

/* --- Hero --- */
.hero { padding: 1.5rem 0 2.25rem; }
.hero .ort {
  display: block; font-size: .8125rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--graublau-hell);
  margin-bottom: 1rem;
}
.hero p.lead { font-size: 1.0625rem; color: var(--text-leise); max-width: 34rem; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.hero-aktionen .btn { flex: 1 1 13rem; }
.hero-bild {
  border: 1px solid var(--fuge); margin-top: 1.75rem; background: var(--weiss);
}
@media (min-width: 58rem) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero .wrap { display: grid; grid-template-columns: 1fr .95fr; gap: 3rem; align-items: center; }
  .hero-bild { margin-top: 0; }
  .hero h1 { max-width: 18ch; }
  h1 { font-size: 3rem; }
}

/* --- Vertrauensleiste --- */
.vertrauen { background: var(--graublau-dunkel); }
.vertrauen ul {
  list-style: none; margin: 0; padding: 1.15rem 0;
  display: grid; gap: .6rem;
}
.vertrauen li {
  display: flex; align-items: baseline; gap: .5rem; font-weight: 500;
  font-size: .9375rem; color: #fff;
}
.vertrauen li span.platzhalter {
  font-weight: 300; color: #9fabb6; font-size: .875rem;
}
@media (min-width: 46rem) {
  .vertrauen ul { grid-template-columns: repeat(3, 1fr); padding: 1.4rem 0; }
}

/* --- Abschnitte --- */
section { padding: 2.75rem 0; }
.alt { background: var(--sand-dunkel); }
.sektionskopf { max-width: 40rem; margin-bottom: 2rem; }
.sektionskopf p { color: var(--text-leise); margin-bottom: 0; font-weight: 300; font-size: 1.0625rem; }
@media (min-width: 48rem) { section { padding: 4rem 0; } }

/* --- Leistungen: Fliesenraster mit Fugenlinien --- */
.fliesenraster {
  display: grid; gap: 2px; background: var(--fuge);
  border: 1px solid var(--fuge); list-style: none; margin: 0; padding: 0;
}
@media (min-width: 40rem) { .fliesenraster { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .fliesenraster { grid-template-columns: repeat(3, 1fr); } }
.fliese { background: var(--weiss); padding: 1.5rem 1.35rem; }
.alt .fliese { background: var(--weiss); }
.fliese svg { width: 1.75rem; height: 1.75rem; color: var(--terra); margin-bottom: .85rem; }
.fliese h3 { margin-bottom: .4rem; }
.fliese p { margin-bottom: 0; color: var(--text-leise); font-size: .9375rem; }

/* --- Ablauf --- */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; background: var(--fuge); border: 1px solid var(--fuge); }
@media (min-width: 48rem) { .schritte { grid-template-columns: repeat(3, 1fr); } }
.schritt { background: var(--weiss); padding: 1.5rem 1.35rem; }
.schritt .nr {
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em;
  color: var(--terra); display: block; margin-bottom: .7rem;
}
.schritt p { color: var(--text-leise); margin-bottom: 0; font-size: .9375rem; }

/* --- Region --- */
.orte { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.orte li {
  background: var(--weiss); border: 1px solid var(--fuge);
  padding: .45rem 1rem; font-weight: 400; font-size: .9375rem; color: var(--graublau-dunkel);
}
.region-hinweis { color: var(--text-leise); font-size: .9375rem; margin-bottom: 0; }

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

.kontaktdaten { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.kontaktdaten li { display: flex; gap: .7rem; margin-bottom: .95rem; }
.kontaktdaten svg { width: 1.2rem; height: 1.2rem; color: var(--terra); flex: 0 0 auto; margin-top: .25rem; }
.kontaktdaten b {
  display: block; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-leise); font-weight: 500;
}
.kontaktdaten a { font-weight: 500; text-decoration: none; font-size: 1.0625rem; color: var(--graublau-dunkel); }
.kontaktdaten a:hover { color: var(--terra); }

.zeiten { border-collapse: collapse; width: 100%; max-width: 22rem; font-size: .9375rem; }
.zeiten caption { text-align: left; font-weight: 500; margin-bottom: .5rem; color: var(--graublau-dunkel); }
.zeiten th, .zeiten td { text-align: left; padding: .35rem 0; border-bottom: 1px solid var(--fuge); font-weight: 300; }
.zeiten th { font-weight: 500; }

form { background: var(--weiss); border: 1px solid var(--fuge); padding: 1.4rem; }
.feld { margin-bottom: 1rem; }
.feld label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .9375rem; }
.feld .pflicht { color: var(--terra); }
.feld input, .feld textarea, .feld select {
  width: 100%; padding: .7rem .8rem; font: inherit; font-size: 1rem; font-weight: 300;
  color: var(--text); background: var(--weiss);
  border: 1px solid var(--fuge); border-radius: 2px; min-height: 48px;
}
.feld textarea { min-height: 7rem; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { border-color: var(--graublau); }
.hinweis-klein { font-size: .8125rem; color: var(--text-leise); margin: .9rem 0 0; }
form .btn { width: 100%; background: var(--graublau-dunkel); color: #fff; }
form .btn:hover { background: #16202a; }

/* --- Fuß --- */
.fuss { background: var(--graublau-dunkel); color: #b7c0c8; padding: 2rem 0 1.25rem; font-size: .9375rem; font-weight: 300; }
.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: .75rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: .6rem; font-weight: 500; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .3rem; }
.fuss-unten { border-top: 1px solid var(--graublau-hell); 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.0625rem; margin-top: 2rem; text-transform: none; letter-spacing: 0; color: var(--graublau-dunkel); font-weight: 500; }
.inhalt dl { margin: 0 0 1rem; }
.inhalt dt { font-weight: 500; margin-top: .75rem; color: var(--graublau-dunkel); }
.inhalt dd { margin: 0; }
.kasten {
  background: var(--sand-dunkel); border-left: 3px solid var(--terra);
  padding: 1rem 1.15rem; margin-bottom: 1.5rem;
}
.kasten p:last-child { margin-bottom: 0; }
