/*
Theme Name: EdFire
Theme URI: https://edfire.at/
Author: EdFire
Author URI: https://edfire.at/
Description: One-Page Theme für EdFire – Nachhilfe, Aufnahmeprüfungen & Sprachkurse in Wien. Bildung, die brennt.
Version: 1.1.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edfire
Tags: one-page, business, education, custom-colors, custom-logo, custom-menu
*/

/* ===== EdFire Design Tokens ===== */
:root{
  --ed-orange:#E8811A;
  --ed-orange-light:#FFF3E8;
  --ed-blue:#1E3A8A;
  --ed-blue-dark:#0F2460;
  --ed-blue-light:#EEF2FF;
  --ed-gray:#F5F5F5;
  --ed-text:#1a1a1a;
  --ed-text-muted:#5b6473;
  --ed-light:#F7F9FC;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:104px}
body{
  margin:0;
  font-family:'Barlow',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ed-text);
  background:#fff;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}

.ed-container{max-width:1160px;margin:0 auto;padding:0 24px}

/* ===== NAV ===== */
.ed-nav{
  position:sticky;top:0;z-index:50;
  background:var(--ed-light);
  padding:0;
  box-shadow:0 2px 12px rgba(15,36,96,.08);
  border-bottom:1px solid rgba(15,36,96,.08);
}
.ed-nav-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:84px}
.ed-nav-logo{display:flex;align-items:center;gap:10px}
.ed-nav-logo img{height:65px;width:auto}
.ed-nav-btns{display:flex;gap:14px;align-items:center}
.ed-nav-btns .ed-btn{padding:14px 26px;font-size:16px;border-radius:12px;min-height:52px}

.ed-btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:inherit;font-weight:600;font-size:14px;
  padding:10px 18px;border-radius:8px;cursor:pointer;
  text-decoration:none;border:none;transition:all .2s ease;
  white-space:nowrap;
}
.ed-btn-orange{background:var(--ed-orange);color:#fff}
.ed-btn-orange:hover{background:#d2710f;transform:translateY(-1px);box-shadow:0 8px 20px rgba(232,129,26,.3)}
.ed-btn-outline-white{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45)}
.ed-btn-outline-white:hover{background:rgba(255,255,255,.1);border-color:#fff}
.ed-btn-outline-blue{background:transparent;color:var(--ed-blue);border:1.5px solid var(--ed-blue)}
.ed-btn-outline-blue:hover{background:var(--ed-blue);color:#fff}
.ed-btn-lg{padding:16px 28px;font-size:16px;border-radius:10px}

/* ===== HERO ===== */
.ed-hero{
  background:linear-gradient(135deg,#1E3A8A 0%,#0F2460 100%);
  padding:92px 0 100px;text-align:center;position:relative;overflow:hidden;
}
.ed-hero::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(232,129,26,.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(232,129,26,.10), transparent 40%);
}
#top{scroll-margin-top:104px}
.ed-hero-inner{position:relative;z-index:1}
.ed-hero-tag{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(232,129,26,.18);color:var(--ed-orange);
  font-size:18px;font-weight:700;padding:12px 24px;border-radius:999px;
  border:1.5px solid rgba(232,129,26,.45);margin-bottom:26px;box-shadow:0 10px 26px rgba(232,129,26,.16);
}
.ed-hero h1{
  color:#fff;font-size:clamp(36px,6vw,62px);font-weight:800;
  line-height:1.08;letter-spacing:-.02em;margin:0 0 20px;
}
.ed-hero h1 span{color:var(--ed-orange)}
.ed-hero p{
  color:rgba(255,255,255,.78);font-size:18px;line-height:1.6;
  max-width:620px;margin:0 auto 36px;
}
.ed-hero-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* ===== HERO LOAD ANIMATION ===== */
.ed-hero-tag,.ed-hero h1,.ed-hero p,.ed-hero-btns{
  animation:edfire-hero-reveal .8s cubic-bezier(.22,1,.36,1) both;
}
.ed-hero-tag{animation-delay:.08s}
.ed-hero h1{animation-delay:.20s}
.ed-hero p{animation-delay:.32s}
.ed-hero-btns{animation-delay:.44s}
@keyframes edfire-hero-reveal{
  from{opacity:0;transform:translateY(18px);filter:blur(4px)}
  to{opacity:1;transform:translateY(0);filter:blur(0)}
}


/* ===== FIRE ANIMATION ===== */
.ed-hero-tag .fa-fire{
  display:inline-block;
  transform-origin:50% 85%;
  animation:edfire-flame 3.4s ease-in-out infinite;
  filter:drop-shadow(0 0 5px rgba(232,129,26,.45));
}
.ed-hero-tag:hover .fa-fire{
  animation-duration:2.4s;
}
@keyframes edfire-flame{
  0%,100%{transform:translateY(0) rotate(-2deg) scale(1);filter:drop-shadow(0 0 4px rgba(232,129,26,.35));}
  25%{transform:translateY(-1px) rotate(2deg) scale(1.04);filter:drop-shadow(0 0 7px rgba(232,129,26,.55));}
  50%{transform:translateY(0) rotate(-2deg) scale(.99);filter:drop-shadow(0 0 5px rgba(232,129,26,.42));}
  75%{transform:translateY(-1px) rotate(1.5deg) scale(1.06);filter:drop-shadow(0 0 8px rgba(232,129,26,.62));}
}
@media (prefers-reduced-motion:reduce){
  .ed-hero-tag .fa-fire,
  .ed-hero-tag,.ed-hero h1,.ed-hero p,.ed-hero-btns,
  .ed-dot,
  .ed-service-flip .ed-card-icon i{animation:none!important;}
  .ed-service-flip-inner,.ed-founder-flip-inner{transition:none!important;}
}

/* ===== SECTIONS ===== */
.ed-section{padding:88px 0}
.ed-section-gray{background:var(--ed-gray)}
.ed-section-blue{background:var(--ed-blue);color:#fff}
.ed-section-head{text-align:center;max-width:640px;margin:0 auto 56px}
.ed-label{
  font-size:13px;font-weight:700;color:var(--ed-orange);
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:12px;
}
.ed-h2{
  font-size:clamp(28px,4vw,40px);font-weight:800;color:var(--ed-blue);
  line-height:1.15;letter-spacing:-.01em;margin:0 0 14px;
}
.ed-section-blue .ed-h2{color:#fff}
.ed-sub{font-size:16px;color:var(--ed-text-muted);line-height:1.6;margin:0}
.ed-section-blue .ed-sub{color:rgba(255,255,255,.7)}

/* ===== CARDS ===== */
.ed-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ed-card{
  background:transparent;border:0;border-radius:16px;
  padding:0;transition:all .25s ease;perspective:1000px;min-height:230px;
}
.ed-service-flip-inner{
  position:relative;width:100%;min-height:230px;transform-style:preserve-3d;
  transition:transform .9s cubic-bezier(.22,1,.36,1);
}
.ed-service-flip:not(.is-releasing):hover .ed-service-flip-inner,
.ed-service-flip.is-locked .ed-service-flip-inner{transform:rotateY(180deg)}
.ed-service-face{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  background:#fff;border:1px solid #ececec;border-radius:16px;padding:28px;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;
  transition:box-shadow .35s ease,border-color .35s ease,transform .35s ease;
}
.ed-service-flip:not(.is-releasing):hover .ed-service-face,
.ed-service-flip.is-locked .ed-service-face{box-shadow:0 18px 40px rgba(30,58,138,.12);border-color:var(--ed-orange)}
.ed-service-back{transform:rotateY(180deg);background:linear-gradient(135deg,#fff 0%,#FFF8F1 100%)}
.ed-card-icon{
  width:52px;height:52px;border-radius:12px;background:var(--ed-orange-light);
  display:flex;align-items:center;justify-content:center;color:var(--ed-orange);
  font-size:22px;margin-bottom:18px;flex-shrink:0;
}

.ed-service-face .ed-card-icon i{transition:transform .28s ease}
.ed-service-flip:not(.is-releasing):hover .ed-card-icon i,
.ed-service-flip.is-locked .ed-card-icon i{
  animation:edfire-icon-float 1.8s ease-in-out infinite;
}
@keyframes edfire-icon-float{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-3px) scale(1.08)}
}
.ed-card h3{font-size:18px;font-weight:700;color:var(--ed-blue);margin:0 0 8px}
.ed-card p{font-size:14px;color:var(--ed-text-muted);line-height:1.55;margin:0}
.ed-service-front .ed-flip-hint{margin-top:12px}

/* ===== USP ===== */
.ed-usps{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.ed-usp{
  display:flex;gap:16px;align-items:flex-start;
  background:#fff;border:1px solid #ececec;border-radius:14px;padding:22px;
}
.ed-usp-icon{
  width:46px;height:46px;border-radius:10px;
  background:var(--ed-blue-light);color:var(--ed-blue);
  display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;
}
.ed-usp h4{font-size:16px;font-weight:700;color:var(--ed-blue);margin:0 0 4px}
.ed-usp p{font-size:14px;color:var(--ed-text-muted);line-height:1.55;margin:0}

/* ===== FOUNDERS ===== */
.ed-founders{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;max-width:760px;margin:0 auto}
.ed-founder{
  background:transparent;border:0;border-radius:16px;
  padding:0;text-align:center;perspective:1000px;min-height:315px;
}
.ed-founder-flip-inner{
  position:relative;width:100%;min-height:315px;transform-style:preserve-3d;
  transition:transform .9s cubic-bezier(.22,1,.36,1);
}
.ed-founder-flip:not(.is-releasing):hover .ed-founder-flip-inner,
.ed-founder-flip.is-locked .ed-founder-flip-inner{transform:rotateY(180deg)}
.ed-founder-face{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:#fff;border:1px solid #ececec;border-radius:16px;padding:28px;text-align:center;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;
  transition:box-shadow .35s ease,border-color .35s ease,transform .35s ease;
}
.ed-founder-flip:not(.is-releasing):hover .ed-founder-face,
.ed-founder-flip.is-locked .ed-founder-face{box-shadow:0 18px 40px rgba(30,58,138,.12);border-color:var(--ed-orange)}
.ed-founder-back{transform:rotateY(180deg);background:linear-gradient(135deg,#fff 0%,#FFF8F1 100%)}
.ed-founder-photo{
  width:140px;height:140px;border-radius:50%;overflow:hidden;
  margin:0 auto 18px;border:3px solid var(--ed-blue-light);
}
.ed-founder-photo img{width:100%;height:100%;object-fit:cover}
.ed-founder h3{font-size:18px;font-weight:700;color:var(--ed-blue);margin:0 0 4px}
.ed-founder p{font-size:14px;color:var(--ed-text-muted);margin:0;line-height:1.6}
.ed-founder-back p{font-size:16px;max-width:280px;color:var(--ed-text);line-height:1.65}
.ed-flip-hint{font-size:12px;color:var(--ed-orange);font-weight:700;margin-top:14px;letter-spacing:.02em;text-align:center;line-height:1.35}


.ed-founder-flip-inner,.ed-service-flip-inner{will-change:transform}
.ed-founder-flip:not(.is-releasing):hover .ed-founder-face,
.ed-founder-flip.is-locked .ed-founder-face{box-shadow:0 24px 54px rgba(30,58,138,.16);}
.ed-founder-photo{transition:transform .45s ease,border-color .35s ease}
.ed-founder-flip:not(.is-releasing):hover .ed-founder-photo,
.ed-founder-flip.is-locked .ed-founder-photo{transform:scale(1.035);border-color:rgba(232,129,26,.45)}

/* Robust flip-card interaction states */
.ed-service-flip,.ed-founder-flip{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;outline:none}
.ed-service-flip.is-releasing .ed-service-flip-inner,
.ed-founder-flip.is-releasing .ed-founder-flip-inner{transform:rotateY(0deg)!important}
.ed-service-flip.is-releasing .ed-service-face,
.ed-founder-flip.is-releasing .ed-founder-face{box-shadow:none!important;border-color:#ececec!important}
.ed-service-flip:focus-visible .ed-service-face,
.ed-founder-flip:focus-visible .ed-founder-face{outline:3px solid rgba(232,129,26,.35);outline-offset:4px}
@media (hover:none){
  .ed-service-flip:hover .ed-service-flip-inner,
  .ed-founder-flip:hover .ed-founder-flip-inner{transform:none}
  .ed-service-flip.is-locked .ed-service-flip-inner,
  .ed-founder-flip.is-locked .ed-founder-flip-inner{transform:rotateY(180deg)}
}


/* ===== KONTAKT ===== */
.ed-kontakt{text-align:center}
.ed-kontakt .ed-container{display:flex;flex-direction:column;align-items:center}
.ed-kontakt .ed-h2{color:#fff;text-align:center}
.ed-kontakt-lead{color:rgba(255,255,255,.75);font-size:17px;line-height:1.6;max-width:560px;margin:0 auto 36px;text-align:center}
.ed-kontakt-btns{display:flex;gap:0;justify-content:center;align-items:stretch;flex-wrap:wrap;max-width:1040px;margin:0 auto;width:100%}
.ed-kontakt-btns .ed-btn{min-width:0;flex:1 1 240px;justify-content:center;padding:20px 24px;font-size:17px;border-radius:0;border-right-width:0}
.ed-kontakt-btns .ed-btn:first-child{border-radius:16px 0 0 16px}
.ed-kontakt-btns .ed-btn:last-child{border-radius:0 16px 16px 0;border-right-width:1.5px}
.ed-contact-options{margin-bottom:30px;box-shadow:0 18px 45px rgba(15,36,96,.16);border-radius:16px;overflow:hidden}
.ed-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.75);font-size:13px;
  padding:7px 14px;border-radius:999px;margin-top:28px;
}
.ed-dot{width:8px;height:8px;border-radius:50%;background:#4ADE80;box-shadow:0 0 0 4px rgba(74,222,128,.18)}

.ed-dot{animation:edfire-dot-pulse 2.4s ease-in-out infinite}
@keyframes edfire-dot-pulse{
  0%,100%{transform:scale(1);box-shadow:0 0 0 4px rgba(74,222,128,.18)}
  50%{transform:scale(1.18);box-shadow:0 0 0 8px rgba(74,222,128,.10)}
}



/* ===== CONTACT FORM ===== */
.ed-contact-form{
  width:100%;max-width:780px;margin:34px auto 0;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);
  border-radius:22px;padding:28px;box-shadow:0 22px 55px rgba(0,0,0,.12);
  text-align:left;backdrop-filter:blur(8px);
}
.ed-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.ed-contact-form label{display:flex;flex-direction:column;gap:7px;color:#fff;font-size:14px;font-weight:700}
.ed-contact-form input,.ed-contact-form select,.ed-contact-form textarea{
  width:100%;border:1px solid rgba(255,255,255,.28);border-radius:12px;
  padding:14px 15px;background:rgba(255,255,255,.94);color:var(--ed-text);
  font-family:inherit;font-size:15px;outline:none;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.ed-contact-form input:focus,.ed-contact-form select:focus,.ed-contact-form textarea:focus{
  border-color:var(--ed-orange);box-shadow:0 0 0 4px rgba(232,129,26,.18);transform:translateY(-1px);
}
.ed-form-message{margin-top:16px}
.ed-form-submit{margin:20px auto 0;display:flex;justify-content:center;border:0}
.ed-form-notice{
  max-width:780px;width:100%;margin:26px auto 0;padding:14px 18px;border-radius:14px;
  font-weight:700;text-align:center;border:1px solid rgba(255,255,255,.22);
}
.ed-form-success{background:rgba(74,222,128,.16);color:#dcfce7}
.ed-form-error{background:rgba(248,113,113,.16);color:#fee2e2}
.ed-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media (max-width:700px){
  .ed-contact-form{padding:22px 18px;border-radius:18px}
  .ed-form-grid{grid-template-columns:1fr;gap:14px}
  .ed-form-submit{width:100%}
}

/* ===== FOOTER ===== */
.ed-footer{background:var(--ed-light);padding:24px 0;border-top:1px solid rgba(15,36,96,.08)}
.ed-footer-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;text-align:center}
.ed-footer-brand{display:flex;align-items:center;justify-content:flex-start;gap:14px}
.ed-footer-logo img{height:60px;width:auto}
.ed-footer-tag{color:#1a1a1a;font-size:14px;text-align:center;justify-self:center}
.ed-footer-links{display:flex;align-items:center;justify-content:flex-end;gap:20px}
.ed-footer-links a{
  color:#1a1a1a;text-decoration:none;font-size:14px;font-weight:500;
  transition:color .2s ease;display:inline-flex;align-items:center;gap:6px;
}
.ed-footer-links a:hover{color:var(--ed-blue);text-decoration:underline}
.ed-footer p{font-size:13px;color:#1a1a1a;margin:4px 0 0;grid-column:1 / -1;text-align:center}

/* ===== RESPONSIVE ===== */
@media (max-width:880px){
  html{scroll-padding-top:96px}
  #top{scroll-margin-top:96px}
  .ed-cards{grid-template-columns:repeat(2,1fr)}
  .ed-usps{grid-template-columns:1fr}
  .ed-section{padding:64px 0}
  .ed-hero{padding:86px 0 80px}
}
@media (max-width:560px){
  .ed-cards{grid-template-columns:1fr}
  .ed-card,.ed-service-flip-inner{min-height:215px}
  .ed-founders{grid-template-columns:1fr}
  .ed-nav-inner{min-height:76px}
  .ed-nav-logo img{height:54px}
  .ed-nav-btns{gap:8px}
  .ed-nav-btns .ed-btn{padding:11px 14px;font-size:14px;min-height:44px}
  .ed-footer-inner{grid-template-columns:1fr;gap:12px}
  .ed-footer-brand,.ed-footer-links{justify-content:center}
  .ed-footer-logo img{height:52px}
  .ed-btn{padding:9px 14px;font-size:13px}
  .ed-btn-lg{padding:14px 22px;font-size:15px}
  .ed-kontakt-btns{max-width:360px}
  .ed-kontakt-btns .ed-btn{width:100%;max-width:none;min-width:0;flex-basis:100%;padding:18px 26px;font-size:16px;border-right-width:1.5px;border-bottom-width:0}
  .ed-kontakt-btns .ed-btn:first-child{border-radius:16px 16px 0 0}
  .ed-kontakt-btns .ed-btn:last-child{border-radius:0 0 16px 16px;border-bottom-width:1.5px}
  .ed-kontakt-btns .ed-btn:not(:first-child):not(:last-child){border-radius:0}
}


/* ===== IMPRESSUM ===== */
.ed-impressum{
  background:#fff;
  padding:72px 0 92px;
  min-height:calc(100vh - 130px);
}
.ed-impressum-inner{max-width:760px}
.ed-impressum h1{
  color:var(--ed-blue);
  font-size:clamp(32px,4vw,44px);
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.01em;
  margin:0 0 32px;
}
.ed-impressum-block{margin:0 0 28px}
.ed-impressum h2{
  color:var(--ed-blue);
  font-size:18px;
  font-weight:700;
  line-height:1.3;
  margin:0 0 8px;
}
.ed-impressum p{
  color:var(--ed-text);
  font-size:16px;
  line-height:1.65;
  margin:0;
}
.ed-impressum a{color:var(--ed-orange);text-decoration:none;font-weight:500}
.ed-impressum a:hover{text-decoration:underline}


/* Founder e-mail on flip-card back */
.ed-founder-email{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  margin-top:18px;padding:10px 14px;border-radius:999px;
  background:var(--ed-orange);color:#fff;text-decoration:none;font-size:14px;font-weight:700;
  box-shadow:0 10px 20px rgba(232,129,26,.22);
}
.ed-founder-email:hover{background:#d2710f;color:#fff;text-decoration:none;transform:translateY(-1px)}
@media (max-width:560px){.ed-founder-email{font-size:13px;padding:9px 12px}}


/* ===== Flip-card ghosting/backface fix ===== */
.ed-service-flip,
.ed-founder-flip{
  perspective:1200px;
  -webkit-perspective:1200px;
  transform:translateZ(0);
  isolation:isolate;
}
.ed-service-flip-inner,
.ed-founder-flip-inner{
  transform-origin:center center;
  -webkit-transform-style:preserve-3d;
  transform-style:preserve-3d;
}
.ed-service-face,
.ed-founder-face{
  overflow:hidden;
  backface-visibility:hidden!important;
  -webkit-backface-visibility:hidden!important;
  transform-style:flat;
  -webkit-transform-style:flat;
  -webkit-font-smoothing:antialiased;
}
.ed-service-front{transform:rotateY(0deg) translateZ(1px)}
.ed-service-back{transform:rotateY(180deg) translateZ(1px)}
.ed-founder-front{transform:rotateY(0deg) translateZ(1px)}
.ed-founder-back{transform:rotateY(180deg) translateZ(1px)}
.ed-service-face *,
.ed-founder-face *{
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.ed-service-flip.is-releasing .ed-service-back,
.ed-founder-flip.is-releasing .ed-founder-back{
  pointer-events:none;
}


/* ===== Mobile/touch flip-card stability fix ===== */
.ed-service-flip.is-hover-suppressed:hover .ed-service-flip-inner,
.ed-founder-flip.is-hover-suppressed:hover .ed-founder-flip-inner{
  transform:rotateY(0deg)!important;
}
.ed-service-flip.is-hover-suppressed:hover .ed-service-face,
.ed-founder-flip.is-hover-suppressed:hover .ed-founder-face{
  box-shadow:none!important;
  border-color:#ececec!important;
}
html.edfire-touch .ed-service-flip:hover .ed-service-flip-inner,
html.edfire-touch .ed-founder-flip:hover .ed-founder-flip-inner{
  transform:rotateY(0deg)!important;
}
html.edfire-touch .ed-service-flip.is-locked .ed-service-flip-inner,
html.edfire-touch .ed-founder-flip.is-locked .ed-founder-flip-inner{
  transform:rotateY(180deg)!important;
}
html.edfire-touch .ed-service-flip:hover .ed-card-icon i,
html.edfire-touch .ed-founder-flip:hover .ed-founder-photo{
  animation:none!important;
  transform:none!important;
}
html.edfire-touch .ed-service-flip.is-locked .ed-card-icon i{
  animation:edfire-icon-float 1.8s ease-in-out infinite!important;
}
html.edfire-touch .ed-founder-flip.is-locked .ed-founder-photo{
  transform:scale(1.035)!important;
  border-color:rgba(232,129,26,.45)!important;
}
html.edfire-touch .ed-service-flip,
html.edfire-touch .ed-founder-flip{
  touch-action:manipulation;
}
@media (max-width:560px){
  .ed-flip-hint{font-size:11px;line-height:1.3;margin-top:10px}
  .ed-founder{min-height:335px}
  .ed-founder-flip-inner{min-height:335px}
  .ed-founder-face{padding:24px 20px}
}


/* ===== Small trust & contact refinements ===== */
.ed-form-privacy{margin:14px 0 0;text-align:center;color:rgba(255,255,255,.72);font-size:13px;line-height:1.5}
.ed-contact-options{order:0}
.ed-contact-form{order:1}
.ed-badge{order:2}
.ed-hero-btns .ed-btn{box-shadow:0 12px 28px rgba(232,129,26,.28)}
@media (max-width:560px){
  .ed-contact-options{order:0}
  .ed-contact-form{order:1}
  .ed-badge{order:2}
}
