/*
Theme Name: Healthcare Robotics
Theme URI: https://www.healthcare-robots.de
Author: David Erstling
Author URI: https://www.healthcare-robots.de
Description: Modernes WordPress Theme für Healthcare Robotics – Pflegeroboter für mehr Menschlichkeit.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: healthcare-robotics
*/

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark: #080e1a;
  --navy: #0f172a;
  --blue: #1d4ed8;
  --accent: #3b82f6;
  --accentL: #60a5fa;
  --accentXL: #bfdbfe;
  --warm: #f59e0b;
  --warmL: #fef3c7;
  --white: #ffffff;
  --muted: #94a3b8;
  --text: #1e293b;
  --soft: #475569;
  --border: #e2e8f0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Sora', sans-serif; background: var(--dark); color: #fff; overflow-x: hidden; margin: 0; padding: 0; }

/* ── NAVIGATION ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 2rem; transition: all .4s; }
.site-header.scrolled { background: rgba(8,14,26,0.96); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 76px; }
.site-branding a { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.logo-icon { width: 42px; height: 42px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: white; letter-spacing: .5px; flex-shrink: 0; }
.logo-text { font-size: 15px; font-weight: 700; color: white; line-height: 1.1; }
.logo-text span { display: block; color: var(--accentL); font-weight: 400; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; }
.main-navigation ul { list-style: none; display: flex; align-items: center; gap: 2.5rem; margin: 0; padding: 0; }
.main-navigation ul li a { text-decoration: none; color: rgba(255,255,255,0.72); font-size: 14px; font-weight: 500; transition: color .2s; }
.main-navigation ul li a:hover { color: #fff; }
.main-navigation ul li.nav-cta a { background: var(--accent); color: #fff; padding: .5rem 1.35rem; border-radius: 50px; font-size: 13px; }
.main-navigation ul li.nav-cta a:hover { background: var(--blue); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; }

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.site-content { padding-top: 76px; }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: .1s; } .rd2 { transition-delay: .2s; } .rd3 { transition-delay: .3s; } .rd4 { transition-delay: .4s; }

/* ── HERO ── */
.hero-section { min-height: 100vh; display: flex; align-items: center; background: radial-gradient(ellipse at 70% 30%, rgba(59,130,246,.12) 0%, transparent 60%), radial-gradient(ellipse at 10% 80%, rgba(29,78,216,.08) 0%, transparent 50%), var(--dark); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 130px 0 90px; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(59,130,246,.14); border: 1px solid rgba(59,130,246,.3); color: var(--accentL); padding: .4rem 1rem; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.hero-section h1 { font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -1.5px; margin-bottom: 1.5rem; }
.hero-section h1 em { font-style: normal; color: var(--accentL); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.62); line-height: 1.72; max-width: 480px; margin-bottom: 2.5rem; font-family: 'Lora', serif; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent); color: #fff; padding: .85rem 2rem; border-radius: 50px; font-size: .92rem; font-weight: 600; text-decoration: none; transition: all .25s; }
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(59,130,246,.35); }
.btn-secondary { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); color: #fff; padding: .85rem 2rem; border-radius: 50px; font-size: .92rem; font-weight: 500; text-decoration: none; transition: all .25s; }
.btn-secondary:hover { background: rgba(255,255,255,.13); }
.hero-visual { display: flex; justify-content: center; position: relative; }
.hero-robot-wrap { position: relative; }
.hero-robot-wrap img { width: 400px; max-width: 100%; filter: drop-shadow(0 40px 80px rgba(59,130,246,.3)); animation: float 6s ease-in-out infinite; }
.hero-glow { position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); width: 280px; height: 70px; background: radial-gradient(ellipse, rgba(59,130,246,.4) 0%, transparent 70%); border-radius: 50%; filter: blur(20px); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accentL); }
.stat-label { font-size: .75rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-top: .2rem; }

/* ── SECTION COMMON ── */
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 1.5rem; }
.section-title em { font-style: normal; color: var(--accentL); }
.section-sub { font-size: 1.05rem; color: rgba(255,255,255,.52); font-family: 'Lora', serif; line-height: 1.72; max-width: 600px; }

/* ── PAIN ── */
.pain-section { padding: 120px 0; background: var(--navy); }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 5rem; }
.pain-img-wrap { position: relative; }
.pain-img-wrap img { width: 100%; border-radius: 20px; display: block; }
.pain-badge { position: absolute; bottom: -18px; right: -18px; background: var(--accent); color: #fff; padding: 1.1rem 1.6rem; border-radius: 16px; font-size: 1.85rem; font-weight: 800; box-shadow: 0 20px 50px rgba(59,130,246,.4); }
.pain-badge span { display: block; font-size: .72rem; font-weight: 500; opacity: .85; letter-spacing: .5px; margin-top: .1rem; }
.pain-points { display: flex; flex-direction: column; gap: 1.4rem; }
.pain-point { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.4rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 14px; transition: border-color .3s; }
.pain-point:hover { border-color: rgba(59,130,246,.35); }
.pain-icon { font-size: 1.7rem; flex-shrink: 0; }
.pain-point h3 { font-size: .97rem; font-weight: 700; margin-bottom: .35rem; }
.pain-point p { font-size: .86rem; color: rgba(255,255,255,.52); line-height: 1.62; }

/* ── PRODUCTS GRID ── */
.products-section { padding: 140px 0; background: var(--dark); }
.products-header { text-align: center; max-width: 700px; margin: 0 auto 5rem; }
.products-header .section-sub { margin: 0 auto; }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.products-grid.grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.product-card { border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff; display: block; }
.product-card-inner { position: relative; height: 460px; overflow: hidden; }
.product-card-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; display: block; }
.product-card:hover .product-card-inner img { transform: scale(1.05); }
.product-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,14,26,.95) 0%, rgba(8,14,26,.5) 50%, transparent 100%); }
.product-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; }
.product-tag { display: inline-block; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: .28rem .8rem; border-radius: 50px; margin-bottom: .9rem; }
.product-card h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.8px; margin-bottom: .5rem; }
.product-card p { font-size: .85rem; color: rgba(255,255,255,.62); line-height: 1.6; margin-bottom: 1.2rem; font-family: 'Lora', serif; }
.product-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem; font-weight: 600; color: var(--accentL); }
.product-link::after { content: '→'; transition: transform .25s; }
.product-card:hover .product-link::after { transform: translateX(6px); }

/* ── EMOTION ── */
.emotion-section { padding: 140px 0; background: var(--navy); overflow: hidden; }
.emotion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.emotion-img-main { width: 100%; border-radius: 20px; display: block; }
.emotion-img-float { position: absolute; bottom: -28px; right: -28px; width: 42%; border-radius: 16px; border: 4px solid var(--navy); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.emotion-visual { position: relative; }
.emotion-points { display: flex; flex-direction: column; gap: 2rem; margin-top: 2.5rem; }
.emotion-point { display: flex; gap: 1.2rem; align-items: flex-start; }
.emotion-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; flex-shrink: 0; }
.eicon-warm { background: rgba(245,158,11,.14); }
.eicon-blue { background: rgba(59,130,246,.14); }
.eicon-rose { background: rgba(225,29,72,.14); }
.emotion-point h3 { font-size: 1rem; font-weight: 700; margin-bottom: .38rem; }
.emotion-point p { font-size: .87rem; color: rgba(255,255,255,.52); line-height: 1.65; font-family: 'Lora', serif; }

/* ── QUOTE ── */
.quote-section { padding: 100px 0; background: var(--accent); }
.quote-inner { max-width: 860px; margin: 0 auto; text-align: center; padding: 0 2rem; }
.quote-mark { font-size: 5rem; line-height: .8; color: rgba(255,255,255,.2); font-family: 'Lora', serif; margin-bottom: .5rem; }
.quote-text { font-size: clamp(1.4rem, 2.5vw, 2.1rem); font-family: 'Lora', serif; font-style: italic; line-height: 1.55; margin-bottom: 2rem; }
.quote-attr { font-size: .82rem; letter-spacing: 2px; text-transform: uppercase; opacity: .72; }

/* ── CTA ── */
.cta-section { padding: 140px 0; background: var(--dark); }
.cta-inner { background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,.14) 0%, transparent 60%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 28px; padding: 5rem; text-align: center; }
.cta-inner h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 1.2rem; }
.cta-inner p { font-size: 1rem; color: rgba(255,255,255,.52); font-family: 'Lora', serif; line-height: 1.72; max-width: 560px; margin: 0 auto 2.5rem; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── PRODUCT PAGE ── */
.product-hero { min-height: 85vh; display: flex; align-items: center; background: radial-gradient(ellipse at 75% 25%, rgba(59,130,246,.1) 0%, transparent 50%), var(--dark); }
.product-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; padding: 130px 0 80px; }
.product-hero h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 1.2rem; }
.product-hero-img img { width: 100%; max-width: 460px; margin: 0 auto; display: block; filter: drop-shadow(0 40px 80px rgba(59,130,246,.28)); animation: float 6s ease-in-out infinite; }
.features-section { padding: 100px 0; background: var(--navy); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.feature-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 1.8rem; transition: all .3s; }
.feature-card:hover { background: rgba(59,130,246,.08); border-color: rgba(59,130,246,.3); transform: translateY(-4px); }
.feature-icon { font-size: 2rem; margin-bottom: .9rem; }
.feature-card h3 { font-size: .97rem; font-weight: 700; margin-bottom: .45rem; }
.feature-card p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.65; font-family: 'Lora', serif; }

/* ── PRICING ── */
.pricing-section { padding: 80px 0 120px; background: var(--navy); }
.pricing-box { background: var(--accent); border-radius: 24px; padding: 3rem; text-align: center; max-width: 700px; margin: 0 auto; }
.pricing-price { font-size: 4rem; font-weight: 800; letter-spacing: -2px; }
.pricing-sub { font-size: 1rem; opacity: .82; margin-bottom: 2rem; }
.pricing-includes { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 2.5rem; }
.pricing-tag { background: rgba(255,255,255,.16); padding: .32rem .9rem; border-radius: 50px; font-size: .8rem; }

/* ── CONTACT ── */
.contact-hero { padding: 140px 0 60px; background: var(--dark); }
.contact-section { background: var(--dark); padding: 60px 0 140px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; }
.contact-info h2 { font-size: 1.45rem; font-weight: 700; margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-detail-icon { width: 44px; height: 44px; background: rgba(59,130,246,.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-detail p { font-size: .87rem; color: var(--muted); }
.contact-detail strong { display: block; color: #fff; margin-bottom: .15rem; }
.contact-note { background: rgba(59,130,246,.08); border: 1px solid rgba(59,130,246,.2); border-radius: 16px; padding: 1.8rem; margin-top: 3rem; }
.contact-note-label { font-size: .82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.contact-note p { font-size: .88rem; color: rgba(255,255,255,.58); line-height: 1.65; }
.contact-form-wrap { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 3rem; }
.contact-form-wrap h2 { font-size: 1.4rem; margin-bottom: 2rem; }

/* WP contact form overrides */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: .85rem 1rem; color: #fff; font-family: 'Sora', sans-serif; font-size: .88rem; outline: none; transition: border-color .25s; margin-bottom: 1rem; display: block; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--accent); }
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.wpcf7 input[type="submit"] { width: 100%; background: var(--accent); color: #fff; border: none; padding: 1rem; border-radius: 10px; font-family: 'Sora', sans-serif; font-size: .97rem; font-weight: 700; cursor: pointer; transition: all .25s; }
.wpcf7 input[type="submit"]:hover { background: var(--blue); transform: translateY(-2px); }
.wpcf7-form label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .5px; color: rgba(255,255,255,.55); margin-bottom: .3rem; text-transform: uppercase; }

/* ── FOOTER ── */
.site-footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.06); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: .87rem; color: var(--muted); line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer-col h4 { font-size: .75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.footer-col a, .footer-col ul li a { display: block; color: rgba(255,255,255,.58); text-decoration: none; font-size: .87rem; margin-bottom: .6rem; transition: color .2s; }
.footer-col a:hover, .footer-col ul li a:hover { color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .78rem; color: var(--muted); }

/* ── WORDPRESS DEFAULTS RESET ── */
.wp-block-image img, img { max-width: 100%; height: auto; }
a { color: var(--accentL); }
p { margin-bottom: 1rem; }
.entry-content h2, .entry-content h3 { color: #fff; margin: 2rem 0 1rem; }
.entry-content p { color: rgba(255,255,255,.65); font-family: 'Lora', serif; line-height: 1.72; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .pain-grid, .products-grid, .emotion-grid,
  .product-hero-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-robot-wrap img { width: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .products-grid.grid-2 { grid-template-columns: 1fr; }
  .product-card-inner { height: 380px; }
  .cta-inner { padding: 3rem 2rem; }
  .pain-badge { right: 0; bottom: -10px; }
  .emotion-img-float { display: none; }
  .main-navigation ul { display: none; flex-direction: column; position: fixed; top: 76px; left: 0; right: 0; background: rgba(8,14,26,.97); backdrop-filter: blur(20px); padding: 2rem; gap: 1.5rem; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.06); }
  .main-navigation ul.open { display: flex; }
  .nav-toggle { display: flex; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
