/* halloalfred.de: schlichte Seite im Stil einer Notion-Seite, immer hell auf Beige.
   Keine externen Schriften, keine Skripte, keine Cookies. */

:root {
  color-scheme: light;
  --text: rgb(55, 53, 47);
  --leise: rgba(55, 53, 47, 0.65);
  --linie: rgba(55, 53, 47, 0.16);
  --unterstrich: rgba(55, 53, 47, 0.4);
  --hover: rgba(55, 53, 47, 0.06);
  --grund: #f7f2e9;
  --callout: #ede3d1;
  --cover: linear-gradient(115deg, #f3dcc0 0%, #efd3d6 45%, #d9e2ee 100%);
  --ring: #f7f2e9;
}

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

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--unterstrich);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid #2383e2;
  outline-offset: 2px;
  border-radius: 3px;
}

/* Kopfleiste wie die Pfadanzeige einer Notion-Seite */
.leiste {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 45px;
  padding: 0 12px;
  background: var(--grund);
  font-size: 14px;
}

.leiste a,
.leiste span {
  padding: 2px 6px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
}

.leiste a:hover {
  background: var(--hover);
}

.leiste .trenner {
  padding: 0 2px;
  color: var(--leise);
}

.cover {
  height: clamp(120px, 26vh, 230px);
  background: var(--cover);
}

.seite {
  width: min(708px, 100% - 48px);
  margin: 0 auto;
  padding-bottom: 64px;
}

.kopf {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.foto {
  flex: none;
  width: 240px;
  height: 240px;
  margin-top: -120px;
  border-radius: 50%;
  border: 4px solid var(--ring);
  object-fit: cover;
  background: var(--ring);
}

h1 {
  margin: 0;
  padding-top: 26px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.seite.text h1 {
  margin: 48px 0 24px;
  padding-top: 0;
}

h2 {
  margin: 32px 0 4px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px;
  padding-left: 24px;
}

.callout {
  display: flex;
  gap: 10px;
  margin: 6px 0 18px;
  padding: 16px 16px 16px 12px;
  border-radius: 6px;
  background: var(--callout);
}

.callout .ikon {
  flex: none;
  font-size: 20px;
  line-height: 1.4;
}

.callout p {
  margin: 0;
}

.kontakt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 28px;
}

.knopf {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--linie);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.12s;
}

.knopf:hover {
  background: var(--hover);
}

.knopf .ikon {
  font-size: 22px;
  line-height: 1;
}

.knopf .was {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: var(--leise);
}

.knopf .wert {
  display: block;
  font-weight: 500;
  line-height: 1.4;
}

hr {
  height: 1px;
  margin: 28px 0 14px;
  border: 0;
  background: var(--linie);
}

.fuss {
  font-size: 14px;
  color: var(--leise);
}

.fuss a {
  text-decoration-color: transparent;
}

.fuss a:hover {
  text-decoration-color: currentColor;
}

@media (max-width: 560px) {
  .cover {
    height: 110px;
  }

  .seite {
    width: calc(100% - 32px);
  }

  .kopf {
    gap: 14px;
  }

  .foto {
    width: 150px;
    height: 150px;
    margin-top: -75px;
  }

  h1 {
    padding-top: 18px;
    font-size: 30px;
  }

  .seite.text h1 {
    margin-top: 32px;
  }

  .kontakt {
    grid-template-columns: 1fr;
  }
}
