/* style.css — StudienMap legal/product site */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #1a1a1a;
  background-color: #ffffff;
}

/* Layout */

.site-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & navigation */

header {
  border-bottom: 1px solid #e0e0e0;
  padding: 1.25rem 0;
}

header .site-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}

.site-name:hover {
  color: #0057b8;
}

nav {
  display: flex;
  gap: 1.25rem;
}

nav a {
  font-size: 0.95rem;
  color: #444;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #0057b8;
  text-decoration: underline;
}

/* Main content */

main {
  padding: 2.5rem 0 3rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  color: #111;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
  color: #111;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.25rem;
  color: #111;
}

p {
  margin: 0 0 1rem;
}

ul, ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.25rem;
}

a {
  color: #0057b8;
}

a:hover {
  text-decoration: none;
}

/* Hero / intro block */

.intro {
  margin-bottom: 2rem;
}

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

/* Feature list */

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.feature-list li {
  padding-left: 1.25rem;
  position: relative;
  color: #333;
}

.feature-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: #0057b8;
  font-weight: 700;
}

@media (max-width: 480px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* FAQ */

.faq-item {
  margin-bottom: 1.75rem;
}

.faq-item h3 {
  margin-bottom: 0.35rem;
}

/* Footer */

footer {
  border-top: 1px solid #e0e0e0;
  padding: 1.5rem 0;
  color: #666;
  font-size: 0.875rem;
}

footer .site-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer a {
  color: #555;
}

footer a:hover {
  color: #0057b8;
}

/* Language link */

.lang-link {
  font-size: 0.8rem;
  color: #888;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 0.1rem 0.45rem;
  text-decoration: none;
}

.lang-link:hover {
  color: #0057b8;
  border-color: #0057b8;
  text-decoration: none;
}

/* Screenshots */

.screenshots {
  margin-top: 2.5rem;
}

.device-label {
  margin: 1.75rem 0 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.screenshot-grid figure {
  margin: 0;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background-color: #f5f5f5;
}

.screenshot-grid figcaption {
  font-size: 0.85rem;
  color: #555;
  margin-top: 0.4rem;
}

@media (max-width: 480px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility */

.meta {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 2rem;
}
