/* Readable touch layouts use content height, with compact spacing between chapters. */
html:not(.fit-layout) .panel{min-height:0}
html:not(.fit-layout) .form-status:not(:empty){margin-top:18px;padding:15px 0;border-top:1px solid var(--line)}
.form-status[data-state="error"]{color:#f0c7ae}.form-status[data-state="success"]{color:var(--gold)}
@media(max-width:1000px){
 html:not(.fit-layout) .panel{padding-top:32px;padding-bottom:36px}
 html:not(.fit-layout) .original-section .geschichte-grid,html:not(.fit-layout) .original-section .kontakt-grid,html:not(.fit-layout) #songs .songs-layout{gap:28px}
 html:not(.fit-layout) .geschichte-media{gap:22px}
 html:not(.fit-layout) .hero--animated .hero-visual{margin-top:18px}
 html:not(.fit-layout) .hero--animated .hero-animation{margin-top:0}
 html:not(.fit-layout) .footer-top{gap:24px}
}
@media(max-width:600px){
 :root{--header:78px}
 html:not(.fit-layout) .panel{padding-left:22px;padding-right:22px}
 html:not(.fit-layout) .hero--animated .hero-kicker{margin-bottom:19px}
 html:not(.fit-layout) .hero--animated .hero-lead{font-size:19px;margin-top:22px}
 html:not(.fit-layout) .hero--animated .hero-lead br{display:none}
 html:not(.fit-layout) .hero--animated .actions{margin-top:23px;gap:18px}
 html:not(.fit-layout) .hero--animated .story-teaser{margin-top:24px;padding:17px 18px}
 html:not(.fit-layout) .hero--animated .story-teaser h2{font-size:19px}
 html:not(.fit-layout) .hero--animated .hero-visual{max-width:310px}
 html:not(.fit-layout) .original-section .gold-line{margin-top:22px;margin-bottom:24px}
 html:not(.fit-layout) .original-section .services-grid{gap:16px;margin-top:25px}
 html:not(.fit-layout) #leistungen .service-card{padding:25px 23px}
 html:not(.fit-layout) .original-section .service-card h3{margin-bottom:14px}
 html:not(.fit-layout) .original-section .service-card p{margin-bottom:18px}
 html:not(.fit-layout) .original-section .form-row{gap:17px}
 html:not(.fit-layout) .original-section .kontakt-form{gap:17px}
 html:not(.fit-layout) .original-section .form-group input,html:not(.fit-layout) .original-section .form-group select,html:not(.fit-layout) .original-section .form-group textarea{font-size:16px}
 html:not(.fit-layout) .legal-content{padding-top:30px}
}
/* Landscape tablets retain the compact touch menu. Desktop scaling stays unchanged. */
@media(min-width:1001px) and (max-width:1100px){
 html:not(.fit-layout){--header:84px}
 html:not(.fit-layout) .panel{padding-top:32px;padding-bottom:36px}
 html:not(.fit-layout) .site-header{gap:20px}
 html:not(.fit-layout) .main-nav{display:none;position:absolute;left:0;right:0;top:var(--header);padding:15px var(--gutter) 27px;background:var(--black);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;max-height:calc(100svh - var(--header));overflow-y:auto}
 html:not(.fit-layout) .main-nav.open{display:flex}
 html:not(.fit-layout) .main-nav>a{padding:13px 0;font-size:16px}
 html:not(.fit-layout) .main-nav .button{margin-top:12px;font-size:14px}
 html:not(.fit-layout) .menu-toggle{display:block;font-size:13px;border:1px solid var(--line);border-radius:100px;padding:9px 18px}
 html:not(.fit-layout) .main-nav .nav-legal{display:flex;gap:22px;border-top:1px solid var(--line);margin-top:21px;padding-top:10px}
 html:not(.fit-layout) .main-nav .nav-legal a{padding:12px 0;font-size:12px}
}

/* Mobile: ceremony photograph before its copy; live video after the complete song list. */
@media(max-width:1000px){
 html:not(.fit-layout) #trauredner .geschichte-img-wrap{grid-row:1}
 html:not(.fit-layout) #trauredner .ceremony-copy{grid-row:2}
 html:not(.fit-layout) #songs .songs-text{grid-row:1}
 html:not(.fit-layout) #songs .songs-img-wrap{grid-row:2}
}
