/* Drobny's Maler- und Stuckateurbetrieb – gemeinsames Stylesheet
   Keine externen Schriften oder Ressourcen (DSGVO-freundlich). */

:root {
  color-scheme: light;
  --putz: #edeff0;
  --papier: #ffffff;
  --tinte: #22272d;
  --gedaempft: #55606b;
  --linie: #d5dade;
  --gruen: #007830;
  --rot: #e01820;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--putz);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Farbkarte in den Farben des Logos */
.farbkarte {
  display: flex;
  height: 0.75rem;
}
.farbkarte span { flex: 1; }
.farbkarte span:nth-child(1) { background: #e01820; }
.farbkarte span:nth-child(2) { background: #585858; }
.farbkarte span:nth-child(3) { background: #a9a9a9; }
.farbkarte span:nth-child(4) { background: #88c0a0; }
.farbkarte span:nth-child(5) { background: #48a068; }
.farbkarte span:nth-child(6) { background: #007830; }

/* Kopfbereich: weißes Band, damit das transparente Logo sauber steht */
.kopf {
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
}
.kopf img {
  display: block;
  width: 320px;
  max-width: 100%;
  height: auto;
}

.seite {
  flex: 1;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

/* Hinweis zur Betriebsschließung */
.hinweis {
  background: var(--papier);
  border-left: 0.3125rem solid var(--rot);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  margin: 0 0 2.5rem;
}
.hinweis-titel {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 700;
}
h1.hinweis-titel { font-size: 2rem; }
.hinweis p:last-child { margin: 0; font-size: 1.1875rem; }

/* Typografie */
h1 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 700;
}

h2 {
  margin: 2.25rem 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 700;
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.3;
  font-weight: 700;
}

h4 {
  margin: 1.25rem 0 0.25rem;
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 700;
}

p { margin: 0 0 1rem; max-width: 40rem; }

ul { margin: 0 0 1rem; padding-left: 1.25rem; max-width: 40rem; }
li { margin-bottom: 0.25rem; }

/* Impressum: Anschrift und Kontakt nebeneinander */
.angaben {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 0.5rem;
}
.angaben h2 { margin-top: 0; }
@media (min-width: 40rem) {
  .angaben { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

address { font-style: normal; }

dl { margin: 0; }
dt {
  float: left;
  clear: left;
  width: 6.5rem;
  color: var(--gedaempft);
}
dd { margin: 0 0 0.25rem 6.5rem; }

.hervorgehoben { font-weight: 700; }

/* Links */
a {
  color: var(--gruen);
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}
a:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 3px solid var(--gruen);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Fußbereich mit Pflichtlinks (auf jeder Seite) */
.fuss {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}
.fuss-innen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linie);
  color: var(--gedaempft);
  font-size: 0.9375rem;
}
.fuss p { margin: 0; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.fuss a[aria-current="page"] {
  color: var(--tinte);
  font-weight: 700;
  text-decoration: none;
}

@media print {
  body { background: #fff; }
  .farbkarte { display: none; }
  .hinweis { border-left-color: #000; }
  .fuss nav { display: none; }
}
