/* styles.css – Blau/Weiß Theme (root, relative paths) */
:root {
  --brand-50:#eff6ff; --brand-100:#dbeafe; --brand-200:#bfdbfe; --brand-300:#93c5fd;
  --brand-400:#60a5fa; --brand-500:#3b82f6; --brand-600:#2563eb; --brand-700:#1d4ed8;
  --brand-800:#1e40af; --brand-900:#1e3a8a;
  --text:#0b1320; --muted:#0b1320; --bg:#ffffff; --card:#ffffff; --border:#e5efff;
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; background:var(--bg); color:var(--text); font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.center { text-align:center; }
header.sticky { position: sticky; top: 0; backdrop-filter: blur(6px); background: rgba(255,255,255,.85); border-bottom: 1px solid var(--border); z-index: 40; }
.nav { display:flex; align-items:center; justify-content:space-between; height:64px; }
.brand { display:flex; align-items:center; gap:12px; font-weight: 700; letter-spacing:.2px; }
.logo { display:flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:12px; background: var(--brand-600); color:#fff; }
.nav a { margin-left:16px; font-size:14px; color:#1f2937; }
.nav a:hover { color: var(--brand-700); text-decoration:none; }
main { padding: 48px 0; }
.hero h1 { font-size: 40px; line-height:1.1; margin:0; } 
.hero p { color: var(--muted); max-width: 720px; margin: 12px auto 0; }
.section { margin-top: 56px; }
.card { background:var(--card); border:1px solid var(--border); border-radius:16px; padding:20px; }
.grid { display:grid; gap:16px; }
@media (min-width:640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.btn { display:inline-flex; align-items:center; gap:8px; padding:12px 16px; border-radius:12px; border:1px solid var(--border); background:#fff; cursor:pointer; font-weight:600; }
.btn.primary { background: var(--brand-600); color:#fff; border-color: var(--brand-600); }
.btn.primary:hover { background: var(--brand-700); }
.btn:hover { background: var(--brand-50); text-decoration:none; }
.cta-bar { position: fixed; bottom: 16px; left: 0; right: 0; display:flex; justify-content:center; }
.cta-inner { display:flex; gap:8px; background: rgba(255,255,255,.92); border:1px solid var(--border); padding:8px 10px; border-radius:999px; box-shadow:0 10px 30px rgba(0,0,0,.08); }
footer { border-top:1px solid var(--border); padding: 24px 0; text-align:center; color: var(--muted); font-size: 14px; }
img.responsive { width:100%; height:256px; object-fit:cover; border-radius:16px; border:1px solid var(--border); background: var(--brand-50); }
.form label { display:block; margin: 0 0 12px 0; }
.form span { display:block; margin-bottom:6px; font-size:14px; font-weight:600; }
.form input, .form textarea { width:100%; padding:12px 14px; border-radius:12px; border:1px solid var(--border); outline:none; }
.form input:focus, .form textarea:focus { border-color: var(--brand-400); box-shadow: 0 0 0 3px var(--brand-100); }
.badge { display:inline-block; padding:6px 10px; border-radius:999px; background:var(--brand-50); border:1px solid var(--brand-100); color: var(--brand-700); font-size:12px; }
.logo-img { width:40px; height:40px; border-radius:12px; object-fit:contain; display:block; }
/* --- Mobile Pack (kopier ans Ende von styles.css) --- */

/* 0) Basics: iOS-Zoom verhindern, Buttons als echte Touch Targets */
html, body { -webkit-text-size-adjust: 100%; }
.btn { min-height: 44px; padding: 12px 18px; }

/* 1) Platz unterm Content, damit die feste CTA-Bar nix überdeckt */
@media (max-width: 640px) {
  main { padding: 32px 12px 120px; } /* extra bottom padding für die fixe Leiste */

  /* 2) Navbar entspannt umbrechen & gut tappbar machen */
  .nav { height: auto; flex-wrap: wrap; gap: 8px 12px; padding: 8px 0; }
  .nav a { display: inline-block; padding: 8px 10px; margin-left: 0; font-size: 16px; }

  /* Logo & Brand kompakter */
  .brand { gap: 8px; }
  .logo, .logo-img { width: 32px; height: 32px; border-radius: 10px; }

  /* 3) Headline & Copy responsive */
  .hero h1 { font-size: clamp(24px, 6vw, 36px); }
  .hero p  { font-size: 16px; }

  /* 4) Grids einkolumnig */
  .grid-2 { grid-template-columns: 1fr; }

  /* 5) Inputs groß genug → iOS zoomt nicht rein */
  .form input, .form textarea { font-size: 16px; }

  /* 6) CTA-Bar safe über der iPhone-Homeleiste (Notch) */
  .cta-inner { gap: 12px; padding: 10px 12px; }
  .cta-bar { bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* 7) Kleinere Phones: Buttons nebeneinander, aber flexibel */
@media (max-width: 480px) {
  .cta-inner { flex-wrap: wrap; }
  .cta-inner .btn { flex: 1 1 140px; justify-content: center; }
}
