/* ============================================================
   PERFECTIO HAUSVERWALTUNG — Stylesheet
   Palette (from designer stylescape):
     cream  #f2e4d3   blue #334568   gold #af875a
   Derived (from screenshots):
     header navy #26334d   body blue #3a4a6d   dark navy #2b3a57
   Fonts: Inter (sans, Light/Regular/Medium), Bodoni Moda (serif italic)
   ============================================================ */

:root{
  --cream:   #f2e4d3;
  --cream-2: #fbf3e8;
  --blue:    #334568;
  --gold:    #af875a;
  --gold-lt: #c8a577;
  --navy-header: #26334d;
  --navy-body:   #3a4a6d;
  --navy-deep:   #2b3a57;
  --navy-card:   #34456a;
  --ink:     #2b3a57;
  --text-light: #e9eaf0;
  --text-mute:  #c2c8d6;

  --maxw: 1240px;
  --band: 1600px;   /* max. Breite der Full-Bleed-Komposition auf sehr großen Screens */
  --pad: 40px;

  --f-sans: 'Inter', system-ui, sans-serif;
  --f-serif: 'Bodoni Moda', Georgia, serif;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--f-sans);
  font-weight:400;
  color:var(--text-light);
  background:var(--navy-body);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
strong{font-weight:600;color:#fff}

.container{max-width:var(--maxw);margin:0 auto;padding:0 var(--pad)}
.sans{font-family:var(--f-sans)}
.serif{font-family:var(--f-serif);font-style:italic;font-weight:500}
.gold{color:var(--gold-lt)}
.dark{color:var(--blue)}

/* ---------- shared headings ---------- */
.eyebrow{
  font-size:.82rem;letter-spacing:.32em;text-transform:uppercase;
  color:var(--gold-lt);font-weight:500;margin-bottom:1.1rem;
}
.section-head{
  font-weight:400;line-height:1.05;margin-bottom:1.8rem;
  display:flex;flex-direction:column;
}
.section-head .sans{font-size:clamp(2.2rem,4.4vw,3.5rem);font-weight:400;color:var(--cream)}
.section-head .sans.dark{color:var(--blue)}
.section-head .serif{font-size:clamp(2rem,4vw,3.1rem);line-height:1.12;margin-top:.1em;font-weight:500}
.section-head.center{text-align:center;align-items:center}

/* ---------- buttons ---------- */
.btn{
  display:inline-block;border-radius:999px;padding:1rem 2.4rem;
  font-size:1rem;font-weight:400;cursor:pointer;border:1.5px solid transparent;
  transition:.25s ease;letter-spacing:.01em;
}
.btn-cream{background:var(--cream);color:var(--blue)}
.btn-cream:hover{background:#fff;transform:translateY(-2px)}
.btn-blue{background:var(--blue);color:var(--cream);border-color:var(--blue)}
.btn-blue:hover{background:#3d527c;transform:translateY(-2px)}
.center-btn{display:block;width:max-content;margin:0 auto}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:100;
  background:var(--navy-header);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:80px;
}
.brand-logo{height:46px;width:auto}
.main-nav{display:flex;gap:2.8rem}
.main-nav a{
  font-size:1.02rem;font-weight:400;color:var(--cream);
  position:relative;padding:4px 0;transition:color .2s;
}
.main-nav a::after{
  content:'';position:absolute;left:0;bottom:0;height:1px;width:0;
  background:var(--gold-lt);transition:width .25s;
}
.main-nav a:hover{color:#fff}
.main-nav a:hover::after{width:100%}

.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.nav-toggle span{display:block;width:26px;height:2px;background:var(--cream);transition:.3s}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.mobile-nav{
  display:none;flex-direction:column;background:var(--navy-header);
  border-top:1px solid rgba(242,228,211,.12);overflow:hidden;max-height:0;
  transition:max-height .35s ease;
}
.mobile-nav a{padding:.95rem var(--pad);color:var(--cream);border-bottom:1px solid rgba(242,228,211,.08)}
.mobile-nav.open{max-height:340px}

/* ============================================================
   HERO
   ============================================================ */
.hero{position:relative;background:var(--navy-body);overflow:hidden}
.hero-media{
  position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);
  width:100%;max-width:var(--band);height:100%;
}
.hero-img{
  position:absolute;left:0;top:0;height:100%;width:auto;max-width:60%;
  object-fit:cover;object-position:left center;
}
.hero-media::after{
  /* smooth, full fade of the photo into the blue background toward the right */
  content:'';position:absolute;inset:0;
  background:linear-gradient(to right,
    transparent 0%,
    transparent 24%,
    rgba(58,74,109,.35) 36%,
    rgba(58,74,109,.85) 47%,
    var(--navy-body) 56%);
}
.hero-blob{
  position:absolute;right:12%;top:50%;transform:translateY(-50%);
  width:520px;height:520px;border-radius:50%;
  background:rgba(242,228,211,.06);
}
.hero-content{
  position:relative;z-index:2;
  min-height:620px;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;
  text-align:right;padding-top:60px;padding-bottom:60px;
}
.hero-title{font-weight:400;line-height:1.02;color:var(--cream)}
.hero-title .sans{display:block;font-size:clamp(2.6rem,5.6vw,4.6rem);font-weight:400}
.hero-title .serif{display:block;font-size:clamp(2.3rem,5vw,4rem);color:var(--gold-lt);margin-top:.05em}
.hero-sub{
  max-width:440px;margin:1.6rem 0 2.2rem;font-size:1.05rem;
  color:var(--text-mute);font-weight:400;
}

/* ============================================================
   EXPECT / INTRO
   ============================================================ */
.expect{background:var(--navy-body);padding:80px 0 100px;position:relative}
.expect .section-head{margin-bottom:3.2rem}
.expect-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:start;
  margin-bottom:4.5rem;
}
.expect-copy p{color:var(--text-mute);margin-bottom:1.2rem;max-width:30rem}
.services-lead{
  text-align:right;font-weight:400;font-size:clamp(1.5rem,2.4vw,2rem);
  color:var(--cream);line-height:1.2;margin-bottom:1.4rem;
}
.pill-list{list-style:none;display:flex;flex-direction:column;align-items:flex-end;gap:.7rem}
.pill-list li{
  background:var(--cream);color:var(--blue);border-radius:999px;
  padding:.55rem 1.4rem;font-size:.98rem;font-weight:400;
}

.feature-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.feature-card{
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.01));
  border:1px solid rgba(242,228,211,.10);
  border-radius:8px;padding:2.4rem 2rem 2.6rem;
}
.feature-icon{
  display:flex;align-items:center;justify-content:center;
  width:62px;height:62px;border-radius:50%;background:var(--cream);
  margin-bottom:1.6rem;
}
.feature-icon svg{width:30px;height:30px;color:var(--blue)}
.feature-card h3{font-weight:400;font-size:1.45rem;color:var(--gold-lt);margin-bottom:.9rem}
.feature-card p{color:var(--text-mute);font-size:.98rem}

/* ============================================================
   SERVICES / ACCORDION
   ============================================================ */
.services{
  position:relative;background:var(--cream-2);color:var(--blue);
  padding:90px 0 110px;overflow:hidden;
}
.services::before{
  /* large cream circle bleeding from top forming the curved top edge */
  content:'';position:absolute;left:50%;top:-46%;transform:translateX(-50%);
  width:160%;height:120%;background:var(--cream-2);border-radius:50%;
  z-index:0;
}
.services-photo{
  position:absolute;left:max(0px,calc((100% - var(--band)) / 2));top:3%;width:48%;max-width:640px;height:82%;z-index:1;
  border-radius:0 50% 50% 0/0 50% 50% 0;overflow:hidden;
}
.services-photo::after{
  content:'';position:absolute;left:-3%;bottom:-10%;width:50%;height:46%;
  background:var(--cream);border-radius:50%;
}
.services-photo img{width:100%;height:100%;object-fit:cover}
.services-inner{position:relative;z-index:2}
.services-col{width:58%;margin-left:auto}
.services .section-head{margin-bottom:2.6rem;text-align:left;align-items:flex-start}
.services .section-head .sans{color:var(--blue)}
.services .section-head .serif{color:var(--gold)}

.accordion{width:100%}
.acc-item{border-bottom:1px solid rgba(51,69,104,.22)}
.acc-trigger{
  width:100%;background:none;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.5rem 0;font-family:var(--f-sans);font-weight:400;
  font-size:clamp(1.3rem,2.1vw,1.7rem);color:var(--blue);text-align:left;
}
.acc-sign{position:relative;width:22px;height:22px;flex:none;transition:transform .3s}
.acc-sign::before,.acc-sign::after{
  content:'';position:absolute;background:var(--blue);transition:.3s;
}
.acc-sign::before{left:0;top:50%;width:100%;height:1.5px;transform:translateY(-50%)}
.acc-sign::after{left:50%;top:0;width:1.5px;height:100%;transform:translateX(-50%)}
.acc-item.open .acc-sign{transform:rotate(45deg)}
.acc-panel{overflow:hidden;max-height:0;transition:max-height .4s ease}
.acc-panel p{padding-bottom:1.6rem;color:#3e4d6e;font-size:1rem;line-height:1.7}
.acc-item.open .acc-panel{max-height:420px}

/* ============================================================
   STORY / ÜBER UNS
   ============================================================ */
.story{background:var(--cream-2);color:var(--blue);padding:30px 0 110px}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.story-copy .section-head .sans.dark{color:var(--blue)}
.story-copy p{color:#43537440;color:#46567a;margin-bottom:1.1rem;max-width:32rem}
.story-copy strong{color:var(--blue)}
.story-copy .btn{margin-top:1.4rem}
.story-media{position:relative;align-self:start}
.story-media img{
  width:108%;max-width:108%;aspect-ratio:1/1;object-fit:cover;margin-top:-1.5rem;
  border-radius:50%;
  -webkit-mask-image:radial-gradient(circle at 58% 50%,#000 66%,transparent 67%);
  mask-image:radial-gradient(circle at 58% 50%,#000 66%,transparent 67%);
}
.story-blob{
  position:absolute;right:-2%;top:-9%;width:50%;height:50%;
  background:var(--gold);opacity:.6;border-radius:50%;z-index:-1;
}

/* ============================================================
   CLAIM / ANSPRUCH
   ============================================================ */
.claim{background:var(--cream-2);color:var(--blue);padding:40px 0 90px;position:relative}
.claim .section-head .sans.dark{color:var(--blue)}
.claim-text{max-width:620px;margin:0 auto 2.4rem;text-align:center}
.claim-text p{color:#46567a;margin-bottom:1.1rem}
.claim-text strong{color:var(--blue)}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials{background:var(--navy-body);padding:200px 0 100px;position:relative;overflow:hidden}
.testimonials::before{
  /* shallow cream curve bleeding down from the claim section */
  content:'';position:absolute;left:50%;top:0;transform:translate(-50%,-78%);
  width:170%;height:40%;background:var(--cream-2);border-radius:50%;
  z-index:0;
}
.testimonials .container{position:relative;z-index:1}
.testimonials .section-head{margin-bottom:3rem}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.testi-card{
  background:rgba(255,255,255,.04);border:1px solid rgba(242,228,211,.08);
  border-radius:8px;padding:2.2rem 2rem;
}
.testi-card h3{font-weight:400;font-size:1.35rem;color:var(--cream);margin-bottom:1.2rem;line-height:1.3}
.testi-card p{color:var(--text-mute);font-size:.97rem;margin-bottom:1.4rem}
.testi-author{font-family:var(--f-serif);font-style:italic;color:var(--gold-lt);font-size:.95rem;margin-bottom:0!important}

/* ============================================================
   TEAM
   ============================================================ */
.team{background:var(--navy-deep);padding:90px 0 100px}
.team-grid{display:grid;grid-template-columns:0.78fr 1.22fr;gap:2rem;align-items:center}
.team-copy p{color:var(--text-mute);max-width:30rem}
.team-members{display:flex;justify-content:flex-end;align-items:center;gap:1.4rem;padding-right:1rem}
.member{position:relative;width:44%;max-width:255px}
/* taupe offset shadow-arch behind each portrait */
.member::before{
  content:'';position:absolute;top:5%;left:18%;width:100%;height:100%;
  background:#9b9082;opacity:.55;
  border-radius:50% / 40%;
  z-index:0;
}
.member-photo{
  position:relative;z-index:1;
  border-radius:50% / 40%;
  overflow:hidden;border:1.5px solid var(--gold);
  aspect-ratio:.7;background:#dfe0e2;
}
.member-photo img{width:100%;height:100%;object-fit:cover;object-position:48% 22%}
.member figcaption{
  position:absolute;z-index:2;left:-8%;bottom:9%;
  display:flex;flex-direction:column;align-items:flex-start;
  background:var(--blue);border-radius:14px;padding:.55rem 1.4rem;min-width:66%;
  text-align:left;box-shadow:0 8px 22px rgba(0,0,0,.28);
}
.m-name{color:var(--cream);font-size:1.15rem;font-weight:400;line-height:1.15}
.m-sur{color:var(--gold-lt);font-size:1.05rem;line-height:1.25}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact{background:var(--navy-deep);padding:30px 0 100px}
.contact .section-head{margin-bottom:2.8rem}
.contact-form{max-width:880px;margin:0 auto}
.form-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem}
.form-row.two{grid-template-columns:1fr 2fr}
.field{position:relative;display:flex;flex-direction:column}
.contact-form input{
  width:100%;background:transparent;border:1px solid rgba(242,228,211,.4);
  border-radius:999px;padding:1rem 1.6rem;color:var(--cream);
  font-family:var(--f-sans);font-size:1rem;font-weight:400;
  transition:border-color .2s;
}
.contact-form input::placeholder{color:var(--text-mute)}
.contact-form input:focus{outline:none;border-color:var(--gold-lt)}
.contact-form input.invalid{border-color:#e07a7a;background:rgba(224,122,122,.06)}
.field-err{
  display:none;color:#f0a8a8;font-size:.82rem;font-weight:400;
  margin-top:.4rem;padding-left:1.6rem;letter-spacing:.01em;
}
.field.has-error .field-err{display:block}
.form-submit{display:block;margin:1.4rem auto 0;min-width:300px;border:0;font-family:var(--f-sans);cursor:pointer}
.form-submit:disabled{opacity:.6;cursor:wait}

/* Honeypot field — completely hidden from humans, off-screen */
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Form status messages */
.form-status{
  display:none;max-width:560px;margin:1.6rem auto 0;
  padding:1rem 1.4rem;border-radius:12px;text-align:center;
  font-size:1rem;line-height:1.5;
}
.form-status.success{display:block;background:rgba(175,135,90,.15);border:1px solid var(--gold-lt);color:var(--cream)}
.form-status.error{display:block;background:rgba(224,122,122,.12);border:1px solid #e07a7a;color:#f5dada}

/* ============================================================
   REACH / MAP
   ============================================================ */
.reach{background:var(--navy-body);display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:420px;max-width:var(--band);margin-inline:auto}
.reach-map{height:100%;overflow:hidden;border-radius:0 50% 50% 0/0 50% 50% 0;max-width:620px}
.reach-map img{width:100%;height:100%;object-fit:cover;min-height:400px}
.reach-info{padding:60px var(--pad)}
.reach-info .section-head{margin-bottom:1.6rem}
.reach-info .section-head .sans{font-size:clamp(2rem,4vw,3.2rem)}
.reach-list{list-style:none;display:flex;flex-direction:column;gap:1.2rem;border-top:1px solid rgba(242,228,211,.18);padding-top:1.8rem}
.reach-list li{display:flex;align-items:center;gap:1rem;font-size:1.15rem;color:var(--cream);font-weight:400}
.reach-list a{color:var(--cream);transition:color .2s}
.reach-list a:hover{color:var(--gold-lt)}
.reach-ic{display:flex;align-items:center;justify-content:center;width:30px;height:30px;color:var(--gold-lt);flex:none}
.reach-ic svg{width:26px;height:26px}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--navy-header);padding:46px 0}
.footer-inner{display:flex;flex-direction:column;align-items:center;gap:1.2rem;text-align:center}
.footer-logo{height:54px;opacity:.95}
.footer-links{display:flex;gap:.8rem;color:var(--text-mute);font-size:.95rem}
.footer-links a:hover{color:var(--cream)}
.footer-copy{color:var(--text-mute);font-size:.85rem}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width:980px){
  :root{--pad:28px}
  .main-nav{display:none}
  .nav-toggle{display:flex}
  .mobile-nav{display:flex}

  .hero-content{align-items:center;text-align:center;min-height:520px}
  .hero-img{width:100%;opacity:.32}
  .hero-media::after{display:none}
  .hero-blob{display:none}
  .hero-sub{margin-left:auto;margin-right:auto}

  .expect-grid{grid-template-columns:1fr;gap:2.4rem}
  .services-lead{text-align:left}
  .pill-list{align-items:flex-start}
  .feature-cards{grid-template-columns:1fr;gap:1.4rem}

  .services-photo{display:none}
  .services-col{width:100%;margin-left:0}
  .services .section-head{text-align:left;align-items:flex-start}
  .accordion{margin:0}

  .story-grid{grid-template-columns:1fr;gap:2.4rem}
  .story-media{max-width:440px;margin:0 auto;order:-1}

  .testi-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:1fr;gap:2.4rem}
  .team-members{justify-content:center}

  .reach{grid-template-columns:1fr}
  .reach-map{border-radius:0;max-width:none;height:300px}
  .reach-info{padding:50px var(--pad)}
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width:560px){
  :root{--pad:20px}
  .header-inner{height:66px}
  .brand-logo{height:38px}

  .hero-content{min-height:460px;padding-top:50px}
  .hero-title .sans{font-size:2.2rem}
  .hero-title .serif{font-size:2rem}

  .section-head .sans{font-size:2rem}
  .section-head .serif{font-size:1.8rem}

  .form-row,.form-row.two{grid-template-columns:1fr}
  .form-submit{min-width:0;width:100%}

  .member{width:48%}
  .reach-list li{font-size:1rem}
}

/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================================ */
.legal{background:var(--cream-2);color:var(--blue);padding:90px 0 100px;min-height:60vh}
.legal .container{max-width:860px}
.legal .eyebrow{color:var(--gold);margin-bottom:.8rem}
.legal h1{
  font-family:var(--f-sans);font-weight:400;font-size:clamp(2.2rem,4vw,3.2rem);
  line-height:1.1;color:var(--blue);margin-bottom:.4rem;
}
.legal h1 .serif{display:block;font-size:.85em;color:var(--gold);margin-top:.2em}
.legal .legal-content{margin-top:2.6rem}
.legal h2{
  font-family:var(--f-sans);font-weight:500;font-size:clamp(1.3rem,2vw,1.55rem);
  color:var(--blue);margin:2.2rem 0 .9rem;
}
.legal h2:first-child{margin-top:0}
.legal h3{
  font-family:var(--f-sans);font-weight:500;font-size:1.1rem;
  color:var(--blue);margin:1.6rem 0 .6rem;
}
.legal p, .legal li{
  color:#3e4d6e;font-size:1.02rem;line-height:1.75;margin-bottom:1rem;
}
.legal ul{margin:0 0 1.2rem 1.3rem}
.legal li{margin-bottom:.4rem}
.legal a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.legal a:hover{color:var(--blue)}
.legal address{font-style:normal;line-height:1.7;margin-bottom:1.2rem;color:#3e4d6e}
.legal .back-link{
  display:inline-block;margin-top:2.4rem;color:var(--blue);
  font-weight:500;text-decoration:none;border-bottom:1px solid var(--gold);
  padding-bottom:2px;
}
.legal .back-link:hover{color:var(--gold)}