/* =========================================================
   Dortmund Mietservice – Stylesheet
   Datei: assets/styles.css
   ========================================================= */

/* Grundfarben und Design-Variablen */
:root {
  --bg: #f7f5f0;
  --card: #ffffff;
  --text: #1f2933;
  --muted: #5f6b7a;
  --accent: #d97706;
  --accent-dark: #92400e;
  --line: #e5e0d8;
  --shadow: 0 12px 30px rgba(31, 41, 51, 0.08);
  --radius: 18px;
}

/* Allgemeine Grundeinstellungen */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}

/* Obere Infoleiste */
.topbar {
  background: #111827;
  color: #ffffff;
  padding: 10px 0;
  font-size: 15px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Navigation */
.nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  gap: 18px;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.navlinks {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(217, 119, 6, 0.22);
}

.btn:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.btn.secondary {
  background: #ffffff;
  color: var(--accent-dark);
  border: 1px solid var(--line);
  box-shadow: none;
}

/* Startbereich / Hero */
.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff7ed;
  color: var(--accent-dark);
  border: 1px solid #fed7aa;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  margin: 18px 0 16px;
}

.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-card img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.note {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 4px 0;
}

/* Allgemeine Sektionen */
.section {
  padding: 48px 0;
}

.section h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 12px;
}

.section-intro {
  color: var(--muted);
  max-width: 780px;
  margin: 0 0 26px;
}

/* Grid-Layouts */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* Karten */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.card p,
.card li {
  color: var(--muted);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}

/* Preisbereich */
.price {
  font-size: 34px;
  line-height: 1;
  margin: 12px 0 2px;
  font-weight: 850;
}

.price small {
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
}

ul.clean {
  padding-left: 18px;
  margin: 14px 0 0;
}

/* Ablauf-Schritte */
.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 18px 62px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* Bildergalerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
}

/* Kontaktbereich */
.cta {
  background: #111827;
  color: #ffffff;
  border-radius: 28px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.cta p {
  color: #d1d5db;
}

.contact-box {
  background: #ffffff;
  color: var(--text);
  border-radius: 20px;
  padding: 24px;
}

/* Footer */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* Impressum / Datenschutz */
.legal {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  margin: 32px 0;
}

/* Platzhalter-Hinweise */
.placeholder {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 10px 12px;
  border-radius: 12px;
  color: #92400e;
  font-weight: 700;
}

/* Tablet-Ansicht */
@media (max-width: 900px) {
  .hero-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

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

/* Smartphone-Ansicht */
@media (max-width: 620px) {
  .grid-4,
  .grid-3,
  .gallery {
    grid-template-columns: 1fr;
  }

  .topbar .container {
    display: block;
  }

  .navlinks {
    gap: 10px;
  }

  .gallery img {
    height: 220px;
  }

  .hero {
    padding-top: 34px;
  }
}
