/* Industrieminuten Rechner — App Landing (DE) */

:root {
  --teal-900: #0a2f2c;
  --teal-800: #0e4a47;
  --teal-700: #145652;
  --teal-600: #1a6b65;
  --cream: #f4efe6;
  --cream-dark: #e8e0d4;
  --surface: #faf8f4;
  --card: #ffffff;
  --text: #1a2422;
  --text-muted: #4a5c58;
  --text-faint: #6b7d79;
  --accent: #2d8f6f;
  --accent-hover: #247a5f;
  --accent-rgb: 45, 143, 111;
  --border: rgba(14, 74, 71, 0.12);
  --border-strong: rgba(14, 74, 71, 0.22);
  --shadow: 0 24px 60px rgba(10, 47, 44, 0.12);
  --shadow-sm: 0 8px 24px rgba(10, 47, 44, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1120px;
  --nav-h: 4.5rem;
  --font: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "Segoe UI", sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--nav-h);
  font-family: var(--font);
  background: var(--surface);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-800); text-decoration: underline; text-underline-offset: 0.12em; }
a:hover { text-decoration-thickness: 2px; }
.brand,
.btn,
.nav-links a,
.guide-card,
.app-store-badge { text-decoration: none; }
.brand:hover,
.btn:hover,
.nav-links a:hover,
.guide-card:hover { text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Nav */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.brand-title { font-weight: 650; font-size: 0.95rem; letter-spacing: -0.02em; }
.brand-sub { font-size: 0.72rem; color: var(--text-muted); }

.nav-links {
  display: none;
  gap: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-links a { color: var(--text-muted); text-decoration: none; }
.nav-links a:hover { color: var(--teal-800); text-decoration: underline; }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--teal-800);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 74, 71, 0.35);
}
.btn-primary:hover {
  background: var(--teal-900);
  color: #fff;
}
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.8125rem; }
.btn-ghost {
  background: transparent;
  color: var(--teal-800);
  border: 1px solid var(--border-strong);
}

.menu-btn {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
}
.menu-icon {
  width: 18px;
  height: 2px;
  background: var(--teal-800);
  position: relative;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--teal-800);
}
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.25rem;
  z-index: 99;
  box-shadow: var(--shadow-sm);
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-drawer a { font-weight: 500; color: var(--text); text-decoration: none; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background: linear-gradient(165deg, var(--cream) 0%, var(--surface) 55%, #fff 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 0.85fr; gap: 3rem; }
  .hero { padding: 4rem 0 4.5rem; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 0.75rem;
}
.hero-eyebrow img { width: 28px; height: 28px; border-radius: 7px; }

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--teal-900);
}
.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.app-store-badge img { height: 44px; width: auto; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.trust-row span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.phone-frame {
  position: relative;
  max-width: 280px;
  margin-inline: auto;
  border-radius: 32px;
  padding: 8px;
  background: var(--teal-900);
  box-shadow: var(--shadow);
}
.phone-frame img { border-radius: 26px; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--cream); }
.section-title { margin-bottom: 2rem; max-width: 36rem; }
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--teal-900);
}
.section-title p { margin: 0; color: var(--text-muted); }

.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--teal-900);
}
.card p { margin: 0; font-size: 0.9375rem; color: var(--text-muted); }

.steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding-top: 0.5rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--teal-800);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.step h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.step p { margin: 0; font-size: 0.875rem; color: var(--text-muted); }

/* Screenshot gallery */
.gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.gallery-item {
  flex: 0 0 min(72vw, 240px);
  scroll-snap-align: start;
}
.gallery-item img {
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.gallery-caption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}
@media (min-width: 900px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }
  .gallery-item { flex: unset; }
}

.use-list {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) { .use-list { grid-template-columns: 1fr 1fr; } }
.use-item {
  padding: 1.25rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.use-item strong { display: block; margin-bottom: 0.35rem; color: var(--teal-900); }

.guide-cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .guide-cards { grid-template-columns: repeat(2, 1fr); } }
.guide-card {
  display: block;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.guide-card:hover {
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}
.guide-card h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--teal-800); }
.guide-card p { margin: 0; font-size: 0.875rem; color: var(--text-muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; max-width: 42rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.15rem;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--teal-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--text-faint);
  flex-shrink: 0;
}
.faq-item.is-open .faq-q::after { content: "−"; }
.faq-a {
  display: none;
  padding: 0 1.15rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.faq-item.is-open .faq-a { display: block; }
.faq-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: underline;
}

/* CTA band */
.cta-band {
  padding: 3rem 0;
  background: var(--teal-800);
  color: #fff;
  text-align: center;
}
.cta-band h2 { margin: 0 0 0.5rem; font-size: clamp(1.35rem, 3vw, 1.75rem); }
.cta-band p { margin: 0 auto 1.25rem; max-width: 28rem; opacity: 0.9; }
.cta-band .app-store-badge { display: inline-block; }

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 90;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.sticky-cta.is-visible { display: block; }
.sticky-cta .btn { width: 100%; }

@media (min-width: 900px) { .sticky-cta { display: none !important; } }

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--teal-900);
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
}
.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}
.site-footer a:hover {
  color: #fff;
  text-decoration-thickness: 2px;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer-brand img { width: 48px; height: 48px; border-radius: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links strong { color: #fff; margin-bottom: 0.35rem; }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
  font-size: 0.8125rem;
}
.footer-bottom a {
  color: #fff;
  font-weight: 600;
}

/* Article / legal */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  background: var(--cream);
}
.page-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--teal-900);
}
.breadcrumbs {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.breadcrumbs a { color: var(--teal-700); }

.prose {
  max-width: 42rem;
  padding: 2rem 0 3.5rem;
}
.prose h2 { margin: 2rem 0 0.75rem; font-size: 1.25rem; color: var(--teal-900); }
.prose h3 { margin: 1.5rem 0 0.5rem; font-size: 1.05rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1rem 0;
}
.prose th, .prose td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.65rem;
  text-align: left;
}
.prose th { background: var(--cream); color: var(--teal-900); }

.cta-inline {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.related-guides {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.related-guides ul { list-style: none; padding: 0; margin: 0; }
.related-guides li { margin-bottom: 0.5rem; }

@media print {
  .site-header, .sticky-cta, .site-footer, .cta-inline { display: none !important; }
  body { padding-top: 0; }
}
