/*
Theme Name: Hey Manni
Theme URI: https://hey-manni.de
Author: Fokusweite
Author URI: https://agentur.fokusweite.de
Description: Hey Manni – der KI-Kollege fürs Handwerk. Ein-Betrieb-Landing-Theme mit Start-, Preise-, Über- und Kontaktseite.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: hey-manni
*/

:root{
  --navy:#1B3050;
  --navy-light:#2E4670;
  --navy-dark:#16283F;
  --orange:#E05818;
  --orange-dark:#C4470F;
  --cream:#F0E6D8;
  --ink:#24344A;
  --muted:#5B6B82;
  --white:#FFFFFF;
  --line:rgba(27,48,80,.1);
  --radius:14px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Open Sans',system-ui,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.55;
}
h1,h2,h3,h4{ font-family:'Montserrat',sans-serif; color:var(--navy); margin:0 0 .5em; line-height:1.15; }
a{ color:inherit; }
img,svg{ display:block; max-width:100%; }
.wrap{ max-width:1100px; margin:0 auto; padding:0 24px; }

.eyebrow{
  display:inline-block; font-family:'Montserrat',sans-serif; font-weight:700;
  font-size:.75rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--orange-dark); background:rgba(224,88,24,.1);
  padding:6px 14px; border-radius:999px; margin-bottom:18px;
}
.eyebrow.on-navy{ color:#F6C9A8; background:rgba(224,88,24,.2); }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Montserrat',sans-serif; font-weight:700; font-size:1rem;
  padding:14px 28px; border-radius:10px; text-decoration:none;
  border:2px solid transparent; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:focus-visible{ outline:3px solid var(--orange-dark); outline-offset:3px; }
.btn-primary{ background:var(--orange); color:var(--white); box-shadow:0 6px 20px rgba(224,88,24,.28); }
.btn-primary:hover{ background:var(--orange-dark); transform:translateY(-2px); }
.btn-ghost{ background:transparent; color:var(--white); border-color:rgba(255,255,255,.5); }
.btn-ghost:hover{ border-color:#fff; }
.btn-dark{ background:var(--navy); color:#fff; }
.btn-dark:hover{ background:var(--navy-light); transform:translateY(-2px); }

/* ---------- HEADER / NAV ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--navy);
  border-bottom:1px solid rgba(255,255,255,.1);
}
.nav{
  max-width:1100px; margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.3rem;
  color:#fff; text-decoration:none; letter-spacing:.01em;
}
.brand img{ width:34px; height:34px; }
.brand .ai{ color:var(--orange); }
.nav-links{ display:flex; align-items:center; gap:10px; }
.nav-links a{
  font-family:'Montserrat',sans-serif; font-weight:600; font-size:.95rem;
  color:rgba(255,255,255,.82); text-decoration:none;
  padding:8px 12px; border-radius:8px; transition:color .15s ease, background .15s ease;
}
.nav-links a:hover{ color:#fff; }
.nav-links a.active{ color:#fff; }
.nav-links a.cta-nav{
  background:var(--orange); color:#fff; padding:9px 18px;
}
.nav-links a.cta-nav:hover{ background:var(--orange-dark); }
.nav-toggle{ display:none; }
.nav-burger{
  display:none; cursor:pointer; color:#fff; font-size:1.5rem; line-height:1;
  padding:6px 10px; border-radius:8px; user-select:none;
}

/* ---------- HERO (front page) ---------- */
.hero{
  background:linear-gradient(160deg,var(--navy) 0%,var(--navy-light) 100%);
  color:var(--white); padding:72px 0 90px; overflow:hidden;
}
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.hero h1{ color:#fff; font-size:clamp(2.6rem,6vw,4.2rem); font-weight:800; margin-bottom:.3em; }
.hero h1 .ai{ color:var(--orange); }
.hero .lead{ font-size:1.2rem; color:rgba(255,255,255,.86); max-width:46ch; margin-bottom:32px; }
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; }

.phone{
  background:#0F1D33; border-radius:32px; padding:14px;
  box-shadow:0 30px 60px rgba(0,0,0,.35),0 0 0 8px rgba(255,255,255,.03);
  max-width:340px; margin:0 auto;
}
.phone-screen{ background:var(--cream); border-radius:22px; padding:18px 14px 22px; min-height:420px; display:flex; flex-direction:column; gap:10px; }
.phone-header{ display:flex; align-items:center; gap:10px; padding-bottom:12px; margin-bottom:6px; border-bottom:1px solid rgba(27,48,80,.12); }
.phone-header .avatar{ width:38px; height:38px; border-radius:50%; overflow:hidden; flex-shrink:0; background:var(--cream); }
.phone-header .name{ font-family:'Montserrat',sans-serif; font-weight:700; color:var(--navy); font-size:.95rem; }
.phone-header .status{ font-size:.75rem; color:#4C9A5A; }
.bubble{ max-width:82%; padding:10px 14px; border-radius:16px; font-size:.88rem; opacity:0; animation:pop .5s ease forwards; }
.bubble.in{ background:#fff; color:var(--ink); align-self:flex-start; border-bottom-left-radius:4px; box-shadow:0 2px 6px rgba(27,48,80,.08); }
.bubble.out{ background:var(--orange); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.bubble:nth-child(2){ animation-delay:.2s; }
.bubble:nth-child(3){ animation-delay:.9s; }
.bubble:nth-child(4){ animation-delay:1.6s; }
.bubble:nth-child(5){ animation-delay:2.3s; }
@keyframes pop{ from{opacity:0;transform:translateY(6px);} to{opacity:1;transform:translateY(0);} }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero{
  background:linear-gradient(160deg,var(--navy) 0%,var(--navy-light) 100%);
  color:#fff; padding:64px 0 56px; text-align:center;
}
.page-hero h1{ color:#fff; font-size:clamp(2rem,4.5vw,3rem); font-weight:800; margin-bottom:.35em; }
.page-hero h1 .ai{ color:var(--orange); }
.page-hero p{ color:rgba(255,255,255,.85); font-size:1.12rem; max-width:60ch; margin:0 auto; }

/* ---------- SECTIONS ---------- */
section{ padding:84px 0; }
section.alt{ background:var(--cream); }
.section-head{ max-width:680px; margin:0 auto 48px; text-align:center; }
.section-head h2{ font-size:clamp(1.8rem,3.4vw,2.4rem); }
.section-head p{ color:var(--muted); font-size:1.05rem; }

/* problems */
.problems{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; max-width:820px; margin:0 auto; }
.problem{ display:flex; gap:14px; align-items:flex-start; padding:18px; background:var(--white); border-radius:var(--radius); border:1px solid var(--line); }
.problem .x{ flex-shrink:0; width:28px; height:28px; border-radius:50%; background:rgba(224,88,24,.12); color:var(--orange-dark); font-weight:700; display:flex; align-items:center; justify-content:center; font-family:'Montserrat',sans-serif; }
.problem p{ margin:0; color:var(--ink); font-size:.96rem; }

/* features */
.features{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.feature{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:26px 22px; transition:transform .15s ease, box-shadow .15s ease; }
.feature:hover{ transform:translateY(-4px); box-shadow:0 14px 30px rgba(27,48,80,.1); }
.feature .icon{ width:44px; height:44px; border-radius:12px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:16px; }
.feature h3{ font-size:1.05rem; margin-bottom:6px; }
.feature p{ color:var(--muted); font-size:.92rem; margin:0; }

/* steps */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.step .num{ font-family:'Montserrat',sans-serif; font-weight:800; font-size:2.6rem; color:rgba(27,48,80,.14); line-height:1; margin-bottom:8px; }
.step h3{ font-size:1.1rem; }
.step p{ color:var(--muted); margin:0; font-size:.95rem; }

/* story */
.story{ display:grid; grid-template-columns:.8fr 1.2fr; gap:48px; align-items:center; }
.mascot-wrap{ background:var(--navy); border-radius:24px; padding:32px; display:flex; align-items:center; justify-content:center; }
.mascot-wrap img{ max-width:220px; }
.story blockquote{ margin:0 0 20px; font-family:'Montserrat',sans-serif; font-weight:700; font-size:1.3rem; color:var(--navy); line-height:1.4; }
.story p{ color:var(--muted); }
.privacy-note{ margin-top:22px; padding:16px 18px; background:var(--cream); border-left:4px solid var(--orange); border-radius:8px; font-size:.92rem; color:var(--ink); }

/* CTA band */
.cta-band{ background:linear-gradient(160deg,var(--navy) 0%,var(--navy-light) 100%); color:#fff; text-align:center; border-radius:24px; padding:64px 32px; }
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.85); max-width:52ch; margin:0 auto 30px; }

/* ---------- PRICING ---------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
.tier{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:32px 26px; display:flex; flex-direction:column; }
.tier.featured{ border:2px solid var(--orange); box-shadow:0 20px 40px rgba(224,88,24,.12); position:relative; }
.tier .badge{ position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--orange); color:#fff; font-family:'Montserrat',sans-serif; font-weight:700; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; padding:6px 14px; border-radius:999px; }
.tier h3{ font-size:1.4rem; margin-bottom:4px; }
.tier .tier-sub{ color:var(--muted); font-size:.92rem; margin-bottom:20px; min-height:2.6em; }
.tier .price{ font-family:'Montserrat',sans-serif; font-weight:800; color:var(--navy); font-size:1.5rem; margin-bottom:22px; }
.tier .price small{ display:block; font-size:.8rem; font-weight:600; color:var(--muted); }
.tier ul{ list-style:none; margin:0 0 26px; padding:0; display:flex; flex-direction:column; gap:11px; }
.tier li{ display:flex; gap:10px; align-items:flex-start; font-size:.94rem; color:var(--ink); }
.tier li::before{ content:"✓"; color:var(--orange); font-weight:800; flex-shrink:0; }
.tier .btn{ margin-top:auto; justify-content:center; }

/* ---------- TIMELINE (about) ---------- */
.about-intro{ max-width:720px; margin:0 auto 56px; text-align:center; color:var(--muted); font-size:1.08rem; }
.timeline{ max-width:720px; margin:0 auto; position:relative; padding-left:34px; }
.timeline::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background:var(--line); }
.t-item{ position:relative; padding:0 0 34px; }
.t-item:last-child{ padding-bottom:0; }
.t-item::before{ content:""; position:absolute; left:-30px; top:4px; width:14px; height:14px; border-radius:50%; background:var(--orange); box-shadow:0 0 0 4px rgba(224,88,24,.15); }
.t-year{ font-family:'Montserrat',sans-serif; font-weight:800; color:var(--orange-dark); font-size:1.05rem; margin-bottom:2px; }
.t-item h3{ font-size:1.1rem; margin-bottom:4px; }
.t-item p{ color:var(--muted); margin:0; font-size:.96rem; }

/* ---------- CONTACT ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.2fr; gap:48px; align-items:start; }
.contact-card{ background:var(--cream); border-radius:18px; padding:30px; }
.contact-card h3{ font-size:1.2rem; margin-bottom:16px; }
.contact-item{ display:flex; gap:12px; align-items:flex-start; margin-bottom:16px; }
.contact-item .ci-icon{ width:38px; height:38px; border-radius:10px; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-item .ci-label{ font-family:'Montserrat',sans-serif; font-weight:700; color:var(--navy); font-size:.9rem; }
.contact-item .ci-value{ color:var(--muted); font-size:.94rem; }
.contact-item a{ color:var(--orange-dark); text-decoration:none; }
.contact-item a:hover{ text-decoration:underline; }

.contact-form{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:30px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-family:'Montserrat',sans-serif; font-weight:600; font-size:.88rem; color:var(--navy); margin-bottom:6px; }
.field input, .field textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:10px;
  font-family:inherit; font-size:.95rem; color:var(--ink); background:#fff; transition:border-color .15s ease;
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--orange); }
.field textarea{ min-height:130px; resize:vertical; }
.form-note{ font-size:.82rem; color:var(--muted); margin-top:14px; }

/* ---------- GENERIC PAGE CONTENT (fallback page.php) ---------- */
.page-content{ max-width:760px; margin:0 auto; }
.page-content h2{ margin-top:1.6em; }
.page-content p, .page-content li{ color:var(--ink); }
.page-content img{ border-radius:12px; margin:1.4em 0; }

/* ---------- FOOTER ---------- */
.site-footer{ padding:40px 0; text-align:center; color:var(--muted); font-size:.85rem; background:#fff; border-top:1px solid var(--line); }
.site-footer .foot-brand{ display:inline-flex; align-items:center; gap:8px; font-family:'Montserrat',sans-serif; font-weight:800; color:var(--navy); margin-bottom:8px; }
.site-footer .foot-brand .ai{ color:var(--orange); }
.site-footer .foot-brand img{ width:26px; height:26px; }
.site-footer a{ text-decoration:underline; text-underline-offset:3px; }
.site-footer .foot-links{ margin-top:6px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:860px){
  .nav-burger{ display:block; }
  .nav-links{
    display:none; position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--navy); border-bottom:1px solid rgba(255,255,255,.1);
    padding:8px 16px 16px;
  }
  .nav-toggle:checked ~ .nav-links{ display:flex; }
  .nav-links a{ padding:12px 8px; }
  .nav-links a.cta-nav{ text-align:center; margin-top:6px; }
  .nav{ position:relative; }

  .hero-grid{ grid-template-columns:1fr; }
  .hero-grid .phone{ order:-1; }
  .problems{ grid-template-columns:1fr; }
  .features{ grid-template-columns:1fr 1fr; }
  .steps{ grid-template-columns:1fr; }
  .story{ grid-template-columns:1fr; }
  .mascot-wrap{ max-width:260px; margin:0 auto; }
  .pricing-grid{ grid-template-columns:1fr; }
  .tier.featured{ order:-1; }
  .contact-grid{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  .features{ grid-template-columns:1fr; }
  section{ padding:60px 0; }
}
@media (prefers-reduced-motion:reduce){
  .bubble{ animation:none; opacity:1; }
  *{ scroll-behavior:auto; }
}
