/* ===== Farben (Palette) ===== */
:root {
  --camel: #C6B39A;     /* Camel Coat */
  --boho: #7B694E;      /* Boho */
  --rubine: #8D3A3C;    /* Rubine */
  --tamarind: #3B1319;  /* Tamarind */
  --roast: #280B0F;     /* Italian Roast */
  --hell: #F3EADF;      /* helle Ableitung von Camel Coat für Text */

  --text: var(--hell);
  --knopf: var(--camel);
  --knopf-text: var(--roast);
  --knopf-hover: var(--tamarind);
  --knopf-hover-text: var(--camel);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background-color: var(--roast);
  -webkit-font-smoothing: antialiased;
}

/* Hintergrund: dunkler Verlauf + gestepptes Rautenmuster (wie Leder-Handtasche) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(141,58,60,.45), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23C6B39A' stroke-opacity='.13' stroke-width='1'%3E%3Cpath d='M0 0L56 56M56 0L0 56'/%3E%3C/g%3E%3Ccircle cx='28' cy='28' r='1.6' fill='%23C6B39A' fill-opacity='.22'/%3E%3Ccircle cx='0' cy='0' r='1.6' fill='%23C6B39A' fill-opacity='.22'/%3E%3Ccircle cx='56' cy='0' r='1.6' fill='%23C6B39A' fill-opacity='.22'/%3E%3Ccircle cx='0' cy='56' r='1.6' fill='%23C6B39A' fill-opacity='.22'/%3E%3Ccircle cx='56' cy='56' r='1.6' fill='%23C6B39A' fill-opacity='.22'/%3E%3C/svg%3E"),
    linear-gradient(175deg, var(--tamarind), var(--roast));
}

.wrap {
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: calc(48px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

/* Profil */
.profil { text-align: center; margin-bottom: 32px; }
.avatar {
  width: 104px; height: 104px; border-radius: 50%;
  object-fit: cover; display: block; margin: 0 auto 16px;
  border: 3px solid var(--camel);
  box-shadow: 0 0 0 6px rgba(198,179,154,.15), 0 8px 24px rgba(0,0,0,.4);
}
.avatar--leer {
  display: grid; place-items: center;
  background: var(--camel); color: var(--roast); font-weight: 700; font-size: 30px;
}
.profil h1 {
  font-family: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, serif;
  font-size: 28px; font-weight: 400; letter-spacing: .5px; color: var(--hell);
}
.bio { margin-top: 8px; font-size: 15px; color: var(--camel); }

/* Link-Knöpfe */
.links { display: flex; flex-direction: column; gap: 14px; }
.link {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 14px 56px;
  background: var(--knopf); color: var(--knopf-text);
  border: 1px solid rgba(243,234,223,.35);
  border-radius: 14px; text-decoration: none;
  font-weight: 600; font-size: 16px; text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  transition: transform .15s, background .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.link svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; fill: currentColor;
}
.link:hover, .link:focus-visible { background: var(--knopf-hover); color: var(--knopf-hover-text); outline: none; }
.link:active { transform: scale(.97); }
.link span { display: flex; flex-direction: column; gap: 2px; }
.link small { font-size: 13px; font-weight: 500; opacity: .9; }

/* Hervorgehobener UGC-Button */
.link--ugc { background: var(--rubine); color: var(--hell); border-color: var(--camel); }
/* Kontakt-Button */
.link--kontakt { background: var(--boho); color: var(--hell); }

/* Fußzeile */
.fuss {
  margin-top: auto; padding-top: 40px;
  display: flex; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--camel);
}
.fuss a { color: inherit; }

/* Unterseiten (Impressum, Datenschutz) */
.seite {
  background: var(--hell); color: var(--roast);
  border-radius: 16px; padding: 24px 20px;
  line-height: 1.55; font-size: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.seite h1 {
  font-family: "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  font-weight: 400; font-size: 28px; margin-bottom: 16px; color: var(--rubine);
}
.seite h2 { font-size: 16px; margin: 20px 0 6px; color: var(--tamarind); }
.seite p { margin-bottom: 8px; }
.seite a { color: var(--rubine); }
.zurueck {
  display: inline-block; margin-bottom: 16px;
  color: var(--camel); text-decoration: none; font-weight: 600;
}
.klein { margin-top: 20px; font-size: 12px; opacity: .7; }

/* Kontakt-Fenster (erscheint von unten) */
.sheet {
  margin: auto auto 0; width: 100%; max-width: 480px;
  border: none; border-radius: 22px 22px 0 0;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom));
  background: var(--hell); color: var(--roast);
  text-align: center;
  box-shadow: 0 -8px 30px rgba(0,0,0,.4);
}
.sheet[open] { animation: hoch .25s ease-out; }
@keyframes hoch { from { transform: translateY(100%); } to { transform: none; } }
.sheet::backdrop { background: rgba(40,11,15,.6); }
.sheet__griff { width: 40px; height: 5px; border-radius: 3px; background: var(--camel); margin: 0 auto 18px; }
.sheet h2 {
  font-family: "Didot", "Bodoni 72", "Bodoni MT", Georgia, serif;
  font-weight: 400; font-size: 24px; color: var(--rubine);
}
.sheet__text { margin: 8px 0 14px; font-size: 15px; line-height: 1.45; }
.sheet__mail {
  font-weight: 600; font-size: 17px; word-break: break-all;
  background: #fff; border: 1px solid var(--camel); border-radius: 12px;
  padding: 12px; margin-bottom: 16px; user-select: all; -webkit-user-select: all;
}
.sheet__knopf {
  display: block; width: 100%; min-height: 52px; margin-bottom: 10px;
  border-radius: 14px; border: 1.5px solid var(--rubine);
  background: transparent; color: var(--rubine);
  font: inherit; font-weight: 600; font-size: 16px;
  text-decoration: none; line-height: 49px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sheet__knopf--voll { background: var(--rubine); color: var(--hell); }
.sheet__knopf:active { transform: scale(.98); }
.sheet__schliessen {
  background: none; border: none; font: inherit; font-size: 15px;
  color: var(--boho); padding: 8px 16px; margin-top: 4px; cursor: pointer;
}
