/* ===== EY Digital – Grundstil =====
   Farben zentral hier ändern. Keine externen Schriften (Google Fonts)
   → DSGVO-freundlich, es werden keine Daten an Dritte gesendet. */
:root {
  --ink: #0f1729;
  --ink-soft: #1c2640;
  --text: #2a3347;
  --muted: #667085;
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --accent: #ff6b2c;
  --accent-dark: #e0551a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 41, 0.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: light; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* ----- Navigation ----- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid #eceef3; }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-weight: 800; font-size: 1.35rem; text-decoration: none; color: var(--ink); letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--text); }
.nav-links a:hover { color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ----- Buttons ----- */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-small { padding: 10px 20px; }

/* ----- Hero ----- */
.hero { background: radial-gradient(circle at 80% 20%, #2b3a63 0%, var(--ink) 55%); color: #fff; padding: 110px 0 120px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.badge { display: inline-block; background: rgba(255,107,44,0.15); color: #ffb08c; padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -1px; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 1.15rem; color: #c5cbe0; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 24px; margin-top: 34px; flex-wrap: wrap; color: #c5cbe0; font-size: .95rem; }
.hero-points span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Browser-Mockup im Hero */
.hero-visual { position: relative; padding: 0 30px 40px 0; }
.mockup { background: #fff; border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,0.45); overflow: hidden; transform: rotate(-1.5deg); }
.mockup-bar { background: #e9ecf2; padding: 10px 14px; display: flex; gap: 6px; }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9ced8; }
.mockup-shot { width: 100%; height: auto; display: block; }
.phone { position: absolute; right: -10px; bottom: -10px; width: 30%; aspect-ratio: 9 / 18; background: #0b0f1a; border-radius: 26px; padding: 7px; box-shadow: 0 25px 50px rgba(0,0,0,0.55); transform: rotate(4deg); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; }

/* ----- Sektionen ----- */
section { padding: 100px 0; }
.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: .85rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--ink); margin: 10px 0 14px; letter-spacing: -0.5px; line-height: 1.2; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(255,107,44,0.12); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { color: var(--ink); margin-bottom: 8px; font-size: 1.2rem; }
.card p { color: var(--muted); }

/* Branchen */
.branchen { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.branchen span { background: #fff; border: 1px solid #e3e6ee; padding: 10px 20px 10px 14px; border-radius: 999px; font-weight: 500; display: inline-flex; align-items: center; gap: 10px; transition: transform .15s, border-color .15s; }
.branchen span:hover { transform: translateY(-2px); border-color: var(--accent); }
.branchen svg { color: var(--accent); flex-shrink: 0; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 10px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 16px; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.step::before { position: absolute; top: 20px; right: 20px; width: 32px; height: 32px; margin: 0; font-size: .9rem; background: var(--bg-alt); color: var(--muted); }
.step-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), #ff9a5c); color: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 8px 20px rgba(255,107,44,.3); }
.step-icon svg { width: 26px; height: 26px; }
.step h3 { color: var(--ink); margin-bottom: 6px; }
.step p { color: var(--muted); }

/* Referenzen */
.demo-card { display: block; text-decoration: none; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.demo-card:hover { transform: translateY(-6px); }
.demo-thumb { width: 100%; height: 210px; object-fit: cover; object-position: top; display: block; border-bottom: 1px solid #eceef3; transition: transform .4s; }
.demo-card:hover .demo-thumb { transform: scale(1.03); }
.demo-info { padding: 22px; }
.demo-info h3 { color: var(--ink); }
.demo-info p { color: var(--muted); font-size: .95rem; }
.demo-info .link { color: var(--accent); font-weight: 600; margin-top: 10px; display: inline-block; }
.soon { opacity: .6; pointer-events: none; }

/* Preise */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price { background: #fff; border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 2px solid transparent; }
.price.featured { border-color: var(--accent); position: relative; }
.price.featured::before { content: "Beliebt"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.price.free::before { content: "Testphase"; }
.price h3 { color: var(--ink); font-size: 1.3rem; }
.price .desc { color: var(--muted); font-size: .95rem; margin: 6px 0 20px; }
.price .amount { font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.price .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price .monthly { color: var(--muted); margin: 8px 0 24px; }
.price .monthly b { color: var(--ink); }
.price ul { list-style: none; margin-bottom: 30px; flex: 1; }
.price li { padding: 7px 0; border-bottom: 1px solid #f0f1f5; }
.price li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.price .btn { text-align: center; }
.price-note { text-align: center; color: var(--muted); margin-top: 28px; font-size: .92rem; }

/* Über mich */
.about-card { display: grid; grid-template-columns: 220px 1fr; gap: 50px; align-items: center; max-width: 900px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 44px; box-shadow: var(--shadow); }
.about-avatar { width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2b3a63, var(--ink) 70%); display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 8px rgba(255,107,44,.15); }
.about-avatar span { color: #fff; font-size: 4.2rem; font-weight: 800; letter-spacing: -2px; }
.about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.about-card .eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: .85rem; }
.about-card h2 { color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 8px 0 14px; }
.about-card p { color: var(--muted); margin-bottom: 12px; }
.about-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.about-facts span { background: var(--bg-alt); padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500; }
@media (max-width: 760px) {
  .about-card { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; gap: 24px; }
  .about-avatar { width: 150px; height: 150px; margin: 0 auto; }
  .about-avatar span { font-size: 3rem; }
  .about-facts { justify-content: center; }
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 12px; padding: 20px 24px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; } /* Safari/iPhone: Standard-Dreieck ausblenden */
.faq summary::marker { content: ""; }
.faq summary::after { flex-shrink: 0; margin-left: 12px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Kontakt */
.contact { background: var(--ink); color: #fff; }
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.2; margin-bottom: 16px; }
.contact p { color: #c5cbe0; }
form { background: var(--ink-soft); padding: 32px; border-radius: var(--radius); display: grid; gap: 16px; }
label { font-size: .9rem; font-weight: 600; display: grid; gap: 6px; color: #dfe3ef; }
input, select, textarea { font: inherit; padding: 13px 14px; border-radius: 10px; border: 1px solid #34405e; background: #121b30; color: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: #c5cbe0; }
.check input { margin-top: 4px; }
.form-msg { color: #9be7b8; font-weight: 600; display: none; }

/* Footer */
footer { background: #0a1020; color: #8d95ab; padding: 30px 0; font-size: .9rem; }
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { text-decoration: none; margin-left: 18px; }
footer a:hover { color: #fff; }

/* ----- Handy ----- */
@media (max-width: 900px) {
  .hero .container, .contact .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-top: 10px; }
  .grid-3, .pricing { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 18px; border-bottom: 1px solid #eceef3; }
  .nav-links.open { display: flex; }
  section { padding: 70px 0; }
}
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ----- Tablet (z. B. iPad hochkant) ----- */
@media (min-width: 601px) and (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .card { padding: 22px; }
  .demo-thumb { height: 150px; }
  .demo-info { padding: 16px; }
}

/* Footer-Links größer zum Antippen */
footer a { display: inline-block; padding: 10px 0; }
