/*
Theme Name: EhrenamtsWerk
Theme URI: https://www.ehrenamtswerk.de
Author: EhrenamtsWerk
Description: Finales EhrenamtsWerk-Theme im verbindlichen weiß-dunkelgrün-goldenen Corporate Design.
Version: 2.2.0
Text Domain: ehrenamtswerk
*/
:root{
  --ew-green:#004b37;
  --ew-green-dark:#063e30;
  --ew-gold:#d7a126;
  --ew-gold-light:#f0c766;
  --ew-text:#18362d;
  --ew-muted:#64756f;
  --ew-line:#dbe4df;
  --ew-soft:#f4f8f5;
  --ew-white:#ffffff;
  --ew-shadow:0 14px 34px rgba(0,75,55,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ew-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.55}
a{color:inherit}
img{max-width:100%;height:auto}
.ew-wrap{width:min(1180px,calc(100% - 42px));margin:0 auto}

/* Header exactly in the clean stationery spirit */
.ew-header{position:relative;z-index:30;background:#fff;border-bottom:1px solid rgba(0,75,55,.07)}
.ew-header-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:138px;padding:18px 0}
.ew-logo img{display:block;width:min(500px,58vw);height:auto}
.ew-nav{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:700}
.ew-nav a{text-decoration:none}
.ew-nav a:hover{color:var(--ew-gold)}
.ew-nav-cta{background:var(--ew-green);color:#fff!important;border:2px solid var(--ew-gold);padding:11px 18px;border-radius:999px}

/* Hero with the EXACT approved corner asset */
.ew-hero{position:relative;overflow:hidden;padding:76px 0 82px;background:#fff}
.ew-hero:before{
  content:"";position:absolute;right:0;top:0;width:min(55vw,760px);height:min(290px,23vw);
  background:url('assets/approved-corner-final.png') top right/contain no-repeat;z-index:0;pointer-events:none
}
.ew-hero:after{display:none!important}
.ew-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.18fr .82fr;gap:56px;align-items:end}
.ew-kicker{display:inline-block;text-transform:uppercase;letter-spacing:.18em;font-weight:800;font-size:12px;color:var(--ew-green);margin-bottom:18px}
.ew-hero h1{font-size:clamp(44px,5.8vw,76px);line-height:1.02;letter-spacing:-.035em;color:var(--ew-green);margin:0 0 20px}
.ew-hero h1 span{display:block;color:var(--ew-gold)}
.ew-lead{font-size:clamp(18px,2vw,24px);max-width:760px;color:#304a41;margin:0 0 30px}
.ew-actions{display:flex;flex-wrap:wrap;gap:12px}
.ew-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:13px 21px;border-radius:999px;font-weight:800}
.ew-btn-primary{background:var(--ew-green);color:#fff;border:2px solid var(--ew-gold)}
.ew-btn-secondary{background:#fff;color:var(--ew-green);border:1px solid var(--ew-line)}
.ew-hero-card{background:#fff;border:1px solid var(--ew-line);border-top:4px solid var(--ew-gold);border-radius:20px;padding:28px;box-shadow:var(--ew-shadow);margin-bottom:5px}
.ew-hero-card strong{display:block;font-size:24px;color:var(--ew-green)}
.ew-hero-card p{margin:8px 0 0;color:var(--ew-muted)}

/* Sections */
.ew-section{padding:82px 0}
.ew-section-soft{background:var(--ew-soft)}
.ew-section-title{max-width:900px;margin-bottom:38px}
.ew-section-title h2{font-size:clamp(34px,4vw,50px);line-height:1.08;color:var(--ew-green);margin:0 0 12px}
.ew-section-title p{margin:0;color:var(--ew-muted);font-size:18px}

/* Service grid mirrors the final marketing material: round green/gold icon + strong title */
.ew-services{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.ew-service{display:grid;grid-template-columns:82px 1fr;column-gap:20px;background:#fff;border:1px solid var(--ew-line);border-radius:18px;padding:24px;box-shadow:0 6px 20px rgba(0,75,55,.04)}
.ew-icon{grid-row:1/5;width:68px;height:68px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#08604a,var(--ew-green));display:grid;place-items:center;color:var(--ew-gold);font-size:29px;font-weight:900;border:8px solid #edf4f0}
.ew-service h3{font-size:24px;color:var(--ew-green);margin:2px 0 6px}
.ew-service p{margin:0 0 10px;color:var(--ew-muted)}
.ew-price{font-size:24px;font-weight:900;color:var(--ew-green);margin:2px 0 4px}
.ew-service-detail{margin:6px 0 0;padding:0;list-style:none;font-size:14px;color:#3b5148}
.ew-service-detail li{position:relative;padding:4px 0 4px 16px}
.ew-service-detail li:before{content:"•";position:absolute;left:0;color:var(--ew-gold);font-weight:900}

/* About section: use REAL approved logo again, no invented EW mark */
.ew-about-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:54px;align-items:center}
.ew-about-mark{min-height:360px;background:#fff url('assets/ehrenamtswerk-logo.png') center/86% auto no-repeat;border:1px solid var(--ew-line);border-radius:22px;box-shadow:var(--ew-shadow);position:relative}
.ew-about-mark:before,.ew-about-mark:after{display:none!important}
.ew-about h2{font-size:42px;line-height:1.1;color:var(--ew-green);margin:0 0 16px}
.ew-about p{font-size:17px;color:#42594f}
.ew-values{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}
.ew-value{background:#fff;border:1px solid var(--ew-line);border-top:3px solid var(--ew-gold);border-radius:15px;padding:16px}
.ew-value strong{display:block;color:var(--ew-green);margin-bottom:3px}

/* Process */
.ew-process{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ew-step{background:#fff;border:1px solid var(--ew-line);border-radius:16px;padding:22px}
.ew-step-num{width:42px;height:42px;border-radius:50%;background:var(--ew-green);color:var(--ew-gold);display:grid;place-items:center;font-weight:900;margin-bottom:12px}
.ew-step h3{color:var(--ew-green);margin:0 0 6px}

/* Contact + footer matching the fixed stationery footer */
.ew-contact{position:relative;overflow:hidden;background:#fff;padding:76px 0}
.ew-contact:before{content:"";position:absolute;right:0;bottom:0;width:38%;height:52%;background:linear-gradient(145deg,transparent 43%,rgba(0,75,55,.045) 44%,rgba(0,75,55,.045) 55%,transparent 56%)}
.ew-contact-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.12fr .88fr;gap:34px}
.ew-contact h2{font-size:44px;line-height:1.08;color:var(--ew-green);margin:0 0 14px}
.ew-contact p{font-size:18px;color:#4b6158}
.ew-contact-card{background:var(--ew-soft);border:1px solid var(--ew-line);border-radius:18px;padding:24px}
.ew-contact-row{padding:10px 0;border-bottom:1px solid var(--ew-line)}
.ew-contact-row:last-child{border-bottom:0}
.ew-contact-row strong{display:block;color:var(--ew-green)}

.ew-footer{background:var(--ew-green);color:#fff;border-top:5px solid var(--ew-gold)}
.ew-footer-inner{display:flex;justify-content:space-between;align-items:center;gap:28px;flex-wrap:wrap;padding:28px 0}
.ew-footer a{color:#fff;text-decoration:none}
.ew-footer-links{display:flex;gap:18px;flex-wrap:wrap;font-size:14px}
.ew-footer strong{font-size:18px}
.ew-footer small{letter-spacing:.08em}

/* Legal */
.ew-legal{padding:64px 0}
.ew-legal h1,.ew-legal h2{color:var(--ew-green)}
.ew-note{background:#fff8e5;border-left:4px solid var(--ew-gold);padding:16px 18px}

/* Responsive */
@media(max-width:920px){
  .ew-header-inner{min-height:110px}
  .ew-nav{display:none}
  .ew-hero-grid,.ew-about-grid,.ew-contact-grid{grid-template-columns:1fr}
  .ew-services{grid-template-columns:1fr}
  .ew-process{grid-template-columns:1fr 1fr}
  .ew-hero-card{max-width:650px}
}
@media(max-width:640px){
  .ew-wrap{width:min(100% - 26px,1180px)}
  .ew-logo img{width:320px;max-width:82vw}
  .ew-header-inner{min-height:92px;padding:12px 0}
  .ew-hero{padding:54px 0 58px}
  .ew-hero:before{width:78vw;height:170px}
  .ew-section{padding:60px 0}
  .ew-process,.ew-values{grid-template-columns:1fr}
  .ew-service{grid-template-columns:70px 1fr;padding:18px;column-gap:14px}
  .ew-icon{width:60px;height:60px;font-size:24px;border-width:6px}
  .ew-about-mark{min-height:260px}
}


/* =========================================================
   FINAL FIX V4 — obere rechte Ecke ohne Text-/Logo-Fragmente
   ========================================================= */

/* Alte Corner-Hintergründe vollständig neutralisieren */
.ew-hero:before,
.ew-hero:after{
  display:none !important;
  content:none !important;
}

/* Header wird Träger der sauberen Corporate-Ecke */
.ew-header{
  position:relative !important;
  overflow:visible !important;
  background:#fff !important;
  isolation:isolate;
}

/* Nur grün/gold, transparent, keine übernommenen Textfragmente */
.ew-header::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:min(33vw,520px);
  height:190px;
  background:url('assets/approved-corner-clean.png') top right / contain no-repeat;
  pointer-events:none;
  z-index:0;
}

/* Logo, Navigation und Inhalt immer VOR der Ecke */
.ew-header-inner{
  position:relative !important;
  z-index:2 !important;
}

/* Logo vollständig sichtbar und unverändert */
.ew-logo{
  position:relative;
  z-index:3;
  display:block;
  flex:0 0 auto;
}
.ew-logo img{
  display:block !important;
  width:min(470px,52vw) !important;
  max-height:96px !important;
  object-fit:contain !important;
  object-position:left center !important;
}

/* Navigation bekommt genügend Abstand zur Ecke */
.ew-nav{
  position:relative;
  z-index:3;
  padding-right:105px;
}

/* Hero bleibt sauber weiß, ohne zweite Grafik darüber */
.ew-hero{
  position:relative;
  z-index:1;
  background:#fff !important;
  overflow:hidden;
}

/* Desktop: Ecke bleibt fest oben rechts und "hängt" nicht im Inhalt */
@media (max-width:1100px){
  .ew-header::after{
    width:38vw;
    height:165px;
  }
  .ew-nav{padding-right:75px}
}

/* Tablet */
@media (max-width:920px){
  .ew-header::after{
    width:46vw;
    height:145px;
  }
  .ew-logo img{
    width:min(390px,62vw) !important;
  }
}

/* Mobil: Ecke kleiner, Logo nie überdeckt */
@media (max-width:640px){
  .ew-header::after{
    width:52vw;
    height:112px;
  }
  .ew-logo img{
    width:min(300px,74vw) !important;
    max-height:72px !important;
  }
}


/* ============================================================
   V5 — VERBINDLICHES URSPRUNGSLAYOUT
   Grundlage ausschließlich: zuletzt bestätigte Geschäftsvorlage
   ============================================================ */

body{
  background:#ffffff !important;
}

/* Header = weiß, großzügig, Logo deutlich größer */
.ew-header{
  position:relative !important;
  background:#fff !important;
  overflow:hidden !important;
  min-height:170px !important;
  border-bottom:0 !important;
  isolation:isolate;
}
.ew-header-inner{
  position:relative !important;
  z-index:3 !important;
  min-height:170px !important;
  padding:22px 0 26px !important;
  align-items:center !important;
}
.ew-logo{
  display:block !important;
  width:auto !important;
  position:relative !important;
  z-index:4 !important;
}
.ew-logo img{
  display:block !important;
  width:min(560px,58vw) !important;
  max-width:none !important;
  max-height:132px !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:left center !important;
}

/* Exakte, durchgehende dunkelgrün-goldene Ecke aus der bestätigten Vorlage */
.ew-header::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  width:min(52vw,760px) !important;
  height:225px !important;
  background:url('assets/corner-final-exact.png') top right / 100% 100% no-repeat !important;
  z-index:1 !important;
  pointer-events:none !important;
}

/* Keine zweite Ecke und kein schwebendes Element mehr */
.ew-hero::before,
.ew-hero::after{
  content:none !important;
  display:none !important;
  background:none !important;
}
.ew-hero{
  background:#fff !important;
  position:relative !important;
  overflow:visible !important;
  padding-top:48px !important;
}

/* Navigation vor der Ecke, aber nicht in die Ecke hinein */
.ew-nav{
  position:relative !important;
  z-index:5 !important;
  padding-right:130px !important;
}

/* Einheitliche Formen/Farben der bestätigten Geschäftsvorlage */
.ew-btn-primary,
.ew-nav-cta{
  background:#004b37 !important;
  color:#fff !important;
  border:2px solid #d7a126 !important;
}
.ew-section-soft{
  background:#f7f9f7 !important;
}
.ew-footer{
  background:#004b37 !important;
  border-top:5px solid #d7a126 !important;
}

/* Über-uns-Grafik: ausschließlich das bestätigte Logo */
.ew-about-mark{
  background:#fff url('assets/ehrenamtswerk-logo-final.png') center / 90% auto no-repeat !important;
}

/* Tablet */
@media(max-width:1050px){
  .ew-header{min-height:150px !important}
  .ew-header-inner{min-height:150px !important}
  .ew-logo img{width:min(500px,62vw) !important;max-height:116px !important}
  .ew-header::after{width:56vw !important;height:205px !important}
  .ew-nav{padding-right:90px !important}
}

/* Mobil */
@media(max-width:920px){
  .ew-header{min-height:125px !important}
  .ew-header-inner{min-height:125px !important}
  .ew-logo img{width:min(430px,70vw) !important;max-height:98px !important}
  .ew-header::after{width:54vw !important;height:165px !important}
}
@media(max-width:640px){
  .ew-header{min-height:105px !important}
  .ew-header-inner{min-height:105px !important;padding:12px 0 15px !important}
  .ew-logo img{width:min(330px,76vw) !important;max-height:80px !important}
  .ew-header::after{width:53vw !important;height:132px !important}
}


/* ============================================================
   V6 — NUR WEBSITE-KORREKTUREN
   Bestehendes Layout bleibt unverändert.
   ============================================================ */

/* Alte Bildausschnitt-Ecke vollständig deaktivieren */
.ew-header::after{
  content:"" !important;
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  width:min(52vw,760px) !important;
  height:225px !important;
  background:url('assets/corner-final-vector.svg') top right / 100% 100% no-repeat !important;
  z-index:1 !important;
  pointer-events:none !important;
}

/* Kein zweites Eckelement im Hero */
.ew-hero::before,
.ew-hero::after{
  display:none !important;
  content:none !important;
}

/* Logo bleibt separat und vollständig sichtbar */
.ew-header-inner{
  position:relative !important;
  z-index:3 !important;
}
.ew-logo,
.ew-logo img{
  position:relative !important;
  z-index:4 !important;
}

/* Navigation bleibt vor der Ecke */
.ew-nav{
  position:relative !important;
  z-index:5 !important;
}


/* Footer-Logo statt Klartext */
.ew-footer-logo img{
  display:block;
  width:min(360px,42vw);
  height:auto;
}
@media(max-width:640px){
  .ew-footer-logo img{
    width:min(300px,78vw);
  }
}


/* ============================================================
   V7 FINAL — VERBINDLICHE REFERENZ
   Grundlage: freigegebenes EhrenamtsWerk-Layout des Nutzers.
   Kein Redesign, nur exakte Übernahme der Referenzelemente.
   ============================================================ */

/* Header */
.ew-header{
  position:relative !important;
  overflow:hidden !important;
  background:#fff !important;
  min-height:178px !important;
  border-bottom:0 !important;
}
.ew-header-inner{
  position:relative !important;
  z-index:3 !important;
  min-height:178px !important;
  padding:18px 0 24px !important;
  align-items:center !important;
}

/* Logo exakt aus der freigegebenen Vorlage, groß und klar */
.ew-logo{
  position:relative !important;
  z-index:5 !important;
  display:block !important;
}
.ew-logo img{
  display:block !important;
  width:520px !important;
  max-width:52vw !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:left center !important;
}

/* Exakte obere rechte Ecke aus der freigegebenen Vorlage.
   Keine Vektorneuinterpretation, keine Textfragmente, kein Hochskalieren. */
.ew-header::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  width:414px !important;
  height:245px !important;
  max-width:42vw !important;
  background:url('assets/corner-reference.png') top right / 100% 100% no-repeat !important;
  z-index:1 !important;
  pointer-events:none !important;
}

/* Alte zusätzliche Eck-Elemente sicher deaktivieren */
.ew-hero::before,
.ew-hero::after{
  content:none !important;
  display:none !important;
}

/* Navigation bleibt sauber zwischen Logo und Ecke */
.ew-nav{
  position:relative !important;
  z-index:6 !important;
  padding-right:76px !important;
}

/* Footer-Logo statt Textmarke */
.ew-footer-logo img{
  display:block !important;
  width:360px !important;
  max-width:40vw !important;
  height:auto !important;
}

/* Mobile Anpassung ohne Verzerrung */
@media(max-width:1050px){
  .ew-logo img{
    width:470px !important;
    max-width:58vw !important;
  }
  .ew-header::after{
    width:365px !important;
    height:216px !important;
    max-width:43vw !important;
  }
}
@media(max-width:920px){
  .ew-header{
    min-height:138px !important;
  }
  .ew-header-inner{
    min-height:138px !important;
  }
  .ew-logo img{
    width:405px !important;
    max-width:66vw !important;
  }
  .ew-header::after{
    width:305px !important;
    height:181px !important;
    max-width:46vw !important;
  }
}
@media(max-width:640px){
  .ew-header{
    min-height:112px !important;
  }
  .ew-header-inner{
    min-height:112px !important;
    padding:10px 0 14px !important;
  }
  .ew-logo img{
    width:310px !important;
    max-width:72vw !important;
  }
  .ew-header::after{
    width:220px !important;
    height:130px !important;
    max-width:48vw !important;
  }
  .ew-footer-logo img{
    width:290px !important;
    max-width:76vw !important;
  }
}

/* V8 FINAL: saubere rechte Ecke OHNE Bild-/Logo-/Textreste */
.ew-header::after{
  content:"" !important;
  position:absolute !important;
  display:block !important;
  top:0 !important;
  right:0 !important;
  width:43% !important;
  height:165px !important;
  max-width:none !important;
  background:#00513f !important;
  border:0 !important;
  border-bottom-left-radius:72% 64% !important;
  z-index:1 !important;
  pointer-events:none !important;
}

/* goldene geschwungene Kante als separates, rein geometrisches Element */
.ew-header::before{
  content:"" !important;
  position:absolute !important;
  display:block !important;
  top:0 !important;
  right:0 !important;
  width:47% !important;
  height:177px !important;
  background:#d5a72d !important;
  border-bottom-left-radius:72% 64% !important;
  z-index:0 !important;
  pointer-events:none !important;
}

/* Weißer Zwischenraum unterhalb/links der Kurve bleibt frei von jeglichem Text */
.ew-header-inner{z-index:4 !important;}
.ew-logo,.ew-nav{z-index:5 !important;}
.ew-header .ew-logo img{position:relative !important;}

@media(max-width:920px){
 .ew-header::after{width:42% !important;height:132px !important;}
 .ew-header::before{width:46% !important;height:143px !important;}
}
@media(max-width:640px){
 .ew-header::after{width:39% !important;height:105px !important;}
 .ew-header::before{width:43% !important;height:114px !important;}
}


/* ============================================================
   V9 – FOOTER-KONTAKTBANNER
   Nur Fußzeile geändert; restliches V8-Layout bleibt erhalten.
   ============================================================ */
.ew-footer{
  background:#004b37 !important;
  color:#fff !important;
  border-top:5px solid #d7a126 !important;
}

.ew-footer-inner{
  display:grid !important;
  grid-template-columns:minmax(260px, 340px) 1fr auto !important;
  gap:26px !important;
  align-items:center !important;
  padding:26px 0 !important;
}

.ew-footer-logo img{
  display:block !important;
  width:330px !important;
  max-width:100% !important;
  height:auto !important;
}

.ew-footer-contact{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:18px !important;
  flex-wrap:wrap !important;
}

.ew-footer-contact-item{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  color:#fff !important;
  text-decoration:none !important;
  font-size:15px !important;
  white-space:nowrap !important;
}

.ew-footer-icon{
  display:inline-grid !important;
  place-items:center !important;
  width:30px !important;
  height:30px !important;
  color:#fff !important;
  font-size:24px !important;
  line-height:1 !important;
}

.ew-footer-divider{
  display:block !important;
  width:1px !important;
  height:36px !important;
  background:#d7a126 !important;
  opacity:.95 !important;
}

.ew-footer-legal{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  font-size:13px !important;
  white-space:nowrap !important;
}

.ew-footer-legal a{
  color:#fff !important;
  text-decoration:none !important;
}

@media(max-width:980px){
  .ew-footer-inner{
    grid-template-columns:1fr !important;
    text-align:center !important;
  }
  .ew-footer-logo{
    display:flex !important;
    justify-content:center !important;
  }
  .ew-footer-contact{
    justify-content:center !important;
  }
  .ew-footer-legal{
    justify-content:center !important;
  }
}

@media(max-width:640px){
  .ew-footer-contact{
    flex-direction:column !important;
    gap:10px !important;
  }
  .ew-footer-divider{
    display:none !important;
  }
  .ew-footer-contact-item{
    white-space:normal !important;
    justify-content:center !important;
  }
}


/* ============================================================
   V10 FINAL – verbindliches EhrenamtsWerk-Layout
   ============================================================ */

/* Rechte obere Ecke: exakt ein sauberes Element, keine doppelten Formen */
.ew-header{
  position:relative !important;
  overflow:hidden !important;
  background:#fff !important;
}
.ew-header::before{
  content:none !important;
  display:none !important;
}
.ew-header::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  width:50% !important;
  height:185px !important;
  max-width:none !important;
  background:url('assets/corner-approved-clean.svg') top right / 100% 100% no-repeat !important;
  border:0 !important;
  border-radius:0 !important;
  z-index:1 !important;
  pointer-events:none !important;
}
.ew-header-inner{
  position:relative !important;
  z-index:3 !important;
}
.ew-logo,.ew-nav{
  position:relative !important;
  z-index:4 !important;
}
.ew-logo img{
  width:500px !important;
  max-width:52vw !important;
  height:auto !important;
}

/* Footer */
.ew-footer{
  background:#004b37 !important;
  border-top:5px solid #d7a126 !important;
}
.ew-footer-logo img{
  width:330px !important;
  max-width:100% !important;
  height:auto !important;
  background:transparent !important;
}
.ew-footer-icon svg{
  width:27px !important;
  height:27px !important;
  display:block !important;
  fill:#fff !important;
}
.ew-footer-globe svg{
  fill:none !important;
  stroke:#fff !important;
  stroke-width:1.8 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

@media(max-width:920px){
  .ew-header::after{
    width:48% !important;
    height:150px !important;
  }
}
@media(max-width:640px){
  .ew-header::after{
    width:46% !important;
    height:112px !important;
  }
  .ew-logo img{
    width:310px !important;
    max-width:72vw !important;
  }
}


/* ============================================================
   V11 FINAL POLISH
   - Goldkante direkt an der grünen Ecke
   - Footer-Logo sauber/proportional
   ============================================================ */

.ew-header::after{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  width:50% !important;
  height:185px !important;
  background:url('assets/corner-approved-tight.svg') top right / 100% 100% no-repeat !important;
  z-index:1 !important;
  pointer-events:none !important;
  border:0 !important;
  border-radius:0 !important;
}

.ew-footer-logo{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-width:0 !important;
}

.ew-footer-logo img{
  display:block !important;
  width:300px !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
  object-position:left center !important;
  filter:none !important;
  opacity:1 !important;
  background:transparent !important;
}

.ew-footer-inner{
  grid-template-columns:minmax(260px, 320px) 1fr auto !important;
  gap:24px !important;
}

@media(max-width:980px){
  .ew-footer-logo{
    justify-content:center !important;
  }
  .ew-footer-logo img{
    width:290px !important;
  }
}

@media(max-width:640px){
  .ew-header::after{
    width:46% !important;
    height:112px !important;
  }
  .ew-footer-logo img{
    width:270px !important;
  }
}


/* ============================================================
   V12 – FOOTER FINAL
   Kontaktbereich mit korrekten Symbolen, ohne Unterstreichungen.
   Impressum und Datenschutz separat im untersten dunkelgrünen Bereich.
   ============================================================ */

.ew-footer{
  background:#004b37 !important;
  color:#fff !important;
  border-top:5px solid #d7a126 !important;
}

.ew-footer-main{
  display:grid !important;
  grid-template-columns:minmax(250px,320px) 1fr !important;
  gap:34px !important;
  align-items:center !important;
  padding:28px 0 24px !important;
}

.ew-footer-logo{
  display:flex !important;
  align-items:center !important;
}
.ew-footer-logo img{
  display:block !important;
  width:300px !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain !important;
  filter:none !important;
}

.ew-footer-contact-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(240px,1fr)) !important;
  gap:18px 28px !important;
  align-items:start !important;
}

.ew-footer-contact-item,
.ew-footer-contact-item:link,
.ew-footer-contact-item:visited,
.ew-footer-contact-item:hover,
.ew-footer-contact-item:active{
  display:flex !important;
  align-items:flex-start !important;
  gap:12px !important;
  color:#fff !important;
  text-decoration:none !important;
  border:0 !important;
  box-shadow:none !important;
}

.ew-footer-contact-item strong{
  display:block !important;
  color:#d7a126 !important;
  font-size:13px !important;
  line-height:1.2 !important;
  margin-bottom:3px !important;
  letter-spacing:.03em !important;
}

.ew-footer-contact-item span{
  color:#fff !important;
  text-decoration:none !important;
  border-bottom:0 !important;
}

.ew-footer-icon{
  flex:0 0 30px !important;
  width:30px !important;
  height:30px !important;
  display:grid !important;
  place-items:center !important;
  margin-top:1px !important;
}

.ew-footer-icon svg{
  width:27px !important;
  height:27px !important;
  display:block !important;
  fill:none !important;
  stroke:#fff !important;
  stroke-width:1.8 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

.ew-footer-contact-item:nth-child(2) .ew-footer-icon svg{
  fill:#fff !important;
  stroke:none !important;
}

.ew-footer-bottom{
  background:#003d2f !important;
  border-top:1px solid rgba(215,161,38,.45) !important;
}

.ew-footer-bottom-inner{
  display:flex !important;
  justify-content:center !important;
  gap:34px !important;
  padding:13px 0 15px !important;
}

.ew-footer-bottom a,
.ew-footer-bottom a:link,
.ew-footer-bottom a:visited,
.ew-footer-bottom a:hover,
.ew-footer-bottom a:active{
  color:#fff !important;
  text-decoration:none !important;
  font-size:13px !important;
  border-bottom:0 !important;
}

.ew-footer-bottom a:hover{
  color:#d7a126 !important;
}

@media(max-width:980px){
  .ew-footer-main{
    grid-template-columns:1fr !important;
  }
  .ew-footer-logo{
    justify-content:center !important;
  }
  .ew-footer-contact-grid{
    max-width:760px !important;
    margin:0 auto !important;
    width:100% !important;
  }
}

@media(max-width:640px){
  .ew-footer-contact-grid{
    grid-template-columns:1fr !important;
  }
  .ew-footer-contact-item{
    justify-content:flex-start !important;
  }
  .ew-footer-bottom-inner{
    gap:22px !important;
  }
}


/* ============================================================
   V13 – FOOTER KOMPAKT / ZENTRIERT
   ============================================================ */

.ew-footer-main{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  gap:14px !important;
  padding:16px 0 12px !important;
  text-align:center !important;
}

.ew-footer-logo{
  justify-content:center !important;
  margin:0 auto 2px !important;
}

.ew-footer-logo img{
  width:260px !important;
  max-width:90% !important;
  margin:0 auto !important;
}

.ew-footer-contact-grid{
  display:grid !important;
  grid-template-columns:repeat(4, auto) !important;
  justify-content:center !important;
  align-items:start !important;
  gap:12px 28px !important;
  width:auto !important;
  max-width:100% !important;
  margin:0 auto !important;
}

.ew-footer-contact-item,
.ew-footer-contact-item:link,
.ew-footer-contact-item:visited,
.ew-footer-contact-item:hover,
.ew-footer-contact-item:active{
  justify-content:center !important;
  align-items:center !important;
  gap:8px !important;
  text-align:left !important;
  white-space:nowrap !important;
}

.ew-footer-contact-item strong{
  font-size:11px !important;
  margin-bottom:1px !important;
}

.ew-footer-contact-item span{
  font-size:13px !important;
  line-height:1.25 !important;
}

.ew-footer-icon{
  flex:0 0 24px !important;
  width:24px !important;
  height:24px !important;
  margin:0 !important;
}

.ew-footer-icon svg{
  width:22px !important;
  height:22px !important;
}

.ew-footer-bottom-inner{
  justify-content:center !important;
  gap:28px !important;
  padding:8px 0 9px !important;
}

.ew-footer-bottom a{
  font-size:12px !important;
}

@media(max-width:900px){
  .ew-footer-contact-grid{
    grid-template-columns:repeat(2, minmax(220px, auto)) !important;
    gap:12px 24px !important;
  }
}

@media(max-width:560px){
  .ew-footer-main{
    padding:14px 18px 10px !important;
    gap:12px !important;
  }
  .ew-footer-logo img{
    width:235px !important;
  }
  .ew-footer-contact-grid{
    grid-template-columns:1fr !important;
    gap:9px !important;
    width:100% !important;
    max-width:330px !important;
  }
  .ew-footer-contact-item,
  .ew-footer-contact-item:link{
    justify-content:flex-start !important;
    white-space:normal !important;
  }
}
