/* =====================================================================
   Kontaktzone · Design „Salon“ – Ergänzungen für die echte Website
   (Sprachumschalter, Zu vermieten, Profilseite, Altersabfrage, Jobs, Fehlerseite)
   Baut auf design.css auf und nutzt dieselben Variablen.
   ===================================================================== */

/* ---------- Infoleiste: Telefon + Sprache rechts ---------- */
.leiste .offen .zeiten { color: var(--leise); }
.leiste-rechts { display: flex; align-items: center; gap: 22px; }
.sprache { display: inline-flex; gap: 2px; font: 400 11.5px/1 var(--sans); letter-spacing: .2em; }
.sprache a { padding: 6px 7px 5px; color: var(--leise); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.sprache a:hover { color: var(--gold-hell); }
.sprache a.an { color: var(--gold-hell); border-color: var(--gold); }
.kopf .huelle > span:last-child { display: none; }

/* ---------- Zimmerplan: Zu vermieten ---------- */
.punkt.vermieten { background: transparent; border: 1px dashed var(--gold); box-shadow: none; }
.raster li.vermieten .schild { background: transparent; border: 1px dashed rgba(201, 165, 106, .55); box-shadow: none; color: var(--gold); text-shadow: none; }
.raster li.vermieten .schild::before, .raster li.vermieten .schild::after { background: rgba(201, 165, 106, .4); box-shadow: none; }
.raster li.vermieten .name { text-align: center; line-height: 1.3; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.raster li.vermieten a:hover .schild { border-style: solid; border-color: var(--gold); filter: none; background: rgba(201, 165, 106, .08); }
.raster li.vermieten a:hover .name { color: var(--gold-hell); }
.raster li a:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }

/* ---------- Heute im Haus ---------- */
.heute .stand .stand-zeit { display: inline-flex; align-items: center; gap: 9px; }

/* ---------- Karten ---------- */
.karte h3 a { color: inherit; }
.karte h3 a:hover { color: var(--gold-hell); }
.karte .card-open { cursor: pointer; }
.karte .foto .ohne-foto { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(107, 16, 57, .55), transparent 70%), #1a0a12; }
.karte .foto .ohne-foto .medaille { --gross: 46%; }
.karte .aktionen.einzeln { grid-template-columns: 1fr; }
.karte .aktionen .knopf svg + :empty { display: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ---------- Altersabfrage ---------- */
.age-locked { overflow: hidden; }
.age-locked > :not(.age-gate):not(script):not(svg) { filter: blur(16px) brightness(.45); pointer-events: none; user-select: none; }
.age-gate { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; transition: opacity .35s;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(107, 16, 57, .35), transparent 70%), rgba(10, 4, 7, .6); }
.age-gate.age-out { opacity: 0; }
.age-box { position: relative; width: 100%; max-width: 480px; padding: 42px 34px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px;
  border: 1px solid var(--haar); background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(107, 16, 57, .4), transparent 70%), linear-gradient(180deg, var(--flaeche), var(--samt));
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.age-box::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--haar-leise); pointer-events: none; }
.age-box .medaille { --gross: 104px; }
.age-box .marke-wort { font-size: 13px; }
.age-h { margin: 6px 0 0; font-size: clamp(32px, 6vw, 42px); }
.age-t { margin: 0; color: var(--text-2); font-size: 15.5px; max-width: 34ch; }
.age-actions { display: grid; gap: 10px; width: 100%; margin-top: 6px; position: relative; }
.age-note { margin: 2px 0 0; font-size: 12.5px; color: var(--leise); }
.age-lang { margin-top: 2px; position: relative; }
@media (prefers-reduced-motion: reduce) { .age-gate { transition: none; } }

/* ---------- Handy-Menü: Sprache ---------- */
.menue .sprache { margin-top: 8px; }
.menue .sprache a { font: 400 13px/1 var(--sans); letter-spacing: .24em; padding: 10px 12px; color: var(--leise); }
.menue .sprache a.an { color: var(--gold-hell); }

/* ---------- Jobs ---------- */
.konditionen .sprachen a { padding: 8px 12px 7px; border: 1px solid var(--haar); font-size: 12.5px; letter-spacing: .1em; color: var(--text-2); transition: border-color .3s, color .3s, background .3s; }
.konditionen .sprachen a:hover { border-color: var(--gold); color: #fff; }
.konditionen .sprachen a.an { border-color: var(--gold); color: #1c100b; background: var(--gold-verlauf); }
.konditionen .knopf-zweit { margin-top: 10px; }
.konditionen .preis span { display: block; margin-top: 8px; }

.sprachen-oben { display: none; }
@media (max-width: 1100px) {
  .sprachen-oben { display: block; margin: -10px 0 34px; }
  .sprachen-oben .sprachen { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .sprachen-oben .sprachen a { padding: 9px 13px 8px; border: 1px solid var(--haar); font-size: 13px; color: var(--text-2); }
  .sprachen-oben .sprachen a.an { border-color: var(--gold); color: #1c100b; background: var(--gold-verlauf); }
  .konditionen .sprachen { display: none; }
}

/* ---------- Unterseiten: kleine Ergänzungen ---------- */
.seite-text .vorschau-kopf, .vorschau-kopf { text-align: center; margin-inline: auto; }
.knoepfe-mitte .knopf { min-width: 240px; }

/* ---------- Profilseite ---------- */
.profil { padding: clamp(28px, 4vw, 52px) 0 var(--takt); }
.zurueck { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(20px, 3vw, 34px); font: 400 12.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--leise); }
.zurueck svg { width: 16px; height: 16px; transform: scaleX(-1); }
.zurueck:hover { color: var(--gold-hell); }
.profil-teile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 76px); align-items: start; }
.profil-fotos { position: sticky; top: 24px; }
.profil-bild { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--haar); background: #22101a; cursor: zoom-in; aspect-ratio: 4 / 5; overflow: hidden; }
.profil-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.profil-bild:hover img { transform: scale(1.025); }
.profil-bild::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(236, 214, 164, .35); pointer-events: none; }
.profil-bild .messing { position: absolute; left: 20px; bottom: 20px; padding: 7px 12px 6px; border-radius: 2px; background: var(--messing);
  font: 500 12.5px/1 var(--sans); letter-spacing: .2em; color: #3a2611; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .9); }
.profil-bild .band { position: absolute; left: 20px; top: 20px; padding: 8px 12px 7px; background: var(--bordeaux); color: #f6d9e6; font: 400 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.profil-bild .lupe { position: absolute; right: 20px; bottom: 20px; padding: 8px 12px 7px; background: rgba(13, 5, 8, .72); border: 1px solid var(--haar);
  font: 400 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hell); }
.profil-bild.ohne-foto { display: grid; place-items: center; cursor: default; background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(107, 16, 57, .55), transparent 70%), #1a0a12; }
.profil-bild.ohne-foto .medaille { --gross: 46%; }
.profil-daumen { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.profil-daumen button { padding: 0; border: 1px solid var(--haar-leise); background: #22101a; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; opacity: .75; transition: opacity .3s, border-color .3s; }
.profil-daumen button:hover, .profil-daumen button.an { opacity: 1; border-color: var(--gold); }
.profil-daumen img { width: 100%; height: 100%; object-fit: cover; }

.profil-info .etikett { margin: 0 0 14px; }
.profil-info h1 { font-size: clamp(54px, 6.4vw, 92px); }
.profil-info .zustand { display: flex; align-items: center; gap: 10px; margin: 16px 0 22px; font-size: 16px; color: var(--text-2); }
.ornament.links { justify-content: flex-start; }
.ornament.links::before { display: none; }
.profil-info .fakten { margin: 28px 0 0; border: 1px solid var(--haar); padding: 6px 26px; position: relative; }
.profil-info .fakten::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--haar-leise); pointer-events: none; }
.profil-info .fakten div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--haar-leise); }
.profil-info .fakten div:last-child { border: 0; }
.profil-info .fakten dt { font: 400 12px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--leise); }
.profil-info .fakten dd { margin: 0; color: var(--elfenbein); }
.profil-text { margin: 28px 0 0; color: var(--text-2); font-size: 18px; line-height: 1.7; max-width: 52ch; }
.service { margin-top: 34px; }
.service h2 { font-size: clamp(28px, 2.8vw, 36px); display: flex; align-items: center; gap: 18px; margin-bottom: 6px; }
.service h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--haar), transparent); }
.service-gruppe { margin-top: 18px; }
.service-gruppe .etikett { margin: 0 0 10px; color: var(--gold); }
.service ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { padding: 8px 14px 7px; border: 1px solid var(--haar); font-size: 14.5px; color: var(--elfenbein); background: rgba(26, 12, 18, .6); }
.profil-knoepfe { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 36px; }
.profil-knoepfe .knopf:only-child { grid-column: 1 / -1; }
.profil-adresse { margin: 16px 0 0; font-size: 13.5px; color: var(--leise); }
.profil-mehr { padding-top: 0; }
.profil-mehr .karten { grid-template-columns: repeat(4, 1fr); }

/* ---------- Fehlerseite ---------- */
.fehler { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.fehler .huelle { display: grid; justify-items: center; gap: 18px; }
.fehler .medaille { --gross: 120px; }
.fehler .code { font: 500 clamp(80px, 12vw, 150px)/1 var(--serif); }
.fehler h1 { font-size: clamp(34px, 4vw, 52px); }
.fehler p { margin: 0; color: var(--text-2); max-width: 40ch; }

/* =========================== Tablet / Handy =========================== */
@media (max-width: 1100px) {
  .profil-mehr .karten { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .leiste-rechts .telefon { display: none; }
  .leiste .huelle { justify-content: space-between; }
  .leiste .offen .zeiten { display: none; }
  .legende { flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; }
  .raster li.vermieten .name { font-size: 9.5px; letter-spacing: .1em; }
  .profil-teile { grid-template-columns: 1fr; gap: 28px; }
  .profil-fotos { position: static; margin-inline: calc(-1 * var(--rand) + 6px); }
  .profil-daumen { grid-template-columns: repeat(5, 1fr); gap: 6px; padding-inline: 4px; }
  .profil-info h1 { font-size: 54px; }
  .profil-text { font-size: 16.5px; }
  .profil-knoepfe { grid-template-columns: 1fr; }
  .profil-info .fakten { padding: 4px 18px; }
  .profil-info .fakten div { grid-template-columns: 96px 1fr; gap: 12px; padding: 13px 0; }
  .profil-mehr .karten { grid-template-columns: repeat(2, 1fr); }
  .knoepfe-mitte .knopf { min-width: 0; }
  .age-box { padding: 34px 20px 24px; }
}
.knoepfe-mitte { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.age-lang { gap: 10px; }

/* ---------- Foto-Großansicht: Bewegung kommt aus site.js ---------- */
.lb-img { transform: none; transition: none; max-width: none; max-height: none; will-change: transform, opacity; touch-action: none; }
.lb-ghost { position: fixed; z-index: 210; margin: 0; object-fit: cover; pointer-events: none; will-change: left, top, width, height;
  box-shadow: 0 0 0 1px rgba(201, 165, 106, .45), 0 40px 90px -30px #000; }
.lb { transition: opacity .3s ease, background-color .2s; }
@media (max-width: 860px) { .lb-ghost { box-shadow: none; } }

/* Legende Zimmerplan: kleine Schilder statt Punkte */
.legende .mini { display: inline-block; width: 18px; height: 12px; border-radius: 2px; background: var(--messing); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.legende .mini.aus { filter: grayscale(.7) brightness(.45); }
.legende .mini.vermieten { background: transparent; border: 1px dashed var(--gold); box-shadow: none; }

/* Profil „Heute nicht da“: leuchtender Banner statt Fehlerseite */
.auszeit { position: relative; margin: 0 0 34px; padding: 30px 26px 28px; text-align: center; border: 1px solid var(--gold); background: radial-gradient(120% 140% at 50% 0%, rgba(233, 207, 147, .22), rgba(26, 12, 18, .85) 70%); animation: auszeit-leuchten 2.8s ease-in-out infinite; }
.auszeit-titel { margin: 0 0 10px; font: 400 clamp(26px, 4.6vw, 40px)/1.15 var(--serif); background: var(--gold-verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; text-wrap: balance; }
.auszeit-text { margin: 0 auto 20px; max-width: 46ch; font-size: 17px; line-height: 1.5; color: var(--elfenbein); text-wrap: balance; }
.auszeit .knopf { display: inline-flex; }
@keyframes auszeit-leuchten { 0%, 100% { box-shadow: 0 0 0 1px rgba(201, 165, 106, .25), 0 0 26px rgba(233, 207, 147, .28), inset 0 0 40px rgba(233, 207, 147, .08); } 50% { box-shadow: 0 0 0 1px rgba(233, 207, 147, .55), 0 0 54px rgba(243, 223, 170, .60), inset 0 0 46px rgba(233, 207, 147, .16); } }
@media (prefers-reduced-motion: reduce) { .auszeit { animation: none; box-shadow: 0 0 0 1px rgba(233, 207, 147, .45), 0 0 40px rgba(243, 223, 170, .45); } }
@media (max-width: 600px) { .auszeit { margin-bottom: 24px; padding: 24px 16px 22px; } .auszeit .knopf { width: 100%; } }
