/* Emberloop – gemeinsames Stylesheet
   Schrift: Outfit (SIL Open Font License), lokal eingebunden – es werden keine Daten an Dritte übertragen. */

@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #fbf4ec;
  --cream-card: #fffbf8;
  --ink: #2a1f1b;
  --ink-soft: #66564d;
  --ember-bright: #ffa812;
  --ember-deep: #990000;
  --line: #e4d9cf;
  --measure: 40rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

a {
  color: var(--ember-deep);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--ember-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Kopfzeile ---------- */
.site-header {
  padding: 1.75rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand img {
  height: 2.1rem;
  width: auto;
  display: block;
}
.brand:hover {
  text-decoration: none;
}

/* ---------- Inhalt ---------- */
main {
  flex: 1;
  padding: 2rem 0 4rem;
}

h1,
h2 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
}
h2 {
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-top: 2.75rem;
  margin-bottom: 0.5rem;
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.75rem 0 0.25rem;
}

p,
ul {
  max-width: var(--measure);
  margin: 0.75rem 0;
}
ul {
  padding-left: 1.25rem;
}
li {
  margin: 0.3rem 0;
}

/* ---------- Startseite ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
  padding: 1.5rem 0 2.5rem;
}
.hero-text .lead {
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  max-width: 26rem;
}
.hero-mark {
  display: flex;
  justify-content: center;
}
.hero-mark img {
  width: min(100%, 17rem);
  height: auto;
  display: block;
}

.contact {
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}

/* ---------- Rechtstexte ---------- */
.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.legal address {
  font-style: normal;
  margin: 0.75rem 0;
}
.legal .stand {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 2.5rem;
}

/* Platzhalter, die du noch ausfüllen musst */
.ph {
  background: #ffe9a8;
  color: var(--ink);
  padding: 0 0.25em;
  border-radius: 3px;
}

/* ---------- Fußzeile ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
.site-footer nav {
  display: flex;
  gap: 1.25rem;
}
.site-footer a {
  color: var(--ink);
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 44rem) {
  body {
    font-size: 1.0625rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-mark {
    order: -1;
    justify-content: flex-start;
  }
  .hero-mark img {
    width: 8.5rem;
  }
}

/* ---------- Ergänzungen für die lange Datenschutzerklärung ---------- */
.legal {
  overflow-wrap: anywhere;
}
.legal h2 {
  scroll-margin-top: 1rem;
}
.legal .seal {
  font-size: 0.95rem;
}
.legal .index {
  list-style: none;
  padding-left: 0;
  columns: 1;
}
.legal .index li {
  margin: 0.2rem 0;
}
.legal .m-elements {
  font-size: 1rem;
  padding-left: 1.1rem;
}
.legal .m-elements li {
  margin: 0.5rem 0;
}
.legal .glossary {
  font-size: 1rem;
  padding-left: 1.1rem;
}
.legal .glossary li {
  margin: 0.75rem 0;
}
