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

:root {
  --primary: #334f00;
  --primary-light: #456a00;
  --secondary: #f0f3f5;
  --accent: #e67e22;
  --text-dark: #1e2b37;
  --text-soft: #2c3e50;
  --white: #ffffff;
  --light-bg: #f8fafc;
  --border-light: #dce5eb;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-hover:
    0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --transition: all 0.2s ease-in-out;
  --font-body:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.5;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* skip link – Barrierefreiheit */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  z-index: 1000;
  transition: top 0.15s;
}

.skip-link:focus {
  top: 0;
}

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

/* Header – sehr dezent */
.site-header {
  padding: 1.2rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

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

.logo {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.01em;
  background: rgba(43, 88, 118, 0.05);
  padding: 0.4rem 1rem;
  border-radius: 40px;
  border: 1px solid transparent;
}

.logo i {
  /* platzhalter icon */
}

.badge {
  background: var(--primary-light);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* HERO – zwei 50%-Bilder links/rechts, Text zentriert */
.hero {
  background-color: var(--light-bg);
  padding: 2rem 0 3rem 0;
}

.hero-split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-image {
  flex: 1 1 50%;
  /* 50% */
  min-height: 240px;
  /* für mobile mindesthöhe */
  background-color: #cbd5e1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}

.hero-image:first-of-type {
  background-image: url("images/wohnung-rr_I_800540.webp");
}

.hero-image:last-of-type {
  background-image: url("images/wohnung-rr_II_800540.webp");
}
.hero-content {
  flex: 1 1 100%;
}
.hero-split {
  position: relative;
}

.hero-img {
  flex: 1 1 50%;
  height: auto;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-color: #b6c9d6;
}

.hero-img-left {
  background-image: url("images/wohnung-rr_I_800540.webp");
  border-radius: 0;
}

.hero-img-right {
  background-image: url("images/wohnung-rr_II_800540.webp");
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 700px;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(3px);
  padding: 2rem 2.2rem;
  border-radius: 48px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text-soft);
}

.hero-text h1 {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.hero-text p {
  font-size: 1.25rem;
  opacity: 0.9;
  font-weight: 350;
}

@media (max-width: 700px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-text {
    padding: 1.5rem;
    border-radius: 32px;
    width: 90%;
  }
}

@media (max-width: 500px) {
  .hero-img {
    min-height: 200px;
  }
}
.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  border-left: 6px solid var(--accent);
  padding-left: 1.2rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  margin: 3rem 0 2rem;
}

.card {
  background: var(--white);
  padding: 1.8rem 1.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.card-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1rem;
  background: rgba(43, 88, 118, 0.08);
  padding: 0.5rem 0.7rem;
  border-radius: 60px;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.card p,
.card ul {
  font-size: 1rem;
  color: var(--text-soft);
  width: 100%;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card li {
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* Über mich + Angebot */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0 3rem;
}

.about-text {
  flex: 2 1 320px;
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.about-text h2 {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.contact-highlight {
  flex: 1 1 260px;
  background: var(--primary);
  color: white;
  padding: 2rem;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-highlight h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.contact-detail {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  word-break: break-word;
}

.contact-detail a {
  color: white;
  text-decoration: underline wavy rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

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

/* Karte (DSGVO – OpenStreetMap, kein Google) */
.map-section {
  background: var(--light-bg);
  border-radius: 28px;
  padding: 2rem 1.5rem;
  margin: 3rem 0;
}

.map-container {
  background: #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: 350px;
  border: 2px solid white;
}

.leaflet-control-attribution {
  font-size: 0.7rem;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 2rem 0;
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--text-soft);
}

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

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  margin-left: 1.5rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .hero-img {
    min-height: 180px;
  }

  .hero-text {
    position: relative;
    transform: none;
    top: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    background: white;
    box-shadow: none;
    border-bottom: 1px solid var(--border-light);
    margin-top: 0;
  }

  .hero-split {
    flex-wrap: wrap;
    position: static;
  }

  .hero-text {
    order: 3;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
/* Seitlicher Rückbutton */
.lp-side-back-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 26px;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;

  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.lp-side-back-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.print-button {
  background-color: #456a00;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  text-align: center;
  font-size: 26px;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
  border-radius: 60px;
}

.print-button:hover {
  background-color: #334f00;
  transform: translateY(-1px);
  text-decoration: underline;
}

.print-button:active {
  transform: translateY(0);
  background-color: #334f00;
  text-decoration: underline;
}
