/* Cohesive imagery and deliberate motion, refinement V4. */
.ref-image-note,.ref-scene-credit{display:none}
/* Four original services, four useful photos. No unrelated floating thumbnails. */
[data-look=feinschliff] .weg{--service-image-height:174px;overflow:hidden;padding:0 0 24px;background:#fff;border:1px solid #12121410;border-radius:14px;box-shadow:0 5px 20px -13px #12121438}
[data-look=feinschliff] .ref-card-photo{position:static;display:block;width:100%;max-width:none;height:var(--service-image-height);flex:0 0 auto;object-fit:cover;border:0;border-radius:0;box-shadow:none;pointer-events:none;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
[data-look=feinschliff] .weg-nr{position:absolute;top:calc(var(--service-image-height) - 48px);left:18px;width:36px;height:36px;margin:0;font-size:.78rem;box-shadow:0 0 0 4px #ffffffed,0 4px 12px #0002;z-index:1}
[data-look=feinschliff] .weg h3{margin:24px 22px 0;min-height:2.5em}
[data-look=feinschliff] .weg p{margin:12px 22px 0}
[data-look=feinschliff] .weg .txtlink{margin:22px 22px 0}
[data-look=feinschliff] .weg:is(:hover,:focus-within){transform:translateY(-3px);border-color:#12121425;box-shadow:0 14px 32px -20px #12121466}
[data-look=feinschliff] .ref-image-note{display:block;font-size:12px;line-height:1.4;color:var(--text-2);margin:14px 0 0;text-align:right}
[data-look=feinschliff] .ref-scene-credit{display:block;position:absolute;top:22px;right:24px;z-index:2;padding:6px 10px;border:1px solid #ffffff60;background:#ffffffd9;color:#393a3d;backdrop-filter:blur(8px);border-radius:5px;font-size:12px;line-height:1.3}
/* The valuation photo retains its natural colors. Red is concentrated on the
   existing label and main action, within the established charcoal/white brand. */
[data-look=feinschliff] .wert{background:#171719}
[data-look=feinschliff] .wert::before{display:none}
[data-look=feinschliff] .wert .ref-scene-layer{inset:0 0 0 29%}
[data-look=feinschliff] .wert .ref-scene-layer img{object-position:66% 47%}
[data-look=feinschliff] .wert .ref-scene-layer::after{background:linear-gradient(90deg,#171719 0%,rgba(23,23,25,.98) 12%,rgba(23,23,25,.88) 23%,rgba(23,23,25,.48) 39%,rgba(23,23,25,.1) 54%,transparent 66%),linear-gradient(0deg,#17171938,transparent 58%)}
[data-look=feinschliff] .wert-pille{background:var(--rot);color:#fff}
[data-look=feinschliff] .wert .btn--weiss{background:var(--rot);color:#fff;border-color:var(--rot)}
[data-look=feinschliff] .wert .btn--weiss:hover{background:var(--rot-tief)}
[data-look=feinschliff] .wert-karte{background:#171719d9;border:1px solid #ffffff48;border-radius:14px;box-shadow:0 18px 48px -24px #0009;backdrop-filter:blur(16px)}
[data-look=feinschliff] #angebote .ref-scene-layer img{object-position:60% 48%}
[data-look=feinschliff] #angebote .objekt{border-color:#ffffffc9;box-shadow:0 18px 45px -25px #21180c55;backdrop-filter:none;background:#fff}
/* Same four entrance directions; less travel, consistent group timing. */
[data-look=feinschliff][data-enhanced-motion] [data-reveal]{transition-duration:.72s,.85s;transition-timing-function:ease,cubic-bezier(.2,.72,.2,1)}
[data-reveal=left]{--entrance-x:-64px;--entrance-y:0px}
[data-reveal=right]{--entrance-x:64px;--entrance-y:0px}
[data-reveal=up]{--entrance-x:0px;--entrance-y:54px}
[data-reveal=down]{--entrance-x:0px;--entrance-y:-42px}
@media(max-width:1024px){
 [data-look=feinschliff] .weg{--service-image-height:210px}
 [data-look=feinschliff] .wert .ref-scene-layer{inset:0}
 [data-look=feinschliff] .wert .ref-scene-layer::after{background:linear-gradient(180deg,#171719 0%,#171719 21%,rgba(23,23,25,.97) 34%,rgba(23,23,25,.7) 48%,rgba(23,23,25,.08) 68%,transparent 77%),linear-gradient(0deg,#17171955,transparent 40%)}
}
@media(max-width:768px){
 [data-look=feinschliff] .ref-scene-credit{font-size:11px;right:20px;top:18px}
 [data-look=feinschliff] .wert .ref-scene-layer img{top:29%;height:71%;object-position:67% 48%}
 [data-look=feinschliff] .wert .ref-scene-layer::after{background:linear-gradient(180deg,#171719 0%,#171719 25%,rgba(23,23,25,.97) 38%,rgba(23,23,25,.65) 49%,transparent 66%),linear-gradient(0deg,#17171938,transparent 30%)}
 [data-look=feinschliff] #angebote .ref-scene-layer img{object-position:63% 48%}
 [data-reveal=left]{--entrance-x:-36px}[data-reveal=right]{--entrance-x:36px}[data-reveal=up]{--entrance-y:40px}[data-reveal=down]{--entrance-y:-32px}
}
@media(max-width:560px){[data-look=feinschliff] .weg{--service-image-height:210px}[data-look=feinschliff] .weg h3{min-height:0;margin-top:22px}[data-look=feinschliff] .ref-image-note{text-align:left}}
@media(prefers-reduced-motion:reduce){[data-look=feinschliff][data-enhanced-motion] [data-reveal]{transition:none!important}}

/* V5: breathing room between photo scenes and a usable tablet presentation. */
.ref-tour-layout,.ref-tablet{display:contents}
.ref-tour-controls{display:none}

/* Existing customer reviews form the calm passage after the valuation scene. */
[data-look=feinschliff] #bewertungen{background:#fff;padding-block:clamp(64px,6vw,92px)}
[data-look=feinschliff] #bewertungen .bewertung{background:#fafaf9;border:1px solid #e7e7e5;box-shadow:none}
[data-look=feinschliff] #bewertungen .bewertung:hover{box-shadow:0 8px 26px -22px #12121455}

/* A shorter image introduction keeps actual listings prominent. */
[data-look=feinschliff] #angebote{--scene-height:610px}
[data-look=feinschliff] #angebote .sec-kopf{min-height:440px;padding-top:60px;padding-bottom:74px}
[data-look=feinschliff] #angebote .objekte{margin-top:-35px}
[data-look=feinschliff] #angebote .ref-scene-layer img{opacity:.88;object-position:60% 55%}

/* Tablet on the right, existing explanation on the left. The frame is live
   layout, not an image of an interface; the screenshot itself stays untouched. */
[data-look=feinschliff] .ref-tour-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.5fr);align-items:center;gap:clamp(32px,4vw,64px);margin-top:90px;padding-top:70px;border-top:1px solid #12121419;scroll-margin-top:160px}
[data-look=feinschliff] .ref-tour-layout .rundgang-kopf{margin:0;max-width:none}
[data-look=feinschliff] .ref-tour-layout .rundgang-kopf h3{max-width:20ch}
[data-look=feinschliff] .ref-tour-layout .rundgang-kopf p{margin-top:20px;line-height:1.75}
[data-look=feinschliff] .ref-tablet{display:block;position:relative;min-width:0;transform-origin:center;filter:drop-shadow(0 24px 22px #15151a20)}
[data-look=feinschliff] .ref-tablet::before{content:'';position:absolute;z-index:3;left:6px;top:50%;width:5px;height:5px;border-radius:50%;background:#181921;box-shadow:inset 0 0 0 1px #56585f;pointer-events:none}
[data-look=feinschliff] .ref-tablet .rundgang-direkt{height:auto;aspect-ratio:16/10;margin:0;border:16px solid #18191b;border-radius:32px;background:#18191b;outline:1px solid #55575c;outline-offset:0;box-shadow:0 3px 0 2px #080809,0 0 0 3px #94969a,inset 0 0 0 1px #6a6c72;isolation:isolate}
[data-look=feinschliff] .ref-tablet .rundgang-vorschau{border-radius:15px}
[data-look=feinschliff] .ref-tablet .rundgang-vorschau img{animation:none;transform:scale(1.18);transform-origin:50% 100%;object-position:50% 100%;will-change:auto}
[data-look=feinschliff] .ref-tablet .rundgang-vorschau::after{background:linear-gradient(0deg,#11131875,transparent 35%)}
[data-look=feinschliff] .ref-tour-controls{position:absolute;inset:auto 15px 14px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ref-tour-badge{background:#fffef8eb;color:#202124;border-radius:30px;padding:7px 13px;font-size:13px;font-weight:600;line-height:1.4}
.ref-tour-expand{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border:1px solid #ffffff65;border-radius:50%;background:#151619db;color:#fff;cursor:pointer;transition:background .2s ease}
.ref-tour-expand svg{width:20px;height:20px}
.ref-tour-expand:hover{background:var(--rot)}
.ref-tour-expand:focus-visible{outline:3px solid #fff;outline-offset:3px}
[data-look=feinschliff] #rundgang .ref-tablet{max-width:960px;margin:58px auto 8px}

/* A single entrance, then a steady, flat screen for interaction. */
@media(prefers-reduced-motion:no-preference){
 [data-look=feinschliff][data-enhanced-motion]:not([data-motion=paused]) .ref-tablet[data-reveal].ref-before{opacity:0;transform:perspective(1400px) translate3d(74px,26px,0) rotateY(-8deg) rotateZ(2deg)}
}
.ref-tour-dialog{position:fixed;inset:0;width:min(1240px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #515158;border-radius:18px;background:#161719;color:#fff;box-shadow:0 32px 100px #0008;overflow:auto}
.ref-tour-dialog::backdrop{background:#111218cc;backdrop-filter:blur(8px)}
.ref-tour-dialog-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px}
.ref-tour-dialog-bar p{font-size:15px;color:#fff}
.ref-tour-close{min-height:44px;flex-shrink:0;padding:8px 15px;color:#fff;border:1px solid #65656b;border-radius:7px;cursor:pointer}
.ref-tour-close:hover{background:#333438}
.ref-tour-close:focus-visible{outline:2px solid #fff;outline-offset:3px}
.ref-tour-dialog img{display:block;width:100%;max-height:calc(100dvh - 125px);object-fit:contain}
@media(max-width:1024px){
 [data-look=feinschliff] .ref-tour-layout{grid-template-columns:1fr;gap:38px;margin-top:64px;padding-top:50px}
 [data-look=feinschliff] .ref-tour-layout .rundgang-kopf{max-width:64ch}
 [data-look=feinschliff] .ref-tour-layout .rundgang-kopf h3{max-width:none}
 [data-look=feinschliff] .ref-tour-layout .ref-tablet{width:100%;max-width:760px;justify-self:center}
 [data-look=feinschliff] #angebote{--scene-height:600px}
 [data-look=feinschliff] #angebote .sec-kopf{min-height:425px;padding-top:62px;padding-bottom:70px}
}
@media(max-width:768px){
 [data-look=feinschliff] #angebote{--scene-height:570px}
 [data-look=feinschliff] #angebote .sec-kopf{min-height:410px;padding-top:64px;padding-bottom:100px}
 [data-look=feinschliff] #angebote .ref-scene-layer img{inset:160px 0 auto;width:100%;height:410px;object-position:63% 58%}
 [data-look=feinschliff] #angebote .ref-scene-layer::after{background:linear-gradient(180deg,var(--flaeche-grau) 0%,var(--flaeche-grau) 22%,rgba(237,234,228,.96) 36%,rgba(237,234,228,.55) 52%,transparent 72%),linear-gradient(0deg,var(--flaeche-grau),transparent 34%)}
 [data-look=feinschliff] #angebote .objekte{margin-top:-22px}
 [data-look=feinschliff] .ref-tour-layout{gap:30px;margin-top:54px;padding-top:40px;padding-bottom:12px}
 [data-look=feinschliff] .ref-tablet{filter:drop-shadow(0 14px 14px #15151a22)}
 [data-look=feinschliff] .ref-tablet .rundgang-direkt{border-width:8px;border-radius:20px;aspect-ratio:16/11;box-shadow:0 2px 0 1px #080809,0 0 0 2px #94969a}
 [data-look=feinschliff] .ref-tablet::before{left:2px;width:3px;height:3px}
 [data-look=feinschliff] .ref-tablet .rundgang-vorschau{border-radius:11px}
 [data-look=feinschliff] .ref-tour-controls{inset:auto 10px 10px}
 [data-look=feinschliff] #rundgang .ref-tablet{margin-top:34px}
 .ref-tour-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:12px}
 .ref-tour-dialog-bar{padding:10px;gap:10px}
 .ref-tour-dialog-bar p{font-size:14px}
 .ref-tour-dialog img{max-height:calc(100dvh - 120px)}
}

/* V8: the unchanged group photo dissolves into the section, without a card.
   Masks affect the surrounding room; the four faces remain in the opaque area. */
[data-look=feinschliff] #team .team-grid{
 grid-template-columns:minmax(0,1.4fr) minmax(0,.9fr);gap:0;isolation:isolate;
}
[data-look=feinschliff] #team .team-bild{
 position:relative;z-index:0;border:0;outline:0;border-radius:0;box-shadow:none;
 margin-left:calc((min(100vw,var(--breite)) - 100vw)/2 - var(--pad-x));margin-right:-72px;overflow:hidden;
 -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 77%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 14%,#000 90%,transparent 100%);
 mask-image:linear-gradient(90deg,#000 0%,#000 77%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 14%,#000 90%,transparent 100%);
 -webkit-mask-composite:source-in;mask-composite:intersect;
}
[data-look=feinschliff] #team .team-bild img{
 display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;
 transform:none;transition:none;
}
[data-look=feinschliff] #team .team-karte{position:relative;z-index:1;padding-left:38px}
@media(max-width:1024px){
 [data-look=feinschliff] #team .team-grid{grid-template-columns:1fr;gap:12px}
 [data-look=feinschliff] #team .team-bild{margin-inline:calc(-1 * var(--pad-x));max-width:none;justify-self:stretch}
 [data-look=feinschliff] #team .team-karte{padding:0;max-width:600px}
}
@media(max-width:560px){
 [data-look=feinschliff] #team .team-grid{gap:22px}
 [data-look=feinschliff] #team .team-bild{
  margin-inline:-20px;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 14%,#000 88%,transparent);
  mask-image:linear-gradient(180deg,transparent,#000 14%,#000 88%,transparent);
 }
}

/* V9: replace the straight upper fade with a rounded, eased room transition.
   The image file stays untouched. Restore the framed conversational card. */
[data-look=feinschliff] #team .team-bild{
 -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 77%,transparent 100%),linear-gradient(180deg,#000 0%,#000 90%,transparent 100%);
 mask-image:linear-gradient(90deg,#000 0%,#000 77%,transparent 100%),linear-gradient(180deg,#000 0%,#000 90%,transparent 100%);
}
[data-look=feinschliff] #team .team-bild::after{
 content:'';position:absolute;inset:0;pointer-events:none;
 background:radial-gradient(ellipse 115% 103% at 42% 103%,
  transparent 0%,transparent 82%,rgba(18,18,20,.02) 84%,
  rgba(18,18,20,.08) 87%,rgba(18,18,20,.32) 91%,
  rgba(18,18,20,.7) 95%,var(--schwarz) 100%);
}
[data-look=feinschliff] #team .team-karte{
 width:100%;max-width:465px;padding:clamp(28px,3vw,40px);
 background:linear-gradient(135deg,#ffffff08,transparent),var(--schwarz-2);
 border:1px solid #ffffff26;border-radius:16px;
 box-shadow:0 18px 44px -28px #000b,inset 0 1px 0 #ffffff06;
}
[data-look=feinschliff] #team .team-karte::before{display:none}
@media(max-width:1024px){
 [data-look=feinschliff] #team .team-karte{max-width:600px;padding:30px}
}
@media(max-width:560px){
 [data-look=feinschliff] #team .team-bild{
  -webkit-mask-image:linear-gradient(180deg,#000,#000 88%,transparent);
  mask-image:linear-gradient(180deg,#000,#000 88%,transparent);
 }
 [data-look=feinschliff] #team .team-karte{padding:25px}
}

/* V11 correction: crisp, complete group photo beside an equally tall text card.
   No photographic fade, overlay, crop, or modification to the source image. */
[data-look=feinschliff] #team .team-grid{
 grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:32px;align-items:stretch;
}
[data-look=feinschliff] #team .team-bild{
 margin:0;max-width:none;justify-self:stretch;overflow:hidden;
 border:0;border-radius:12px;outline:0;box-shadow:none;
 -webkit-mask-image:none;mask-image:none;
}
[data-look=feinschliff] #team .team-bild::after{content:none;display:none;background:none}
[data-look=feinschliff] #team .team-bild img{
 display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;
 transform:none;transition:none;
}
[data-look=feinschliff] #team .team-karte{
 width:100%;max-width:none;margin:0;
 padding:clamp(28px,3vw,40px);align-self:stretch;
 display:flex;flex-direction:column;justify-content:center;
 border:1px solid #ffffff29;border-radius:14px;
 background:linear-gradient(135deg,#ffffff08,transparent),var(--schwarz-2);
 box-shadow:0 20px 45px -30px #000c;
}
[data-look=feinschliff] #team .team-karte .btn{align-self:flex-start}
[data-look=feinschliff] #team .team-karte::before{display:none}
@media(max-width:1024px){
 [data-look=feinschliff] #team .team-grid{grid-template-columns:1fr;gap:26px}
 [data-look=feinschliff] #team .team-karte{width:100%;max-width:none;margin:0;padding:30px}
}
@media(max-width:560px){
 [data-look=feinschliff] #team .team-grid{gap:20px}
 [data-look=feinschliff] #team .team-bild{border-radius:10px}
 [data-look=feinschliff] #team .team-karte{padding:25px}
}
