/* CAMO Hero-Raster (01.12.2026): Hero 2/3 + eine oder zwei Kacheln 1/3.
   Hero-Gestaltung (Text, Verläufe, 9 Positionen) kommt aus ../CamoBanner/banner.css.
   Ab 768 px bestimmt allein der Hero die Höhe. Die Kacheln haben keinen Inhalt im Fluss
   (Bild und Text absolut) und füllen die Fläche mit object-fit: cover. */
.camo-raster{margin:0 0 16px}
.camo-raster .camo-banner{margin:0}
.camo-raster__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.camo-raster__side{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}

/* Kacheln: fest im Seitenverhältnis (mobil), Bild füllt die Fläche */
.camo-raster__tile{aspect-ratio:3/2;min-width:0}
.camo-raster--zwei .camo-raster__tile{aspect-ratio:3/1}
.camo-raster__tile .camo-banner__link{position:absolute;inset:0;background:#1d2633}
.camo-raster__tile picture{position:absolute;inset:0}
.camo-raster__img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.camo-raster__tile--top .camo-raster__img{object-position:50% 0}
.camo-raster__tile--bottom .camo-raster__img{object-position:50% 100%}
.camo-raster__leer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:12px;
  border:1px dashed #999;background:#f6f6f6;color:#666;font-size:.875rem;text-align:center}

/* Kachel-Text unten links, Verlauf aus der linken unteren Ecke */
.camo-raster .camo-raster__tile .camo-banner__text{--gx:0%;--gy:100%;justify-content:flex-end;align-items:flex-start;
  text-align:left;gap:6px;padding:12px 16px}
.camo-raster .camo-raster__tile .camo-banner__title{font-size:1.25rem}
.camo-raster .camo-raster__tile .camo-banner__btn{margin-top:2px}
.camo-raster--zwei .camo-raster__tile .camo-banner__title{font-size:1.125rem}

@media (max-width:767.98px){
  .camo-raster--mobil-aus .camo-raster__side{display:none}
}

@media (min-width:768px){
  .camo-raster__grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
  .camo-raster__side{grid-template-rows:minmax(0,1fr)}
  .camo-raster--zwei .camo-raster__side{grid-template-rows:repeat(2,minmax(0,1fr))}
  .camo-raster__tile,.camo-raster--zwei .camo-raster__tile{aspect-ratio:auto;min-height:0}
  /* Hero ist hier nur 2/3 breit: Schrift kleiner als beim Bild-Banner in voller Breite */
  .camo-raster .camo-raster__hero .camo-banner__title{font-size:1.875rem}
  .camo-raster .camo-raster__hero .camo-banner__sub{font-size:1.0625rem}
}
@media (min-width:768px) and (max-width:1199.98px){
  .camo-raster .camo-raster__hero .camo-banner__title{font-size:1.5rem}
  .camo-raster .camo-raster__hero .camo-banner__sub{font-size:1rem}
}
@media (min-width:768px) and (max-width:991.98px){
  .camo-raster .camo-raster__hero .camo-banner__text{--py:14px;--px:20px;gap:4px}
  .camo-raster .camo-raster__hero .camo-banner__title{font-size:1.25rem}
  .camo-raster .camo-raster__hero .camo-banner__sub{font-size:.9rem}
  .camo-raster .camo-raster__hero .camo-banner__btn{margin-top:4px;padding:.35rem .8rem;font-size:.9rem}
  /* Zwei Kacheln sind hier nur gut 70 px hoch: nur die Überschrift */
  .camo-raster--zwei .camo-raster__tile .camo-banner__text{padding:8px 12px}
  .camo-raster--zwei .camo-raster__tile .camo-banner__title{font-size:1rem}
  .camo-raster--zwei .camo-raster__tile .camo-banner__btn{display:none}
}

/* In einem OPC-Container mit „Boxed“ (gibt .container aus) kein zweiter Innenabstand, wie beim Bild-Banner. */
.container .camo-raster > .container{max-width:none;padding-left:0;padding-right:0}
