/* Wohnklar Service – Shared Stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #0070D1;
  --blue-light:  #1A8CE0;
  --blue-dark:   #0058A8;
  --green:       #6BB12A;
  --green-dark:  #5A9622;
  --green-soft:  #A4D567;
  --navy:        #0A2342;
  --navy-light:  #14365F;
  --bg:          #F8FAFC;
  --bg-alt:      #EEF4FA;
  --text:        #1A2433;
  --text-muted:  #5F7A95;
  --white:       #FFFFFF;
  --border:      #D6E2EF;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: 'Nunito', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: clip; max-width: 100vw; width: 100%; }
nav, .nav-inner, .page-hero, .page-hero-img, .page-hero-overlay, footer, .footer-inner, .legal-section, .legal-hero { max-width: 100vw; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

.reveal { opacity:0; transform:translateY(40px); transition:opacity .7s ease,transform .7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-left { opacity:0; transform:translateX(-50px); transition:opacity .8s ease,transform .8s ease; }
.reveal-left.visible { opacity:1; transform:translateX(0); }
.reveal-right { opacity:0; transform:translateX(50px); transition:opacity .8s ease,transform .8s ease; }
.reveal-right.visible { opacity:1; transform:translateX(0); }
.delay-1{transition-delay:.1s} .delay-2{transition-delay:.2s} .delay-3{transition-delay:.3s} .delay-4{transition-delay:.4s}

nav { position:fixed; top:0; left:0; right:0; z-index:100; transition:background .4s,box-shadow .4s,padding .3s; padding:4px 0; }
nav.scrolled { background:rgba(255,255,255,.97); box-shadow:0 2px 24px rgba(0,112,209,.12); padding:2px 0; backdrop-filter:blur(12px); }
.nav-inner { max-width:1280px; margin:0 auto; padding:0 32px; display:flex; align-items:center; justify-content:space-between; }
.nav-logo img { height:104px; width:auto; object-fit:contain; transition:height .3s; filter:drop-shadow(0 2px 8px rgba(0,0,0,.2)); }
nav.scrolled .nav-logo img { height:84px; filter:none; }
.nav-links { display:flex; align-items:center; gap:4px; list-style:none; }
.nav-links > li { position:relative; }
.nav-links a { text-decoration:none; color:var(--white); font-size:.88rem; font-weight:600; padding:6px 12px; border-radius:6px; transition:color .2s,background .2s; letter-spacing:.02em; display:flex; align-items:center; gap:4px; }
nav.scrolled .nav-links a { color:var(--text); }
.nav-links > li > a:hover { background:rgba(255,255,255,.15); }
nav.scrolled .nav-links > li > a:hover { background:var(--bg-alt); color:var(--blue); }
.nav-cta { background:var(--green)!important; color:var(--white)!important; border-radius:50px!important; padding:8px 20px!important; }
.nav-cta:hover { background:var(--green-dark)!important; }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; }
.hamburger span { width:24px; height:2px; background:var(--white); border-radius:2px; transition:background .3s; }
nav.scrolled .hamburger span { background:var(--text); }

.has-dropdown > a .chevron { width:12px; height:12px; transition:transform .25s; flex-shrink:0; }
.has-dropdown:hover > a .chevron { transform:rotate(180deg); }
.dropdown { position:absolute; top:calc(100% + 8px); left:50%; transform:translateX(-50%) translateY(6px); background:var(--white); border-radius:16px; box-shadow:0 16px 56px rgba(0,112,209,.18), 0 2px 8px rgba(0,0,0,.06); border:1px solid var(--border); padding:12px; min-width:240px; opacity:0; pointer-events:none; transition:opacity .22s ease, transform .22s ease; z-index:200; }
.dropdown::before { content:""; position:absolute; top:-14px; left:0; right:0; height:14px; }
.dropdown.wide { min-width:460px; display:grid; grid-template-columns:1fr 1fr; gap:2px; }
.has-dropdown:hover .dropdown { opacity:1; pointer-events:auto; transform:translateX(-50%) translateY(0); }
.dropdown a { display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:10px; font-size:.84rem; font-weight:600; color:var(--text)!important; background:transparent!important; transition:background .18s,color .18s!important; white-space:nowrap; }
.dropdown a:hover { background:var(--bg-alt)!important; color:var(--blue)!important; }
.dropdown-icon { width:28px; height:28px; background:linear-gradient(135deg,var(--blue),var(--blue-light)); border-radius:7px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.dropdown-icon svg { width:13px; height:13px; color:var(--white); }

.mobile-menu { display:none; position:fixed; inset:0; background:rgba(10,35,66,.97); z-index:99; flex-direction:column; align-items:center; justify-content:center; gap:8px; backdrop-filter:blur(12px); overflow-y:auto; padding:80px 20px 40px; }
.mobile-menu.open { display:flex; }
.mobile-menu a { color:var(--white); font-size:1.1rem; font-weight:600; text-decoration:none; padding:10px 32px; border-radius:12px; transition:background .2s; }
.mobile-menu a:hover { background:rgba(255,255,255,.1); }
.mobile-close { position:absolute; top:24px; right:24px; background:rgba(255,255,255,.1); border:none; color:var(--white); width:44px; height:44px; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; }

.page-hero { position:relative; height:80vh; min-height:520px; display:flex; align-items:flex-end; }
.page-hero-img { position:absolute; inset:0; background-size:cover; background-position:center; background-repeat:no-repeat; }
.page-hero-overlay { position:absolute; inset:0; background:linear-gradient(0deg,rgba(10,35,66,.92) 0%,rgba(0,88,168,.6) 50%,rgba(0,112,209,.25) 100%); }
.page-hero-content { position:relative; z-index:2; max-width:1280px; margin:0 auto; padding:0 32px 64px; width:100%; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:.78rem; color:rgba(255,255,255,.6); margin-bottom:16px; letter-spacing:.05em; flex-wrap:wrap; }
.breadcrumb a { color:rgba(255,255,255,.6); text-decoration:none; transition:color .2s; }
.breadcrumb a:hover { color:var(--white); }
.breadcrumb span { color:rgba(255,255,255,.35); }
.hero-tag { display:inline-flex; align-items:center; gap:8px; background:rgba(107,177,42,.2); border:1px solid rgba(107,177,42,.5); color:var(--green-soft); font-size:.78rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:5px 14px; border-radius:50px; margin-bottom:16px; }
.page-hero h1 { font-size:clamp(2.2rem,5vw,4rem); font-weight:800; color:var(--white); max-width:800px; margin-bottom:16px; }
.page-hero p { font-size:1.05rem; color:rgba(255,255,255,.82); max-width:600px; line-height:1.7; margin-bottom:28px; }
.hero-btn { display:inline-flex; align-items:center; gap:10px; background:var(--green); color:var(--white); font-family:'Nunito',sans-serif; font-size:.95rem; font-weight:700; padding:14px 28px; border-radius:50px; text-decoration:none; transition:background .25s,transform .2s; box-shadow:0 4px 20px rgba(107,177,42,.35); }
.hero-btn:hover { background:var(--green-dark); transform:translateY(-2px); }

section { padding:88px 32px; }
.section-inner { max-width:1280px; margin:0 auto; }
.section-label { font-size:.78rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase; color:var(--blue); margin-bottom:12px; }
.section-title { font-size:clamp(1.8rem,3vw,2.6rem); font-weight:700; color:var(--navy); margin-bottom:20px; }
.section-title span { color:var(--blue); }
.divider { width:56px; height:4px; background:linear-gradient(90deg,var(--blue),var(--green)); border-radius:2px; margin-bottom:24px; }
.lead-text { font-size:1.1rem; color:var(--text-muted); line-height:1.9; max-width:760px; margin-bottom:32px; }
.body-text { font-size:1rem; color:var(--text-muted); line-height:1.85; margin-bottom:24px; }

.split { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.split.reverse { direction:rtl; }
.split.reverse > * { direction:ltr; }
.split-img { border-radius:20px; overflow:hidden; box-shadow:0 24px 64px rgba(0,112,209,.15); }
.split-img img { width:100%; height:460px; object-fit:cover; display:block; transition:transform .6s; }
.split-img:hover img { transform:scale(1.03); }
.full-img { border-radius:20px; overflow:hidden; box-shadow:0 20px 56px rgba(0,112,209,.13); margin:40px 0; }
.full-img img { width:100%; height:440px; object-fit:cover; display:block; }

.cards-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:40px; }
.card { background:var(--white); border:1.5px solid var(--border); border-radius:16px; padding:28px 24px; transition:transform .3s,box-shadow .3s,border-color .3s; }
.card:hover { transform:translateY(-5px); box-shadow:0 16px 48px rgba(0,112,209,.12); border-color:var(--blue); }
.card-icon { width:48px; height:48px; background:linear-gradient(135deg,var(--blue),var(--blue-light)); border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.card-icon svg { width:24px; height:24px; color:var(--white); }
.card h3 { font-family:'Playfair Display',serif; font-size:1.15rem; font-weight:700; color:var(--navy); margin-bottom:8px; }
.card p { font-size:.9rem; color:var(--text-muted); line-height:1.7; }

.highlight { background:linear-gradient(135deg,var(--navy),var(--blue-dark)); border-radius:20px; padding:48px; color:var(--white); margin:40px 0; }
.highlight h3 { font-size:1.6rem; color:var(--white); margin-bottom:16px; }
.highlight p { color:rgba(255,255,255,.8); font-size:1rem; line-height:1.85; }

.dark-section { background:var(--navy); }
.dark-section .section-title { color:var(--white); }
.dark-section .section-label { color:var(--green-soft); }
.dark-section .divider { background:linear-gradient(90deg,var(--green-soft),var(--green)); }
.dark-section .lead-text { color:rgba(255,255,255,.75); }
.dark-section .body-text { color:rgba(255,255,255,.7); }

.check-list { list-style:none; display:flex; flex-direction:column; gap:12px; margin:24px 0; }
.check-list li { display:flex; align-items:flex-start; gap:12px; font-size:.97rem; color:var(--text-muted); line-height:1.6; }
.check-list li::before { content:''; width:8px; height:8px; background:var(--green); border-radius:50%; margin-top:7px; flex-shrink:0; }
.dark-section .check-list li { color:rgba(255,255,255,.8); }

.stats-row { display:flex; gap:48px; flex-wrap:wrap; margin:36px 0; padding:32px; background:var(--bg-alt); border-radius:16px; }
.stat-num { font-family:'Playfair Display',serif; font-size:2.2rem; font-weight:700; color:var(--blue); line-height:1; }
.stat-label { font-size:.82rem; color:var(--text-muted); margin-top:4px; }

.cta-band { background:linear-gradient(135deg,var(--navy),var(--blue-dark)); padding:80px 32px; text-align:center; }
.cta-band h2 { font-size:clamp(1.8rem,3vw,2.6rem); color:var(--white); margin-bottom:16px; }
.cta-band p { color:rgba(255,255,255,.78); max-width:540px; margin:0 auto 32px; font-size:1rem; line-height:1.7; }

.trust-bar { background:var(--blue); padding:18px 32px; }
.trust-inner { max-width:1280px; margin:0 auto; display:flex; align-items:center; justify-content:space-around; gap:16px; flex-wrap:wrap; }
.trust-item { display:flex; align-items:center; gap:10px; color:rgba(255,255,255,.9); font-size:.85rem; font-weight:600; }
.trust-icon { width:30px; height:30px; background:rgba(255,255,255,.15); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.trust-icon svg { width:14px; height:14px; color:var(--green-soft); }

.faq-list { display:flex; flex-direction:column; gap:12px; }
.faq-item { background:var(--white); border:1.5px solid var(--border); border-radius:14px; overflow:hidden; transition:border-color .2s; }
.faq-item.open { border-color:var(--blue); }
.faq-question { width:100%; display:flex; align-items:center; justify-content:space-between; padding:18px 22px; background:none; border:none; cursor:pointer; font-family:'Nunito',sans-serif; font-size:.97rem; font-weight:700; color:var(--navy); text-align:left; gap:16px; transition:color .2s; }
.faq-item.open .faq-question { color:var(--blue); }
.faq-chevron { width:28px; height:28px; background:var(--bg-alt); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:transform .3s,background .2s; }
.faq-item.open .faq-chevron { transform:rotate(180deg); background:var(--blue); }
.faq-item.open .faq-chevron svg { color:var(--white); }
.faq-chevron svg { width:14px; height:14px; color:var(--blue); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height .4s ease; }
.faq-item.open .faq-answer { max-height:400px; }
.faq-answer-inner { padding:0 22px 18px; color:var(--text-muted); font-size:.93rem; line-height:1.8; }

footer { background:#06182D; border-top:1px solid rgba(255,255,255,.07); padding:36px 32px 24px; }
.footer-inner { max-width:1280px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.footer-logo { overflow:visible; display:flex; align-items:center; }
.footer-logo img { height:120px; width:auto; margin-block:-30px; }
.footer-links { display:flex; gap:20px; list-style:none; flex-wrap:wrap; }
.footer-links a { color:rgba(255,255,255,.5); font-size:.82rem; text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:rgba(255,255,255,.85); }
.footer-copy { color:rgba(255,255,255,.3); font-size:.78rem; }

.form-status { margin-top:14px; padding:14px 18px; border-radius:12px; font-size:.9rem; line-height:1.6; display:none; }
.form-status.success { display:block; background:rgba(107,177,42,.12); border:1.5px solid rgba(107,177,42,.4); color:#3F6B19; }
.form-status.error { display:block; background:rgba(220,53,69,.08); border:1.5px solid rgba(220,53,69,.35); color:#a32230; }
.form-status a { color:inherit; font-weight:700; text-decoration:underline; }
button:disabled, .form-btn:disabled { opacity:.65; cursor:wait; }

.cookie-banner { position:fixed; bottom:16px; left:50%; transform:translateX(-50%) translateY(140%); width:calc(100% - 32px); max-width:680px; background:var(--navy); color:rgba(255,255,255,.92); border:1px solid rgba(255,255,255,.1); border-radius:16px; padding:16px 20px; z-index:9999; display:flex; align-items:center; gap:14px; box-shadow:0 20px 60px rgba(0,0,0,.4); transition:transform .35s ease; font-size:.86rem; line-height:1.55; }
.cookie-banner.show { transform:translateX(-50%) translateY(0); }
.cookie-text { flex:1; }
.cookie-text strong { display:block; color:var(--green-soft); font-size:.82rem; margin-bottom:4px; text-transform:uppercase; letter-spacing:.05em; }
.cookie-text a { color:var(--green-soft); text-decoration:underline; }
.cookie-text a:hover { color:#fff; }
.cookie-btn { background:var(--green); color:#fff; border:none; padding:10px 22px; border-radius:50px; font-family:'Nunito',sans-serif; font-size:.86rem; font-weight:700; cursor:pointer; white-space:nowrap; transition:background .2s, transform .15s; }
.cookie-btn:hover { background:var(--green-dark); transform:translateY(-1px); }
@media(max-width:600px) { .cookie-banner { flex-direction:column; align-items:stretch; padding:14px 16px; gap:12px; bottom:12px; width:calc(100% - 24px); font-size:.8rem; } .cookie-btn { width:100%; padding:11px 22px; } }

.float-bar { position:fixed; right:0; top:50%; transform:translateY(-50%); z-index:998; display:flex; flex-direction:column; gap:5px; }
.float-btn { display:flex; align-items:center; gap:10px; padding:13px 14px; color:#fff; text-decoration:none; font-family:'Nunito',sans-serif; font-size:.82rem; font-weight:700; letter-spacing:.01em; white-space:nowrap; border-radius:50px 0 0 50px; overflow:hidden; max-width:52px; transition:max-width .3s ease, box-shadow .3s ease; }
.float-btn:hover { max-width:180px; }
.float-btn-wa { background:#25D366; box-shadow:-3px 2px 16px rgba(37,211,102,.45); animation:wa-pulse 3s infinite; }
.float-btn-wa:hover { animation:none; box-shadow:-5px 4px 22px rgba(37,211,102,.6); }
.float-btn-call { background:var(--blue); box-shadow:-3px 2px 16px rgba(0,112,209,.4); }
.float-btn-call:hover { box-shadow:-5px 4px 22px rgba(0,112,209,.55); }
.float-btn svg { width:24px; height:24px; flex-shrink:0; }
.fbl { overflow:hidden; max-width:0; opacity:0; transition:max-width .3s ease, opacity .25s ease; }
.float-btn:hover .fbl { max-width:120px; opacity:1; }
@keyframes wa-pulse { 0%,100%{box-shadow:-3px 2px 16px rgba(37,211,102,.45)} 50%{box-shadow:-3px 2px 26px rgba(37,211,102,.75)} }

.back-to-top { position:fixed; bottom:28px; right:28px; z-index:99; width:46px; height:46px; background:var(--blue); color:var(--white); border:none; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(0,112,209,.35); transition:background .2s,transform .2s,opacity .3s; opacity:0; pointer-events:none; }
.back-to-top.visible { opacity:1; pointer-events:auto; }
.back-to-top:hover { background:var(--blue-dark); transform:translateY(-3px); }

@media(max-width:1024px) {
  .split { grid-template-columns:1fr; gap:40px; }
  .split.reverse { direction:ltr; }
  .cards-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:768px) {
  section { padding:60px 20px; }
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .nav-inner { padding:0 16px; }
  .nav-logo img { height:62px; }
  nav.scrolled .nav-logo img { height:52px; }
  .page-hero { height:72vh; min-height:460px; }
  .page-hero h1 { font-size:1.9rem; }
  .page-hero p { font-size:.95rem; }
  .page-hero-content { padding:0 20px 44px; }
  .split-img img { height:260px; }
  .full-img img { height:220px; }
  .full-img { margin:28px 0; }
  .cards-grid { grid-template-columns:1fr; }
  .stats-row { gap:20px; padding:24px 20px; flex-wrap:wrap; }
  .stat-num { font-size:1.8rem; }
  .highlight { padding:32px 24px; }
  .highlight h3 { font-size:1.3rem; }
  .trust-bar { padding:14px 20px; }
  .trust-inner { gap:10px; justify-content:flex-start; }
  .trust-item { font-size:.8rem; }
  .footer-inner { flex-direction:column; align-items:flex-start; }
  .footer-links { flex-wrap:wrap; gap:14px; }
  .cta-band { padding:52px 20px; }
  .cta-band h2 { font-size:1.7rem; }
}
@media(max-width:480px) {
  section { padding:48px 16px; }
  .page-hero { height:65vh; min-height:400px; }
  .page-hero h1 { font-size:1.6rem; }
  .page-hero p { font-size:.9rem; }
  .page-hero-content { padding:0 16px 36px; }
  .hero-btn { width:100%; max-width:100%; justify-content:center; }
  .section-title { font-size:1.6rem; }
  .split-img img { height:220px; }
  .full-img img { height:180px; }
  .cards-grid { grid-template-columns:1fr; }
  .card { padding:22px 18px; }
  .stats-row { gap:12px 16px; }
  .stats-row > div { flex:1 0 calc(50% - 8px); }
  .stat-num { font-size:1.6rem; }
  .highlight { padding:24px 18px; }
  .highlight h3 { font-size:1.2rem; }
  .cta-band { padding:44px 16px; }
  .cta-band h2 { font-size:1.5rem; }
  .cta-band p { font-size:.9rem; }
  .trust-item { flex:1 0 calc(50% - 8px); }
  .footer-inner { gap:20px; }
  .faq-question { font-size:.92rem; padding:16px 18px; gap:12px; }
  .faq-chevron { width:24px; height:24px; }
  .faq-answer-inner { padding:0 18px 16px; }
  .lead-text { font-size:1rem; }
  .body-text { font-size:.93rem; }
  .check-list li { font-size:.92rem; }
  .section-label { font-size:.72rem; }
}
