/* Galerie und Handy-Ansicht */
.v-u { --display: "Cormorant Garamond", Georgia, serif; --text: "Barlow", Arial, sans-serif; --grund: #FBF8F3; --flaeche: #F3ECE1; --linie: #E6DCCD; }
.v-u h1 { font-weight: 600; font-size: clamp(2.25rem, min(4.4vw, 8svh), 4rem); }

.g-seite { padding-block: clamp(20px, 3svh, 40px) clamp(32px, 4vw, 56px); }
.g-kopf { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px clamp(24px, 3vw, 48px); align-items: center; margin-bottom: clamp(24px, 3.4svh, 40px); }
.g-logo { width: auto; height: clamp(64px, 9svh, 88px); }
.g-kopf p { max-width: 44em; margin: 6px 0 0; font-size: clamp(1.125rem, 1.3vw, 1.3125rem); line-height: 1.4; color: var(--leise); }
.g-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3.4vw, 48px) clamp(20px, 2.4vw, 36px); }

.g-kachel { display: flex; flex-direction: column; min-width: 0; }
.g-bild { position: relative; display: block; margin-bottom: 18px; border-radius: 10px; touch-action: manipulation; }
.g-fenster { display: block; aspect-ratio: 16 / 10; overflow: hidden; container-type: size; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px rgba(65, 64, 66, .1), 0 2px 4px rgba(65, 64, 66, .08), 0 18px 36px -22px rgba(65, 64, 66, .45); }
.g-fenster img { width: 100%; height: auto; transition: transform 500ms var(--ease); }
.g-handy { position: absolute; right: 10px; bottom: -12px; width: 19%; border: 3px solid #3A393B; border-radius: 12px; box-shadow: 0 10px 20px -10px rgba(65, 64, 66, .6); transition: transform 240ms var(--ease); }
.g-bild:active .g-fenster { transform: scale(.99); }
/* Mit der Maus fährt das Bild einmal durch die ganze Seite */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .g-bild:hover .g-fenster img, .g-bild:focus-visible .g-fenster img { transform: translateY(calc(-100% + 100cqh)); transition: transform 10s cubic-bezier(.45, .05, .55, .95); }
  .g-bild:hover .g-handy { transform: translateY(-4px); }
}
.g-kachel h2 { display: flex; align-items: baseline; gap: 10px; font-weight: 600; font-size: clamp(1.75rem, 2.3vw, 2.125rem); line-height: 1.1; }
.g-buchstabe { color: var(--rosa-tief); }
.g-kachel p { margin: 6px 0 2px; color: var(--leise); line-height: 1.42; }
.g-wege { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; margin-top: auto; }
.g-los { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 600; text-decoration: none; touch-action: manipulation; }
.g-los svg { width: 20px; height: 20px; transition: transform 200ms var(--ease); }
.g-klein { display: inline-flex; align-items: center; min-height: 48px; color: var(--leise); font-size: 1rem; }
@media (hover: hover) { .g-kachel:hover .g-los svg { transform: translateX(4px); } }

.g-weiter { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.4vw, 36px); border-radius: 10px; background: var(--rosa-tief); color: #fff; }
.g-weiter h2 { color: #fff; font-weight: 600; font-size: clamp(1.75rem, 2.3vw, 2.125rem); }
.g-weiter p { margin: 0; line-height: 1.42; }
.g-weiter .knoepfe { margin-top: 8px; }
.g-weiter .knopf { flex: 1 1 100%; min-height: 52px; padding-inline: 16px; }
.g-absender { margin-top: auto !important; padding-top: 8px; font-size: 1rem; }
.g-weiter a:not(.knopf) { color: #fff; }
.g-fuss { margin: clamp(32px, 4vw, 48px) 0 0; font-size: .9375rem; color: var(--leise); }

/* Sieben Entwürfe und der Antwortkasten: Bei drei Spalten nimmt der Kasten die letzten zwei Plätze ein */
.g-weiter { grid-column: span 2; }
.g-vorbilder { margin: 4px 0 0 !important; font-size: .9375rem; }
.g-vorbilder a { color: var(--leise); }
@media (max-width: 1000px) { .g-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-weiter { grid-column: auto; } }
@media (max-width: 640px) {
  body.v-u { padding-bottom: 0; }
  .g-raster { grid-template-columns: minmax(0, 1fr); }
  .g-kopf { grid-template-columns: minmax(0, 1fr); }
  .g-logo { height: 60px; }
}

.u-handyseite { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr); gap: 48px; min-height: 100svh; padding: 24px clamp(20px, 5vw, 72px); align-items: center; }
.u-handyseite h1 { margin-block: 14px 10px; font-size: clamp(2.25rem, 3.6vw, 3.25rem); }
.u-handyseite nav { display: grid; gap: 4px; margin-top: 18px; }
.u-handyseite nav a { display: flex; align-items: center; min-height: 48px; padding-inline: 14px; border-radius: 6px; color: var(--tinte); font-weight: 500; text-decoration: none; }
@media (hover: hover) { .u-handyseite nav a:hover { background: #F3ECE1; } }
.u-handyseite nav a[aria-current] { background: var(--rosa-tief); color: #fff; }
.u-zurueck, .u-gross-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 600; text-decoration: none; }
.u-zurueck svg, .u-gross-link svg { width: 20px; height: 20px; }
.u-gross-link { margin-top: 10px; }
.u-telefon { justify-self: center; width: fit-content; padding: 12px; border-radius: 42px; background: #3A393B; box-shadow: 0 30px 60px -28px rgba(65, 64, 66, .7); }
.u-telefon iframe { display: block; width: 390px; height: min(780px, calc(100svh - 72px)); border: 0; border-radius: 30px; background: #fff; }
