/* DeSi’d Veredelung – Weiß und Schwarz (Baran, 22.11.2026: Hintergrund weiß statt Beige). Eckig, ruhig, viel Luft.
   Schriften: auf dem Gerät vorhandene (Avenir Next und Didot auf Apple-Geräten), nichts wird geladen. */

:root {
  color-scheme: light dark;
  --grund: #ffffff;
  --text: #000000;
  --leise: #5c5b57;          /* 6,8 : 1 auf Weiß */
  --leise-invers: #a6a59f;   /* im Kontaktblock, 8,5 : 1 auf Schwarz */
  --linie: rgba(0, 0, 0, 0.12);
  --foto-grund: #f1f0ee;     /* solange ein Foto lädt */
  --serif: "Didot", "Bodoni 72", "Bodoni MT", "Noto Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --breite: 1080px;
  --rand: clamp(20px, 5vw, 48px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #0f0f0e;
    --text: #f4f4f2;
    --leise: #a6a59f;        /* 7,8 : 1 auf Fast-Schwarz */
    --leise-invers: #5c5b57; /* im Kontaktblock, 6,2 : 1 auf Fast-Weiß */
    --linie: rgba(227, 226, 221, 0.18);
    --foto-grund: #1c1c1a;
  }
}

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

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.innen {
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* ---------- Kopf ---------- */

.kopf {
  min-height: min(88svh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-block: 88px 72px;
}

.kopf .logo {
  width: min(460px, 74vw);
  animation: auftauchen 1s ease-out backwards;
}

.kopf h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.005em;
  max-width: 21ch;
  text-wrap: balance;
  margin: clamp(52px, 9vw, 96px) 0 0;
  animation: auftauchen 1s 0.15s ease-out backwards;
}

.kopf p {
  color: var(--leise);
  max-width: 42ch;
  margin: 20px auto 0;
  animation: auftauchen 1s 0.25s ease-out backwards;
}

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 32px;
  margin-top: 40px;
  animation: auftauchen 1s 0.35s ease-out backwards;
}

.knopf {
  display: inline-block;
  background: var(--text);
  color: var(--grund);
  text-decoration: none;
  padding: 16px 30px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.knopf:hover { opacity: 0.82; }

.zart {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--linie);
  transition: border-color 0.2s ease;
}

.zart:hover { border-color: currentColor; }

@keyframes auftauchen {
  from { opacity: 0; transform: translateY(10px); }
}

/* ---------- Abschnitte ---------- */

.abschnitt {
  border-top: 1px solid var(--linie);
  padding-block: clamp(72px, 11vw, 136px);
}

.marke {
  margin: 0 0 24px;
  color: var(--leise);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.15;
  max-width: 22ch;
  margin: 0;
  text-wrap: balance;
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}

.einleitung {
  max-width: 56ch;
  margin: 24px 0 0;
  color: var(--leise);
  font-size: 1.125rem;
}

.raster {
  display: grid;
  gap: 44px 48px;
  margin-top: clamp(48px, 7vw, 80px);
}

@media (min-width: 720px) {
  .raster.zwei { grid-template-columns: repeat(2, 1fr); }
  .raster.drei { grid-template-columns: repeat(3, 1fr); }
}

.feld {
  border-top: 1px solid var(--text);
  padding-top: 20px;
}

.feld p {
  margin: 0;
  color: var(--leise);
}

.nr {
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.produkte {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: clamp(44px, 6vw, 64px) 0 0;
}

.produkte .marke { margin: 0 14px 0 0; }

.produkte li:not(.marke) {
  border: 1px solid var(--linie);
  padding: 8px 18px;
  font-size: 0.95rem;
}

/* ---------- Fotos aus der Werkstatt ---------- */

.werkstatt { padding-block: 0 clamp(72px, 11vw, 136px); }

.werkstatt .marke { margin-bottom: 20px; }

/* Zwei Fotos nebeneinander, auch auf dem Handy */
.galerie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 720px) {
  .galerie { gap: 24px; }
}

figure { margin: 0; }

figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--foto-grund);
}

figcaption {
  margin-top: 12px;
  color: var(--leise);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Text und Foto nebeneinander (Warum Siebdruck) */
.zweispaltig {
  display: grid;
  gap: clamp(48px, 7vw, 80px);
  align-items: center;
}

@media (min-width: 860px) {
  .zweispaltig { grid-template-columns: 1fr 1fr; }
}

.liste {
  display: grid;
  gap: 32px;
  margin-top: clamp(40px, 6vw, 56px);
}

/* ---------- Kontakt (Farben getauscht) ---------- */

.kontakt {
  background: var(--text);
  color: var(--grund);
  border-top: 0;
}

.kontakt .marke,
.kontakt .einleitung { color: var(--leise-invers); }

.mail {
  display: inline-block;
  margin-top: clamp(36px, 6vw, 56px);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 6vw, 3.3rem);
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  overflow-wrap: anywhere;
}

.mail:hover { opacity: 0.82; }

.telefon {
  margin: 20px 0 0;
  color: var(--leise-invers);
}

.telefon a {
  color: var(--grund);
  white-space: nowrap;
}

.kontakt .knoepfe {
  justify-content: flex-start;
  margin-top: 40px;
  animation: none;
}

.kontakt .knopf {
  background: var(--grund);
  color: var(--text);
}

.sozial {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 28px;
  margin-top: clamp(44px, 6vw, 64px);
}

.sozial span {
  flex-basis: 100%;
  color: var(--leise-invers);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.kontakt .zart { border-bottom-color: var(--leise-invers); }
.kontakt .zart:hover { border-bottom-color: currentColor; }

/* ---------- Fuß ---------- */

.fuss {
  padding-block: 36px;
  border-top: 1px solid var(--linie);
  color: var(--leise);
  font-size: 0.875rem;
}

/* Handy: untereinander; ab 720 px in einer Zeile */
.fuss .innen {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

@media (min-width: 720px) {
  .fuss .innen {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px 32px;
  }
}

.fuss nav {
  display: flex;
  gap: 24px;
}

.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }

/* ---------- Unterseiten (Impressum, Datenschutz, 404) ---------- */

.leiste {
  padding-block: 26px;
  border-bottom: 1px solid var(--linie);
}

.leiste .logo { width: 150px; }

.text {
  padding-block: clamp(56px, 9vw, 104px);
  min-height: 60vh;
}

.text h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 32px;
}

.text p,
.text ul,
.text address { max-width: 64ch; }

.text h2 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin: 48px 0 12px;
  max-width: 64ch;
}

.text h3 {
  font-size: 1rem;
  margin: 28px 0 8px;
}

.text address { font-style: normal; }

.text ul { padding-left: 1.2em; }

.text li + li { margin-top: 6px; }

.stand {
  color: var(--leise);
  font-size: 0.9rem;
}

.platzhalter {
  border: 1px dashed var(--text);
  padding: 20px 24px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
