/* Tablets: eigener Zwischenbereich; große reine Touchgeräte ebenfalls einbeziehen. */
@media (min-width:700px) and (max-width:1179px), (min-width:1180px) and (max-width:1366px) and (hover:none) and (pointer:coarse){
 :root{--site-width:100%;--content-width:min(1200px,calc(100vw - 48px));--header-height:76px;--bar-height:64px;--module-padding:20px;--viewport-gap:0px}
 body[data-ux-version="3.3"]{padding-top:0;padding-bottom:var(--measured-bar-height,calc(64px + env(safe-area-inset-bottom)))}
 body[data-ux-version="3.3"]::before{display:none}
 body[data-ux-version="3.3"] .site-shell{width:100%;max-width:none;padding-top:0;border-radius:0;box-shadow:none}
 body[data-ux-version="3.3"] .frame-overlay,
 body[data-ux-version="3.3"] .site-shell::after{display:none}
 body[data-ux-version="3.3"] .wrap,
 body[data-ux-version="3.3"] main .tzh-block{width:calc(100% - 48px);max-width:1200px;margin-inline:auto}
 body[data-ux-version="3.3"] main .tzh-module>.wrap{width:100%;max-width:none}
 body[data-ux-version="3.3"] .header{position:sticky;top:0;width:100%;border-radius:0;overflow:visible;max-height:none}
 body[data-ux-version="3.3"] .header-inner{position:static;display:flex;flex-wrap:wrap;gap:12px 20px;min-height:76px;padding-block:10px}
 .js body[data-ux-version="3.3"] .header .menu-toggle{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:10px 16px;font-size:15px}
 .js body[data-ux-version="3.3"] .header #navigation{display:none}
 .js body[data-ux-version="3.3"] .header #navigation.open{display:flex;position:absolute;top:100%;left:0;right:0;width:100%;flex-direction:column;align-items:stretch;gap:4px;margin:0;padding:12px 24px 16px;background:var(--olive);border-top:1px solid var(--palette-control-border);max-height:calc(100dvh - var(--measured-header-height,76px) - var(--measured-bar-height,64px) - 8px);overflow-y:auto;overscroll-behavior:contain}
 .js body[data-ux-version="3.3"] .header:has(#navigation.open){max-height:none;overflow:visible}
 body[data-ux-version="3.3"] .header #navigation :is(a,.nav-topics>summary){min-height:48px;font-size:15px;white-space:normal}
 body[data-ux-version="3.3"] .header #navigation>a{justify-content:flex-start;padding:10px 12px}
 body[data-ux-version="3.3"] .header #navigation>.header-contact{align-self:stretch;justify-content:space-between;margin-top:4px}
 body[data-ux-version="3.3"] .header .nav-topics{width:100%}
 body[data-ux-version="3.3"] .header .nav-topic-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;position:static;width:auto;box-shadow:none;border:0;margin:4px 0 8px;padding:4px 12px;background:var(--palette-cream-a10)}
 body[data-ux-version="3.3"] .header .nav-topic-links>a{color:var(--cream);font-weight:400}
 body[data-ux-version="3.3"] .service-bar{display:flex;position:fixed;left:0;right:0;bottom:0;transform:none;width:100%;min-height:calc(64px + env(safe-area-inset-bottom));padding:8px 24px calc(8px + env(safe-area-inset-bottom));border-radius:0;gap:0}
 body[data-ux-version="3.3"] .service-label{display:none}
 body[data-ux-version="3.3"] .service-actions{width:100%;max-width:1200px;margin-inline:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 body[data-ux-version="3.3"] .service-actions .bar-action{min-height:48px;font-size:15px;flex-direction:row;gap:10px}
 body[data-ux-version="3.3"] main :is(.button,button,summary,.animal-tab){min-height:48px}
 body[data-ux-version="3.3"] :is(a,button,summary,label){-webkit-tap-highlight-color:var(--palette-accent-dark-a150)}
 body[data-ux-version="3.3"] main :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){font-size:16px;max-width:100%}
 body[data-ux-version="3.3"] main :is(input:not([type="checkbox"]):not([type="radio"]),select){min-height:48px}
 body[data-ux-version="3.3"] main .slots button{min-height:48px;min-width:112px;font-size:16px}
 body[data-ux-version="3.3"] main .contact-post-label{min-height:48px}
 body[data-ux-version="3.3"] .footer a{display:inline-flex;align-items:center;min-height:48px}
 /* Vollbreite Tabletfläche: Hero und Sprungziele berücksichtigen die sichtbaren Leisten. */
 body[data-page="home"][data-ux-version="3.3"] main{--entry-outer-gaps:0px;--story-column:clamp(220px,28vw,320px);--story-inset:20px}
 body[data-page="home"][data-ux-version="3.3"] main .hero.tzh-media-module{grid-template-columns:minmax(0,min(60%,calc((var(--entry-height) - 2px) * 764 / 850))) minmax(0,1fr)}
 body[data-page="home"][data-ux-version="3.3"] main .hero.tzh-media-module .hero-photo{display:flex;align-items:center;justify-content:center;align-self:center;position:relative;height:auto;min-height:0}
 body[data-page="home"][data-ux-version="3.3"] main .hero .hero-photo>img{position:relative;inset:auto;display:block;width:100%;height:auto;max-height:none;object-fit:contain}
 body[data-page="home"][data-ux-version="3.3"] main .hero.tzh-media-module .hero-copy{padding:24px}
 /* Tablet-Raster auch im kleineren Hochformat, statt vorzeitigem Mobilstapel. */
 body[data-page="home"][data-ux-version="3.3"] main #luise .luise-layout,
 body[data-page="home"][data-ux-version="3.3"].calm-prices main #preise.price-illustrated{grid-template-columns:minmax(0,var(--story-column)) minmax(0,1fr);align-items:start}
 body[data-page="home"][data-content-layout="compact"] main .animals :is(#tier-pferde.horse-feature,#tier-hunde.dog-feature,#tier-katzen.cat-feature){grid-template-columns:minmax(0,calc(var(--story-column) - var(--module-padding))) minmax(0,1fr);align-items:start}
 body[data-page="home"][data-ux-version="3.3"] main :is(#tier-pferde,#tier-hunde,#tier-katzen)>:is(.horse-feature-photo,.dog-feature-photo,.cat-feature-photo){grid-column:1;grid-row:1;align-self:start}
 body[data-page="home"][data-ux-version="3.3"] main :is(#tier-pferde,#tier-hunde,#tier-katzen)>:is(.horse-feature-body,.dog-feature-body,.cat-feature-body){grid-column:2;grid-row:1}
 body[data-page="home"][data-ux-version="3.3"] main :is(#tier-pferde,#tier-hunde) :is(.horse-feature-photo,.dog-feature-photo)>img,
 body[data-page="home"][data-ux-version="3.3"] main :is(.luise-portrait,.price-photo)>img{width:100%;height:auto;max-height:none;object-fit:contain}
 body[data-page="home"][data-content-layout="compact"] main #tier-katzen>.cat-feature-photo{position:relative;height:300px;min-height:0;max-height:none;align-self:start}
 body[data-page="home"][data-ux-version="3.3"] main #tier-katzen .cat-feature-photo>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}
 body[data-page="home"][data-ux-version="3.3"] main #luise .luise-introduction,
 body[data-page="home"][data-ux-version="3.3"].calm-prices main #preise>.price-copy{grid-column:2;grid-row:1;padding:20px}
 body[data-page="home"][data-ux-version="3.3"].calm-prices main #preise>.price-photo{grid-column:1;grid-row:1}
 body[data-page="home"][data-ux-version="3.3"] main :is(#tier-pferde,#tier-hunde,#tier-katzen) .animal-panel-copy{padding:20px 20px 14px}
 body[data-page="home"][data-ux-version="3.3"] main :is(#tier-pferde,#tier-hunde,#tier-katzen) .compact-animal-content{padding:0 20px 20px}
 body[data-page="home"][data-ux-version="3.3"] main :is(#tier-pferde,#tier-hunde,#tier-katzen) .hub-methods .offer-groups{grid-template-columns:minmax(0,1fr)}
 body[data-page="home"][data-ux-version="3.3"] main .animal-tabs{gap:12px}
 body[data-page="home"][data-ux-version="3.3"] main .animal-tab{min-height:76px}
 body[data-page="home"][data-ux-version="3.3"] main .animal-tab img{width:58px;height:58px}
 /* Eigenständige Übersichten behalten denselben Tabletmaßstab. */
 body[data-page="prices"][data-ux-version="3.3"].calm-prices main .price-page{grid-template-columns:minmax(0,clamp(220px,28vw,320px)) minmax(0,1fr)}
 body[data-page="prices"][data-ux-version="3.3"] main .price-page-photo{grid-column:1;grid-row:1}
 body[data-page="prices"][data-ux-version="3.3"] main .price-page-copy{grid-column:2;grid-row:1;padding:20px}
 body[data-page="prices"][data-ux-version="3.3"] main .price-page-photo>img{max-height:none;object-fit:contain}
 body[data-ux-version="3.3"] main .alternative-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body[data-ux-version="3.3"] main .alternative-fields>.full{grid-column:1/-1}
 body[data-ux-version="3.3"] main .qualification-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 @media(orientation:portrait){
  body[data-page="home"][data-ux-version="3.3"] main .hero.tzh-media-module{grid-template-columns:minmax(0,1fr)}
  body[data-page="home"][data-ux-version="3.3"] main .hero .hero-copy{grid-column:1;grid-row:1}
  body[data-page="home"][data-ux-version="3.3"] main .hero .hero-photo{grid-column:1;grid-row:2;width:fit-content;max-width:100%;justify-self:center}
  body[data-page="home"][data-ux-version="3.3"] main .hero .hero-photo>img{width:auto;max-width:100%;height:clamp(260px,calc(100dvh - var(--measured-header-height,76px) - var(--measured-bar-height,64px) - 440px),900px);max-height:none;object-fit:contain}
 }
}
