/*
================================================
SEV - SONDEREIGENTUMSVERWALTUNG - CSS
================================================
*/

/* --- GRUNDLAGEN & VARIABLEN --- */
:root {
  --primary-blue: #00529b;
  --gradient-start: #2a79d3;
  --gradient-end: #0d2642;
  --dark-bg: #0b0f19;
  --light-text: #f8f9fa;
  --dark-text: #12161f;
  --section-bg-light: #f8f9fa;
  --border-color: #e2e8f0;
}

/* --- GLOBALE STILE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: var(--dark-text);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}
.container-wide {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-padding {
  padding: 120px 0;
}
.center-title {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.2rem;
  color: #454d5d;
}

/* --- HEADER & FOOTER (KONSISTENT) --- */
header {
  background-color: white;
  border-bottom: 1px solid var(--border-color);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  width: 100vw;
  top: 0;
  left: 0;
  padding-left: 20px;
  padding-right: 50px;
  box-sizing: border-box;
}
.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}
nav a {
  text-decoration: none;
  color: var(--light-text);
  margin-left: 40px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 5px 0;
    white-space: nowrap; 

}
nav#desktop-nav a {
  text-decoration: none;
  color: var(--dark-text);
  margin-left: 40px;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav#desktop-nav a:hover {
  color: var(--primary-blue);
}

.navbar-container{
box-sizing: border-box;
align-items: flex-start;
padding: 0;
}

/* --- MOBILE NAVIGATION --- */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  color: var(--dark-text);
}
#mobile-nav {
  display: none;
}

/* --- SPLIT-SCREEN HERO SECTION --- */
.sev-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 85vh;
  background-color: var(--section-bg-light);
}
.hero-text-content {
  padding: 60px;
}
.hero-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.hero-text-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}
.hero-text-content p {
  font-size: 1.1rem;
  color: #454d5d;
  max-width: 600px;
  margin-bottom: 40px;
}
.hero-image-content {
  height: 100%;
  background: url("../images/Villa.jpg") no-repeat center center/cover;
}

.highlight_text {
  background: -webkit-linear-gradient(
    45deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- KERNLEISTUNGEN --- */
#core-services {
  background-color: #ffffff;
}
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 5vh;
}
.feature-block:not(:last-child) {
  margin-bottom: 120px;
}
.feature-block.reverse {
  direction: rtl; /* Spiegelt die Reihenfolge */
}
.feature-block.reverse > * {
  direction: ltr; /* Setzt die Textrichtung für den Inhalt zurück */
}
.feature-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.feature-text h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.feature-text p {
  font-size: 1.1rem;
  color: #454d5d;
}
.feature-text p:not(:last-child) {
  margin-bottom: 15px;
}

/* --- MEHRWERT-LEISTUNGEN --- */
.plus-services-section {
  background-color: var(--section-bg-light);
  color: var(--dark-text);
}
.plus-services-section .section-title {
  color: black;
}
.plus-services-section .section-subtitle {
  color: black;
}
.plus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}
.plus-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #343a40;
  padding: 30px;
  border-radius: 16px;
}
.plus-card.highlight {
  border-color: var(--primary-blue);
  background: linear-gradient(rgba(0, 82, 155, 0.2), rgba(11, 15, 25, 0.5));
}
.plus-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: white;
}
.plus-card p {
  font-size: 1rem;
  color: #adb5bd;
}

.btn-primary {
  padding: 14px 30px;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid var(--primary-blue);
  display: inline-block;
  background: linear-gradient(
    90deg,
    var(--gradient-start),
    var(--gradient-end)
  );
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 82, 155, 0.25);
}

/* --- BENTO GRID --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.bento-card {
  text-decoration: none;
  background: var(--background-color);
  padding: 40px;
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.bento-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-blue);
}
.bento-card svg {
  width: 40px;
  height: 40px;
  stroke-width: 1.5;
  color: var(--primary-blue);
  margin-bottom: 20px;
}
.bento-card h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-blue);
}
.bento-card p {
  font-size: 1.05rem;
  color: #495057;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  color: white;
  border-radius: 50%;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2px;
  fill: white;
  padding: 0;
  margin: 0;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .feature-block {
    gap: 40px;
  }
}
@media (max-width: 992px) {
  .section-padding {
    padding: 80px 0;
  }
  .section-title {
    font-size: 2.4rem;
  }
  .sev-hero {
    grid-template-columns: 1fr;
  }
  .hero-text-content {
    padding: 80px 40px;
    text-align: center;
  }
  .hero-image-content {
    min-height: 300px;
  }
  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
  }
  .feature-image {
    margin-bottom: 30px;
  }
  .feature-text {
    text-align: center;
  }
}
@media (max-width: 768px) {

  .hero-text-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
  }

   .navbar {
    position: absolute;
  }

   .container {
    padding-inline: 16px;
  }


  .logo-img {
    height: 70px;
  }

  .container-wide {
    padding: 0 20px;
  }
  nav#desktop-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  #mobile-nav {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 350ms ease-in-out;
    z-index: 1001;
  }
  #mobile-nav[data-visible] {
    transform: translateX(0%);
  }
  #mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
  }
  #mobile-nav nav a {
    font-size: 1.8rem;
    margin-left: 0;
    color: var(--dark-text);
  }
  .btn-mobile {
    padding: 12px 28px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
  }

  .hero-text-content h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .contact-buttons {
    flex-direction: column;
  }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
  .section {
    padding: 0;
  }
  .bento-grid {
  }
}
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .section-title h2,
  .section-title h2.h2-long-word {
    font-size: 2.4rem;
  }
}
/* --- RESPONSIVE DESIGN (MOBILE) --- */
@media (max-width: 768px) {
  .container {
    padding-inline: 16px;
  }
  .section {
    padding-bottom: 0 !important;
  }
  .section-title h2 {
    font-size: clamp(1.75rem, 6vw, 2.25rem) !important;
    width: 100%;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card h3 {
    font-size: clamp(1.1rem, 2.75vh, 1.4rem);
  }
}


@media (max-width: 1200px) {
    nav a {
      margin-left: 20px; 
      font-size: 0.9rem; 
      white-space: nowrap;
  }
}