/* Inter-Schriftart lokal einbinden */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/inter-v20-latin-700.woff2') format('woff2');
}


:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-elevated: #ffffff;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.1);
  --text: #111827;
  --text-soft: #4b5563;
  --border-subtle: rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 8px 20px rgba(17, 24, 39, 0.08);
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================================================= */
/* NAVIGATION */
/* ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.logo__image {
  height: 60px;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.nav__links a {
  position: relative;
  padding-bottom: 0.1rem;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background-color: var(--accent);
  transition: width 0.18s ease-out;
}

.nav__links a:hover::after {
  width: 100%;
}

/* ========================================================= */
/* BUTTONS */
/* ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn--primary:hover {
  transform: translateY(-1px);
  background-color: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn--ghost {
  border-color: rgba(148, 163, 184, 0.6);
  background-color: var(--bg-alt);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(148, 163, 184, 0.9);
  background-color: var(--bg-elevated);
}

.btn--text {
  padding-inline: 0;
  background-color: transparent;
  color: var(--text-soft);
}

.btn--text:hover {
  color: var(--text);
  transform: translateY(-1px);
}

/* ========================================================= */
/* HERO BEREICH */
/* ========================================================= */
.hero {
  padding: 0.75rem 0 1rem;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: 3.75rem;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__brand-combined {
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 0 1rem;
  display: block;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.85rem;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  margin: 0 0 1.8rem;
  color: var(--text-soft);
  max-width: 34rem;
  font-size: 0.98rem;
}

.hero__subtitle--bold {
  font-weight: 700;
  color: var(--text);
  font-size: 1.35rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.hero__meta span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-alt);
}

.hero__card {
  position: relative;
}

.hero__badge {
  position: absolute;
  top: -0.7rem;
  right: 1.2rem;
  z-index: 2;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-soft);
}

.hero__mockup {
  border-radius: 28px;
  padding: 1.1rem 1.1rem 1.3rem;
  background-color: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.hero__mockup-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.hero__mockup-header span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background-color: rgba(148, 163, 184, 0.6);
}

.hero__mockup-header span:nth-child(1) { background-color: #f97373; }
.hero__mockup-header span:nth-child(2) { background-color: #facc15; }
.hero__mockup-header span:nth-child(3) { background-color: #22c55e; }

.hero__mockup-body {
  border-radius: 20px;
  padding: 1.25rem 1.1rem 1.2rem;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-subtle);
}

.mockup-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.mockup-text {
  margin: 0 0 0.8rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.mockup-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.mockup-list li {
  position: relative;
  padding-left: 1.1rem;
}

.mockup-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: var(--accent);
}

/* ========================================================= */
/* SEKTIONEN & FEATURES */
/* ========================================================= */
.section {
  padding: 0.75rem 0 1rem;
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--accent {
  background-color: #080f26;
}

.section__header {
  margin-bottom: 2.2rem;
}

.section__header h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.section__header p {
  margin: 0;
  color: var(--text-soft);
  max-width: 32rem;
  font-size: 0.95rem;
}

.section__header--center {
  text-align: center;
}

.section__header--center p {
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1rem 1.3rem;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.feature__icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.9rem;
  font-size: 1rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ========================================================= */
/* TEXT-INHALTE & HIGHLIGHTS */
/* ========================================================= */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
}

.about__text h2 {
  margin: 0 0 0.7rem;
  font-size: 1.6rem;
}

.about__text h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
}

.about__text p {
  margin: 0 0 0.8rem;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about__highlights {
  display: grid;
  gap: 0.9rem;
}

.highlight {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-elevated);
}

.highlight__label {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background-color: var(--accent-soft);
  color: #e5e7eb;
  font-size: 0.76rem;
  margin-bottom: 0.35rem;
}

.highlight p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ========================================================= */
/* KONTAKTFORMULAR */
/* ========================================================= */
.contact {
  max-width: 720px;
}

.form {
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.4rem 1.6rem;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.form__field label {
  font-size: 0.85rem;
  color: var(--text-soft);
}

.form__field input,
.form__field textarea {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 0.7rem 0.8rem;
  background-color: var(--bg-alt);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background-color: var(--bg-elevated);
}

.form__submit {
  width: 100%;
  margin-top: 0.3rem;
}

.form__hint {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}


/* ========================================================= */
/* SCREENSHOT GALERIE */
/* ========================================================= */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.screenshot-mockup {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background-color: var(--bg-elevated);
  border: 4px solid #0f172a;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 9/19.5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.screenshot-placeholder {
  color: var(--text-soft);
  font-size: 0.9rem;
  padding: 1rem;
}

.screenshot-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

/* ========================================================= */
/* FOOTER */
/* ========================================================= */
.footer {
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-alt);
  padding: 0.8rem 0;
  margin-top: auto;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
}

.footer__links a:hover {
  color: var(--text);
}

.link {
  color: #1d4ed8;
  text-decoration: underline;
  text-decoration-color: rgba(29, 78, 216, 0.55);
  text-underline-offset: 3px;
}

.link:hover {
  color: #1e40af;
  text-decoration-color: #1e40af;
}

.hero--minimal .container {
  max-width: 900px;
  text-align: center;
}

.hero--minimal .hero__brand-combined {
  margin-left: auto;
  margin-right: auto;
}

main {
  flex: 1;
}

.cta-section .container {
  text-align: center;
}

.cta-button {
  min-width: 220px;
}

.clean-points {
  display: grid;
  gap: 0.8rem;
  max-width: 680px;
}

.clean-points p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

/* ========================================================= */
/* RESPONSIVE DESIGN (Tablets & Mobile) */
/* ========================================================= */
@media (max-width: 900px) {
  .nav__inner {
    justify-content: space-between;
  }

  .nav__links {
    display: none;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__card {
    order: -1;
  }

  .hero {
    padding-top: 3.1rem;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about {
    grid-template-columns: minmax(0, 1fr);
  }

  .screenshot-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 1.1rem;
  }

  .hero__brand-combined {
    max-width: 350px;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__badge {
    right: 0.9rem;
  }

  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form {
    padding-inline: 1rem;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Kompakt-Layout für rechtliche Seiten */
.section--compact {
  padding: 1.5rem 0; /* Vorher 3.5rem */
}

.section--compact .section__header {
  margin-bottom: 1rem; /* Vorher 2.2rem */
}

.section--compact .about__text h3 {
  margin: 0.8rem 0 0.3rem; /* Vorher 1.5rem oben */
  font-size: 1.1rem;
}

.section--compact .about__text p {
  margin-bottom: 0.5rem; /* Weniger Abstand zwischen den Absätzen */
  line-height: 1.4;
}

/* High-Density Layout für rechtliche Seiten */
.section--ultra-compact {
  padding: 1rem 0 !important; /* Vertikaler Außenabstand der Sektion minimiert */
}

.section--ultra-compact .section__header {
  margin-bottom: 0.5rem !important; /* Abstand nach der Hauptüberschrift minimiert */
}

.section--ultra-compact .about__text h3 {
  margin-top: 0.75rem !important; /* Abstand VOR den Zwischenüberschriften (Anbieter, Kontakt etc.) */
  margin-bottom: 0.2rem !important; /* Abstand NACH den Zwischenüberschriften */
}

.section--ultra-compact .about__text p {
  margin-bottom: 0.3rem !important; /* Abstand zwischen den einzelnen Textzeilen/Absätzen */
}

/* Extrem kompaktes Layout für rechtliche Texte */
.legal-density {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.legal-density .section__header {
  margin-bottom: 0.5rem !important;
}

.legal-density h3 {
  margin-top: 0.6rem !important; /* Abstand über den Überschriften */
  margin-bottom: 0.1rem !important; /* Abstand unter den Überschriften */
}

.legal-density p {
  margin-bottom: 0.25rem !important; /* Abstand zwischen den Textblöcken */
  line-height: 1.4 !important; /* Etwas engerer Zeilenabstand */
}

/* Erzwungene Textfarbe für Überschriften in rechtlichen Seiten */
.section.legal-density .about__text h3,
.section.legal-density h3 {
  color: #111827 !important;
  visibility: visible !important;
}