/* paolagarrido.es — Werte aus docs/design-tokens.md, nicht raten */
:root{
  --pg-primary:#771877; --pg-primary-light:#9E5B9F; --pg-primary-deep:#5E115E;
  --pg-surface-tint:#F3EEF5; --pg-surface-soft:#FAF9FB; --pg-white:#FFFFFF;
  --pg-text:#17181C; --pg-text-muted:#525053; --pg-border:#EAE7EC;
  --pg-grad-cta:linear-gradient(90deg,#9E5B9F 0%,#7B1F7C 45%,#751777 100%);
  --pg-grad-panel:linear-gradient(135deg,#FFFFFF 0%,#F6F4F7 55%,#DABCDB 100%);
  --pg-grad-hero:linear-gradient(180deg,#FAFAFC 0%,#F7F2F8 100%);
  --pg-radius-sm:2px; --pg-radius-md:4px; --pg-radius-card:12px; --pg-radius-pill:999px;
  --pg-container:1200px; --pg-container-wide:1520px;
  --pg-gap:24px; --pg-section-y:clamp(48px,7vw,96px);
  --pg-font:'Jost',-apple-system,'Segoe UI',sans-serif;
  --pg-header-h:84px;
}
*,*::before,*::after{box-sizing:border-box}
/* Kein scroll-behavior auf html: das wuerde jedes programmatische
   Scrollen weich machen, auch das von Screenshot- und Testwerkzeugen.
   Die springen dann zurueck an die alte Stelle und lichten mehrfach
   denselben Ausschnitt ab. Die weiche Bewegung setzt stattdessen das
   Skript, gezielt bei Klicks auf Sprungmarken. */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important;transition-duration:.01ms !important}
}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none !important}
body{margin:0;font-family:var(--pg-font);color:var(--pg-text);background:var(--pg-white);
  font-size:17px;font-weight:400;line-height:1.6;overflow-x:hidden;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.inner{max-width:var(--pg-container);margin:0 auto;padding:0 24px}
.inner--wide{max-width:var(--pg-container-wide);padding:0 32px}
section[id]{scroll-margin-top:calc(var(--pg-header-h) + 8px)}
.section{padding:var(--pg-section-y) 0}
.eyebrow{font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--pg-primary);font-weight:600}
.accent-square{width:9px;height:9px;background:var(--pg-primary);display:block}
.muted{color:var(--pg-text-muted);font-size:16.5px;font-weight:400;line-height:1.7}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:10px;padding:15px 28px;font-size:12.5px;
  letter-spacing:.12em;text-transform:uppercase;font-weight:600;border-radius:var(--pg-radius-sm);
  border:1px solid transparent;cursor:pointer;transition:.2s ease;font-family:inherit}
.btn--primary{background:var(--pg-primary);color:#fff}
.btn--primary:hover{background:var(--pg-primary-deep)}
.btn--outline{background:#fff;color:var(--pg-primary);border-color:var(--pg-primary)}
.btn--outline:hover{background:var(--pg-primary);color:#fff}
.btn--onprimary{background:#fff;color:var(--pg-primary)}
.btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.btn--ghost:hover{background:#fff;color:var(--pg-primary)}
.link-more{display:inline-flex;align-items:center;gap:8px;color:var(--pg-primary);
  font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600}
.link-more:hover{gap:14px;transition:gap .2s}

/* Header */
.site-header{position:fixed;top:0;left:0;right:0;z-index:60;background:transparent;
  border-bottom:1px solid transparent;transition:background .25s ease,border-color .25s ease,box-shadow .25s ease}
.site-header.is-solid{background:rgba(255,255,255,.94);backdrop-filter:blur(10px);
  border-bottom-color:var(--pg-border);box-shadow:0 6px 20px rgba(23,24,28,.05)}
.site-header .inner{display:flex;align-items:center;justify-content:space-between;
  height:var(--pg-header-h);gap:32px}
.site-header .btn{white-space:nowrap}
.brand{flex:none;display:block}
.brand img{height:34px;width:auto;flex:none;object-fit:contain}
.nav{display:flex;align-items:center;gap:30px}
.nav a{font-size:12.5px;font-weight:500;letter-spacing:.13em;text-transform:uppercase;
  color:var(--pg-text);padding:6px 0}
.nav a:hover{color:var(--pg-primary)}
.nav a.is-active{color:var(--pg-primary);border-bottom:2px solid var(--pg-primary)}
.header__right{display:flex;align-items:center;gap:20px}
.lang-switch{display:flex;gap:6px;font-size:11px;font-weight:500;letter-spacing:.1em;text-transform:uppercase}
.lang-switch a{color:var(--pg-text-muted)}
.lang-switch a.is-active{color:var(--pg-primary);font-weight:600}

/* Hero */
.hero{position:relative;isolation:isolate;background:var(--pg-white);overflow:hidden;
  min-height:min(78vh,660px);display:flex;align-items:center;
  padding:calc(var(--pg-header-h) + 20px) 0 56px}
.hero__bg{position:absolute;inset:0;z-index:0}
.hero__bg img{width:100%;height:100%;object-fit:cover;object-position:64% center}
/* Der Schleier laeuft von deckendem Weiss links weich nach transparent rechts,
   damit der Text auf heller Flaeche steht und das Foto rechts frei bleibt. */
.hero__veil{position:absolute;inset:0;
  background:linear-gradient(90deg,
    #FFFFFF 0%,
    #FFFFFF 24%,
    rgba(255,255,255,.94) 34%,
    rgba(255,255,255,.72) 45%,
    rgba(255,255,255,.34) 56%,
    rgba(255,255,255,0) 70%)}
.hero .inner{position:relative;z-index:2;width:100%}
.hero__content{max-width:560px}
.hero h1{font-size:clamp(34px,4.2vw,54px);line-height:1.1;font-weight:500;margin:0 0 20px;
  letter-spacing:-.015em;text-wrap:balance}
.hero h1 em{font-style:normal;color:var(--pg-primary)}
.hero__text{margin:20px 0 34px;max-width:470px}
.hero__actions{display:flex;flex-wrap:wrap;gap:14px}

/* Services */
.services{background:var(--pg-surface-tint)}
.services__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.service{padding:8px 40px;border-left:1px solid rgba(119,24,119,.16)}
.service:first-child{border-left:0;padding-left:0}
.service__icon{width:38px;height:38px;color:var(--pg-primary);margin-bottom:18px}
.service h3{font-size:15px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;margin:0 0 12px}
.service p{margin:0 0 18px}

/* Sektionskopf */
.section-head{text-align:center;margin-bottom:14px}
.section-head h2{font-size:clamp(19px,2.1vw,24px);letter-spacing:.14em;text-transform:uppercase;
  font-weight:500;margin:0 0 14px}
.section-head .accent-square{margin:0 auto}

/* Deal-Switch (Ergänzung zur Vorlage) */
.deal-switch{display:flex;justify-content:center;margin:26px 0 36px}
.deal-switch__track{display:inline-flex;background:var(--pg-surface-tint);
  border-radius:var(--pg-radius-pill);padding:4px}
.deal-switch button{border:0;background:transparent;border-radius:var(--pg-radius-pill);padding:11px 32px;
  font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;
  color:var(--pg-text-muted);cursor:pointer;transition:.22s;font-family:inherit}
.deal-switch button:hover:not(.is-active){color:var(--pg-primary)}
.deal-switch button.is-active{background:var(--pg-primary);color:#fff}
/* Nur die Aussenkante bleibt rund. Zur Mitte hin laeuft die aktive
   Haelfte gerade aus, so wirkt sie als ausgefuellter Teil der Form
   statt als eigene kleine Pille darin. */
.deal-switch button:first-child.is-active{border-radius:var(--pg-radius-pill) 0 0 var(--pg-radius-pill)}
.deal-switch button:last-child.is-active{border-radius:0 var(--pg-radius-pill) var(--pg-radius-pill) 0}

/* Property-Karten */
.property-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--pg-gap)}
.property-card{border:1px solid var(--pg-border);background:#fff;display:flex;flex-direction:column;
  border-radius:var(--pg-radius-card);overflow:hidden;transition:.25s}
.property-card:hover{box-shadow:0 12px 30px rgba(119,24,119,.10);transform:translateY(-3px)}
.property-card__media{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--pg-surface-tint);
  border-radius:var(--pg-radius-card) var(--pg-radius-card) 0 0}
.property-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.property-card:hover .property-card__media img{transform:scale(1.04)}
.badge{position:absolute;top:12px;left:12px;background:var(--pg-primary);color:#fff;
  font-size:9.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  padding:5px 11px;border-radius:var(--pg-radius-sm)}
.property-card__body{padding:20px 20px 22px;display:flex;flex-direction:column;gap:10px;flex:1}
.property-card__town{font-size:12.5px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;
  color:var(--pg-text-muted)}
.property-card__price{font-size:21px;font-weight:600;letter-spacing:-.01em;color:var(--pg-text)}
.property-card__price span{font-size:13.5px;font-weight:400;color:var(--pg-text-muted)}
.property-card__specs{display:flex;gap:16px;padding:11px 0;border-top:1px solid var(--pg-border);
  border-bottom:1px solid var(--pg-border);font-size:14px;color:var(--pg-text-muted)}
.property-card__specs span{display:inline-flex;align-items:center;gap:5px;font-weight:500}
.property-card__specs svg{width:15px;height:15px;color:var(--pg-primary);flex:none}
.property-card .link-more{margin-top:auto}

/* Sobre mí */
.about{display:grid;grid-template-columns:42% 58%;align-items:stretch}
.about__media{position:relative;overflow:hidden;min-height:400px;aspect-ratio:9/8}
.about__media img{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center top}
.about__panel{background:var(--pg-grad-panel);padding:clamp(40px,5vw,72px);
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.about__panel .eyebrow{display:block;width:fit-content;min-width:150px;padding-bottom:9px;
  border-bottom:1px solid var(--pg-primary);margin-bottom:26px}
.about__panel h2{font-size:clamp(23px,2.7vw,32px);line-height:1.28;font-weight:500;margin:0 0 20px;max-width:15em}
.about__panel h2 em{font-style:normal;color:var(--pg-primary)}
.about__panel p{max-width:34em;margin:0 0 30px}

/* Testimonial als wischbarer Slider */
.testimonial{background:var(--pg-surface-soft)}
.testimonial__viewport{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
  -ms-overflow-style:none;outline:none}
.testimonial__viewport::-webkit-scrollbar{display:none}
.testimonial__viewport:focus-visible{outline:2px solid var(--pg-primary);outline-offset:6px;border-radius:4px}
.testimonial__track{display:flex}
.testimonial__slide{flex:0 0 100%;scroll-snap-align:start;margin:0;padding:0 4px;
  display:grid;grid-template-columns:auto 1fr;column-gap:26px;align-items:start}
.testimonial__mark{grid-row:1 / span 2;font-size:64px;line-height:.8;color:var(--pg-primary);font-family:Georgia,serif}
.testimonial blockquote{margin:0;font-size:clamp(16.5px,1.6vw,19px);font-weight:400;line-height:1.7;max-width:46em}
.testimonial figcaption{margin-top:16px;font-size:14.5px;font-weight:500;color:var(--pg-text-muted)}
.dots{display:flex;gap:9px;justify-content:center;margin-top:26px}
.dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:var(--pg-border);
  cursor:pointer;transition:.2s}
.dots button.is-active{background:var(--pg-primary);transform:scale(1.15)}

/* CTA */
.cta{background:var(--pg-grad-cta);color:#fff}
.cta .inner{display:grid;grid-template-columns:1fr auto 1fr;gap:clamp(28px,5vw,64px);align-items:center}
.cta h2{font-size:clamp(22px,2.6vw,30px);line-height:1.28;font-weight:500;margin:0 0 16px}
.cta p{margin:0;color:rgba(255,255,255,.92);font-size:16.5px;max-width:30em;line-height:1.7}
.cta__divider{width:1px;align-self:stretch;background:rgba(255,255,255,.32)}
.cta__actions{display:flex;flex-direction:column;gap:14px;align-items:stretch}
.cta__actions .btn{justify-content:center}

/* Footer */
.site-footer{background:#fff;border-top:1px solid var(--pg-border)}
.footer__main{display:flex;align-items:center;gap:32px;flex-wrap:wrap;padding:34px 0}
.footer__main img{height:26px;width:auto;flex:none;object-fit:contain}
.footer__contact{display:flex;gap:28px;flex-wrap:wrap;font-size:14.5px;font-weight:500;
  color:var(--pg-text-muted)}
.footer__contact a{display:inline-flex;align-items:center;gap:9px}
.footer__contact a:hover{color:var(--pg-primary)}
.footer__contact svg{width:17px;height:17px;color:var(--pg-primary);flex:none}
.footer__social{display:flex;gap:10px;margin-left:auto}
.footer__social a{width:34px;height:34px;border:1px solid var(--pg-primary);border-radius:50%;
  display:grid;place-items:center;color:var(--pg-primary);transition:.2s}
.footer__social a:hover{background:var(--pg-primary);color:#fff}
.footer__social svg{width:15px;height:15px}
.footer__legal{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;
  padding:18px 0 28px;border-top:1px solid var(--pg-border);font-size:13px;color:var(--pg-text-muted)}
.footer__legal nav{display:flex;gap:20px}
.footer__legal a:hover{color:var(--pg-primary)}
.footer__madeby{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}
.footer__madeby a{font-weight:600;color:var(--pg-text)}
.footer__madeby a:hover{color:var(--pg-primary)}
.footer__heart{width:14px;height:14px;color:var(--pg-primary);flex:none;position:relative;top:1px}
.footer__place{display:inline-flex;align-items:center;gap:9px}
.footer__place svg{width:17px;height:17px;color:var(--pg-primary);flex:none}
.empty-note{color:var(--pg-text-muted);text-align:center;padding:34px 0}
.on-request{font-size:16px;font-weight:500;color:var(--pg-text-muted)}

/* Responsive */
@media (max-width:1240px){
  .hero__veil{background:linear-gradient(90deg,#FFFFFF 0%,#FFFFFF 22%,
    rgba(255,255,255,.94) 33%,rgba(255,255,255,.7) 46%,rgba(255,255,255,0) 74%)}
  .service{padding:8px 28px}
}
@media (max-width:1080px){
  .inner--wide{padding:0 24px}
  .property-grid{grid-template-columns:repeat(2,1fr)}
  .nav{gap:20px}
  .nav a{font-size:11px;letter-spacing:.1em}
  .about{grid-template-columns:46% 54%}
  .about__media{min-height:360px}
}
@media (max-width:900px){
  .site-header .inner{gap:14px;justify-content:space-between}
  .header__right{gap:14px}
  /* Schrift schrumpft statt umzubrechen. Betrifft vor allem die
     englische Beschriftung, die laenger ist als die spanische. */
  .site-header .btn{font-size:11px;letter-spacing:.07em;padding:12px 17px}
  /* Am Telefon nur Logo, Sprachwahl und Handlungsaufruf. Die Navigation
     entfaellt vollstaendig, ein Menue gibt es nicht mehr. Der Weg durch
     die Seite laeuft ueber Scrollen und die Verweise in der Fusszeile. */
  .nav{display:none}
  :root{--pg-header-h:68px}
  .hero{min-height:auto;padding:calc(var(--pg-header-h) + 34px) 0 44px}
  .hero__content{max-width:100%}
  .hero__bg img{object-position:72% center}
  /* Auf schmalen Schirmen liegt der Text auf dem Bild, deshalb flaechig
     aufhellen statt seitlich verlaufen. Sonst leidet die Lesbarkeit. */
  .hero__veil{background:linear-gradient(180deg,
    rgba(255,255,255,.97) 0%,rgba(255,255,255,.93) 52%,rgba(255,255,255,.78) 100%)}
  .hero__actions .btn{flex:1 1 auto;justify-content:center}
  .site-header:not(.is-solid){background:rgba(255,255,255,.9);backdrop-filter:blur(10px)}
  .services__grid{grid-template-columns:1fr;gap:34px}
  .service{border-left:0;padding:0}
  /* Gestapelt: erst das Portrait, darunter die Textspalte. Ohne feste
     Hoehe bliebe der Container flach und das absolut gesetzte Bild
     waere unsichtbar. */
  .about{grid-template-columns:1fr;align-items:start}
  .about__media{order:1;min-height:0;aspect-ratio:auto;height:min(76vw,400px)}
  .about__panel{order:2}
  .about__media img{position:absolute;inset:0;object-position:center top}
  .cta .inner{grid-template-columns:1fr;gap:30px}
  .cta__divider{display:none}
  .footer__main{gap:22px;padding:30px 0}
  .footer__social{margin-left:0;width:100%}
}
@media (max-width:600px){
  :root{--pg-gap:18px}
  .property-grid{grid-template-columns:1fr}
  .testimonial .inner{flex-direction:column;gap:14px}
  .testimonial__mark{font-size:48px}
  .dots{margin-left:0}
  .hero__actions{flex-direction:column;align-items:stretch}
  .hero__actions .btn{width:100%}
  .deal-switch__track{width:100%}
  .deal-switch button{flex:1;padding:11px 12px;letter-spacing:.08em}
  .footer__contact{flex-direction:column;gap:12px}
  .footer__legal{flex-direction:column;gap:10px}
  .footer__legal nav{gap:14px;flex-wrap:wrap}
  .cta__actions .btn{padding:14px 16px;font-size:11px}
  .about__panel{padding:34px 24px 40px}
}
@media (max-width:380px){
  .property-card__specs{gap:9px;font-size:11.5px}
  .btn{padding:13px 18px;font-size:11px;letter-spacing:.08em}
}


/* ------------------------------------------------------------------
   Objekt-Detailseite
------------------------------------------------------------------ */
.property-page{padding:calc(var(--pg-header-h) + 28px) 0 var(--pg-section-y)}
.crumbs{margin-bottom:22px}
.property-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;
  flex-wrap:wrap;margin-bottom:26px}
.property-head h1{font-size:clamp(26px,3vw,38px);line-height:1.2;font-weight:500;margin:6px 0 0}
.property-head__price{font-size:clamp(22px,2.4vw,30px);font-weight:600;color:var(--pg-primary);white-space:nowrap}
.property-head__price span{font-size:15px;font-weight:400;color:var(--pg-text-muted)}

.gallery{position:relative;margin-bottom:40px}
.gallery__viewport{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
  border-radius:var(--pg-radius-card)}
.gallery__viewport::-webkit-scrollbar{display:none}
.gallery__track{display:flex}
.gallery__slide{flex:0 0 100%;scroll-snap-align:center;margin:0}
.gallery__slide img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.gallery__arrow{position:absolute;top:calc(50% - 44px);transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.92);
  color:var(--pg-text);font-size:22px;cursor:pointer;display:grid;place-items:center;
  box-shadow:0 4px 14px rgba(23,24,28,.16);transition:.2s}
.gallery__arrow:hover{background:var(--pg-primary);color:#fff}
.gallery__arrow--prev{left:14px}
.gallery__arrow--next{right:14px}
.gallery__thumbs{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding-bottom:4px}
.gallery__thumbs button{flex:0 0 92px;height:68px;padding:0;border:2px solid transparent;
  border-radius:6px;overflow:hidden;background:none;cursor:pointer;opacity:.65;transition:.2s}
.gallery__thumbs button.is-active,.gallery__thumbs button:hover{opacity:1;border-color:var(--pg-primary)}
.gallery__thumbs img{width:100%;height:100%;object-fit:cover}

.property-body{display:grid;grid-template-columns:1fr 360px;gap:48px;align-items:start}
.property-main h2{font-size:19px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;
  margin:0 0 16px}
.property-main h2+*{margin-top:0}
.prose{color:var(--pg-text-muted);font-size:16.5px;line-height:1.8;margin-bottom:40px}
.feature-list{list-style:none;padding:0;margin:0;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.feature-list li{display:flex;align-items:center;gap:10px;font-size:15.5px}
.feature-list svg{width:17px;height:17px;color:var(--pg-primary);flex:none}

.property-aside{position:sticky;top:calc(var(--pg-header-h) + 20px)}
.facts{margin:0 0 24px;border:1px solid var(--pg-border);border-radius:var(--pg-radius-card);
  overflow:hidden;background:#fff}
.fact{display:flex;justify-content:space-between;gap:16px;padding:13px 18px;
  border-bottom:1px solid var(--pg-border);font-size:15px}
.fact:last-child{border-bottom:0}
.fact dt{color:var(--pg-text-muted);margin:0}
.fact dd{margin:0;font-weight:500;text-align:right}
.property-contact{background:var(--pg-surface-tint);border-radius:var(--pg-radius-card);padding:24px}
.property-contact strong{display:block;font-size:17px;margin-bottom:6px}
.property-contact .btn{width:100%;justify-content:center;margin-top:10px}

@media (max-width:900px){
  .property-body{grid-template-columns:1fr;gap:34px}
  .property-aside{position:static}
  .gallery__slide img{aspect-ratio:4/3}
}

/* ------------------------------------------------------------------
   Reservierte Objekte: Schrägband und entsättigtes Bild.
   Das Objekt bleibt sichtbar und anklickbar, ist aber auf einen Blick
   als vergeben zu erkennen.
------------------------------------------------------------------ */
.property-card.is-reserved .property-card__media img{
  filter:grayscale(1) contrast(.92);opacity:.72;transition:.3s}
.property-card.is-reserved:hover .property-card__media img{
  filter:grayscale(.55) contrast(.95);opacity:.85;transform:scale(1.02)}
.property-card.is-reserved .property-card__price{color:var(--pg-text-muted)}
.property-card.is-reserved .property-card__media::after{
  content:"";position:absolute;inset:0;background:rgba(23,24,28,.06);pointer-events:none}

.ribbon{position:absolute;top:16px;right:-42px;z-index:3;width:170px;
  transform:rotate(38deg);transform-origin:center;
  background:var(--pg-primary);color:#fff;text-align:center;
  padding:6px 0;font-size:10.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  box-shadow:0 3px 10px rgba(23,24,28,.22)}

.reserved-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  background:var(--pg-surface-tint);border-left:4px solid var(--pg-primary);
  border-radius:6px;padding:14px 18px;margin:0 0 22px;
  font-size:15.5px;color:var(--pg-text-muted)}
.reserved-note strong{color:var(--pg-primary);letter-spacing:.08em;text-transform:uppercase;font-size:13px}
.gallery.is-reserved .gallery__slide img{filter:grayscale(1) contrast(.92);opacity:.8}
.gallery.is-reserved .gallery__thumbs img{filter:grayscale(1);opacity:.8}

/* ------------------------------------------------------------------
   Reservierte Objekte: Band ueber der Ecke, Bild zurueckgenommen
------------------------------------------------------------------ */
/* Das Band wird von der Karte beschnitten. Damit der Text optisch
   mittig sitzt, muss der Mittelpunkt des Bandes auf der Diagonale der
   Ecke liegen: left + Breite/2 muss top + Hoehe/2 entsprechen.
   Hier 36 px in beide Richtungen. */
.ribbon{position:absolute;top:22px;left:-44px;z-index:3;width:160px;
  transform:rotate(-45deg);background:var(--pg-primary-deep);color:#fff;
  font-size:10.5px;font-weight:600;line-height:12px;letter-spacing:.16em;
  text-transform:uppercase;text-align:center;padding:8px 0;
  box-shadow:0 3px 10px rgba(23,24,28,.24)}
.ribbon--inline{position:static;transform:none;width:auto;display:inline-block;
  margin-left:12px;padding:5px 13px;border-radius:var(--pg-radius-sm);vertical-align:middle;
  font-size:11px;box-shadow:none}
.property-card.is-reserved .property-card__media img,
.gallery.is-reserved .gallery__slide img{filter:grayscale(.85) contrast(.94);opacity:.82}
.property-card.is-reserved:hover .property-card__media img{filter:grayscale(.6) contrast(.96);opacity:.9}
.property-card.is-reserved .property-card__price{color:var(--pg-text-muted)}

/* ------------------------------------------------------------------
   Objektseite mit Filtern
------------------------------------------------------------------ */
.listing-head{margin-bottom:26px}
.listing-head h1{font-size:clamp(26px,3vw,38px);line-height:1.2;font-weight:500;margin:0 0 6px}
.listing-head p{margin:0}
.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:0 18px;
  align-items:end;background:var(--pg-surface-tint);border-radius:var(--pg-radius-card);
  padding:22px 24px 8px;margin-bottom:34px}
.filters label{display:block;margin-bottom:14px}
.filters label>span{display:block;font-size:12px;font-weight:500;letter-spacing:.04em;
  color:var(--pg-text-muted);margin-bottom:6px}
.filters select,.filters input{width:100%;padding:10px 12px;font-family:inherit;font-size:15px;
  color:var(--pg-text);background:#fff;border:1px solid var(--pg-border);border-radius:6px}
.filters select:focus,.filters input:focus{outline:none;border-color:var(--pg-primary);
  box-shadow:0 0 0 3px rgba(119,24,119,.12)}
.filters__actions{display:flex;align-items:center;gap:16px;margin-bottom:14px;flex-wrap:wrap}
.section-cta{display:flex;justify-content:center;margin-top:40px}
.pager{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:44px}
.pager__info{font-size:14.5px;color:var(--pg-text-muted)}
@media (max-width:600px){
  .filters{grid-template-columns:1fr;padding:18px 18px 4px}
  .filters__actions .btn{width:100%;justify-content:center}
}

/* ------------------------------------------------------------------
   Cookie-Hinweis
------------------------------------------------------------------ */
.cookie{position:fixed;left:0;right:0;bottom:0;z-index:70;padding:0 18px 18px;
  transform:translateY(120%);transition:transform .32s cubic-bezier(.2,.8,.3,1)}
.cookie.is-in{transform:none}
.cookie__inner{max-width:var(--pg-container);margin:0 auto;background:#fff;
  border:1px solid var(--pg-border);border-radius:14px;padding:22px 26px;
  display:flex;align-items:center;gap:28px;flex-wrap:wrap;
  box-shadow:0 14px 44px rgba(23,24,28,.16)}
.cookie__text{flex:1 1 380px;min-width:0}
.cookie__text strong{display:block;font-size:16.5px;font-weight:600;margin-bottom:5px}
.cookie__text p{margin:0;font-size:15px;line-height:1.6;color:var(--pg-text-muted)}
.cookie__text a{color:var(--pg-primary);font-weight:500;text-decoration:underline;
  text-underline-offset:2px}
.cookie__actions{display:flex;gap:12px;flex:0 0 auto}
.footer__cookie-btn{background:none;border:0;padding:0;font:inherit;font-size:11.5px;
  color:var(--pg-text-muted);cursor:pointer;text-align:left}
.footer__cookie-btn:hover{color:var(--pg-primary)}
@media (max-width:700px){
  .cookie{padding:0 12px 12px}
  .cookie__inner{padding:20px;gap:18px}
  .cookie__actions{width:100%}
  .cookie__actions .btn{flex:1;justify-content:center;padding:13px 12px}
}
@media (prefers-reduced-motion:reduce){.cookie{transition:none}}

/* ------------------------------------------------------------------
   Rechtstexte
------------------------------------------------------------------ */
.legal-page{padding:calc(var(--pg-header-h) + 34px) 0 var(--pg-section-y)}
.legal-page h1{font-size:clamp(26px,3vw,38px);line-height:1.2;font-weight:500;margin:0 0 6px}
.legal-updated{color:var(--pg-text-muted);font-size:14.5px;margin:0 0 36px}
.legal-body{max-width:760px}
.legal-body h2{font-size:17px;font-weight:600;margin:38px 0 12px;letter-spacing:-.005em}
.legal-body h2:first-child{margin-top:0}
.legal-body p,.legal-body li{font-size:16.5px;line-height:1.75;color:var(--pg-text-muted)}
.legal-body p{margin:0 0 14px}
.legal-body ul{margin:0 0 18px;padding-left:22px}
.legal-body li{margin-bottom:7px}
.legal-body a{color:var(--pg-primary);text-decoration:underline;text-underline-offset:2px}
.legal-body strong{color:var(--pg-text);font-weight:600}
.legal-body code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;
  background:var(--pg-surface-tint);padding:2px 7px;border-radius:4px;color:var(--pg-primary)}
.legal-note{background:var(--pg-surface-tint);border-left:3px solid var(--pg-primary);
  padding:13px 18px;border-radius:0 6px 6px 0;font-size:15px !important;margin-bottom:30px !important}
.legal-table{width:100%;border-collapse:collapse;margin:0 0 22px;font-size:15px;
  display:block;overflow-x:auto;white-space:normal}
.legal-table th{text-align:left;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--pg-text-muted);font-weight:600;padding:11px 14px;border-bottom:2px solid var(--pg-border)}
.legal-table td{padding:12px 14px;border-bottom:1px solid var(--pg-border);
  color:var(--pg-text-muted);line-height:1.6;vertical-align:top;min-width:150px}
.legal-nav{display:flex;gap:24px;flex-wrap:wrap;margin-top:52px;padding-top:24px;
  border-top:1px solid var(--pg-border);font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.legal-nav a{color:var(--pg-text-muted);font-weight:500}
.legal-nav a:hover,.legal-nav a.is-active{color:var(--pg-primary)}

@media (max-width:420px){
  .site-header .btn{font-size:10px;letter-spacing:.05em;padding:11px 13px}
  .brand img{height:26px}
  .lang-switch{font-size:10.5px}
}
@media (max-width:340px){
  .site-header .btn{font-size:9.5px;padding:10px 11px}
}

/* ------------------------------------------------------------------
   Zurueck nach oben
------------------------------------------------------------------ */
.to-top{position:fixed;right:24px;bottom:24px;z-index:65;
  width:46px;height:46px;display:grid;place-items:center;padding:0;
  background:var(--pg-primary);color:#fff;border:0;border-radius:50%;cursor:pointer;
  box-shadow:0 6px 20px rgba(23,24,28,.20);
  opacity:0;transform:translateY(14px);transition:opacity .25s ease,transform .25s ease,background .2s}
.to-top.is-in{opacity:1;transform:none}
.to-top:hover{background:var(--pg-primary-deep)}
.to-top:focus-visible{outline:2px solid var(--pg-primary);outline-offset:3px}
.to-top svg{width:20px;height:20px}
@media (max-width:700px){
  .to-top{right:16px;bottom:16px;width:42px;height:42px}
  .to-top svg{width:18px;height:18px}
}
@media (prefers-reduced-motion:reduce){
  .to-top{transition:none;transform:none}
}

/* ------------------------------------------------------------------
   Ansprechpartnerin im Kontaktblock
------------------------------------------------------------------ */
.agent{display:flex;align-items:center;gap:14px;padding-bottom:18px;margin-bottom:18px;
  border-bottom:1px solid rgba(119,24,119,.14)}
.agent__avatar{position:relative;flex:none;width:56px;height:56px}
.agent__avatar img{width:56px;height:56px;border-radius:50%;object-fit:cover;
  box-shadow:0 2px 8px rgba(23,24,28,.12)}
/* Der Punkt sitzt in der unteren rechten Ecke des Bildes. Der weisse
   Ring hebt ihn vom Foto ab, sonst verschwindet er im Hintergrund. */
.agent__dot{position:absolute;right:1px;bottom:1px;width:14px;height:14px;border-radius:50%;
  background:#2FA84F;border:2.5px solid var(--pg-surface-tint)}
/* Punkt und Schrift tragen bewusst verschiedene Toene: der Punkt darf
   leuchten, die Schrift braucht Kontrast. Das helle Gruen kam auf der
   Flaeche nur auf 2,7 zu 1 und war als Text zu schwach. */
.agent__meta{display:flex;flex-direction:column;gap:1px;min-width:0}
.agent__meta strong{font-size:16px;font-weight:600;color:var(--pg-text);line-height:1.3}
.agent__role{font-size:13px;color:var(--pg-text-muted)}
/* Kein eigener Punkt vor dem Text: der Zustand wird bereits durch den
   Punkt am Portrait angezeigt, zweimal waere eine Dopplung. Die Farbe
   traegt die Aussage weiterhin. */
.agent__status{display:inline-flex;align-items:center;font-size:13px;font-weight:500;
  color:#177A38;margin-top:2px}
.agent__note{margin:12px 0 0;font-size:13px;color:var(--pg-text-muted);text-align:center}

/* Ausserhalb der Erreichbarkeit: Bernstein statt Rot. Rot liest sich
   als Stoerung, Bernstein als Feierabend. Auch hier leuchtender Punkt,
   dunklere Schrift. */
.agent.is-off .agent__dot{background:#D97706}
.agent.is-off .agent__status{color:#9C4E06}

/* ------------------------------------------------------------------
   Logo deckt sich beim ersten Aufruf von links nach rechts auf
   Kein Nachzeichnen: das Logo liegt als Pixelbild vor, dafuer braeuchte
   es Pfade. Ein Aufdecken wirkt in dieser Form ruhiger als eine
   nachtraeglich erzeugte Kontur.
------------------------------------------------------------------ */
.brand img{clip-path:inset(0 0 0 0)}
body.logo-anim .brand img{
  animation:logo-aufdecken 1s cubic-bezier(.33,0,.15,1) both;
}
@keyframes logo-aufdecken{
  from{clip-path:inset(0 100% 0 0);opacity:.35}
  40%{opacity:1}
  to{clip-path:inset(0 0 0 0);opacity:1}
}
/* Der Punkt im Schriftzug kommt am Ende kurz nach, das setzt einen
   Schlusspunkt statt eines abrupten Endes. */
body.logo-anim .brand::after{
  content:"";position:absolute;right:-1px;bottom:6px;width:5px;height:5px;
  border-radius:50%;background:var(--pg-primary);
  animation:logo-punkt .45s ease .85s both}
.brand{position:relative}
@keyframes logo-punkt{
  from{transform:scale(0);opacity:0}
  60%{transform:scale(1.5);opacity:1}
  to{transform:scale(0);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  body.logo-anim .brand img,body.logo-anim .brand::after{animation:none}
}
