/* pitgottschalk.de — Gestaltung der OnePage, des Impressums und der Datenschutzerklaerung.
   Auf dem Server als /stil.css. Keine externen Schriften, keine externen Abrufe. */

:root {
  --grund: #eef1e7;
  --platte: #f7f9f3;
  --text: #4a4c48;
  --stark: #15171a;
  --leise: #7d807a;
  --rand: #d8dcd0;
  --gelb: #ffed00;
  --dunkel: #0b3a1c;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background-color: var(--grund);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 900'><g fill='none' stroke='%23ffffff' stroke-width='3' opacity='0.85'><circle cx='600' cy='450' r='150'/><path d='M0 450h1200'/><rect x='60' y='60' width='1080' height='780'/><path d='M600 445v10'/></g></svg>");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
}

.bahn { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Kopf */

.kopf {
  padding-top: 26px;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
}
.kopf .name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  color: var(--stark);
  letter-spacing: -0.01em;
  margin: 0;
}
.kopf nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 22px; }
.kopf nav a {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.kopf nav a:hover { color: var(--stark); border-bottom-color: var(--gelb); }

/* Fliesstext */

p { margin: 0 0 26px; }
a { color: var(--stark); }
strong { color: var(--stark); font-weight: 700; }

.mitte { text-align: center; max-width: 860px; margin: 0 auto; }

.block { padding-top: 56px; padding-bottom: 56px; }

h1, h2, h3 {
  font-family: var(--sans);
  color: var(--stark);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
}
h1 { font-size: 40px; font-weight: 700; }
h2 { font-size: 33px; font-weight: 700; }
h3 { font-size: 21px; font-weight: 700; margin-top: 34px; }

/* Knopf */

.knopf {
  display: inline-block;
  background: var(--gelb);
  color: #15171a;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  padding: 17px 46px;
  border: 0;
}
.knopf:hover { background: #ffe500; }

/* Aufmacher */

#aufmacher { padding-top: 20px; padding-bottom: 0; }
#aufmacher .einheit {
  display: flex;
  align-items: flex-end;
  gap: 22px;
}
#aufmacher .portraet {
  height: 220px;
  width: auto;
  display: block;
  margin-bottom: -10px;
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
}
#aufmacher h1 { margin-bottom: 6px; font-size: 50px; }
#aufmacher .unterzeile {
  font-family: var(--sans);
  font-size: 20px;
  color: var(--leise);
  margin: 0 0 14px;
}

/* Nach oben */

.hoch {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gelb);
  color: #15171a;
  border: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
  z-index: 5;
}
.hoch.sichtbar { opacity: 1; visibility: visible; }
.hoch:hover { background: #ffe500; }

/* Bildergalerie */

.galerie { column-count: 3; column-gap: 18px; }
.galerie img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 18px;
  break-inside: avoid;
}

/* Zeile aus Bild und Text */

.zeile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.zeile.gedreht > figure { order: 2; }
.zeile figure { margin: 0; }
.zeile img { width: 100%; height: auto; display: block; }
.zeile .satz p:last-of-type { margin-bottom: 30px; }

figure.breit { margin: 0; }
figure.breit img { width: 100%; height: auto; display: block; }

hr.strich { border: 0; border-top: 1px solid var(--rand); margin: 56px 0; }

/* Buchband */

.band {
  background: var(--dunkel);
  color: #e8efe6;
  margin-top: 64px;
  padding: 64px 0 72px;
}
.band h2 { color: #ffffff; }
.band a { color: #ffffff; }
.band img { width: 100%; height: auto; display: block; margin-bottom: 26px; }
.band p { margin-bottom: 0; }

/* Fuss */

.fuss {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--leise);
  padding-top: 34px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.fuss a { color: var(--leise); text-decoration: none; border-bottom: 1px solid var(--rand); }
.fuss a:hover { color: var(--stark); }
.fuss .rechts { margin-left: auto; }

/* Rechtsseiten */

.recht { background: var(--platte); }
.recht .bahn { max-width: 780px; padding-top: 40px; padding-bottom: 64px; }
.recht { font-size: 17px; }
.recht ul { padding-left: 22px; }
.recht li { margin-bottom: 10px; }
.zurueck {
  font-family: var(--sans);
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 26px;
}

/* Telefon */

@media (max-width: 860px) {
  body { font-size: 18px; background-image: none; }
  h1 { font-size: 32px; }
  #aufmacher h1 { font-size: 32px; }
  #aufmacher .einheit { gap: 14px; }
  #aufmacher .portraet { height: 150px; }
  #aufmacher .unterzeile { font-size: 17px; margin-bottom: 8px; }
  .hoch { right: 16px; bottom: 16px; }
  h2 { font-size: 27px; }
  .block { padding-top: 40px; padding-bottom: 40px; }
  .zeile { grid-template-columns: 1fr; gap: 26px; }
  .zeile.gedreht > figure { order: 0; }
  .galerie { column-count: 2; column-gap: 12px; }
  .galerie img { margin-bottom: 12px; }
  .kopf { padding-bottom: 4px; }
  .kopf nav { margin-left: 0; gap: 16px; }
  .fuss .rechts { margin-left: 0; }
  .knopf { display: block; text-align: center; padding: 16px 20px; }
}
