/*
 * Hauptstylesheet für die Res2-Landingpage.
 * Dieses Stylesheet definiert Farbschema, Layouts und responsive Breakpoints
 * für eine moderne, klare Darstellung. Elemente werden weitgehend flexibel
 * gestaltet, sodass die Seite sowohl auf Desktop als auch auf mobilen
 * Endgeräten ansprechend wirkt.
 */

:root {
  --primary-color: #0073bb;
  --secondary-color: #005a8c;
  --background-color: #f8f9fa;
  --text-color: #333;
  --light-gray: #f5f5f5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

/* Container für zentrierte Inhalte */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 60px;
}

nav a {
  margin-left: 20px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: var(--primary-color);
}

/* Hero Bereich */
.hero {
  background-color: #fff;
  padding: 60px 0;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-text {
  flex: 1;
  padding: 20px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-text p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.hero-text ul {
  list-style: none;
  margin-bottom: 20px;
}

.hero-text li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
  font-size: 1rem;
}

.hero-text li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.hero-text button {
  background: var(--primary-color);
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.hero-text button:hover {
  background: var(--secondary-color);
}

.hero-image {
  flex: 1;
  text-align: center;
  padding: 20px;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Benefits */
.benefits {
  background-color: var(--light-gray);
  padding: 60px 0;
  text-align: center;
}

.benefits h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.benefit-item {
  flex: 1;
  min-width: 250px;
  margin: 10px;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.benefit-item h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.benefit-item p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.benefits .cta-secondary {
  margin-top: 30px;
  background: var(--secondary-color);
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.benefits .cta-secondary:hover {
  background: var(--primary-color);
}

/* So funktioniert's */
.how-it-works {
  padding: 60px 0;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.step {
  flex: 1;
  min-width: 250px;
  margin: 10px;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.step-number {
  font-size: 2rem;
  color: var(--primary-color);
  display: block;
  margin-bottom: 10px;
}

.step h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.25rem;
}

.step p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.how-it-works .cta-secondary {
  margin-top: 30px;
  background: var(--secondary-color);
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.how-it-works .cta-secondary:hover {
  background: var(--primary-color);
}

/* Kontakt/Impressum Seite */
.contact {
  padding: 60px 0;
}

.contact h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.contact h3 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.contact ul.imprint {
  list-style: none;
  margin-bottom: 20px;
  padding-left: 0;
  font-size: 1rem;
}

.contact ul.imprint li {
  margin-bottom: 5px;
}

.contact p,
.contact ul {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.contact a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #111;
  color: #eee;
  padding: 20px 0;
  text-align: center;
}

footer a {
  color: #eee;
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsives Layout */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    order: 2;
  }

  .hero-image {
    order: 1;
    margin-bottom: 20px;
  }

  .benefit-grid,
  .steps {
    flex-direction: column;
  }
}