/* Partnervermittlung zu Brenonia – Pergament-Stil
   Schriften: UnifrakturMaguntia & IM Fell English (SIL Open Font License), lokal eingebunden. */

@font-face { font-family: "Fraktur"; src: url("fonts/unifrakturmaguntia-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Fell"; src: url("fonts/im-fell-english-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Fell"; font-style: italic; src: url("fonts/im-fell-english-latin-400-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "FellSC"; src: url("fonts/im-fell-english-sc-latin-400-normal.woff2") format("woff2"); font-display: swap; }

:root {
  --tinte: #3b2414;
  --tinte-hell: #6b4a2e;
  --rot: #8e1f1a;
  --gold: #9a7428;
  --pergament: #f1e2bf;
  --pergament-dunkel: #d9bf8a;
  --holz: #2a1a10;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--tinte);
  font-family: "Fell", Georgia, "Times New Roman", serif;
  background-color: var(--holz);
  /* dunkler Holztisch */
  background-image:
    radial-gradient(ellipse at center, rgba(120, 70, 30, .35) 0%, rgba(0, 0, 0, .55) 100%),
    repeating-linear-gradient(92deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(88deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 23px),
    linear-gradient(180deg, #3a2516, #23150c);
  display: flex;
  justify-content: center;
  padding: 28px 16px 40px;
}

.rolle { width: 100%; max-width: 560px; position: relative; }

/* Holzstäbe der Schriftrolle */
.stab {
  height: 26px;
  margin: 0 -12px;
  border-radius: 13px;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #7a4a24 0%, #c08a52 30%, #8a5a30 55%, #4a2a12 100%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, .55), inset 0 -2px 3px rgba(0, 0, 0, .35);
}
.stab::before, .stab::after {
  content: "";
  position: absolute; top: -5px;
  width: 22px; height: 36px; border-radius: 9px;
  background: radial-gradient(circle at 40% 35%, #e3c37a, #9a7428 55%, #5a3f12);
  box-shadow: 0 3px 6px rgba(0, 0, 0, .6);
}
.stab::before { left: -10px; }
.stab::after { right: -10px; }
.stab.oben { margin-bottom: -10px; }
.stab.unten { margin-top: -10px; }

/* Pergament */
.pergament {
  position: relative;
  padding: 52px 34px 44px;
  text-align: center;
  background-color: var(--pergament);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .22  0 0 0 0 .08  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(ellipse at 25% 20%, rgba(255, 250, 230, .7), transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(160, 110, 50, .28), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(140, 90, 40, .22), transparent 40%);
  box-shadow:
    inset 0 0 60px rgba(110, 65, 20, .55),
    inset 0 0 14px rgba(80, 45, 10, .45),
    0 10px 30px rgba(0, 0, 0, .6);
}

/* Eckornamente */
.ecke { position: absolute; width: 64px; height: 64px; color: var(--gold); opacity: .85; }
.ecke.ol { top: 12px; left: 12px; }
.ecke.or { top: 12px; right: 12px; transform: scaleX(-1); }
.ecke.ul { bottom: 12px; left: 12px; transform: scaleY(-1); }
.ecke.ur { bottom: 12px; right: 12px; transform: scale(-1, -1); }

.kopf {
  font-family: "FellSC", serif;
  letter-spacing: .14em;
  font-size: .82rem;
  color: var(--tinte-hell);
  margin: 0 40px 4px;
}
.nummer {
  font-style: italic;
  color: var(--rot);
  margin: 0 0 18px;
  font-size: .95rem;
}

/* Porträt im Goldrahmen */
.rahmen {
  display: inline-block;
  padding: 9px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f4dc8f, #9a7428 40%, #e8c76c 60%, #6e5016);
  box-shadow: 0 6px 14px rgba(60, 30, 5, .5), inset 0 0 4px rgba(0, 0, 0, .5);
}
.bild {
  width: 168px; height: 216px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 40%, #5a3a22, #1e120a 75%);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .8);
}
.bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Monogramm, falls (noch) kein Porträt hinterlegt ist */
.bild::before {
  content: attr(data-initiale);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Fraktur", serif;
  font-size: 5.5rem;
  color: #c9a24a;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .7);
}
.bild img { position: relative; z-index: 1; }

h1 {
  font-family: "Fraktur", serif;
  font-weight: normal;
  font-size: clamp(2.6rem, 11vw, 3.6rem);
  line-height: 1.05;
  color: var(--rot);
  margin: 18px 0 4px;
  text-shadow: 0 1px 0 rgba(255, 240, 200, .6);
}

.trenner { display: flex; align-items: center; gap: 10px; margin: 14px auto; max-width: 300px; color: var(--rot); }
.trenner span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--tinte-hell), transparent); }
.trenner svg { width: 16px; height: 16px; }

.text {
  font-size: 1.18rem;
  line-height: 1.6;
  text-align: left;
  hyphens: auto;
  margin: 8px 0;
}
.initiale {
  float: left;
  font-family: "Fraktur", serif;
  font-size: 4.1rem;
  line-height: .85;
  margin: 6px 10px 0 0;
  padding: 6px 8px 4px;
  color: var(--rot);
  border: 2px solid var(--gold);
  background: rgba(154, 116, 40, .12);
  box-shadow: inset 0 0 0 3px var(--pergament), inset 0 0 0 4px rgba(154, 116, 40, .6);
}

.intro { font-style: italic; font-size: 1.15rem; margin: 6px 0 14px; }

/* Wachssiegel-Knopf zu Discord */
.siegel {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 14px;
  padding: 8px 20px 8px 8px;
  border-radius: 40px;
  text-decoration: none;
  color: var(--pergament);
  background: linear-gradient(180deg, #a3271f, #6e1410);
  box-shadow: 0 4px 10px rgba(60, 10, 5, .45), inset 0 1px 0 rgba(255, 200, 180, .3);
  font-family: "FellSC", serif;
  font-size: 1.05rem;
  letter-spacing: .04em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.siegel:hover, .siegel:focus-visible { transform: translateY(-2px); box-shadow: 0 7px 14px rgba(60, 10, 5, .5); }
.siegel:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wachs {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #d4483c, #8e1f1a 60%, #5c0f0c);
  box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .15), 0 2px 4px rgba(0, 0, 0, .4);
  color: rgba(255, 220, 200, .85);
}
.wachs svg { width: 20px; height: 20px; }

.zurueck {
  display: block;
  margin-top: 18px;
  color: var(--tinte-hell);
  font-style: italic;
  font-size: .95rem;
}

/* Übersicht */
.liste {
  list-style: none; padding: 0; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px;
  max-width: 400px; text-align: left;
}
.liste a {
  display: flex; align-items: baseline; gap: 8px;
  padding: 6px 4px;
  color: var(--tinte);
  text-decoration: none;
  font-size: 1.2rem;
  border-bottom: 1px dotted rgba(107, 74, 46, .45);
}
.liste a:hover { color: var(--rot); }
.nr { font-family: "FellSC", serif; color: var(--gold); font-size: .85rem; min-width: 2.6em; }

@media (max-width: 420px) {
  .pergament { padding: 48px 22px 38px; }
  .ecke { width: 48px; height: 48px; }
  .bild { width: 144px; height: 186px; }
  .text { font-size: 1.1rem; }
  .liste { grid-template-columns: 1fr; }
}

.lockruf { margin: 16px 0 0; font-style: italic; font-size: 1.05rem; color: var(--tinte-hell); }
.siegel { margin-top: 8px; }
