/* =========================================================
   BASIS / THEME
========================================================= */

:root {
  --bg-body: #f3f4f6;
  --bg-page: #f9fafb;
  --bg-card: #ffffff;
  --bg-soft: #eef2ff;

  --border-subtle: #e5e7eb;

  --text-main: #0f172a;
  --text-muted: #6b7280;

  --accent: #0f766e;

  --color-verkauf: #ea580c;
  --color-kauf: #0ea5e9;
  --color-marktwert: #4f46e5;
  --color-gutachten: #0d5f58;
  --color-wohnflaeche: #a855f7;
  --color-coaching: #eab308;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.07);

  --transition-fast: 0.18s ease;
}

/* =========================================================
   RESET
========================================================= */

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

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #ffffff 0, #f3f4f6 40%, #e5e7eb 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* =========================================================
   LAYOUT
========================================================= */

.page-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

main {
  padding-top: 1.5rem;
}

section {
  margin-bottom: 4rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

/* Logo */

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

.logo-img {
  height: 34px;
  width: auto;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-weight: 650;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  text-transform: uppercase;
  color: #111827;
}

.logo-subtitle {
  font-size: 0.78rem;
  color: #6b7280;
}

/* Nav (Index: .main-nav, Impressum/Datenschutz: header nav) */

.main-nav,
header nav {
  display: flex;
  align-items: center;
}

.main-nav ul,
header nav ul {
  display: flex;
  list-style: none;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.main-nav a,
header nav a {
  position: relative;
  padding-bottom: 0.08rem;
  color: #111827;
  opacity: 0.95;
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    color var(--transition-fast);
}

.main-nav a::after,
header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.main-nav a:hover,
header nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
  color: var(--accent);
}

.main-nav a:hover::after,
header nav a:hover::after {
  width: 100%;
}
/* ============================================
   MOBILE NAVIGATION FIX
   Menü soll UNTER dem Header nach unten aufklappen
   und LINKS ausgerichtet sein
=============================================== */

@media (max-width: 860px) {

  .main-nav {
    position: absolute;
    top: 100%;           /* unter dem Header */
    left: 0;             /* links ausrichten */
    right: 0;            /* volle Breite */
    width: 100%;
    background: white;   /* Hintergrund weiß – moderne Optik */
    padding: 1.5rem 1.25rem;
    display: none;       /* Start: ausgeblendet */
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
  }

  /* Menü geöffnet */
  .main-nav.is-open {
    display: flex;
  }

  /* Menü-Links mobil große Tap-Ziele */
  .main-nav a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    display: block;
    width: 100%;
  }

  /* CTA im Menü */
  .main-nav .nav-cta {
    margin-top: 0.5rem;
  }

}


.nav-cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #111827;
  color: #f9fafb !important;
  font-size: 0.83rem;
}

/* Hamburger Button (nur auf Startseite relevant) */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: pointer;
  padding: 0;
}

/* Burger nach rechts schieben */
.header-inner .nav-toggle {
  margin-left: auto;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE NAVIGATION
   Hamburger-Menü: klappt unter dem Header auf,
   Links linksbündig, "Kontakt" als breiter Petrol-Button
=============================================== */

@media (max-width: 768px) {

  .header-inner {
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap; /* erlaubt, dass die Navi unter Logo/Burger rutscht */
  }

  /* Burger auf Handy sichtbar */
  .nav-toggle {
    display: flex;
  }

  /* Hauptnavigation im mobilen Zustand */
  .main-nav {
    width: 100%;
    display: none;           /* Start: ausgeblendet */
  }

  .main-nav.is-open {
    display: block;          /* beim Öffnen: komplett anzeigen */
  }

  /* Liste im Menü nach unten, linksbündig */
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;    /* volle Breite der UL */
    gap: 0.4rem;
    margin-top: 0.4rem;
  }

  /* Normale Menülinks */
  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.35rem 0;
    color: #0f172a;          /* dunkles Grau, gut lesbar auf weiß */
    text-align: left;
  }

  /* "Kontakt" im Menü als breiter Petrol-Button */
  .main-nav .nav-cta {
    margin-top: 0.8rem;
    padding: 0.75rem 1rem;
    background: var(--color-accent);       /* #0f766e */
    color: #ffffff !important;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    font-weight: 600;
  }

  .main-nav .nav-cta:hover {
    background: var(--color-accent-hover); /* #0d5f58 */
  }

  /* Impressum/Datenschutz-Nav (andere Seiten) darf weiterhin umbrechen */
  header nav:not(.main-nav) ul {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .main-nav .nav-cta {
    display: block;
    width: 100%;
      background: var(--color-accent);        /* petrol (#0f766e) */
color: #0f172a !important; 
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 0.8rem;
      

  }
}



/* Desktop: kein Umbrechen in der Hauptnavigation */

.main-nav ul {
  flex-wrap: nowrap;
}

.main-nav a {
  white-space: nowrap;
}



/* =========================================================
   HERO
========================================================= */

.card-hero {
  margin-top: 2rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
}

/* Linke Seite */

.hero-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #e5e7eb;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #111827;
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin: 0.8rem 0 0.5rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem;
}

.hero-meta {
  font-size: 0.85rem;
  color: #6b7280;
}

.hero-meta span + span {
  margin-left: 0.9rem;
}

/* Rechte Seite: Bild + Text */

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-photo {
  max-width: 360px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.15), #e5e7eb);
  border: 1px solid #e5e7eb;
  position: relative;
}

.hero-photo-inner {
  display: flex;
  flex-direction: column;
}

.hero-photo-image {
  width: 100%;
  height: auto; /* wichtig für iPhone: komplette Höhe sichtbar */
  display: block;
}

/* Name + Rolle + Claim unter dem Bild als kleine Card */

.hero-photo-name,
.hero-photo-role,
.hero-photo-tagline {
  padding: 0 1.1rem;
}

.hero-photo-name {
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.96rem;
}

.hero-photo-role {
  margin-top: 0.15rem;
  font-size: 0.83rem;
  color: #6b7280;
}

.hero-photo-tagline {
  margin: 0.6rem 0 1.15rem;
  font-size: 0.86rem;
  color: #4b5563;
}

/* kleine Chips oben rechts auf dem Bild */

.hero-chip-row {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.chip {
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  border: 1px solid rgba(209, 213, 219, 0.9);
  font-size: 0.74rem;
}

/* Hero responsive */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-photo {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .card-hero {
    padding: 1.8rem 1.4rem;
  }

  .hero {
    gap: 1.8rem;
  }

  .hero-visual {
    order: -1; /* Bild nach oben auf Handy */
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .hero-cta-row .btn {
    width: 100%;
  }
}

/* HERO-TITLE BADGE LESBAR MACHEN AUF HINTERGRUNDBILD */
#start.card-hero .hero-title-badge {
  background: rgba(15, 118, 110, 0.35);
  border: 1px solid rgba(15, 118, 110, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
#verkaufen.card-hero .hero-title-badge {
  background: rgba(15, 118, 110, 0.35);
  border: 1px solid rgba(15, 118, 110, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
#kaufen.card-hero .hero-title-badge {
  background: rgba(15, 118, 110, 0.35);
  border: 1px solid rgba(15, 118, 110, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
#bewertung.card-hero .hero-title-badge {
  background: rgba(15, 118, 110, 0.35);
  border: 1px solid rgba(15, 118, 110, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
#angebote.card-hero .hero-title-badge {
  background: rgba(15, 118, 110, 0.35);
  border: 1px solid rgba(15, 118, 110, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
#ratgeber.card-hero .hero-title-badge {
  background: rgba(15, 118, 110, 0.35);
  border: 1px solid rgba(15, 118, 110, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
#ueber-mich.card-hero .hero-title-badge {
  background: rgba(15, 118, 110, 0.35);
  border: 1px solid rgba(15, 118, 110, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
#kontakt.card-hero .hero-title-badge {
  background: rgba(15, 118, 110, 0.35);
  border: 1px solid rgba(15, 118, 110, 0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}



#start.card-hero .hero-title-badge span {
  color: white !important; /* falls die span-Klasse überschreibt */
}
#start.card-hero .hero-title-badge {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}



/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary {
  background: #111827;
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.24);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.32);
}

.btn-accent {
  background: var(--accent);
  border-color: #0f766e;
  color: #f9fafb;
}

.btn-accent:hover {
  background: #0d5f58;
}

.btn-outline {
  border-color: #e5e7eb;
  background: #ffffff;
  color: #111827;
}

.btn-outline:hover {
  background: #f3f4f6;
}

.btn-block,
.btn.btn-block {
  width: 100%;
}

.btn-primary {
  background: #ffffff;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
}

.btn-primary:hover {
  background: #f1f5f9;
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-header {
  margin-bottom: 1.8rem;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.section-title {
  font-size: 1.6rem;
  margin: 0.35rem 0 0.4rem;

}

.section-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* =========================================================
   GRID HELPERS
========================================================= */

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

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

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

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   LEISTUNGEN
========================================================= */

.service-card {
  border-radius: var(--radius-md);
  padding: 1.35rem 1.3rem 1.2rem;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
}

.service-color-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.7rem;
}

.service-text {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 0.4rem 0 0.7rem;
}

.service-link {
  font-size: 0.83rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  color: var(--text-muted);
}

/* =========================================================
   USP / VERKAUFSPROZESS
========================================================= */

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

.usp-card {
  border-radius: var(--radius-md);
  padding: 1.05rem 1.1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.usp-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.usp-text {
  color: #4b5563;
}

@media (max-width: 1024px) {
  .usp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .usp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Verkaufssektion */

.sell-section {
  background: var(--bg-card);
}

.sell-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.8rem;
  margin-top: 0.6rem;
}

.sell-steps {
  position: relative;
  padding-left: 2.7rem;
}

.sell-steps::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  background: linear-gradient(to bottom, #d1d5db, #9ca3af);
}

.sell-step {
  position: relative;
  margin-bottom: 1.35rem;
}

.sell-step:last-child {
  margin-bottom: 0;
}

.sell-step-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.step-number {
  position: absolute;
  left: -2.7rem;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #111827;
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 9px 22px rgba(15, 23, 42, 0.32);
}

.step-title {
  font-size: 0.96rem;
  font-weight: 600;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0.2rem;
}

.sell-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sell-aside-card {
  border-radius: var(--radius-md);
  padding: 1.15rem 1.2rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  font-size: 0.9rem;
}

.sell-aside-card h3 {
  margin-top: 0;
  font-size: 1rem;
}

.sell-aside-highlight {
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.10), #f2f2f2);
}


.sell-aside-note {
  font-size: 0.84rem;
  color: #4b5563;
  margin-top: 0.4rem;
}

@media (max-width: 1024px) {
  .sell-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .sell-steps {
    padding-left: 2.2rem;
  }

  .step-number {
    left: -2.2rem;
  }
}

/* =========================================================
   ANGEBOTE / IMMOBILIEN-GRID
========================================================= */

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

.property-card {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
  font-size: 0.86rem;
}

.property-image-placeholder {
  background: radial-gradient(circle at top, rgba(148, 163, 184, 0.3), #e5e7eb);
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 0.75rem;
  color: #111827;
}

.property-body {
  padding: 0.9rem 1rem 0.75rem;
}

.property-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.property-footer {
  padding: 0.7rem 1rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.property-note {
  margin-top: 0.8rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .property-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   TESTIMONIALS / BLOG
========================================================= */

.testimonial-slider,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.87rem;
}

.testimonial-card,
.blog-card {
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.testimonial-rating {
  font-size: 0.78rem;
  color: #f97316;
  margin-bottom: 0.4rem;
}

.testimonial-text {
  color: #4b5563;
}

.testimonial-name {
  font-weight: 600;
  margin-top: 0.45rem;
}

.blog-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.blog-title {
  font-weight: 600;
}

.blog-excerpt {
  color: #4b5563;
  margin-top: 0.25rem;
}

.blog-link {
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
}

@media (max-width: 1024px) {
  .testimonial-slider,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .testimonial-slider,
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   KONTAKT
========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.6rem;
}

.contact-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.10), #f2f2f2);
  color: #111827;
  padding: 1.7rem 1.6rem;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.contact-card h2 {
  margin-top: 0;
}

.contact-card p {
  color: #111827;
}

.contact-meta {
  font-size: 0.86rem;
  margin-top: 0.8rem;
}

.contact-meta div {
  margin-bottom: 0.3rem;
}

.contact-meta a {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card-text {
  margin-top: 1rem;
}

.contact-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
  padding: 1.6rem 1.5rem 1.4rem;
  font-size: 0.9rem;
  border: 1px solid #e5e7eb;
}

.form-row {
  margin-bottom: 0.8rem;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.22rem;
  color: #374151;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background: #f9fafb;
  color: #111827;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #111827;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.2);
}

.contact-form small {
  font-size: 0.75rem;
  color: #6b7280;
}

.contact-whatsapp-btn {
  margin-top: 0.9rem;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   ÜBER MICH
========================================================= */

#ueber-mich p {
  color: #374151;
}

.hero-photo-placeholder--about {
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* =========================================================
   FOOTER
========================================================= */

footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.1rem 1.25rem 1.3rem;
  max-width: 1180px;
  margin: 0 auto 1.4rem;
  font-size: 0.82rem;
  color: #6b7280;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   WHATSAPP-FLOATING BUTTON
========================================================= */

.whatsapp-badge {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  background: #22c55e;
  color: #052e16;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.35);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 45;
  max-width: 90vw;
}

.whatsapp-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #bbf7d0;
}

@media (max-width: 480px) {
  .whatsapp-badge {
    font-size: 0.78rem;
    right: 0.6rem;
    bottom: 0.6rem;
  }
}

/* HERO Hintergrundbild für Startseite */
#start.card-hero {
  position: relative;
  background-image: url('/bilder/Rudolf-Ring.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Abdunkelung für bessere Lesbarkeit */
#start.card-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);  /* 45% Dunkelheit, kannst du anpassen */
  z-index: 0;
}

/* Inhalt über dem Bild */
#start.card-hero .hero {
  position: relative;
  z-index: 1;
}
#start .hero-photo {
  display: none;
}
#start.card-hero h1,
#start.card-hero p,
#start.card-hero .hero-title-badge span,
#start.card-hero .hero-meta span {
  color: white;
}

#start.card-hero .btn {
  z-index: 2;
}

/* ============================================
   VOLLFLÄCHIGES HERO-HINTERGRUNDBILD – GLOBAL
   (gilt für alle <section class="card card-hero">)
=============================================== */

.card-hero {
  position: relative;
  background-image: url('/bilder/Rudolf-Ring.jpg'); /* aktuelles Hero-Foto */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* kompatibel mit iPhone */
  overflow: hidden;
}

/* Abdunkelung für bessere Lesbarkeit */
.card-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* gerne anpassen: 0.35 = heller, 0.6 = dunkler */
  z-index: 0;
}

/* Inhalt über dem Bild */
.card-hero .hero {
  position: relative;
  z-index: 1;
}

/* Bildkarte rechts ausblenden, weil Bild jetzt Hintergrund ist */
.card-hero .hero-visual {
  display: none;
}

/* Texte im Hero-Bereich hell/weiß darstellen */
.card-hero h1,
.card-hero p,
.card-hero .hero-title-badge span,
.card-hero .hero-meta span {
  color: #ffffff;
}

/* Untertitel etwas weicher */
.card-hero .hero-subtitle {
  color: #e2e8f0;
}

/* Badge leicht transparent */
.card-hero .hero-title-badge {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Links im Hero-Bereich nicht unsichtbar lassen */
.card-hero a {
  color: inherit;
}
/* ============================================
   FINALE BUTTON-FARBEN (PETROL)
   Überschreibt alles vorherige für Sicherheit
=============================================== */

.btn-primary {
  background: #0d5f58;              /* dunkler Petrol */
  border: 1px solid #0d5f58;
  color: #ffffff;
  border-radius:99px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(13, 95, 88, 0.4);
}

.btn-primary:hover {
  background: #0b4a45;              /* noch dunkler */
  border-color: #0b4a45;
}

.btn-accent {
  background: #0f766e;             /* normaler Petrol */
  border: 1px solid #0f766e;
  color: #ffffff;
  border-radius:99px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

.btn-accent:hover {
  background: #0d5f58;
  border-color: #0d5f58;
}
.btn-outline {
  background: transparent;
  border: 1px solid #0f766e;
  color: #0f766e;
  border-radius: 99px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}

.btn-outline:hover {
  background: rgba(15, 118, 110, 0.08);
}
/* ============================================
   BUTTON SCHRIFT IMMER WEISS
   (überschreibt alle Link- oder Hero-Regeln)
=============================================== */

.btn-primary,
.btn-accent,
.btn.btn-primary,
.btn.btn-accent {
  color: #ffffff !important;
}

/* ============================================
   HEADER BUTTON (immer sichtbar auf jedem Hintergrund)
=============================================== */

.btn-header {
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a !important;     /* sehr dunkles Grau – perfekte Lesbarkeit */
  padding: 0.55rem 1.1rem;
  border-radius: 99px;
  font-weight: 600;
  border: none;
  backdrop-filter: blur(4px);    /* moderner Apple-Glass-Effekt */
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.btn-header:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 5px 18px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}


/* =======================================================
   PREMIUM UPGRADE (Am Ende der style.css einfügen)
   ======================================================= */

/* 1. Alles wirkt weicher und fließt besser */
html {
  scroll-behavior: smooth; /* Sanftes Scrollen bei Anker-Links */
}

/* 2. Text-Lesbarkeit verbessern */
body {
  /* Dunkleres Grau für besseren Kontrast auf weißem Grund */
  color: #334155; 
}

p {
  /* Optimaler Zeilenabstand für entspanntes Lesen */
  line-height: 1.75; 
  margin-bottom: 1.5rem;
}

/* 3. Interaktive "Anfass"-Qualität für Karten (Service, Blog, etc.) */
.card, .service-card, .usp-card, .property-card, .contact-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent; /* Vorbereitung für Hover */
}

.service-card:hover, .usp-card:hover, .property-card:hover {
  transform: translateY(-5px); /* Hebt sich sanft an */
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12); /* Wirft tieferen Schatten */
  border-color: var(--accent); /* Dein Petrol als feiner Rahmen */
}

/* 4. Buttons, die "Klick mich" schreien */
.btn {
  font-weight: 700; /* Fetterer Text für klare Führung */
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:active {
  transform: scale(0.97); /* Drück-Effekt beim Klicken */
}

/* Der wichtigste Button (Accent) bekommt einen "Glow" */


/* 5. Mobile Optimierung (Daumen-Freundlichkeit) */
@media (max-width: 768px) {
  /* Hero Buttons untereinander und volle Breite */
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-cta-row .btn {
    width: 100%;
    margin-bottom: 0.8rem;
    padding: 1rem; /* Größere Touch-Fläche */
  }

  /* Karten auf dem Handy nicht so riesig wirken lassen */
  .card, .service-card {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 1.8rem; /* Überschriften mobil etwas kompakter */
    line-height: 1.2;
  }
}

/* 6. Formulare aufwerten (Modern & Einladend) */
input, select, textarea {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 12px 16px; /* Mehr Platz innen wirkt moderner */
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15); /* Sanfter Petrol-Schein */
  outline: none;
}

/* 7. Footer aufräumen */
footer {
  margin-top: 4rem;
  border-top: 1px solid #e2e8f0;
}

.service-card {
  position: relative;
  cursor: pointer;
}

.service-card .card-link {
  position: absolute;
  inset: 0;           /* füllt die komplette Kachel */
  z-index: 10;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

.service-card:hover {
  transform: translateY(-3px);
  transition: 0.2s ease;
}

.section-header,
.section-title {
  position: static !important;
  top: auto !important;
}
.card article h3 {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.card article h3 svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
  opacity: 0.8;
}

.card article ul {
  margin: 1rem 0 1.5rem 0;
  padding-left: 1.2rem;
}

.card article ul li {
  margin-bottom: .4rem;
  line-height: 1.5;
}
.card ul {
  padding: 1rem 0 0 0;
}

.card ul li {
  margin: .4rem 0;
}

.card ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #374151;
}

.card ul li a:hover {
  color: #111;
}

.card ul {
  margin: 1.2rem 0;
  padding-left: 1.4rem;
  list-style: disc;
  line-height: 1.55;
}

.card ul li {
  margin-bottom: 0.5rem;
  padding-left: 0.2rem;
}
.card-hero .hero {
  padding: 4rem 1rem;
}

.hero-subtitle {
  max-width: 700px;
  margin-bottom: 2rem;
}
.section-header-final {
  padding: 2rem 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 3rem;
}

.hero-cta-row a {
  margin-right: .5rem;
}

.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-card-link:hover .service-card {
  transform: translateY(-3px);
}
.service-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-card-link:hover .service-card {
  transform: translateY(-3px);
}
