
/* __DESIGN_SITE__ */
/* ============================================================
   fremdgehen-rheinland-pfalz.de — habillage unique (gabarit Next)
   Direction : noir profond + doré rose ("rose gold"), registre
   discret / secret. Contrastes doux, ombres profondes, filets fins.
   Disposition : header desktop en DEUX LIGNES (logo seul en haut,
   nav + actions séparées par un filet en dessous) ; barre mobile
   noire, hamburger doré rose ; footer noir, 4 colonnes serrées
   séparées par des filets.
   Rien ici ne touche à la grille de profils, aux fiches, à l'age
   gate, à la pop-up d'inscription ni au prelinker.
   ============================================================ */

header.sticky,
footer {
  --rg-noir: #0e0b0f;
  --rg-noir-doux: #16111a;
  --rg-clair: #e8b4a8;   /* doré rose clair — texte / accents */
  --rg-sourd: #c9977f;   /* doré rose sourd — filets / secondaire */
  --rg-creme: #efe3dd;   /* texte courant sur fond noir */
  --rg-filet: rgba(201, 151, 127, .32);
}

/* ---------- HEADER DESKTOP + MOBILE : fond commun ---------- */

header.sticky {
  background:
    radial-gradient(120% 180% at 50% -60%, rgba(232, 180, 168, .09), transparent 62%),
    linear-gradient(180deg, var(--rg-noir-doux) 0%, var(--rg-noir) 100%) !important;
  border-bottom-color: var(--rg-filet) !important;
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .85);
  position: relative;
}

/* filet du bas qui respire doucement — ligne fine, pas une surface */
header.sticky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rg-clair) 45%, var(--rg-sourd) 55%, transparent);
  background-size: 220% 100%;
  animation: rg-sheen 9s linear infinite;
  pointer-events: none;
  opacity: .55;
}

@keyframes rg-sheen {
  0%   { background-position: 120% 0; }
  100% { background-position: -20% 0; }
}

/* ---------- HEADER DESKTOP : deux lignes ---------- */

@media (min-width: 768px) {
  header.sticky .flex.h-16 {
    height: auto;
    min-height: 4rem;
    flex-wrap: wrap;
    row-gap: .7rem;
    padding-block: .95rem;
  }

  /* ligne 1 — logo seul, centré, pleine largeur */
  header.sticky .flex.h-16 > div.hidden.md\:flex.items-center.flex-shrink-0:not(.gap-4) {
    flex-basis: 100%;
    justify-content: center;
    padding-bottom: .65rem;
    border-bottom: 1px solid rgba(201, 151, 127, .16);
  }

  /* ligne 2 — nav (gauche) puis actions (droite), déjà écartées
     par justify-content:space-between hérité du conteneur */
  header.sticky .flex.h-16 > nav.hidden.md\:flex {
    order: 2;
  }

  header.sticky .flex.h-16 > div.hidden.md\:flex.items-center.gap-4.flex-shrink-0 {
    order: 3;
    border-left: 1px solid var(--rg-filet);
    padding-left: 1.15rem;
    margin-left: .35rem;
  }
}

/* ---------- Logo (desktop + mobile) ---------- */

header.sticky a.text-2xl,
header.sticky a.text-xl {
  color: var(--rg-clair) !important;
  letter-spacing: .01em;
  transition: filter .35s ease, opacity .35s ease;
}

header.sticky a.text-2xl:hover,
header.sticky a.text-xl:hover {
  filter: drop-shadow(0 0 10px rgba(232, 180, 168, .55));
  opacity: 1 !important;
}

/* ---------- Nav desktop : lien souligné au survol ---------- */

header.sticky nav.hidden.md\:flex button {
  color: var(--rg-creme) !important;
}

header.sticky nav.hidden.md\:flex > div.relative {
  position: relative;
}

header.sticky nav.hidden.md\:flex > div.relative::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--rg-clair);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}

header.sticky nav.hidden.md\:flex > div.relative:hover::after {
  transform: scaleX(1);
}

header.sticky nav.hidden.md\:flex button:hover,
header.sticky nav.hidden.md\:flex .dark\:hover\:text-zinc-50:hover {
  color: var(--rg-clair) !important;
}

/* ---------- Actions desktop (profil / recherche) ---------- */

header.sticky div.hidden.md\:flex.items-center.gap-4.flex-shrink-0 button,
header.sticky div.hidden.md\:flex.items-center.gap-4.flex-shrink-0 svg {
  color: var(--rg-creme);
}

header.sticky div.hidden.md\:flex.items-center.gap-4.flex-shrink-0 button:hover {
  color: var(--rg-clair) !important;
}

/* bulle "Rejoins-nous !" — reprise en doré rose, texte sombre pour le contraste */
header.sticky div[class*="absolute"][class*="whitespace-nowrap"] {
  background: var(--rg-clair) !important;
  color: var(--rg-noir) !important;
  font-weight: 600;
}
header.sticky div[class*="absolute"][class*="whitespace-nowrap"] > div {
  background: var(--rg-clair) !important;
}

/* ---------- Barre mobile ---------- */

header.sticky .md\:hidden.flex.items-center.justify-between.w-full button {
  color: var(--rg-sourd) !important;
}

header.sticky .md\:hidden.flex.items-center.justify-between.w-full button:hover {
  color: var(--rg-clair) !important;
}

header.sticky .md\:hidden.flex.items-center.justify-between.w-full button svg {
  filter: drop-shadow(0 0 0 transparent);
  transition: transform .25s ease;
}

header.sticky .md\:hidden.flex.items-center.justify-between.w-full button:active svg {
  transform: scale(.9);
}

header.sticky .md\:hidden.flex.items-center.justify-between.w-full span {
  color: var(--rg-creme) !important;
}

/* tiroir mobile déroulé : fond et liens repris en noir / doré rose,
   aucune position/affichage touchée (le tiroir garde son fonctionnement) */
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 {
  background: var(--rg-noir-doux);
  border-top-color: var(--rg-filet) !important;
}
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 a,
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 button,
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 span {
  color: var(--rg-creme);
}
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 a:hover {
  color: var(--rg-clair);
}
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 .border-t.border-zinc-200,
header.sticky div.md\:hidden.border-t.border-zinc-200.py-4 .h-px.bg-zinc-200 {
  border-color: var(--rg-filet) !important;
  background: var(--rg-filet) !important;
}

/* ============================================================
   FOOTER : noir, filets doré rose, 4 colonnes serrées
   ============================================================ */

footer {
  background:
    radial-gradient(110% 160% at 50% 130%, rgba(201, 151, 127, .06), transparent 60%),
    var(--rg-noir) !important;
  border-top-color: var(--rg-filet) !important;
  box-shadow: 0 -12px 28px -20px rgba(0, 0, 0, .8);
}

/* compacité générale */
footer .container.mx-auto.px-4.py-12 {
  padding-block: 2rem;
}

footer .grid.mb-8 {
  gap: 1.35rem;
}

/* colonnes serrées, filets verticaux entre elles à partir de lg */
@media (min-width: 1024px) {
  footer .grid.mb-8 > div:not(:first-child) {
    border-left: 1px solid var(--rg-filet);
    padding-left: 1.5rem;
  }
}

footer h3 {
  color: var(--rg-clair) !important;
  letter-spacing: .04em;
}

footer p,
footer .text-zinc-600 {
  color: rgba(239, 227, 221, .78) !important;
}

footer .text-zinc-500 {
  color: rgba(239, 227, 221, .55) !important;
}

footer a.text-zinc-600,
footer a.inline-block {
  color: rgba(239, 227, 221, .82) !important;
  transition: color .25s ease, padding-left .25s ease;
}

footer a.text-zinc-600:hover,
footer a.inline-block:hover {
  color: var(--rg-clair) !important;
  padding-left: .2rem;
}

footer .border-t.border-zinc-200 {
  border-top-color: var(--rg-filet) !important;
}

footer div.border-t.border-zinc-200.pt-8 {
  padding-top: 1.5rem;
}

footer a.underline {
  color: var(--rg-sourd) !important;
  text-decoration-color: var(--rg-filet);
}
footer a.underline:hover {
  color: var(--rg-clair) !important;
}

footer a.text-zinc-500.hover\:text-zinc-700 {
  color: rgba(239, 227, 221, .55) !important;
}
footer a.text-zinc-500.hover\:text-zinc-700:hover {
  color: var(--rg-clair) !important;
}

/* ---------- Sobriété des animations ---------- */

@media (prefers-reduced-motion: reduce) {
  header.sticky::after,
  header.sticky nav.hidden.md\:flex > div.relative::after,
  header.sticky a.text-2xl,
  header.sticky a.text-xl,
  header.sticky .md\:hidden.flex.items-center.justify-between.w-full button svg,
  footer a.text-zinc-600,
  footer a.inline-block {
    animation: none !important;
    transition: none !important;
  }
}

/* garde-fou design_site.py (Next, 17/09) : le logo mobile est un <a> absolu centré ; un nom de site
   allemand long (« Kostenlose Sexdates in Deutschland ») débordait ou s'empilait sur 3 lignes
   par-dessus les icônes (capture du 17/09). Une ligne, ellipse, place réservée aux boutons. */
@media (max-width: 767px) {
  header .md\:hidden a[href="/"] {
    max-width: 56% !important; white-space: nowrap !important; overflow: hidden !important;
    text-overflow: ellipsis !important; font-size: clamp(.95rem, 4.4vw, 1.25rem) !important; line-height: 1.2 !important;
  }
}
/* __END_DESIGN_SITE__ */
