/* ============================================================================
   teil-zg2-standort — Standorthinweis auf dem Terminkalender Wiesbaden.
   Angelegt am 18.11.2026.

   Christopher, 18.11.2026: „Da wir in Wiesbaden zwei Filialen haben, buchen
   die Amerikaner online einen Termin und landen dann aber im falschen Laden.
   Bitte selber Inhalt, aber farblich anpassen. Mach das bitte schön und
   stimmig, so dass es die Leute informiert, aber nicht hindert, einen Termin
   zu buchen."

   Sein Entwurf war dunkelblau mit gelbem Gold. Die Seite folgt seiner Regel
   vom 02.10.2026 (grund.css, Kopf): heller Grund, Weiß und Beige, Blau NUR als
   Akzent, kein dunkler Eindruck. Deshalb hier: helles Glas, Voigt-Gold als
   Rahmen und Linie, Voigt-Blau nur im Info-Punkt und im Wort „NOT".

   Markup: vorlagen/termin.php, nur wenn der Kalender „wiesbaden" ist.

   ── Wie es sich verhaelt ──────────────────────────────────────────────────
   * Der Knopf steht in der Kopfkachel neben „Wiesbaden" und sagt das Wichtige
     schon selbst: „City Center Location · Not Wiesbaden PX".
   * Ein Klick oeffnet das Fenster (HTML-Attribut popover). Es ist NICHT modal:
     Klick daneben, Esc, das X oder „Got it" schliessen es. Es oeffnet sich nie
     von selbst — die Buchung wird an keiner Stelle aufgehalten.
   * Kennt ein Browser popover nicht, faellt der ganze @supports-Block weg und
     die Karte steht als feste Hinweiskarte zwischen Kopfkachel und Kalender.
     Die Knoepfe zum Schliessen sind dann ausgeblendet.

   ── Fallen, an die sich diese Datei haelt (wie teil-zg-termin.css) ────────
   * Das Eingleiten nutzt translate/opacity, das Schweben beim Zeigen
     transform. Eine Animation mit fill-mode „both" haelt ihre Eigenschaft
     fest — haette sie transform benutzt, waere :hover wirkungslos.
   * :popover-open steht nie in einer Selektorliste mit anderen Selektoren:
     ein Browser, der es nicht kennt, wuerfe die ganze Regel weg.
   * Kein display auf .termin-standort-karte selbst: der Browser blendet ein
     geschlossenes Popover per display:none aus, und jede Autorenregel mit
     display wuerde das ueberstimmen.
   * Keine neuen Farbwerte: nur die Token aus :root (grund.css) und deren
     rgba-Form (203,176,130 = Gold, 19,55,109 = Blau, 31,42,56 = Text).
   ========================================================================= */


/* ============================================================================
   1 — DIE TITELREIHE: „Wiesbaden" und der Knopf nebeneinander
   ========================================================================= */

/* Mit Knopf braucht der Text die ganze Breite zwischen Foto und Zeichen;
   teil-zg-termin.css begrenzt ihn sonst auf 56ch (0-2-0). */
.termin-seite .termin-kopf-text.termin-kopf-text-hinweis{   /* 0-3-0 */
  max-width:none;
}
.termin-seite .termin-kopf-titelreihe{                      /* 0-2-0 */
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.8rem clamp(1rem,2.2vw,1.8rem);
}
.termin-seite .termin-kopf-titelreihe h1{                   /* 0-2-1 */
  flex:0 1 auto;
  min-width:0;
}


/* ============================================================================
   2 — DER HINWEISKNOPF
   ========================================================================= */
.termin-seite .termin-standort{                             /* 0-2-0 */
  display:inline-flex;
  align-items:center;
  gap:.8rem;
  max-width:100%;
  margin:0;
  padding:.5rem .6rem .5rem .5rem;
  font:inherit;
  text-align:left;
  color:var(--blau);
  cursor:pointer;
  border:1.5px solid rgba(203,176,130,.72);
  border-radius:var(--r-rund);
  background:linear-gradient(135deg, rgba(255,255,255,.96) 10%, var(--gold-zart));
  box-shadow:
    0 10px 26px rgba(19,55,109,.10),
    0 2px 6px rgba(169,143,95,.16),
    0 1px 0 rgba(255,255,255,.95) inset;
  -webkit-tap-highlight-color:transparent;
  transition:
    transform .35s var(--weich),
    box-shadow .35s var(--weich),
    border-color .25s ease,
    background-color .25s ease;
  animation:ts-auf .8s var(--weich) .45s both;
}

/* Der Info-Punkt: der einzige blaue Fleck der Kachel — hier soll das Auge hin. */
.termin-seite .termin-standort-icon{                        /* 0-2-0 */
  position:relative;
  flex:none;
  display:grid;
  place-items:center;
  width:2.55rem;
  height:2.55rem;
  border-radius:50%;
  background:var(--blau);
  color:var(--gold);
  box-shadow:0 6px 14px rgba(19,55,109,.24);
}
/* Zwei ruhige Goldwellen nach dem Erscheinen, dann Stille. Endet bei 0. */
.termin-seite .termin-standort-icon::after{                 /* 0-2-1 */
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:50%;
  border:2px solid var(--gold);
  opacity:0;
  pointer-events:none;
  animation:ts-welle 2.3s var(--weich) 1.5s 2 both;
}

.termin-seite .termin-standort-worte{                       /* 0-2-0 */
  display:grid;
  gap:.12rem;
  min-width:0;
  padding-left:.8rem;
  border-left:1.5px solid rgba(203,176,130,.65);
  line-height:1.16;
  font-size:.8rem;
  font-weight:850;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.termin-seite .termin-standort-eins{ color:var(--blau) }    /* 0-2-0 */
/* „Not Wiesbaden PX" mit Goldmarker — das ist die Nachricht. */
.termin-seite .termin-standort-zwei{                        /* 0-2-0 */
  justify-self:start;
  margin-left:-.15em;
  padding:0 .15em;
  color:var(--text);
  background:linear-gradient(transparent 56%, rgba(203,176,130,.5) 56%, rgba(203,176,130,.5) 94%, transparent 94%);
}

.termin-seite .termin-standort-mehr{                        /* 0-2-0 */
  flex:none;
  display:grid;
  place-items:center;
  width:1.75rem;
  height:1.75rem;
  margin-left:.1rem;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  border:1px solid rgba(203,176,130,.55);
  color:var(--gold-tief);
  transition:transform .35s var(--weich), background-color .25s ease;
}

/* Gemeinsame Strichzeichen */
.termin-seite .ts-zeichen{                                  /* 0-2-0 */
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.termin-seite .ts-zeichen .voll{ fill:currentColor; stroke:none }
.termin-seite .termin-standort-icon .ts-zeichen{ width:1.5rem; height:1.5rem; stroke-width:2 }
.termin-seite .termin-standort-mehr .ts-zeichen{ width:1rem; height:1rem; stroke-width:2.4 }

@media (hover:hover) and (pointer:fine){
  .termin-seite .termin-standort:hover{                     /* 0-3-0 */
    transform:translateY(-2px);
    border-color:var(--gold);
    box-shadow:
      0 16px 34px rgba(19,55,109,.14),
      0 4px 10px rgba(169,143,95,.22),
      0 1px 0 rgba(255,255,255,.95) inset;
  }
  .termin-seite .termin-standort:hover .termin-standort-mehr{
    transform:translateX(3px);
    background:var(--gold-zart);
  }
}
.termin-seite .termin-standort:active{ transform:translateY(0) scale(.99) }
.termin-seite .termin-standort:focus-visible{
  outline:3px solid var(--blau-hell);
  outline-offset:3px;
}


/* ============================================================================
   3 — DIE KARTE (im Browser mit popover: das Fenster; ohne: feste Karte)
   ========================================================================= */
.termin-seite .termin-standort-karte{                       /* 0-2-0 */
  position:relative;
  overflow:hidden;
  box-sizing:border-box;
  width:100%;
  max-width:640px;
  margin:0 0 clamp(1.2rem,2.4vw,2rem);
  padding:clamp(1.35rem,3vw,2.2rem);
  border:1px solid rgba(203,176,130,.5);
  border-radius:var(--r-l);
  color:var(--text);
  text-align:left;
  background:
    radial-gradient(92% 120% at 0% -22%, var(--blau-zart), transparent 58%),
    radial-gradient(80% 110% at 104% -12%, var(--gold-zart), transparent 60%),
    var(--weiss);
  box-shadow:
    0 28px 70px rgba(19,55,109,.16),
    0 6px 18px rgba(19,55,109,.08),
    0 1px 0 rgba(255,255,255,.95) inset;
}
/* Goldlinie an der Oberkante — wie die Kopfkachel. */
.termin-seite .termin-standort-karte::before{               /* 0-2-1 */
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  z-index:3;
  pointer-events:none;
  background:linear-gradient(90deg,
    rgba(203,176,130,0), var(--gold) 22%, var(--gold-tief) 52%, rgba(203,176,130,0));
}
.termin-seite .termin-standort-karte > :not(.termin-standort-blume){ /* 0-3-0 */
  position:relative;
  z-index:1;
}

/* Die Blume des Lebens als Wasserzeichen. Eigener Rahmen mit overflow:hidden,
   damit sie im scrollbaren Fenster keinen Rollbalken erzeugt. */
.termin-seite .termin-standort-blume{                       /* 0-2-0 */
  position:absolute;
  inset:0;
  z-index:0;
  overflow:hidden;
  border-radius:inherit;
  pointer-events:none;
}
.termin-seite .termin-standort-blume-svg{                   /* 0-2-0 */
  position:absolute;
  right:-16%;
  bottom:-34%;
  width:min(64%,340px);
  height:auto;
  color:var(--blau);
  opacity:.05;
}

/* Schliessen — nur sichtbar, wenn die Karte ein Fenster ist (siehe 4). */
.termin-seite .termin-standort-karte .termin-standort-zu{   /* 0-3-0 */
  position:absolute;
  top:clamp(.8rem,2vw,1.15rem);
  right:clamp(.8rem,2vw,1.15rem);
  z-index:4;
  display:none;
  place-items:center;
  width:2.6rem;
  height:2.6rem;
  margin:0;
  padding:0;
  border-radius:50%;
  border:1px solid rgba(19,55,109,.14);
  background:rgba(255,255,255,.88);
  color:var(--blau);
  cursor:pointer;
  transition:transform .35s var(--weich), border-color .2s ease, background-color .2s ease;
}
.termin-seite .termin-standort-zu .ts-zeichen{ width:1.1rem; height:1.1rem; stroke-width:2.3 }
.termin-seite .termin-standort-zu:focus-visible,
.termin-seite .termin-standort-weg:focus-visible,
.termin-seite .termin-standort-weiter:focus-visible{
  outline:3px solid var(--blau-hell);
  outline-offset:3px;
}

/* Kopf: Ortsmarke | Titel */
.termin-seite .termin-standort-kopf{                        /* 0-2-0 */
  display:flex;
  align-items:center;
  gap:.9rem;
  padding-right:3.2rem;
  margin-bottom:clamp(1rem,2vw,1.35rem);
}
.termin-seite .termin-standort-pin{                         /* 0-2-0 */
  flex:none;
  display:grid;
  place-items:center;
  width:3rem;
  height:3rem;
  border-radius:50%;
  background:var(--gold-zart);
  border:1px solid rgba(203,176,130,.6);
  color:var(--gold-tief);
}
.termin-seite .termin-standort-pin .ts-zeichen{ width:1.65rem; height:1.65rem; stroke-width:1.6 }
.termin-seite .termin-standort-pin .ts-zeichen path{ fill:var(--gold) }
.termin-seite .termin-standort-pin .ts-zeichen circle{ fill:var(--weiss) }

.termin-seite .termin-standort-strich{                      /* 0-2-0 */
  flex:none;
  align-self:stretch;
  width:2px;
  min-height:2rem;
  border-radius:2px;
  background:linear-gradient(180deg, var(--gold), var(--gold-tief));
}
.termin-seite .termin-standort-kopf h2{                     /* 0-2-1 */
  margin:0;
  font-size:clamp(1.2rem,2.3vw,1.55rem);
  font-weight:850;
  line-height:1.12;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--blau);
}

.termin-seite .termin-standort-satz{                        /* 0-2-0 */
  margin:0 0 clamp(1rem,2vw,1.3rem);
  font-size:clamp(1.02rem,1.3vw,1.14rem);
  line-height:1.5;
  color:var(--text);
}
.termin-seite .termin-standort-satz strong{                 /* 0-2-1 */
  color:var(--blau);
  font-weight:850;
  padding:0 .1em;
  background:linear-gradient(transparent 62%, rgba(203,176,130,.42) 62%);
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}

/* Zwei Zeilen mit Zeichen | Text */
.termin-seite .termin-standort-feld{                        /* 0-2-0 */
  display:flex;
  align-items:center;
  gap:.9rem;
}
.termin-seite .termin-standort-feld p{                      /* 0-2-1 */
  margin:0;
  line-height:1.5;
}
.termin-seite .termin-standort-feldzeichen{                 /* 0-2-0 */
  flex:none;
  display:grid;
  place-items:center;
  width:2.9rem;
  height:2.9rem;
  border-radius:var(--r-s);
}
.termin-seite .termin-standort-feldzeichen .ts-zeichen{ width:1.7rem; height:1.7rem; stroke-width:1.7 }

.termin-seite .termin-standort-nicht{                       /* 0-2-0 */
  padding:clamp(.9rem,2vw,1.15rem) clamp(1rem,2.2vw,1.3rem);
  border-radius:var(--r-m);
  background:var(--blau-zart);
  border:1px solid rgba(19,55,109,.08);
}
.termin-seite .termin-standort-nicht .termin-standort-feldzeichen{
  background:var(--weiss);
  color:var(--blau);
  box-shadow:0 4px 12px rgba(19,55,109,.08);
}
.termin-seite .termin-standort-nicht p{                     /* 0-2-1 */
  font-size:1.02rem;
  font-weight:700;
  color:var(--blau);
}
.termin-seite .termin-standort-nicht strong{                /* 0-2-1 */
  display:inline-block;
  padding:.04em .5em;
  border-radius:7px;
  background:var(--blau);
  color:var(--weiss);
  font-weight:850;
  letter-spacing:.06em;
  line-height:1.35;
  box-shadow:0 3px 8px rgba(19,55,109,.22);
}

.termin-seite .termin-standort-trenner{                     /* 0-2-0 */
  display:block;
  height:2px;
  margin:clamp(1.1rem,2.2vw,1.4rem) 0;
  border-radius:2px;
  background:linear-gradient(90deg,
    rgba(203,176,130,0), var(--gold) 18%, var(--gold-tief) 50%, var(--gold) 82%, rgba(203,176,130,0));
}

.termin-seite .termin-standort-basis .termin-standort-feldzeichen{
  background:var(--gold-zart);
  border:1px solid rgba(203,176,130,.5);
  color:var(--gold-tief);
}
.termin-seite .termin-standort-basis .ts-zeichen .hell{ fill:var(--gold-zart) }
.termin-seite .termin-standort-basis p{                     /* 0-2-1 */
  font-size:.98rem;
  color:var(--text);
}

/* Telefon und E-Mail */
/* Flex statt Raster: die E-Mail ist laenger als die Nummer und bekommt so mehr
   Platz, statt mitten im Wort umzubrechen (Vorschau 18.11.2026). */
.termin-seite .termin-standort-wege{                        /* 0-2-0 */
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  margin-top:clamp(1rem,2vw,1.25rem);
}
@media (min-width:420px){
  .termin-seite .termin-standort-weg span{ white-space:nowrap }
}
.termin-seite .termin-standort-weg{                         /* 0-2-0 */
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  min-height:3.15rem;
  padding:.65rem 1.1rem;
  border-radius:var(--r-rund);
  border:1.5px solid rgba(203,176,130,.75);
  background:rgba(255,255,255,.92);
  color:var(--blau);
  font-weight:800;
  font-size:.97rem;
  line-height:1.25;
  text-decoration:none;
  overflow-wrap:anywhere;
  transition:
    transform .3s var(--weich),
    box-shadow .3s var(--weich),
    border-color .2s ease,
    background-color .2s ease;
}
.termin-seite .termin-standort-weg .ts-zeichen{             /* 0-2-0 */
  flex:none;
  width:1.2rem;
  height:1.2rem;
  stroke:var(--gold-tief);
  stroke-width:2;
}

/* Weiter zur Buchung — nur im Fenster (siehe 4). */
.termin-seite .termin-standort-karte .termin-standort-weiter{ /* 0-3-0 */
  display:none;
  width:100%;
  margin-top:clamp(1.1rem,2.2vw,1.4rem);
  white-space:normal;
  text-align:center;
}

@media (hover:hover) and (pointer:fine){
  .termin-seite .termin-standort-weg:hover{
    transform:translateY(-2px);
    border-color:var(--gold);
    background:var(--gold-zart);
    box-shadow:0 10px 24px rgba(169,143,95,.22);
  }
  .termin-seite .termin-standort-karte .termin-standort-zu:hover{
    transform:rotate(90deg);
    border-color:var(--blau);
    background:var(--weiss);
  }
}


/* ============================================================================
   4 — NUR MIT POPOVER: die Karte als Fenster ueber der Seite
   ========================================================================= */
@supports selector(:popover-open){
  .termin-seite .termin-standort-karte[popover]{            /* 0-3-0 */
    position:fixed;
    inset:0;
    margin:auto;
    width:min(600px, calc(100vw - 32px));
    height:fit-content;
    max-height:calc(100vh - 32px);
    max-height:calc(100dvh - 32px);
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  .termin-seite .termin-standort-karte:popover-open{        /* 0-3-0 */
    animation:ts-karte-auf .45s var(--weich) both;
  }
  .termin-seite .termin-standort-karte::backdrop{
    background:rgba(31,42,56,.26);
    -webkit-backdrop-filter:blur(5px);
    backdrop-filter:blur(5px);
    animation:ts-schleier .3s ease both;
  }
  .termin-seite .termin-standort-karte .termin-standort-zu{ display:grid }     /* 0-3-0 */
  .termin-seite .termin-standort-karte .termin-standort-weiter{ display:flex } /* 0-3-0 */
}


/* ============================================================================
   5 — BEWEGUNG
   ========================================================================= */
@keyframes ts-auf{
  from{ opacity:0; translate:0 12px }
  to  { opacity:1; translate:0 0 }
}
@keyframes ts-welle{
  0%  { opacity:0;   scale:.92 }
  14% { opacity:.9 }
  100%{ opacity:0;   scale:1.75 }
}
@keyframes ts-karte-auf{
  from{ opacity:0; translate:0 18px; scale:.97 }
  to  { opacity:1; translate:0 0;    scale:1 }
}
@keyframes ts-schleier{
  from{ opacity:0 }
  to  { opacity:1 }
}


/* ============================================================================
   6 — SCHMALE FENSTER
   ========================================================================= */
@media (max-width:940px){
  .termin-seite .termin-kopf-titelreihe{ gap:.7rem 1rem }
}
@media (max-width:560px){
  /* Der Knopf nimmt die ganze Zeile unter „Wiesbaden" — keine halbe Breite,
     die neben einem langen Ortsnamen eingeklemmt wird. */
  .termin-seite .termin-standort{ width:100%; gap:.65rem }
  .termin-seite .termin-standort-mehr{ margin-left:auto }
  .termin-seite .termin-standort-worte{ font-size:.76rem; letter-spacing:.05em; padding-left:.65rem }

  .termin-seite .termin-standort-karte{ border-radius:var(--r-m) }
  .termin-seite .termin-standort-kopf{ gap:.7rem; padding-right:2.8rem }
  .termin-seite .termin-standort-pin{ width:2.6rem; height:2.6rem }
  .termin-seite .termin-standort-feld{ gap:.75rem; align-items:flex-start }
  .termin-seite .termin-standort-feldzeichen{ width:2.5rem; height:2.5rem }
  .termin-seite .termin-standort-feldzeichen .ts-zeichen{ width:1.45rem; height:1.45rem }
}
/* Telefon: „City Center Location" bleibt auf einer Zeile (gemessen in der
   Vorschau bei 375 px: mit Pfeil brach es um). Der Pfeil faellt weg; der
   Knopf bleibt durch Rahmen, Schatten und Info-Punkt als Knopf erkennbar. */
@media (max-width:430px){
  .termin-seite .termin-standort{ padding:.45rem .9rem .45rem .45rem }
  .termin-seite .termin-standort-icon{ width:2.3rem; height:2.3rem }
  .termin-seite .termin-standort-icon .ts-zeichen{ width:1.35rem; height:1.35rem }
  .termin-seite .termin-standort-mehr{ display:none }
}
@media (max-width:560px){
  @supports selector(:popover-open){
    .termin-seite .termin-standort-karte[popover]{ width:calc(100vw - 24px); max-height:calc(100dvh - 24px) }
  }
}


/* ============================================================================
   7 — KEINE BEWEGUNG
   bau.css zieht jede Dauer auf 0,01 ms; hier wird zusaetzlich abgeschaltet,
   damit nichts springt. Alles endet sichtbar, die Welle unsichtbar.
   ========================================================================= */
@media (prefers-reduced-motion:reduce){
  .termin-seite .termin-standort{
    animation:none;
    opacity:1;
    translate:none;
  }
  .termin-seite .termin-standort-icon::after{
    animation:none;
    opacity:0;
  }
  .termin-seite .termin-standort:hover,
  .termin-seite .termin-standort:hover .termin-standort-mehr,
  .termin-seite .termin-standort-weg:hover{
    transform:none;
  }
}
@media (prefers-reduced-motion:reduce){
  @supports selector(:popover-open){
    .termin-seite .termin-standort-karte:popover-open{ animation:none }
    .termin-seite .termin-standort-karte::backdrop{ animation:none }
  }
}
