/* Erzeugt von werkzeuge/bauen.py für mak-event.de */
:root { --akzent-hell: #b45309; --akzent-dunkel: #f5b544; }

/* Gemeinsamer Stil aller drei Webseiten. Die Akzentfarben (--akzent-hell, --akzent-dunkel) setzt bauen.py je Seite davor.
   Nur Systemschriften: keine Schriftdateien, nichts von fremden Servern. */

:root {
  color-scheme: light dark;
  --text: #1d2125;
  --grund: #ffffff;
  --flaeche: #f4f5f7;
  --linie: #d9dee4;
  --leise: #5a636e;
  --akzent: var(--akzent-hell);
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e7e9ec;
    --grund: #121519;
    --flaeche: #1b2027;
    --linie: #2e353e;
    --leise: #9aa3ad;
    --akzent: var(--akzent-dunkel);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--grund);
}

.rahmen {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Kopf */
.kopf {
  border-top: 4px solid var(--akzent);
  border-bottom: 1px solid var(--linie);
}
.kopf .rahmen {
  display: flex;
  align-items: center;
  min-height: 4rem;
}
.marke {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
}
.marke:hover { color: var(--akzent); }

/* Inhalt */
main {
  flex: 1;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

h1 {
  font-size: clamp(2.1rem, 7vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.5rem;
}
p { margin: 0 0 1rem; }

.unterzeile {
  font-size: 1.25rem;
  color: var(--leise);
  margin-bottom: 2rem;
}

.hinweis {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.2rem 0.8rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--flaeche);
  color: var(--leise);
  font-size: 0.9rem;
}

a { color: var(--akzent); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; border-radius: 2px; }

/* Kontaktkasten */
.kontakt {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem 1.5rem;
  border: 1px solid var(--linie);
  border-left: 4px solid var(--akzent);
  border-radius: 0.6rem;
  background: var(--flaeche);
}
.kontakt h2 { margin-top: 0; }
.kontakt dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.25rem;
  margin: 0;
}
.kontakt dt { color: var(--leise); }
.kontakt dd { margin: 0; overflow-wrap: anywhere; }

/* Impressum, Datenschutz */
.rechtstext h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 1.5rem; }
.rechtstext h2 { font-size: 1.1rem; }

/* Fuß */
.fuss {
  border-top: 1px solid var(--linie);
  color: var(--leise);
  font-size: 0.9rem;
}
.fuss .rahmen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 1.25rem; }
.fuss a { color: var(--leise); }
.fuss a:hover { color: var(--akzent); }
