/* EIDOZNET – Stylesheet */
:root {
  --dark: #030712;
  --dark-2: #0b1220;
  --dark-line: #1f2937;
  --green: #047857;
  --green-hover: #065f46;
  --green-light: #10b981;
  --green-soft: #ecfdf5;
  --bg: #fafbfc;
  --card: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --radius: 12px;
  --max: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-dark { background: var(--dark); color: #e5e7eb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #9ca3af; }
.section-alt { background: #f3f4f6; }

.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.section-dark .eyebrow { color: var(--green-light); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 16px; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 8px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; font-family: inherit; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); }
.btn-ghost { background: transparent; color: #fff; border-color: #374151; }
.btn-ghost:hover { border-color: #6b7280; background: rgba(255,255,255,.04); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(3,7,18,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--dark-line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; flex-direction: column; color: #fff; line-height: 1.1; }
.logo:hover { text-decoration: none; }
.logo strong { font-size: 1.2rem; letter-spacing: 0.08em; }
.logo span { font-size: 0.7rem; color: #9ca3af; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links a { color: #d1d5db; font-size: 0.95rem; font-weight: 500; white-space: nowrap; }
.nav-cta .btn { white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { color: #d1d5db; font-size: 0.9rem; white-space: nowrap; }
.nav-cta .btn { padding: 10px 16px; font-size: 0.9rem; }
.menu-toggle { display: none; background: none; border: 1px solid #374151; color: #fff; border-radius: 8px; padding: 8px 12px; font-size: 1rem; cursor: pointer; }

@media (max-width: 1280px) {
  .nav-phone { display: none; }
}
@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--dark); border-bottom: 1px solid var(--dark-line); padding: 8px 20px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--dark-line); }
}

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(16,185,129,.18), transparent 60%), linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); color: #fff; padding: 96px 0 72px; }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(16,185,129,.4); background: rgba(16,185,129,.1); color: #a7f3d0; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 24px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); }
.hero h1 { max-width: 880px; margin-bottom: 20px; }
.hero .sub { font-size: 1.2rem; color: #d1d5db; margin-bottom: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 18px; color: #9ca3af; font-size: 0.95rem; margin-bottom: 16px; }
.hero .note { color: #9ca3af; margin-bottom: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; color: #d1d5db; font-size: 0.95rem; list-style: none; }
.checks li::before { content: "✓"; color: var(--green-light); font-weight: 700; margin-right: 8px; }

/* Feature strip */
.strip { background: var(--dark-2); border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.strip li { color: #e5e7eb; padding: 22px 16px; font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.strip .ico { font-size: 1.3rem; }
@media (max-width: 760px) { .strip ul { grid-template-columns: repeat(2, 1fr); } }

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 8px; }
.card .claim { font-weight: 600; color: var(--green); margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .ico { font-size: 1.8rem; margin-bottom: 14px; display: block; }
/* Swiss flag (Windows does not show the 🇨🇭 emoji) */
.ch-flag { display: inline-block; width: 1em; height: 1em; border-radius: 3px; vertical-align: -0.12em; background: #da291c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M13 6h6v7h7v6h-7v7h-6v-7H6v-6h7z' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat; }
.section-dark .card { background: #0f172a; border-color: var(--dark-line); }
.section-dark .card p { color: #9ca3af; }
.section-dark .card .claim { color: var(--green-light); }
.center-cta { margin-top: 40px; }

/* Reference projects */
.project { display: grid; gap: 14px; }
.project h3 { font-size: 1.3rem; margin-bottom: 4px; }
.project dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6b7280; }
.project dd { color: var(--muted); margin-bottom: 6px; }
.project dd.result { color: var(--green); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 0.8rem; background: var(--green-soft); color: var(--green); padding: 4px 10px; border-radius: 999px; font-weight: 600; }

/* Testimonials */
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.quote blockquote { font-size: 1.05rem; color: var(--text); }
.quote cite { font-style: normal; color: var(--muted); font-size: 0.95rem; }
.quote cite strong { display: block; color: var(--text); }
.stars { color: #f59e0b; letter-spacing: 2px; }

/* About */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.about p { color: var(--muted); margin-bottom: 16px; }
.about p.strong { color: var(--text); font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stat strong { display: block; font-size: 2rem; color: var(--green); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about-side { display: grid; gap: 16px; }

/* Photos (founder, Eilya) */
.photo-card { margin: 0; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.photo-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.photo-card figcaption { padding: 14px 18px; color: var(--muted); font-size: 0.95rem; }
.photo-card figcaption strong { display: block; color: var(--text); }
.section-dark .photo-card { background: #0f172a; border-color: var(--dark-line); }
.section-dark .photo-card figcaption { color: #9ca3af; }
.section-dark .photo-card figcaption strong { color: #fff; }
.ki-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .ki-layout { grid-template-columns: 1fr; } .ki-layout .photo-card { max-width: 420px; } }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #064e3b, var(--dark)); color: #fff; border-radius: 16px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #d1fae5; max-width: 640px; margin: 0 auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info { list-style: none; display: grid; gap: 22px; }
.contact-info dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6b7280; margin-bottom: 4px; }
.contact-info dd a { color: var(--text); font-weight: 600; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; }
.form h3 { margin-bottom: -4px; }
.form .hint { color: var(--muted); font-size: 0.9rem; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: var(--text); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--green-light); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 140px; resize: vertical; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Simple text pages (Impressum, Datenschutz, Blog) */
.page-hero { background: var(--dark); color: #fff; padding: 72px 0 56px; }
.page-hero p { color: #9ca3af; font-size: 1.1rem; max-width: 720px; margin-top: 12px; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.empty-state { text-align: center; padding: 48px 24px; border: 1px dashed #d1d5db; border-radius: var(--radius); color: var(--muted); }

/* Footer */
.site-footer { background: var(--dark); color: #9ca3af; padding: 56px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: #9ca3af; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--dark-line); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
