@charset "utf-8";

/* Schriften lokal eingebunden – keine Verbindung zu Google Fonts (DSGVO).
   Barlow & Barlow Condensed, SIL Open Font License 1.1, siehe assets/fonts/OFL.txt */
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --nacht:   #16191a;   /* Grundfläche der Karte */
  --kreide:  #f0ede6;   /* Schrift auf dunklem Grund */
  --messing: #c9a227;   /* der eine Akzent: Rufnummer */
  --tinte:   #16191a;   /* Schrift auf hellem Grund */
  --weiss:   #ffffff;

  --schrift: "Barlow", "Segoe UI", system-ui, sans-serif;
  --display: "Barlow Condensed", "Barlow", "Segoe UI", system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--schrift);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--messing); outline-offset: 4px; }

/* ================= Visitenkarte ================= */

.karte { background: var(--nacht); color: var(--kreide); }

.blatt {
  min-height: 100svh;
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
}

.mitte {
  margin-block: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3.2vh, 2.4rem);
}

.kopfgruppe {
  display: grid;
  gap: clamp(1.2rem, 2.5vh, 2rem) clamp(2.5rem, 6vw, 5rem);
}
.marke { margin: 0; }
.marke img {
  display: block;
  width: min(clamp(165px, 24vw, 340px), 36vh);
  height: auto;
}

.fach {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  margin: 0;
  max-width: 44ch;
}

.text {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.5;
  color: #c3c1bb;
}

.kontakt {
  margin-top: clamp(1.2rem, 4vh, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.ruf {
  background: var(--messing);
  color: var(--nacht);
  text-decoration: none;
  padding: clamp(.7rem, 1.6vw, 1.1rem) clamp(1rem, 2.2vw, 1.8rem) clamp(.55rem, 1.2vw, .9rem);
  display: block;
  transition: background-color .15s ease, color .15s ease;
}
.ruf__wort {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  letter-spacing: .04em;
  color: var(--nacht);
  opacity: .75;
}
.ruf__nummer {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.9rem, 7vw, 5rem);
  line-height: .95;
  white-space: nowrap;
}
.ruf:hover { background: var(--kreide); color: var(--nacht); }
.ruf:focus-visible { outline-color: var(--kreide); outline-offset: 5px; }

.adresse {
  font-style: normal;
  display: grid;
  gap: .7rem;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 500;
}
.adresse a { text-decoration-thickness: 1px; text-decoration-color: var(--messing); }
.adresse a:hover { color: var(--messing); }


.rechtliches {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: .95rem;
  font-weight: 500;
  padding-top: clamp(1rem, 3vh, 2rem);
  border-top: 1px solid #3a3e3f;
}

/* Auf breiten Bildschirmen steht der Fließtext neben Logo und Leistungszeile.
   Beide Zeilen teilen sich dasselbe Raster, damit die Kanten fluchten. */
@media (min-width: 1000px) {
  .kopfgruppe,
  .kontakt {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 6vw, 5rem);
    align-items: end;
  }
  .marke, .fach { grid-column: 1; }
  .text { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
  .ruf { justify-self: start; }
}

/* ================= Rechtstexte ================= */

.recht-seite { background: var(--weiss); color: var(--tinte); }

.recht-kopf {
  background: var(--nacht);
  padding: clamp(1.1rem, 2.5vw, 1.8rem) clamp(1.4rem, 4vw, 3.5rem);
}
.recht-kopf a {
  display: inline-flex; align-items: center; gap: .9rem;
  color: var(--kreide); text-decoration: none;
}
.recht-kopf img { width: clamp(46px, 9vw, 60px); height: auto; }
.recht-kopf span {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem); letter-spacing: .01em;
}
.recht-kopf a:hover span { color: var(--messing); }

.recht {
  max-width: 68ch;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.4rem, 4vw, 3.5rem) 4rem;
  font-size: 1.0625rem;
}
.recht h1 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: .9; margin: 0 0 1.5rem;
}
.recht h2 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.6rem; line-height: 1.1; margin: 2.4rem 0 .4rem;
}
.recht h3 { font-size: 1.125rem; margin: 1.6rem 0 .3rem; }
.recht ul { padding-left: 1.1rem; }
.recht li { margin-bottom: .35rem; }
.recht a { text-decoration-thickness: 1px; text-decoration-color: #b08f22; }
.recht .stand { color: #5d615f; font-size: .95rem; margin-top: 3rem; }
.recht .zurueck { display: inline-block; margin-top: 2.5rem; font-weight: 600; }

.luecke {
  background: #fbeab4; padding: .1em .35em; font-weight: 500;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.recht strong { font-weight: 600; }
