@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 400 900; font-display: swap; src: url(/fonts/playfair-latin.woff2) format("woff2"); }

:root {
  --dunkel: #2d3e2d;
  --mittel: #5a6b5a;
  --salbei: #8fa888;
  --linie: #e0e5dc;
  --display: "Playfair Display", serif;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: "Inter", sans-serif; color: var(--dunkel); background: #f0f2ed; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* Hintergrund mit weichen Farbflecken */
.bg { position: fixed; inset: 0; overflow: hidden; background: linear-gradient(to bottom right, #e8ebe4, #f0f2ed, #dce3d5); z-index: -1; }
.bg i { position: absolute; border-radius: 50%; }
.bg i:nth-child(1) { top: 2.5rem; right: 2.5rem; width: 24rem; height: 24rem; background: #8fa888; opacity: .2; filter: blur(120px); }
.bg i:nth-child(2) { bottom: 5rem; left: 2.5rem; width: 20rem; height: 20rem; background: #b8c5b0; opacity: .25; filter: blur(100px); }
.bg i:nth-child(3) { top: 50%; left: 33.333%; width: 18rem; height: 18rem; background: #9fb098; opacity: .15; filter: blur(130px); }

.card { background: rgba(255,255,255,.9); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border-radius: 2rem; box-shadow: 0 8px 30px rgba(0,0,0,.08); padding: 2rem; transition: box-shadow .3s; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade { animation: fadeIn .6s ease-out backwards; }

.foot { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); text-align: center; font-size: .75rem; color: var(--mittel); }

/* Startseite */
.home { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 3rem 1rem; }
.home .card { width: 100%; max-width: 28rem; padding: 2rem 1.25rem; }
.home .card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.avatar { display: block; width: 8rem; height: 8rem; margin: 0 auto 1.5rem; border-radius: 50%; border: 6px solid #fff; object-fit: cover; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
h1 { font-family: var(--display); font-weight: 700; font-size: 2.25rem; line-height: 2.5rem; margin-bottom: .5rem; }
.home header { text-align: center; margin-bottom: 1.5rem; }
.rolle { color: var(--mittel); font-size: .875rem; font-weight: 500; letter-spacing: .025em; text-transform: uppercase; }
.social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.social a { width: 3rem; height: 3rem; border-radius: 50%; background: rgba(143,168,136,.1); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.social a:hover { background: rgba(143,168,136,.2); transform: scale(1.1); }
.social svg { width: 1.25rem; height: 1.25rem; }
.links { display: grid; gap: 1rem; }
.link { position: relative; display: block; background: #fff; border: 2px solid var(--linie); border-radius: 1rem; padding: 1rem; text-align: center; transition: all .3s; }
.link:hover { background: #f8f9f7; transform: scale(1.02); box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.link b { display: block; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; margin-bottom: .25rem; }
.link span { font-size: .875rem; color: var(--mittel); }
.logo { display: block; height: 1.75rem; width: auto; max-width: 7.5rem; margin: .125rem auto .5rem; object-fit: contain; }
.herz { font-style: normal; color: #d9a3ae; margin-left: .125rem; }
.werbung { position: absolute; top: .5rem; right: .75rem; font-size: .625rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--mittel); }
.foot nav { display: flex; justify-content: center; gap: 1rem; }
.foot nav a:hover { color: var(--dunkel); }
.foot p { margin-top: .75rem; }

/* Rechtsseiten */
.recht { min-height: 100vh; padding: 3rem 1rem; }
.recht main { max-width: 42rem; margin: 0 auto; }
.zurueck { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; margin-bottom: 2rem; transition: color .2s; }
.zurueck:hover { color: var(--mittel); }
.zurueck svg { width: 1.25rem; height: 1.25rem; }
.recht h1 { margin-bottom: 2rem; }
.recht section + section { margin-top: 1.5rem; }
.recht h2 { font-family: var(--display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; margin-bottom: .75rem; }
.recht h3 { font-size: 1rem; font-weight: 600; margin: 1rem 0 .5rem; }
.recht p, .recht li { line-height: 1.625; }
.recht p + p { margin-top: .5rem; }
.recht .klein { font-size: .875rem; color: var(--mittel); }
.recht ul { margin: .5rem 0; padding-left: 1.5rem; }
.recht a.gruen { color: var(--salbei); }
.recht a.gruen:hover { text-decoration: underline; }
.recht .foot p { margin: 0; }

@media (min-width: 640px) {
  .home .card { padding: 2.5rem; }
  .link { padding: 1rem 1.5rem; }
  .recht .card { padding: 3rem; }
}
@media (prefers-reduced-motion: reduce) { .fade { animation: none; } * { transition: none !important; } }
