/* ═══════════════════════════════════════════
   Aurora Pflege — Design System (Approved v4)
   ═══════════════════════════════════════════ */

:root {
  --burgundy:#6B1D2A;--coral:#E06050;--coral-light:#F0A070;--salmon:#E88070;
  --cream:#FDF8F6;--cream-alt:#F5EEEB;--warm-white:#FFFAF8;
  --text:#2D1F1F;--text-muted:#6B5858;--text-light:#9B8888;
  --card-shadow:0 4px 24px rgba(107,29,42,0.08);--card-hover:0 8px 40px rgba(107,29,42,0.14);
  --aurora-grad:linear-gradient(135deg,#6B1D2A 0%,#E06050 50%,#F0A070 100%);
  --radius:12px;--radius-lg:20px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:clip}
body{overflow-x:clip}
body{font-family:'Plus Jakarta Sans',system-ui,sans-serif;color:var(--text);background:var(--cream);line-height:1.65;font-size:16px;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:'Lora',Georgia,serif;font-weight:700;line-height:1.2}
h1{font-size:clamp(2.2rem,5vw,3.6rem)}h2{font-size:clamp(1.6rem,3.5vw,2.4rem)}
h3{font-size:1.15rem;font-weight:600}
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--coral);font-family:'Plus Jakarta Sans',sans-serif}
.section{padding:5rem 0}
.section--alt{background:var(--cream-alt)}
.bold {font-weight:600;}

.page-id-283 main,
.page-id-293 main,
.page-id-296 main {margin: 50px 0px;}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.9rem 2rem;border-radius:50px;font-weight:600;font-size:.95rem;text-decoration:none;transition:all .3s;cursor:pointer;border:none;font-family:inherit}
.btn-primary{background:var(--coral);color:#fff;box-shadow:0 4px 16px rgba(224,96,80,.3)}
.btn-primary:hover{background:#d05545;transform:translateY(-2px);box-shadow:0 6px 24px rgba(224,96,80,.4)}
.btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.7)}
.btn-outline:hover{background:rgba(255,255,255,.15);border-color:#fff}
.btn-ghost{background:transparent;color:var(--coral);border:2px solid var(--coral)}
.btn-ghost:hover{background:var(--coral);color:#fff}

/* Icons */
.icon{width:24px;height:24px;display:inline-block;flex-shrink:0}
.icon-lg{width:32px;height:32px}
.icon-xl{width:40px;height:40px}
.icon svg{width:100%;height:100%}

/* ── TOPBAR ── */
.topbar{background:var(--burgundy);color:rgba(255,255,255,.85);font-size:.82rem;padding:.5rem 0}
.topbar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem}
.topbar a{color:rgba(255,255,255,.85);text-decoration:none;display:inline-flex;align-items:center;gap:.4rem}
.topbar a:hover{color:#fff}
.topbar .icon{width:14px;height:14px;color:var(--coral-light)}
.topbar-left{display:flex;gap:1.5rem;align-items:center}
.topbar-right{display:flex;gap:.75rem;align-items:center}

/* ── HEADER ── */
/* ═══ HEADER ═══ */
.header{background:var(--warm-white);padding:.6rem 0;position:sticky;top:0;z-index:100;box-shadow:0 1px 8px rgba(0,0,0,.06);transition:padding .25s,box-shadow .25s}
.header .container{display:flex;align-items:center;gap:1rem}
.header-logo img,.header-logo .custom-logo{width:90px!important;height:auto!important;max-width:90px!important;transition:width .25s,height .25s}
.header-nav{flex:1;display:flex;justify-content:center}
.header-nav,.header-nav ul,.header-nav li{list-style:none!important;margin:0;padding:0}
.header-nav>ul{display:flex;gap:1.5rem;align-items:center}
.header-nav li{position:relative}
.header-nav a{text-decoration:none;color:var(--text);font-size:.88rem;font-weight:500;transition:color .2s;display:block;padding:.25rem 0}
.header-nav a:hover{color:var(--coral)}

/* Desktop dropdown */
.header-nav .sub-menu{display:none;position:absolute;top:100%;left:0;background:#fff;border-radius:var(--radius);box-shadow:var(--card-shadow);padding:.5rem 0;min-width:260px;z-index:200}
.header-nav li:hover>.sub-menu{display:block}
.header-nav .sub-menu li{width:100%}
.header-nav .sub-menu a{padding:.45rem 1.2rem;font-size:.84rem;white-space:nowrap}
.header-nav .sub-menu a:hover{background:var(--cream);color:var(--coral)}

/* CTA buttons */
.header-cta-desktop{margin-left:1rem;padding:.55rem 1.4rem;font-size:.85rem;flex-shrink:0}
.header-cta-mobile{display:none}

/* Scrolled state */
.header.scrolled{padding:.35rem 0;box-shadow:0 2px 16px rgba(0,0,0,.1)}
.header.scrolled .header-logo img,.header.scrolled .custom-logo{width:78px!important;max-width:78px!important;height:auto!important}

/* Hamburger — pure CSS, 3 spans */
.hamburger{display:none;background:none;border:none;cursor:pointer;width:36px;height:36px;position:relative;flex-shrink:0;padding:0}
.hamburger span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;position:absolute;left:7px;transition:transform .3s,opacity .2s}
.hamburger span:nth-child(1){top:10px}
.hamburger span:nth-child(2){top:17px}
.hamburger span:nth-child(3){top:24px}
.hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-toggle{display:none;background:none;border:none;cursor:pointer;color:var(--burgundy)}

/* ── HERO FULLWIDTH ── */
.hero{position:relative;min-height:85vh;display:flex;align-items:center;overflow:hidden}
.hero-bg{position:absolute;inset:0}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(107,29,42,.88) 0%,rgba(107,29,42,.6) 40%,rgba(0,0,0,.3) 100%)}
.hero-content{position:relative;z-index:2;color:#fff;max-width:640px;padding:4rem 0}
.hero-content .eyebrow{color:var(--coral-light);margin-bottom:1rem}
.hero-content h1{margin-bottom:1.25rem}
.hero-content h1 em{font-style:italic;color:var(--coral-light)}
.hero-sub{font-size:1.15rem;line-height:1.7;opacity:.9;margin-bottom:2rem;font-weight:300}
.hero-btns{display:flex;gap:1rem;flex-wrap:wrap}
.hero-btns .btn .icon{width:16px;height:16px}

/* ── HERO SPLIT ── */
.hero-split{padding:4rem 0;background:var(--cream)}
.hero-split .container{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.hero-split-content h1{margin-bottom:1rem}
.hero-split-content p{color:var(--text-muted);font-size:1.05rem;margin-bottom:1.5rem}
.hero-split-image{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--card-shadow)}
.hero-split-image img{width:100%;display:block;aspect-ratio:4/3;object-fit:cover}

/* ── BREADCRUMB ── */
.breadcrumb{padding:1rem 0;font-size:.82rem;color:var(--text-muted)}
.breadcrumb a{color:var(--coral);text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}

/* ── USP / ICON GRID ── */
.usp-strip{background:#fff;border-bottom:1px solid rgba(107,29,42,.08);padding:2rem 0}
.usp-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.usp-item{display:flex;flex-direction:column;align-items:center;gap:.5rem}
.usp-icon{width:48px;height:48px;background:var(--cream);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--coral)}
.usp-icon .icon{width:22px;height:22px}
.usp-text{font-size:.85rem;font-weight:600}

.icon-grid__items{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2rem;text-align:center}
.icon-grid__item{background:#fff;border-radius:var(--radius);padding:2rem;box-shadow:var(--card-shadow)}
.icon-grid__icon{width:48px;height:48px;background:var(--cream);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--coral);margin:0 auto 1rem}
.icon-grid__icon .icon{width:22px;height:22px}
.icon-grid__item h3{margin-bottom:.5rem}
.icon-grid__item p{font-size:.88rem;color:var(--text-muted)}
.usp-desc{font-size:.82rem;color:var(--text-muted);margin-top:.25rem;line-height:1.5}

/* ── SERVICE CARDS ── */
.services{padding:5rem 0;background:var(--cream)}
.section-header{text-align:center;max-width:600px;margin:0 auto 3rem}
.section-header p{color:var(--text-muted);margin-top:.75rem;font-size:1.05rem}
.services-grid,.card-grid__items{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.service-card-icon{color:var(--burgundy)}
.service-card-icon .icon{width:40px;height:40px}
.service-card,.card-grid__card{background:#fff;border-radius:var(--radius);padding:2rem;box-shadow:var(--card-shadow);transition:all .3s;cursor:pointer;text-decoration:none;color:var(--text);display:block;position:relative;overflow:hidden}
.service-card::after,.card-grid__card::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--aurora-grad);transform:scaleX(0);transition:transform .3s;transform-origin:left}
.service-card:hover,.card-grid__card:hover{transform:translateY(-4px);box-shadow:var(--card-hover)}
.service-card:hover::after,.card-grid__card:hover::after{transform:scaleX(1)}
.service-card h3,.card-grid__card h3{margin-bottom:.5rem}
.service-card p,.card-grid__card p{font-size:.88rem;color:var(--text-muted);line-height:1.6}
.card-link{display:inline-flex;align-items:center;gap:.3rem;margin-top:1rem;font-size:.85rem;font-weight:600;color:var(--coral);text-decoration:none}

/* ── TIMELINE ── */
.ablauf{padding:5rem 0;background:var(--cream-alt);position:relative;overflow:hidden}
.ablauf-line{position:absolute;top:50%;left:10%;right:10%;height:2px;background:linear-gradient(90deg,transparent,var(--salmon),var(--coral-light),var(--salmon),transparent);opacity:.25}
.timeline-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;position:relative;z-index:1}
.timeline-step{text-align:center}
.step-circle{width:72px;height:72px;border-radius:50%;background:#fff;border:2px solid var(--coral);display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;box-shadow:var(--card-shadow);color:var(--coral);position:relative;font-family:'Lora',serif;font-size:1.5rem;font-weight:700}
.step-circle::after{content:'';position:absolute;inset:-8px;border-radius:50%;border:1px solid rgba(224,96,80,.12)}
.step-circle .icon{width:28px;height:28px}
.timeline-step h3{margin-bottom:.5rem;font-family:'Plus Jakarta Sans',sans-serif}
.timeline-step p{font-size:.85rem;color:var(--text-muted);max-width:200px;margin:0 auto}

/* ── TEXT-IMAGE / ABOUT ── */
.about,.text-image{padding:5rem 0;background:var(--cream)}
.about-grid,.text-image__grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.about-image,.text-image__image{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--card-shadow)}
.about-image img,.text-image__image img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:4/3}
.about-content h2,.text-image__content h2{margin-bottom:1rem;color:var(--burgundy)}
.about-content p,.text-image__content p{color:var(--text-muted);margin-bottom:1.5rem;font-size:1.02rem}

/* ── CONTENT BLOCK ── */
.content-block{padding:4rem 0}
.content-block h2{margin-bottom:1.25rem;color:var(--burgundy)}
.content-block p{color:var(--text-muted);margin-bottom:1rem;line-height:1.7}
.content-block--narrow .container{max-width:800px}

/* ── INFO BOX ── */
.info-box{background:var(--cream-alt); border-radius:0 var(--radius) var(--radius) 0;padding:1.5rem 2rem;margin:1.5rem 0}
.info-box__label{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--coral);margin-bottom:.5rem}
.info-box p{color:var(--text-muted);font-size:.95rem;line-height:1.7;margin:0}

/* ── FAQ ── */
.faq-section,.section#faq{padding:4rem 0}
.faq-section h2,.section#faq h2{margin-bottom:2rem}
.faq-item,.faq__item{border-bottom:1px solid rgba(107,29,42,.1);padding:1.25rem 0}
.faq-question,.faq__question{display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-weight:600;font-size:1rem;gap:1rem;font-family:'Plus Jakarta Sans',sans-serif;background:none;border:none;width:100%;text-align:left;color:var(--text);padding:0}
.faq-question::after,.faq__question::after{content:'+';font-size:1.5rem;color:var(--coral);transition:transform .3s;flex-shrink:0}
.faq-item.active .faq-question::after,.faq__item.active .faq__question::after{content:'−'}
.faq-answer,.faq__answer{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-answer-inner,.faq__answer-inner{padding:1rem 0 .5rem;color:var(--text-muted);line-height:1.7}

/* ── CONTACT ── */
.contact-section{padding:5rem 0;background:#fff}
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:2.5rem}
.contact-form-wrap{background:var(--cream);border-radius:var(--radius-lg);padding:2.5rem}
.form-group{margin-bottom:1rem}
.form-group label{display:block;font-size:.82rem;font-weight:600;margin-bottom:.4rem;color:var(--text)}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:.7rem 1rem;border:1.5px solid #e0d5d0;border-radius:8px;font-size:.9rem;background:#fff;font-family:inherit;transition:border-color .2s}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--coral)}
.contact-info{display:flex;flex-direction:column;gap:1.25rem}
.info-card{background:var(--cream);border-radius:var(--radius);padding:1.5rem}
.info-card h3{font-family:'Plus Jakarta Sans',sans-serif;margin-bottom:.75rem;font-size:1rem}
.info-item{display:flex;gap:.75rem;align-items:flex-start;margin-bottom:.65rem;font-size:.9rem;color:var(--text-muted)}
.info-item strong{color:var(--text)}
.info-item .icon{width:18px;height:18px;color:var(--coral);margin-top:2px}

/* ── TESTIMONIALS ── */
.testimonials{padding:5rem 0;background:var(--cream-alt)}
.testimonials h2{margin-bottom: 1em;}
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.testimonial-card{background:#fff;border-radius:var(--radius);padding:2rem;box-shadow:var(--card-shadow)}
.stars{color:#F0A050;display:flex;gap:2px;margin-bottom:1rem}
.stars .icon{width:16px;height:16px}
.testimonial-card blockquote{font-family:'Lora',serif;font-style:italic;font-size:.95rem;color:var(--text);line-height:1.7;margin-bottom:1.25rem}
.testimonial-card cite{font-style:normal;font-size:.82rem;color:var(--text-muted);font-weight:600}

/* ── COUNTER ── */
.counter-section{padding:4rem 0}
.counter-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.counter-item .counter-number{font-family:'Lora',serif;font-size:2.4rem;font-weight:700;color:var(--burgundy)}
.counter-item .counter-label{font-size:.85rem;color:var(--text-muted);margin-top:.25rem}

/* ── TEAM GRID ── */
.team-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2rem}
.team-member{text-align:center}
.team-member img{width:160px;height:160px;border-radius:50%;object-fit:cover;margin-bottom:1rem;box-shadow:var(--card-shadow)}
.team-member h3{font-size:1rem;margin-bottom:.25rem}
.team-member .team-role{font-size:.82rem;color:var(--text-muted)}

/* ── JOB LISTINGS ── */
.job-card{background:#fff;border-radius:var(--radius);padding:2rem;box-shadow:var(--card-shadow);margin-bottom:1.25rem}
.job-card h3{margin-bottom:.5rem}
.job-meta{font-size:.82rem;color:var(--text-muted);margin-bottom:.75rem}
.job-card p{font-size:.9rem;color:var(--text-muted);line-height:1.6}

/* ── CTA BANNER ── */
.cta-banner{padding:4rem 0;background:var(--burgundy);color:#fff;text-align:center;position:relative;overflow:hidden}
.cta-banner::before{content:'';position:absolute;top:-50%;right:-10%;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,rgba(224,96,80,.2) 0%,transparent 70%)}
.cta-banner h2{margin-bottom:.75rem;position:relative}
.cta-banner p{opacity:.8;font-size:1.1rem;margin-bottom:2rem;position:relative}
.cta-btns{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;position:relative}
.cta-btns .btn .icon{width:16px;height:16px}

/* ── FOOTER ── */
.footer{background:#1a0f10;color:rgba(255,255,255,.7);padding:3.5rem 0 1.5rem;font-size:.85rem}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:2.5rem}
.footer h4{color:#fff;font-family:'Plus Jakarta Sans',sans-serif;font-size:.9rem;font-weight:700;margin-bottom:1rem}
.footer-logo img{height:40px;margin-bottom:1rem}
.footer ul{list-style:none}.footer li{margin-bottom:.4rem}
.footer a{color:rgba(255,255,255,.6);text-decoration:none;transition:color .2s}
.footer a:hover{color:var(--coral-light)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:1.5rem;text-align:center;font-size:.78rem;opacity:.5}

/* ── FLOATING CTAs ── */
.sticky-cta{position:fixed;right:1.25rem;bottom:20%;z-index:90;display:flex;flex-direction:column;gap:.6rem}
.sticky-cta a{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;box-shadow:0 4px 16px rgba(0,0,0,.15);transition:transform .2s,box-shadow .2s}
.sticky-cta a:hover{transform:scale(1.1);box-shadow:0 6px 24px rgba(0,0,0,.25)}
.sticky-cta .icon{width:22px;height:22px}
.recruiting-badge{position:fixed;left:0;top:32%;z-index:90;transform:rotate(-3deg) translateX(-4px)}
.recruiting-badge a{display:flex;align-items:center;gap:.5rem;background:var(--burgundy);color:#fff;padding:.7rem 1.25rem .7rem .9rem;font-size:.72rem;font-weight:700;text-decoration:none;border-radius:0 8px 8px 0;box-shadow:0 4px 16px rgba(107,29,42,.3);transition:transform .2s;letter-spacing:.02em}
.recruiting-badge a:hover{transform:translateX(4px)}
.badge-pulse{width:8px;height:8px;border-radius:50%;background:var(--coral);animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

/* ── RESPONSIVE ── */
/* ═══ TABLET (≤1024) ═══ */
@media(max-width:1024px){
  .header-nav>ul{gap:.8rem}
  .header-nav a{font-size:.82rem}
  .topbar-right{display:none}
  .services-grid,.card-grid__items{grid-template-columns:repeat(2,1fr)}
}

/* ═══ MOBILE (≤768) ═══ */
@media(max-width:768px){
  /* ── Prevent horizontal scroll ── */
  html,body{overflow-x:clip}
  .container{padding:0 1rem;max-width:100%;overflow:hidden}
  section,.contact-section,.contact-form-wrap{max-width:100vw;overflow:hidden}
  .fluentform{max-width:100%!important;overflow:hidden!important}

  /* ── Topbar hidden ── */
  .topbar{display:none}

  /* ── Header: [Logo] [Anfrage] [☰] ── */
  .header{padding:.5rem 0}
  .header .container{gap:.5rem;padding:0 .75rem}
  .header-logo img,.header-logo .custom-logo{width:78px!important;max-width:78px!important;height:auto!important}
  .header.scrolled .header-logo img,.header.scrolled .custom-logo{width:50px!important;max-width:50px!important;height:auto!important}
  .header-cta-desktop{display:none!important}
  .header-cta-mobile{display:inline-flex!important;align-items:center;gap:.25rem;padding:.3rem .65rem!important;font-size:.7rem!important;margin-left:auto;flex-shrink:0;white-space:nowrap}
  .header-cta-mobile .icon{width:13px;height:13px}
  .hamburger{display:block}

  /* ── Mobile Nav: slides down below header ── */
  .header-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.1);border-top:1px solid var(--cream-alt);margin-left:0;z-index:99}
  .header-nav.open{display:block}
  .header-nav>ul{flex-direction:column;gap:0;padding:0}
  .header-nav>ul>li{border-bottom:1px solid var(--cream-alt)}
  .header-nav>ul>li>a{padding:.85rem 1.25rem;font-size:.95rem}
  .header-nav .sub-menu{position:static;display:none;box-shadow:none;background:var(--cream);padding:0;min-width:auto;border-radius:0}
  .header-nav li.open>.sub-menu{display:block}
  .header-nav .sub-menu a{padding:.6rem 2rem;font-size:.85rem}

  /* ── Grid resets ── */
  .usp-grid,.counter-grid{grid-template-columns:repeat(2,1fr)}
  .services-grid,.testimonials-grid,.card-grid__items{grid-template-columns:1fr}
  .timeline-grid{grid-template-columns:repeat(2,1fr)}
  .about-grid,.contact-grid,.text-image__grid,.hero-split .container{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .recruiting-badge{display:none}

  /* ── FluentForm mobile ── */
  .fluentform .ff-t-container{flex-direction:column!important}
  .fluentform .ff-el-input--content:has(.ff-el-form-check + .ff-el-form-check){grid-template-columns:1fr 1fr!important}

  /* ── Tabs ── */
  .tabs{border-radius:12px;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .tab{font-size:.7rem;padding:.5rem .35rem;min-width:0;flex-shrink:0}
}

/* ═══ SMALL MOBILE (≤480) ═══ */
@media(max-width:480px){
  .footer-grid{grid-template-columns:1fr}
  h1{font-size:1.6rem}
  h2{font-size:1.3rem}
  .section-header{margin-bottom:1.5rem}
  .fluentform .ff-el-input--content:has(.ff-el-form-check + .ff-el-form-check){grid-template-columns:1fr!important}
}



/* ── TABS ── */
.tabs{display:flex;gap:0;margin-bottom:2rem;border-radius:50px;overflow:hidden;border:2px solid var(--cream-alt)}
.tab{flex:1;padding:.75rem .5rem;text-align:center;font-size:.8rem;font-weight:600;cursor:pointer;background:#fff;transition:all .2s;border:none;font-family:inherit;color:var(--text-muted)}
.tab.active{background:var(--burgundy);color:#fff}
.tab.accent{background:var(--coral)!important;color:#fff!important}

/* ── FORM ROWS ── */
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem .5rem}
.checkbox-grid label{font-size:.85rem;display:flex;align-items:center;gap:.5rem;cursor:pointer;color:var(--text-muted);padding:.4rem .6rem;background:#fff;border:1.5px solid #e0d5d0;border-radius:8px;transition:border-color .2s}
.checkbox-grid input[type="checkbox"]{accent-color:var(--coral);width:16px;height:16px;flex-shrink:0}
.checkbox-grid label:hover{border-color:var(--coral)}

/* ── LANG CARD ── */
.lang-card{background:var(--cream);border-radius:var(--radius);padding:1.25rem}
.lang-card h3{font-family:'Plus Jakarta Sans',sans-serif;font-size:.95rem;margin-bottom:.5rem}
.lang-flags-large{display:flex;gap:1rem;font-size:1rem}
.lang-flags-large span{display:flex;align-items:center;gap:.3rem;font-size:.85rem}
.lang-flags-large small{font-size:.65rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}

/* ── BÜRO PREVIEW ── */
.buero-preview{border-radius:var(--radius);overflow:hidden;box-shadow:var(--card-shadow)}
.buero-preview img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}

/* ── FLUENTFORM OVERRIDES ── */
.fluentform .ff-el-input--label{font-size:.82rem;font-weight:600;color:var(--text)}
.fluentform .ff-el-input--content input,.fluentform .ff-el-input--content select,.fluentform .ff-el-input--content textarea{border:1.5px solid #e0d5d0!important;border-radius:8px!important;font-size:.9rem;padding:.7rem 1rem!important;background:#fff!important;font-family:inherit}
.fluentform .ff-el-input--content input:focus,.fluentform .ff-el-input--content select:focus,.fluentform .ff-el-input--content textarea:focus{border-color:var(--coral)!important;outline:none;box-shadow:none!important}
.fluentform .ff-btn-submit{background:var(--coral)!important;color:#fff!important;border:none!important;border-radius:50px!important;padding:.9rem 2rem!important;font-weight:600!important;font-size:.95rem!important;width:100%;cursor:pointer;font-family:inherit}
.fluentform .ff-btn-submit:hover{background:#d05545!important;transform:translateY(-2px)}
.fluentform .ff-el-group{margin-bottom:1rem}
.fluentform .ff_list_buttons label{font-size:.85rem;display:flex;align-items:center;gap:.5rem;cursor:pointer;color:var(--text-muted);padding:.4rem .6rem;background:#fff;border:1.5px solid #e0d5d0;border-radius:8px;transition:border-color .2s}
.fluentform .ff_list_buttons label:hover{border-color:var(--coral)}
.fluentform .ff_list_buttons input[type="checkbox"]{accent-color:var(--coral);width:16px;height:16px}


/* ═══ SIMPLE CONTACT (Karriere etc.) ═══ */
.simple-contact{padding:4rem 0;background:var(--cream-alt)}
.simple-contact__card{max-width:560px;margin:0 auto;background:#fff;border-radius:var(--radius-lg);padding:2.5rem;box-shadow:var(--card-shadow);text-align:center}
.simple-contact__text{color:var(--text-muted);margin-bottom:2rem;line-height:1.7}
.simple-contact__items{display:flex;flex-direction:column;gap:.75rem;align-items:center}
.simple-contact__item{display:inline-flex;align-items:center;gap:.6rem;padding:.6rem 1.25rem;border-radius:50px;border:1.5px solid var(--cream-alt);text-decoration:none;color:var(--text);font-weight:500;font-size:.95rem;transition:all .2s}
.simple-contact__item:hover{border-color:var(--coral);color:var(--coral)}
.simple-contact__item .icon{width:20px;height:20px;color:var(--coral)}

/* ═══ FLUENTFORM STYLING ═══ */

/* 2-Column container rows (manual via FF editor) */
.fluentform .ff-t-container{display:flex;gap:1rem;margin-bottom:0}
.fluentform .ff-t-cell{flex:1}

/* --- Checkbox grid: 2 columns with bordered cards ---
   Uses :has() to only grid containers with 2+ checkbox items.
   Also targets ff-el-input--content directly as fallback. */
.fluentform .ff-el-input--content:has(.ff-el-form-check + .ff-el-form-check){display:grid!important;grid-template-columns:1fr 1fr!important;gap:.5rem!important}
.fluentform .ff-el-form-check{margin:0!important}
.fluentform .ff-el-form-check label{display:flex!important;align-items:center!important;gap:.5rem;padding:.55rem .75rem!important;background:#fff!important;border:1.5px solid #e0d5d0!important;border-radius:8px!important;cursor:pointer;font-size:.85rem!important;color:var(--text-muted);transition:border-color .2s;margin:0!important}
.fluentform .ff-el-form-check label:hover{border-color:var(--coral)!important}
.fluentform input[type="checkbox"]{accent-color:var(--coral)!important;width:16px!important;height:16px!important;flex-shrink:0;margin:0 4px 0 0!important}

/* --- DSGVO: single checkbox, full width, no border box, smaller --- */
.fluentform .ff-el-group:last-of-type .ff-el-input--content{display:block!important;grid-template-columns:none!important}
.fluentform .ff-el-group:last-of-type .ff-el-form-check label{background:transparent!important;border:none!important;padding:.2rem 0!important;font-size:.82rem!important;line-height:1.5!important;align-items:flex-start!important}
.fluentform .ff-el-group:last-of-type label a{color:var(--coral)!important;text-decoration:underline!important}

/* ═══ CONTENT BLOCK (Long-Form M16) ═══ */
.content-block{padding:3rem 0}
.content-block__grid{display:grid;grid-template-columns:1fr;gap:2rem}
.content-block__grid.has-sidebar{grid-template-columns:1fr 300px}
.long-form h2{font-family:'Lora',serif;font-size:1.5rem;color:var(--burgundy);margin:2.5rem 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--cream-alt)}
.long-form h3{font-family:'Lora',serif;font-size:1.15rem;margin:1.8rem 0 .75rem}
.long-form p{margin-bottom:1rem;line-height:1.8;color:var(--text)}
.long-form ul,.long-form ol{margin:1rem 0 1.5rem 1.5rem;line-height:1.8}
.long-form li{margin-bottom:.4rem}
.long-form table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.9rem}
.long-form th{background:var(--burgundy);color:#fff;padding:.65rem .75rem;text-align:left;font-weight:600;font-size:.82rem}
.long-form td{padding:.55rem .75rem;border-bottom:1px solid var(--cream-alt)}
.long-form tr:nth-child(even){background:var(--cream)}
.long-form tr:hover{background:var(--cream-alt)}
.long-form strong{color:var(--burgundy)}
.long-form blockquote{border-left:4px solid var(--coral);padding:1rem 1.5rem;margin:1.5rem 0;background:var(--cream);border-radius:0 var(--radius) var(--radius) 0;font-style:italic;color:var(--text-muted)}

/* Sidebar CTA */
.sidebar-cta{position:sticky;top:100px;background:#fff;border-radius:var(--radius);padding:1.5rem;box-shadow:var(--card-shadow)}
.sidebar-cta h3{font-family:'Lora',serif;font-size:1.05rem;margin-bottom:.75rem}
.sidebar-cta p{font-size:.88rem;color:var(--text-muted);margin-bottom:1rem;line-height:1.6}

/* ═══ INFO BOX (M22) ═══ */
.info-box{padding: 1.5rem 0}
.info-box__card{display:flex;gap:2rem;padding:1.25rem 1.5rem;border-radius:var(--radius);align-items:flex-start}
.info-box--tipp .info-box__card{background:#f0faf0;border-left:4px solid #22c55e}
.info-box--wichtig .info-box__card{background:#fef3e5;border-left:4px solid #f59e0b}
.info-box--hinweis .info-box__card{background:#eff6ff;border-left:4px solid #3b82f6}
.info-box__icon{flex-shrink:0;width:24px;height:24px}
.info-box--tipp .info-box__icon{color:#22c55e; padding: 0 20px 0 0;}
.info-box--wichtig .info-box__icon{color:#f59e0b}
.info-box--hinweis .info-box__icon{color:#3b82f6}
.info-box__label{display:block;margin-bottom:.4rem;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em}
.info-box__text{font-size:.9rem;line-height:1.7;color:var(--text-muted)}
.info-box__text p{margin-bottom:.5rem}

/* ═══ TABLE OF CONTENTS ═══ */
.toc{max-width:640px;background:var(--cream);border-radius:var(--radius);padding:1.5rem 2rem;border:1px solid var(--cream-alt)}
.toc__heading{font-family:'Lora',serif;font-size:1rem;margin-bottom:.75rem;color:var(--burgundy)}
.toc__list{margin:0;padding:0 0 0 1.25rem;counter-reset:toc}
.toc__list li{margin-bottom:.4rem}
.toc__list a{text-decoration:none;color:var(--text);font-size:.9rem;transition:color .2s}
.toc__list a:hover{color:var(--coral)}

/* ═══ LEGAL TEXT STYLING ═══ */
.legal-text{max-width:800px}
.legal-text h1{font-family:'Lora',serif;font-size:1.8rem;color:var(--burgundy);margin-bottom:1.5rem}
.legal-text h2{font-family:'Lora',serif;font-size:1.25rem;color:var(--burgundy);margin:2.5rem 0 .75rem;padding-bottom:.4rem;border-bottom:2px solid var(--cream-alt)}
.legal-text h3{font-family:'Plus Jakarta Sans',sans-serif;font-size:1rem;font-weight:700;margin:1.5rem 0 .5rem}
.legal-text p{margin-bottom:.9rem;line-height:1.75;font-size:.92rem}
.legal-text ul{margin:0 0 1rem 1.5rem;line-height:1.75;font-size:.92rem}
.legal-text li{margin-bottom:.3rem}
.legal-text a{color:var(--coral);text-decoration:underline}
.legal-text table{width:100%;border-collapse:collapse;margin:1rem 0 1.5rem;font-size:.85rem}
.legal-text th{background:var(--burgundy);color:#fff;padding:.5rem .65rem;text-align:left;font-weight:600;font-size:.8rem}
.legal-text td{padding:.45rem .65rem;border-bottom:1px solid var(--cream-alt);vertical-align:top}
.legal-text tr:nth-child(even){background:var(--cream)}
.legal-text strong{color:var(--burgundy)}

/* ═══ PATCH v11 — Kundenfeedback-Fixes ═══ */

/* ── Header Subtitle "Ein Unternehmen der Temko Group" ── */
.header-subtitle{display:block;font-size:.55rem;color:var(--text-muted);letter-spacing:.03em;margin-top:-2px;font-family:'Plus Jakarta Sans',sans-serif;font-weight:400}
@media(max-width:768px){
  .header-subtitle{font-size:.45rem}
}


/* ── Trust Section "Warum Aurora Pflege?" ── */
.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.trust-item{text-align:center;padding:1.5rem 1rem}
.trust-item .icon{width:36px;height:36px;color:var(--coral);margin:0 auto .75rem}
.trust-item h4{font-family:'Plus Jakarta Sans',sans-serif;font-size:.9rem;font-weight:700;margin-bottom:.4rem}
.trust-item p{font-size:.82rem;color:var(--text-muted);line-height:1.6}
@media(max-width:768px){
  .trust-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .trust-grid{grid-template-columns:1fr}
}




@media(max-width:768px){
  .content-block__grid.has-sidebar{grid-template-columns:1fr}
  .sidebar-cta{position:static}
  .long-form table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
}


/* ── Sticky CTA: Mobile Bottom-Bar ── */
/* Bestehende .sticky-cta Rules NICHT ändern, ans Ende der main.css anhängen: */

@media(max-width:768px){
  .sticky-cta{
    position:fixed;
    top:auto;
    bottom:0;
    left:0;
    right:auto;
    width:100%;
    flex-direction:row;
    gap:0;
    background:var(--coral);
    padding:0;
    box-shadow:0 -2px 16px rgba(0,0,0,.15);
    border-top:none;
    border-radius:0
  }
  .sticky-cta a{
    flex:1;
    height:52px;
    width:auto;
    margin:0;
    border-radius:0;
    box-shadow:none;
    background:transparent!important;
    position:relative
  }
  .sticky-cta a:not(:last-child)::after{
    content:'';
    position:absolute;
    right:0;
    top:25%;
    height:50%;
    width:1px;
    background:rgba(255,255,255,.35)
  }
  .sticky-cta a:hover{transform:none;box-shadow:none;background:rgba(0,0,0,.05)!important}
  .sticky-cta .icon{width:22px;height:22px}
  body{padding-bottom:52px}
}


/* ── USP Grid Fixes ── */

/* Heading spacing */
.usp-header{margin-bottom:2.5rem}

/* Card mode (when descriptions visible) */
.usp-grid--cards{grid-template-columns:repeat(3,1fr);gap:1.5rem}
.usp-grid--cards .usp-item{background:#fff;border-radius:var(--radius);padding:1.75rem 1.25rem;box-shadow:0 2px 16px rgba(107,29,42,.06);transition:transform .2s,box-shadow .2s}
.usp-grid--cards .usp-item:hover{transform:translateY(-3px);box-shadow:0 6px 24px rgba(107,29,42,.12)}
.usp-desc{font-size:.82rem;color:var(--text-muted);margin-top:.35rem;line-height:1.55}

@media(max-width:768px){
  .usp-grid--cards{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .usp-grid--cards{grid-template-columns:1fr}
}

/* ── Kontaktformular Mobile Fixes ── */

/* Checkboxen: 1 Spalte auf Mobile */
@media(max-width:768px){
.contact-form-wrap {
    padding: 1rem;
}

  .fluentform .ff-el-input--content:has(.ff-el-form-check + .ff-el-form-check){
    grid-template-columns:1fr!important
  }

  /* Formular-Container nicht überlaufen lassen */
  .contact-form-wrap,
  .contact-form-wrap .fluentform,
  .contact-form-wrap form{
    max-width:100%!important;
    overflow:hidden
  }

  /* Tabs: gleichmäßig verteilen, kein Abschneiden */
  .tabs{
    display:flex;
    width:100%
  }
  .tabs .tab{
    flex:1;
    text-align:center;
    font-size:.72rem;
    padding:.55rem .25rem;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
  }
}

@media(max-width:400px){
  .tabs .tab{
    font-size:.65rem;
    padding:.5rem .15rem
  }
}

.about-content .btn{margin-top:1.5rem}