/*
 * Online-Anfrage (DE/FR) – ergänzende Styles.
 *
 * 1. Tailwind-Nachtrag: site.css ist ein fest kompiliertes Tailwind ohne Build-Prozess.
 *    Klassen, die im Formular verwendet werden, dort aber fehlen, sind hier mit den
 *    Tailwind-Standardwerten nachgetragen.
 * 2. Musterpläne: vergrösserte Vorschau (Maus) und Vollbild-Ansicht (Touch/Lupe).
 */

/* 1. Tailwind-Nachtrag */
.justify-start { justify-content: flex-start; }
.self-start { align-self: flex-start; }
.whitespace-nowrap { white-space: nowrap; }
.object-top { object-position: top; }
.top-1\.5 { top: .375rem; }
.top-2 { top: .5rem; }
.left-1\.5 { left: .375rem; }
.right-2 { right: .5rem; }
.max-h-96 { max-height: 24rem; }
.ml-3 { margin-left: .75rem; }
.ml-8 { margin-left: 2rem; }
.p-1\.5 { padding: .375rem; }
.p-2\.5 { padding: .625rem; }
.pl-3 { padding-left: .75rem; }
.pt-5 { padding-top: 1.25rem; }
.px-1\.5 { padding-left: .375rem; padding-right: .375rem; }
.py-0\.5 { padding-top: .125rem; padding-bottom: .125rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: .375rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: .625rem; }
.text-\[9px\] { font-size: 9px; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1); }
@media (min-width: 640px) {
  .sm\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:self-auto { align-self: auto; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
}

/* 2. Musterpläne */
.plan-card:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(254, 189, 15, .45) !important; }

.plan-zoom-btn {
  position: absolute; top: .4rem; right: .4rem; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  background: rgba(5, 8, 15, .78); color: #fff; border: 1px solid rgba(255, 255, 255, .18);
  cursor: zoom-in; transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}
.plan-zoom-btn:hover, .plan-zoom-btn:focus-visible { background: #febd0f; color: #05080f; outline: none; }
.plan-zoom-btn svg { width: 1rem; height: 1rem; }

.plan-hint--touch { display: none; }
@media (hover: none), (pointer: coarse) {
  .plan-hint--mouse { display: none; }
  .plan-hint--touch { display: inline; }
}
@media (hover: hover) and (pointer: fine) {
  .plan-zoom-btn { opacity: 0; }
  .plan-card:hover .plan-zoom-btn, .plan-card:focus-within .plan-zoom-btn { opacity: 1; }
}

/* Vorschau beim Darüberfahren (nur Maus) */
.plan-zoom {
  position: fixed; z-index: 80; pointer-events: none;
  padding: .5rem; border-radius: 1rem;
  background: #111827; border: 1px solid rgba(254, 189, 15, .35);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85);
  animation: plan-zoom-in .14s ease-out;
}
.plan-zoom img { display: block; width: 100%; height: auto; border-radius: .6rem; background: #fff; }
.plan-zoom__cap { margin-top: .5rem; padding: 0 .25rem; font-size: .75rem; color: #9ca3af; }
.plan-zoom__cap strong { color: #fff; }
@keyframes plan-zoom-in { from { opacity: 0; transform: scale(.97); } }

/* Vollbild-Ansicht (Lupe, Touch) */
.plan-lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(5, 8, 15, .88);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: plan-fade-in .15s ease-out;
}
.plan-lightbox__panel {
  display: flex; flex-direction: column; width: 100%; max-width: 56rem; max-height: 100%;
  border-radius: 1.25rem; overflow: hidden;
  background: #111827; border: 1px solid rgba(255, 255, 255, .1);
}
.plan-lightbox__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem .85rem 1.25rem; }
.plan-lightbox__title { min-width: 0; font-size: .875rem; color: #9ca3af; }
.plan-lightbox__title strong { color: #fff; margin-right: .35rem; }
.plan-lightbox__close {
  display: flex; flex-shrink: 0; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  color: #d1d5db; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.plan-lightbox__close:hover, .plan-lightbox__close:focus-visible { color: #05080f; background: #febd0f; outline: none; }
.plan-lightbox__close svg { width: 1.1rem; height: 1.1rem; }
.plan-lightbox__img { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 1rem; overflow: auto; }
.plan-lightbox__img img { display: block; max-width: 100%; max-height: calc(100vh - 11rem); max-height: calc(100dvh - 11rem); width: auto; height: auto; border-radius: .6rem; background: #fff; }
.plan-lightbox__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.25rem; }
.plan-lightbox__pdf { font-size: .8125rem; color: #9ca3af; text-decoration: underline; text-underline-offset: 3px; }
.plan-lightbox__pdf:hover { color: #febd0f; }
.plan-lightbox__choose {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.4rem; border-radius: 9999px;
  font-size: .875rem; font-weight: 700; background: #febd0f; color: #05080f;
}
.plan-lightbox__choose:hover { background: #e2a600; }
.plan-lightbox__choose:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(254, 189, 15, .4); }
@keyframes plan-fade-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .plan-zoom, .plan-lightbox { animation: none; }
}
