@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/raleway-latin-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1b2a4a;
  --amber: #f59e0b;
  --white: #ffffff;
  --muted: #6b7280;
  --bg-light: #f8fafc;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

.hero, main, footer, .intro {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.intro {
  padding-top: 0;
  padding-bottom: 0;
}

.hero {
  padding-bottom: 1.5rem;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
}

.hero h1 {
  font-size: 2.25rem;
  margin: 0 0 0.75rem;
}

.tagline {
  color: var(--muted);
  font-size: 1.2rem;
  margin: 0;
}

section {
  margin-bottom: 3.5rem;
}

section h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

/* Screenshot */

.screenshot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3.5rem;
}

.screenshot figure {
  margin: 0;
}

.screenshot img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 32px -12px rgba(27, 42, 74, 0.25);
  cursor: zoom-in;
}

.screenshot-modal {
  position: relative;
  border: none;
  border-radius: 12px;
  padding: 0;
  background: transparent;
  max-width: 95vw;
  max-height: 90vh;
}

.screenshot-modal::backdrop {
  background: rgba(15, 23, 42, 0.75);
}

.screenshot-modal img {
  display: block;
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 10px;
}

.screenshot-modal-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.screenshot figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Features */

.features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.features h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
  color: var(--navy);
}

.features p {
  margin: 0;
  color: var(--muted);
}

/* Founder */

.founder {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-light);
  border-radius: 10px;
  padding: 1.75rem;
}

.founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.founder h2 {
  margin-top: 0;
}

.founder p {
  margin: 0 0 0.75rem;
}

.founder a {
  color: var(--navy);
  font-weight: 500;
}

/* Signup form */

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 420px;
}

label {
  font-weight: 500;
}

input[type="email"] {
  padding: 0.6rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
}

fieldset {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.75rem 1rem;
}

fieldset legend {
  padding: 0 0.25rem;
}

fieldset label {
  display: block;
  font-weight: normal;
  margin: 0.4rem 0;
}

button {
  padding: 0.7rem 1.4rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  background: var(--amber);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
}

button:hover {
  background: #e08e08;
}

footer {
  color: var(--muted);
  font-size: 0.9rem;
  padding-top: 0;
}

footer a {
  color: var(--navy);
}

/* Vergleichsseite */

.back-link {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.back-link a {
  color: var(--muted);
}

.intro p {
  font-size: 1.05rem;
}

.compare-table-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3.5rem;
}

.table-scroll {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--bg-light);
  font-weight: 700;
  color: var(--navy);
}

.compare-table tbody th {
  font-weight: 600;
  background: var(--bg-light);
  white-space: nowrap;
}

.compare-table tbody tr:last-child td,
.compare-table tbody tr:last-child th {
  border-bottom: none;
}

.table-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.tool-detail h2 {
  color: var(--navy);
}

.tool-detail p {
  color: var(--muted);
}
