/* Static map placeholder (centered content with actions) */
.map-static {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center
}

.map-static-content {
  text-align: center
}

.map-static-content i {
  font-size: 40px;
  color: #10b981
}

.map-static-actions .btn {
  margin: 0 4px
}

/* ===========================================================================
   Sonnenpanorama II – style.css (responsive, cross-browser, mobile-first)
   - Fluid Typography & Spacing mit clamp()
   - Grid-basierter Hero-Split, perfektes Height-Matching
   - Touch, Safe-Area, High-DPI, Reduced-Motion, Print
   - Kompatibilität: text-size-adjust (-webkit, -ms, Standard)
   ========================================================================== */

/* Root Tokens */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #151515;
  /* --accent-color:#10b981;  // bei Bedarf aktivieren */
  --contrast-color: #312f2f;
  --nav-color: rgba(255, 255, 255, .905);
  --nav-hover-color: #10b981;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #10b981;

  /* Layout */
  --container-pad-inline: clamp(16px, 3vw, 32px);
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, .4);
  --shadow-md: 0 20px 40px rgba(0, 0, 0, .1);
  --shadow-sm: 0 2px 15px rgba(0, 0, 0, .1);
  scroll-behavior: smooth;
}

/* Light/Dark Theme Tokens (optional) */
.light-background {
  --background-color: #f9f9f9;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #2a2727;
}

/* Global Resets & Base */
html,
body {}

body {
  font-family: var(--default-font);
  color: var(--default-color);
  background: #000;
  /* Page-Hintergrund schwarz laut Design */
  margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
  display: block
}

img {
  image-rendering: auto
}

/* fallback if no hi-dpi rules apply */

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: .3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%)
}

/* Utilities */
.display-4 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 300
}

.fw-bold {
  font-weight: 700 !important
}

.text-success {
  color: var(--accent-color) !important
}

.text-muted {
  color: var(--muted) !important
}

.text-center {
  text-align: center !important
}

.mt-3 {
  margin-top: 1rem !important
}

.mt-4 {
  margin-top: 1.5rem !important
}

.me-2 {
  margin-right: .5rem !important
}

.ms-2 {
  margin-left: .5rem !important
}

.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0
}

.list-unstyled li {
  margin-bottom: .5rem
}

/* ===== Header & Nav ===== */
.header {

  top: 0;
  z-index: 997;
  transition: .5s;
  width: 100% !important;
  padding-top: 15px;
}

.header .container-fluid,
.header .container-xl {
  padding-left: 0 !important
}

/* .header .logo {
  margin-left: 0 !important;
  padding-left: 0 !important
} */

.header .sitename {
  margin: 0;
  max-width: 80% !important;
}

.header .sitename img {
  display: block;
  max-width: 50%;
}

.navbar {
  max-width: 20%;
}

@media (-webkit-min-device-pixel-ratio:2),
(min-resolution:192dpi) {
  .header .sitename img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality
  }
}

.header.hidden {
  transform: translateY(-100%)
}

.header .logo {
  /* line-height: 1 */
  width: 100%;

}

.logo-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.estador-brand {
  font: 600 16px/1 var(--nav-font);
  color: #C7B299;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px
}

.project-name {
  font: 700 18px/1 var(--nav-font);
  color: #C7B299;
  letter-spacing: .5px
}

.header .btn-getstarted {
  color: var(--contrast-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 12px 24px;
  /* margin-left: 30px; */
  border-radius: 6px;
  border: 2px solid #C7B299;
  background: #C7B299;
  transition: .3s;
  max-width: 180px;
  min-width: 180px;
}

.header .btn-getstarted:hover {
  background: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 211, 153, .3);
}

/* Main container strip out spacing on first section */
.index-page .main>.section:first-child {
  padding: 0 !important
}

.index-page .main .hero-split.section {
  padding: 0 !important;
  margin-bottom: 0 !important
}

.index-page .main .hero-split.section+.section {
  padding-top: 64px !important
}

/* ===== Navmenu (Desktop) ===== */
.navmenu { padding: 0; position: relative; z-index: 1000 }

.navmenu ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  gap: 8px
}

.navmenu li {
  position: relative
}

.navmenu a {
  color: #ffffff;
  padding: 15px 12px;
  font: 500 14px/1 var(--nav-font);
  display: flex;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  letter-spacing: .5px;
  transition: .3s;
  position: relative;
  text-transform: uppercase;
}

.navmenu .active,
.navmenu li:hover>a {
  color: #ffffff
}

.navmenu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transform: translateX(-50%);
  transition: .3s;
}

.navmenu .active::after,
.navmenu li:hover>a::after {
  width: 100%
}

/* Mobile trigger shown <1200px */
@media (max-width:1199px) {
  .navmenu ul {
    display: none
  }

  .mobile-nav-toggle {
    display: block;
    background: none;
    border: 0;
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    cursor: pointer;
    transition: color .3s;
    padding: 8px;
  }
  /* Mobile dropdown for navmenu */
  .navmenu ul.show { display:flex!important; flex-direction:column; position:absolute; top:100%; left:0; right:0; background:transparent; -webkit-backdrop-filter:none; backdrop-filter:none; padding:12px 0; z-index:2000; border-top:0 }
  .navmenu ul.show li { text-align:center }
  .navmenu ul.show a {
    display:inline-block;
    padding:10px 16px;
    color:#34404D;
    background:#C7B299;
    border-radius:10px;
    margin:6px auto;
    min-width:180px;
    font-weight:700;
    text-transform:uppercase;
  }
  .navmenu ul.show a:hover { filter:brightness(0.95) }
  .navmenu.open ul { display:flex!important }
}

/* ===== Hero ===== */
.hero {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: color-mix(in srgb, var(--background-color), transparent 30%)
}

.hero .container {
  position: relative;
  z-index: 3
}

/* Split Layout – Grid für perfektes Matching */
/* ===== HERO SPLIT – Grundlayout ===== */
.hero-split {
  display: grid;
  grid-template-columns: minmax(280px, 25%) 1fr;
  /* links 25%, rechts Rest */
  height: 100dvh;
  /* moderne dynamische Viewport-Höhe */
  height: calc(var(--vh, 1vh) * 100);
  /* Fallback via JS-Var für iOS Safari */
  width: 100vw;
  overflow: hidden;
  /* kein Scroll-Leak im Hero */
}

.hero-left,
.hero-right {
  background-color: #34404D;
  min-height: 0;
  /* wichtig bei Grid, verhindert Überlauf */
}

/* ===== RECHTE SPALTE + BILD FÜLLEND ===== */
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  /* oben/rechts/unten/links = 0 */
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Bild vollständig anzeigen, kein Beschnitt */
  object-position: right center;
  /* an rechter Kante ausrichten */
  background: #000;
  /* Letterbox-Flächen unauffällig */
}

/* ===== MODE B: kein Beschnitt (optional) ===== */
/* Füge dem Container .no-crop hinzu, wenn du "contain" willst */
/* no-crop Modus ist jetzt Standard; Klasse bleibt für Abwärtskompatibilität */
.hero-right.no-crop .hero-image {
  object-fit: contain;
  background: #000
}

/* ===== Responsiv: unter 991px untereinander ===== */
@media (max-width: 991px) {
  .hero-split {
    grid-template-columns: 1fr;
    /* zwei Reihen: Text oben auto, Bild unten 55dvh */
    grid-template-rows: auto 55dvh;
    height: auto;
  }

  .hero-right {
    min-height: 55dvh;
  }

  .hero-image {
    object-position: center top;
  }
}

/* ================= HERO SPLIT (links Text, rechts Bild) ================= */
.hero-split {
  display: grid;
  grid-template-columns: minmax(280px, 25%) 1fr;
  /* links 25%, rechts Rest */
  height: 100dvh;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
  overflow: hidden;
}

.hero-left,
.hero-right {
  min-height: 0;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* vollständig anzeigen, kein Schnitt */
  object-position: right center;
  background: #000;
}

/* sehr kleine Geräte */
@media (max-width: 575px) {
  .hero-split {
    grid-template-rows: auto 50dvh;
  }

  .hero-right {
    min-height: 50dvh;
  }
}

/* Content – deutlich weiter nach unten */
.hero-content {
  text-align: center;
  color: #C7B299;
  max-width: clamp(280px, 30vw, 480px);
  margin-inline: auto;

  /* stärkerer vertikaler Shift */
  transform: translateY(clamp(40px, 12vh, 180px));
}

/* Desktop → Tablet etwas moderater */
@media (max-width: 991px) {
  .hero-content {
    transform: translateY(clamp(24px, 10vh, 140px));
  }
}

/* Phones noch etwas weniger, damit nichts abgeschnitten wird */
@media (max-width: 575px) {
  .hero-content {
    transform: translateY(clamp(16px, 8vh, 100px));
  }
}


.hero-logo {
  margin-bottom: clamp(10px, 2.5vw, 40px)
}

.hero-logo img {
  max-width: 100%;
  height: auto;
  transition: .3s;
  display: inline-block;
  filter: brightness(0) invert(1)
}

/* FLUID & UNBREAKABLE HERO TITLE */
.hero-title {
  font-family: 'Georgia', serif;
  /* flüssige Größe: min 20px, ideal ~1rem+2.8vw, max 48px */
  font-size: clamp(20px, 1rem + 2.8vw, 48px);
  line-height: 1.2;
  letter-spacing: .5px;
  color: #C7B299;
  margin: 0 0 20px;

  /* nie überlaufen, schön umbrechen */
  max-width: 22ch;
  /* angenehme Zeilenlänge */
  text-wrap: balance;
  /* moderne Browser: ausgeglichene Zeilen */
  overflow-wrap: anywhere;
  /* Fallback */
  word-break: normal;
  hyphens: auto;
  /* Silbentrennung, wenn erlaubt */
}

/* winzige Phones */
@media (max-width: 360px) {
  .hero-title {
    font-size: clamp(18px, 6vw, 24px);
    letter-spacing: 0;
    max-width: 26ch;
  }
}

/* sehr große Desktops */
@media (min-width: 1400px) {
  .hero-title {
    font-size: clamp(42px, 2vw, 56px);
  }
}

/* OPTIONAL: Container-Queries, falls die Title-Spalte (z. B. .hero-left) schmal ist */
.hero-left {
  container-type: inline-size;
}

@container (max-width: 420px) {
  .hero-title {
    /* skaliert relativ zur Spaltenbreite (cqi) */
    font-size: clamp(18px, 4.5cqi, 28px);
  }
}

.hero-subtitle {
  font-size: clamp(9px, 1.2vw, 14px);
  line-height: 1.5;
  letter-spacing: 1px;
  color: #C7B299;
  margin: 0 0 clamp(24px, 4vw, 50px);
  font-weight: 300;
  text-transform: none;
}

.hero-features {
  text-align: left;
  margin-bottom: clamp(20px, 4vw, 50px)
}

.feature-item {
  font-size: clamp(11px, 1.15vw, 18px);
  line-height: 1.4;
  color: #C7B299;
  font-weight: 300;
  margin-bottom: 6px;
}

.hero-cta {
  background: #34404D;
  border: 1px solid #C7B299;
  color: #C7B299;
  font-size: clamp(12px, 1.2vw, 18px);
  padding: clamp(10px, 1.2vw, 16px) clamp(18px, 2.5vw, 32px);
  min-height: 44px;
  border-radius: 6px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: .3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-cta:hover {
  background: #C7B299;
  color: #34404D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(199, 178, 153, .3);
}

/* Small devices tuning */
@media (max-width:991px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto
  }

  .hero-left {
    padding: clamp(24px, 6vw, 60px)
  }

  .hero-right {
    height: clamp(40vh, 45vh, 60vh)
  }

  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top
  }
}

@media (max-width:575px) {
  .hero-right {
    height: 50vh
  }

  .hero-title {
    letter-spacing: .5px
  }

  .hero-subtitle {
    letter-spacing: .5px
  }

  .feature-item {
    font-size: clamp(9px, 2.8vw, 12px)
  }

  .hero-cta {
    font-size: clamp(10px, 3.2vw, 12px);
    padding: clamp(8px, 2.8vw, 12px) clamp(14px, 5vw, 24px);
    min-height: 40px
  }
}

/* Landscape phones */
@media (max-width:767px) and (orientation:landscape) {
  .hero-right {
    height: 100vh
  }

  .hero-image {
    object-position: center top
  }
}

/* ===== Sections ===== */
.section {
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
  color: var(--default-color);
  background: var(--background-color);
}

.section:nth-child(even) {
  background: #f5f6f8
}

.section-title {
  padding-bottom: 60px;
  text-align: center
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  margin: 0;
  letter-spacing: 1.5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700
}

/* ===== Service Cards ===== */
.icon-box {
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  min-width: 180px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.icon-box i {
  font-size: 18px;
  color: #C7B299
}

.icon-box h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  color: #fff;
  font-weight: 700
}

@media (max-width:575px) {
  .icon-box {
    min-width: 150px;
    padding: 8px 12px
  }

  .icon-box h3 {
    font-size: 13px
  }
}

.services .service-item {
  background: var(--background-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: clamp(30px, 6vw, 80px) 20px;
  height: 100%;
  transition: .3s;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.services .service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
  transition: left .5s ease;
}

.services .service-item:hover {
  box-shadow: 0 0 25px rgba(0, 0, 0, .1);
  transform: translateY(-10px)
}

.services .service-item:hover::before {
  left: 100%
}

.services .service-item .icon {
  background: var(--accent-color);
  color: var(--contrast-color);
  margin: 0 auto 20px;
  width: 64px;
  height: 64px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s;
}

.services .service-item .icon i {
  font-size: 28px
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px;
  font-size: 22px;
  transition: .3s
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin: 0
}

.service-item.featured {
  background: linear-gradient(135deg, #fff, #f0fdf4);
  border: 2px solid var(--accent-color);
  padding: 30px;
}

/* ===== Portfolio ===== */
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px;
  list-style: none;
  text-align: center
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  padding: 8px 20px 10px;
  margin: 0 0 5px;
  font: 500 15px/1 var(--heading-font);
  border-radius: 4px;
  transition: .3s;
  display: inline-block;
}

.portfolio .portfolio-filters li.filter-active,
.portfolio .portfolio-filters li:hover {
  color: var(--contrast-color);
  background: var(--accent-color)
}

.portfolio-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  height: clamp(220px, 30vw, 300px);
  background: #f8f9fa;
  margin-bottom: 20px;
  transition: .3s;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .3s
}

.portfolio-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .15)
}

.portfolio-image-container:hover .portfolio-image {
  transform: scale(1.05)
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: .5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px
}

.portfolio .portfolio-item .portfolio-info p {
  font-size: 14px;
  margin: 0;
  padding-right: 50px
}

.portfolio .portfolio-item .portfolio-info .details-link,
.portfolio .portfolio-item .portfolio-info .preview-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: .3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px
}

/* ===== Icons ===== */
.custom-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-color);
  transition: .3s;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .1))
}

.icon .custom-icon {
  width: 64px;
  height: 64px;
  color: #C7B299;
  background: #34404D;
  padding: 16px;
  border-radius: 20px;
  border: 2px solid rgba(199, 178, 153, .3);
  stroke-width: 1.5;
}

.preview-link .custom-icon {
  width: 24px;
  height: 24px;
  color: #fff;
  background: rgba(0, 0, 0, .7);
  padding: 6px;
  border-radius: 8px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.custom-icon:hover {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .2))
}

.icon .custom-icon:hover {
  background: #34404D;
  border-color: #C7B299;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(199, 178, 153, .3);
}

/* ===== Contact Form ===== */
.modern-contact-form {
  background: #34404D;
  padding: clamp(20px, 4vw, 40px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(199, 178, 153, .5);
  min-height: 500px;
}

.form-group {
  margin-bottom: 24px
}

.form-group label {
  display: block;
  color: #fff;
  font: 600 14px/1 var(--nav-font);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 16px 20px;
  background: #1a1a1a;
  border: 2px solid #404040;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  transition: .3s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent-color);
  background: #222;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .1);
}

.form-input.error {
  border-color: #ff4757;
  background: rgba(255, 71, 87, .1)
}

.form-textarea {
  resize: vertical;
  min-height: 120px
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23e0e0e0' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 48px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px
}

.form-checkbox {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent-color);
  cursor: pointer
}

.checkbox-label {
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  cursor: pointer
}

.error-message {
  color: #ff4757;
  font-size: 12px;
  margin-top: 6px;
  display: none
}

.error-message.show {
  display: block
}

.form-actions {
  margin-top: 32px
}

.submit-btn {
  width: 100%;
  padding: 18px 32px;
  background: transparent;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  color: #fff;
  font: 600 16px/1 var(--nav-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: .3s;
}

.submit-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(52, 211, 153, .3);
}

.submit-btn:active {
  transform: translateY(0)
}

.form-message {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  display: none
}

.form-message.success {
  background: rgba(52, 211, 153, .1);
  color: #10b981;
  border: 1px solid rgba(52, 211, 153, .3)
}

.form-message.error {
  background: rgba(255, 71, 87, .1);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, .3)
}

/* Radio group */
.radio-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e0e0e0;
  font-size: 14px;
  cursor: pointer;
  margin: 0
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent-color);
  cursor: pointer
}

/* ===== Map ===== */
.map-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  transition: .3s;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  background: #fff;
}

.map-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .2)
}

/* Responsive 16:9 Frame ohne feste Höhe, füllt Container */
.map-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
  filter: saturate(1.05) contrast(1.02);
}

.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .6);
  z-index: 3
}

.map-consent-box {
  background: #fff;
  color: #000;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .25);
  text-align: center;
  max-width: 520px;
  margin: 0 16px;
  display: none
}

.map-consent-icon {
  font-size: 40px;
  color: #10b981;
  margin-bottom: 8px
}

.map-consent-title {
  font-size: 20px;
  margin: 0 0 8px;
  color: #111
}

.map-consent-btn {
  background: #10b981;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .2px
}

.map-consent-btn:hover {
  filter: brightness(0.95)
}

.map-consent-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: #333
}

.map-consent-note a {
  color: #0a7e61;
  text-decoration: underline
}

/* consent overlay styles removed (auto-load maps) */
.map-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-color);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
  animation: mapPinPulse 2s infinite
}

@keyframes mapPinPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: .8
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1
  }
}

.map-container:hover .map-pin {
  animation: mapPinBounce .6s ease-in-out
}

@keyframes mapPinBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(-50%, -50%) translateY(0)
  }

  40% {
    transform: translate(-50%, -50%) translateY(-10px)
  }

  60% {
    transform: translate(-50%, -50%) translateY(-5px)
  }
}

/* ===== Contact Info Card ===== */
.contact-info {
  padding: clamp(30px, 5vw, 60px);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(199, 178, 153, .3);
  min-height: clamp(400px, 50vw, 600px);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #C7B299, #34404D, #C7B299);
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }
}

.contact-logo {
  text-align: center;
  margin-bottom: 30px
}

.contact-logo img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(15%) saturate(500%) hue-rotate(10deg) brightness(90%) contrast(90%);
  margin: 0 auto;
  display: block
}

.contact-info h3 {
  color: #000;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  margin: 0 0 30px;
  text-align: center
}

.contact-info p {
  color: #000;
  font-size: clamp(13px, 2.2vw, 18px);
  line-height: 1.8;
  margin: 0;
  text-align: center
}

.contact-info strong {
  color: #C7B299;
  font-weight: 700;
  font-size: clamp(16px, 2.4vw, 20px)
}

/* ===== Footer ===== */
.footer {
  background: #34404D;
  color: #fff;
  font-size: 14px;
  padding: 15px 0;
  position: relative;
}

.footer-top {
  padding: 20px 0
}

.footer-about { margin-bottom: 30px; display:flex; align-items:center; gap:24px; flex-wrap:wrap }

.footer-about .logo {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px
}

.footer-contact { margin-top: 0; display:flex; align-items:center; gap:16px; flex-wrap:wrap }

.footer-contact p { margin:0; color: rgba(255, 255, 255, .8); font-size: 14px }

.footer-contact strong {
  color: #fff;
  font-weight: 600
}

/* Footer bottom strip */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding: 10px 0;
}
.footer-bottom .footer-legal-links {
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
}
.footer-bottom .footer-legal-links a {
  color: #fff;
  margin: 0 6px;
}
.footer-bottom .footer-legal-links a:hover { text-decoration: underline }
.footer-bottom .footer-social { display:flex; align-items:center; gap:24px }
.footer-bottom .footer-social a { display:inline-flex; align-items:center; justify-content:center; color:#fff; transition:.2s; text-decoration:none; border:0; background:none }
.footer-bottom .footer-social a i { font-size: 28px }
.footer-bottom .footer-social a:hover { transform: translateY(-2px); opacity:.85 }
/* Footer social icons */
.social-links{ display:flex; gap:16px; flex-wrap:nowrap }
.social-links a{ width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; border:2px solid rgba(255,255,255,.6); border-radius:10px; color:#fff; transition:.2s }
.social-links a i{ font-size:22px }
.social-links a:hover{ transform:translateY(-2px); background:rgba(255,255,255,.1); border-color:#fff }

/* ===== Scroll To Top ===== */
.scroll-top {
  position: fixed;
  right: clamp(10px, 3vw, 30px);
  bottom: clamp(10px, 3vw, 30px);
  z-index: 996;
  background: var(--accent-color);
  width: clamp(35px, 4vw, 50px);
  height: clamp(35px, 4vw, 50px);
  border-radius: 50%;
  transition: .3s;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0)
}

.scroll-top:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

.scroll-top .custom-icon {
  width: clamp(16px, 2vw, 24px);
  height: clamp(16px, 2vw, 24px);
  color: #34404D
}

/* ===== Mobile Navigation (Hamburger Variante) ===== */
.hamburger-menu {
  display: none;
  flex-direction: column;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 5px;
  gap: 4px;
  transition: .3s;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background: var(--nav-color);
  transition: .3s
}

.hamburger-menu:hover {
  transform: scale(1.05)
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px)
}

@media (max-width:1199px) {
  .hamburger-menu {
    display: flex
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, .95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px 0;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .nav-menu.show {
    display: block;
    animation: slideDown .3s ease-out
  }

  .nav-menu li {
    display: block;
    margin: 0;
    text-align: center
  }

  .nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: .3s;
    font-family: var(--nav-font);
    text-transform: uppercase;
    letter-spacing: .5px;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: var(--accent-color);
    color: #fff;
    transform: translateX(10px)
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ===== Counter & Reveal ===== */
#counter,
#counter-85,
#counter-18000 {
  font-weight: 900;
  color: var(--accent-color)
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: .6s
}

.reveal.active {
  opacity: 1;
  transform: translateY(0)
}

/* ===== Responsive Tweaks ===== */
@media (max-width:991px) {
  .contact-info {
    margin-bottom: 30px
  }

  .modern-contact-form {
    margin-bottom: 30px
  }
}

@media (max-width:767px) {
  .portfolio .row {
    margin: 0 -10px
  }

  .portfolio .col-lg-4,
  .portfolio .col-md-6 {
    padding: 0 10px
  }

  .nav-menu {
    padding: 15px 0
  }

  .nav-menu a {
    padding: 18px 15px;
    font-size: 16px
  }
}

@media (max-width:575px) {
  .portfolio .row {
    margin: 0 -8px
  }

  .portfolio .col-lg-4,
  .portfolio .col-md-6 {
    padding: 0 8px
  }

  .nav-menu {
    padding: 10px 0
  }

  .nav-menu a {
    padding: 16px 12px;
    font-size: 14px
  }

  .footer-about {
    text-align: center;
    margin-bottom: 20px
  }

  .footer-contact p {
    font-size: 12px;
    margin-bottom: 5px
  }
}

@media (max-width:375px) {
  .nav-menu a {
    padding: 14px 10px;
    font-size: 13px
  }

  .footer-about .logo {
    font-size: 14px
  }

  .footer-contact p {
    font-size: 11px
  }
}

/* ===== Touch Optimierungen ===== */
@media (hover:none) and (pointer:coarse) {
  .hero-cta {
    min-height: 44px;
    padding: 12px 24px
  }

  .hero-cta:hover {
    transform: none;
    box-shadow: none
  }

  .hero-cta:active {
    background: #C7B299;
    color: #34404D;
    transform: scale(.98)
  }

  .scroll-top {
    min-width: 44px;
    min-height: 44px
  }

  .scroll-top:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
  }

  .scroll-top:active {
    transform: scale(.95);
    background: color-mix(in srgb, var(--accent-color), transparent 30%)
  }

  .nav-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center
  }

  .nav-menu a:hover {
    transform: none
  }

  .nav-menu a:active {
    background: var(--accent-color);
    transform: scale(.98)
  }
}

/* ===== High DPI ===== */
@media (-webkit-min-device-pixel-ratio:2),
(min-resolution:192dpi) {

  .hero-image,
  .portfolio-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality
  }

  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimizeQuality
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility
  }
}

@media (-webkit-min-device-pixel-ratio:3),
(min-resolution:288dpi) {
  .custom-icon {
    transform: scale(1.1)
  }

  .icon .custom-icon {
    transform: scale(1.05)
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Print ===== */
@media print {

  .hero-split,
  .mobile-nav-toggle,
  .scroll-top,
  .form-actions {
    display: none !important
  }

  .section {
    padding: 20px 0;
    page-break-inside: avoid
  }

  .service-item {
    page-break-inside: avoid
  }
}