/* Lokale Schriftart Plus Jakarta Sans */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2');
}

:root {
  /* Slate- & Sonniges Gelb-Palette */
  --bg-dark: #0c1322;               
  --bg-card: rgba(2, 6, 23, 0.88);  /* slate-950/88 */
  --bg-card-hover: #161f30;         /* slate-800 */
  --accent: #facc15;                /* Frischerer, gelberer Ton (Amber-400) */
  --accent-hover: #eab308;          /* Satterer Ton für Hover (Amber-500) */
  --accent-soft: rgba(250, 204, 21, 0.12);
  --text-white: #f8fafc;            /* slate-50 */
  --text-gray: #94a3b8;             /* slate-400 */
  --border-color: #1e293b;          /* slate-800 */
  --border-hover: rgba(250, 204, 21, 0.4);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Weiche Schatten */
  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 10px 30px -8px rgba(0, 0, 0, 0.45);
  --shadow-hero: 0 20px 45px -12px rgba(0, 0, 0, 0.6);
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
  font-family: 'Plus Jakarta Sans', sans-serif; 
}

html { 
  scroll-behavior: smooth; 
}

body { 
  background-color: var(--bg-dark); 
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(250, 204, 21, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(234, 179, 8, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-white); 
  line-height: 1.6; 
  overflow-x: hidden; 
}

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

h1, h2, h3 {
  text-wrap: balance;
}

/* Header & Nav */
header {
  background: rgba(12, 19, 34, 0.85);
  position: fixed; 
  width: 100%; 
  top: 0; 
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-container {
  max-width: 1240px; 
  margin: 0 auto; 
  display: flex;
  justify-content: space-between; 
  align-items: center; 
  padding: 0.2rem 2rem; 
}

.nav-links { 
  display: flex; 
  gap: 2.2rem; 
  list-style: none; 
  align-items: center; 
}

.nav-links a { 
  font-size: 0.95rem; 
  font-weight: 600; 
  color: var(--text-gray);
  transition: var(--transition); 
}

.nav-links a:hover { 
  color: var(--text-white); 
}

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Großes Logo */
.header-logo-horizontal {
  height: 110px;      
  width: auto;        
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.header-logo-horizontal:hover {
  transform: scale(1.02);
}

/* Tablet & Mobile Anpassungen */
@media (max-width: 768px) {
  /* Header-Leiste ganz schlank halten */
  header {
    height: 82px;
    display: flex;
    align-items: center;
  }

  .nav-container { 
    padding: 0 1rem; 
    height: 100%;
    width: 100%;
  }
  
  /* Logo bewusst groß belassen (bis zu 75px hoch) */
  .header-logo-horizontal {
    height: 99px !important;
    max-height: 99px !important;
    width: auto !important;
    object-fit: contain;
    transform: scale(1.05); /* Gibt dem Logo extra Präsenz */
    transform-origin: left center;
  }
  
  /* Runder Anruf-Button sauber zentriert */
  header .btn {
    padding: 0.6rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  /* Abstand zur Hero-Box passend nachrücken */
  .hero-section {
    padding-top: 5.5rem;
    padding-bottom: 1.2rem;
  }
}

/* Buttons */
.btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #0b0c10;
  padding: 0.85rem 1.6rem; 
  font-weight: 700; 
  font-size: 0.95rem; 
  border-radius: var(--radius-sm);
  display: inline-flex; 
  align-items: center; 
  gap: 0.6rem; 
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.2);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-white);
  padding: 0.85rem 1.6rem; 
  font-weight: 600; 
  font-size: 0.95rem; 
  border-radius: var(--radius-sm);
  display: inline-flex; 
  align-items: center; 
  gap: 0.6rem; 
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-center {
  justify-content: center;
}

/* Sections */
section { 
  padding: 3.8rem 2rem; 
  max-width: 1240px; 
  margin: 0 auto; 
  position: relative;
  clear: both;
}

.section-title { 
  text-align: center; 
  margin-bottom: 2.2rem; 
}

.section-title h2 { 
  font-size: 2.1rem; 
  font-weight: 800; 
  letter-spacing: -0.5px; 
  margin-bottom: 0.4rem; 
}

.section-title p { 
  color: var(--text-gray); 
  font-size: 1rem; 
}

/* Hero */
.hero-section {
  padding-top: 8rem;
  padding-bottom: 2rem;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-hero);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateZ(0);
  width: 100%;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 520px;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-content h1 span { 
  color: var(--accent); 
}

.hero-subline {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.trust-badges-wrap {
  display: flex; 
  gap: 1.6rem; 
  margin-bottom: 2.2rem; 
  flex-wrap: wrap;
}

.trust-item {
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
  color: var(--accent); 
  font-weight: 600; 
  font-size: 0.92rem;
}

.hero-actions {
  display: flex; 
  gap: 1rem; 
  flex-wrap: wrap;
}

.hero-person-card {
  position: relative;
  display: block;
  width: 280px;
  min-width: 280px;
  height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(250, 204, 21, 0.35);
  transition: var(--transition);
  flex: 0 0 280px;
  box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.5);
}

.hero-person-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 20px 35px -5px rgba(250, 204, 21, 0.25);
}

.hero-person-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(12, 19, 34, 0.92);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
}

/* Swiper */
#fahrzeuge {
  padding-top: 1.8rem;
  padding-bottom: 2.8rem;
}

.swiper {
  width: 100%;
  padding: 0.5rem 0 2.5rem 0;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.swiper-wrapper { 
  display: flex; 
}

.swiper-slide { 
  height: auto; 
  display: flex; 
  justify-content: center;
  box-sizing: border-box;
}

.car-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transform: translateZ(0);
  transition: var(--transition);
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}

.car-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.55);
}

.car-img-box {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.car-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.car-card:hover .car-img { 
  transform: scale(1.05); 
}

.car-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.car-title { 
  font-size: 1.2rem; 
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.car-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.car-specs {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
  flex-wrap: wrap;
}

.car-spec-tag {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.swiper-pagination-bullet { 
  background: rgba(255, 255, 255, 0.25) !important; 
  opacity: 1; 
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
  width: 24px;
  border-radius: 999px;
}

/* Fallback */
.fallback-wrapper {
  width: 100%; 
  display: flex; 
  justify-content: center;
}

.fallback-card {
  background: var(--bg-card); 
  border: 1px solid var(--border-color); 
  border-radius: var(--radius-md); 
  padding: 3rem 2rem; 
  text-align: center; 
  max-width: 550px; 
  width: 100%;
  box-shadow: var(--shadow-card);
}

.fallback-icon {
  font-size: 2.6rem; 
  color: var(--accent); 
  margin-bottom: 1rem;
}

.fallback-title {
  font-size: 1.35rem; 
  margin-bottom: 0.5rem; 
  font-weight: 700;
}

.fallback-text {
  color: var(--text-gray); 
  font-size: 0.95rem; 
  margin-bottom: 1.6rem; 
  line-height: 1.6;
}

/* Vorteile */
.vorteile-wrapper {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 1.8rem; 
  width: 100%;
}

.feature-box {
  background: var(--bg-card); 
  padding: 2rem; 
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transform: translateZ(0);
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.55);
}

.feature-box h3 {
  margin-bottom: 0.5rem; 
  font-size: 1.25rem;
}

.feature-box p {
  color: var(--text-gray); 
  font-size: 0.95rem;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(250, 204, 21, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.feature-icon-wrapper i { 
  font-size: 1.4rem; 
  color: var(--accent); 
}

/* FAQ */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-subtle);
  transform: translateZ(0);
  transition: var(--transition);
}

.faq-item[open] {
  background: #161f33; 
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 12px 30px -6px rgba(0, 0, 0, 0.5);
}

.faq-item summary {
  padding: 1.1rem 1.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-item[open] summary {
  color: var(--accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.8rem;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.4rem 1.2rem;
  color: #cbd5e1; 
  line-height: 1.65;
  font-size: 0.95rem;
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transform: translateZ(0);
}

.contact-card-header {
  display: flex; 
  align-items: center; 
  gap: 1.1rem; 
  margin-bottom: 1.3rem;
}

.contact-card-header h3 {
  font-size: 1.15rem; 
  font-weight: 700; 
  margin: 0;
}

.contact-card-header p {
  color: var(--text-gray); 
  font-size: 0.88rem; 
  margin: 0;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(250, 204, 21, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.3rem;
}

.address-text {
  line-height: 1.7; 
  color: var(--text-white); 
  margin-bottom: 1.3rem;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.contact-header i.header-icon {
  font-size: 2.1rem;
  color: var(--accent);
}

.contact-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
  color: #fff;
}

.contact-header p {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin: 0;
}

.btn-contact {
  background: rgba(12, 19, 34, 0.9);
  border: 1px solid var(--border-color);
  color: #ffffff;
  padding: 1rem 1.3rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s ease;
  margin-bottom: 0.85rem;
}

.btn-contact:last-child {
  margin-bottom: 0;
}

.btn-contact i {
  font-size: 1.25rem;
  color: #ffffff;
  width: 24px;
  text-align: center;
}

.btn-contact:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
  background: #1e293b;
}

.btn-contact:hover i {
  color: var(--accent);
}

/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #0b0c10;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 22px rgba(250, 204, 21, 0.35);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(250, 204, 21, 0.5);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color); 
  text-align: center;
  padding: 2.2rem 2rem; 
  color: var(--text-gray); 
  font-size: 0.9rem;
}

footer a { 
  transition: var(--transition); 
}

footer a:hover { 
  color: var(--accent); 
}

/* Responsive Breakpoints & kompakter mobiler Header */
@media (max-width: 768px) {
  section {
    padding: 2.5rem 1.2rem;
  }
  .hero-section {
    padding-top: 6.8rem;
    padding-bottom: 1.2rem;
  }
  .hero-card {
    padding: 1.8rem 1.2rem;
  }
  .hero-content h1 { font-size: 2rem; }
  .nav-links { display: none; }
  .hero-container { justify-content: center; text-align: center; }
  .hero-person-card { margin: 0 auto; }
  .trust-badges-wrap { 
    justify-content: center; 
    gap: 0.9rem;
  }
  .hero-actions { justify-content: center; }
  
  .nav-container { 
    padding: 0.8rem 1.2rem; 
  }
  
  .header-logo-horizontal {
    height: 40px;
  }
  
  header .btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  header .btn {
    padding: 0.65rem;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  header .btn i {
    font-size: 1rem;
    margin: 0;
  }

  .floating-wa {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Unterseiten */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 8.5rem 2rem 3.5rem;
}

.legal-card {
  background: var(--bg-card);
  padding: 2.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.legal-card h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  color: var(--text-white);
}

.legal-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.3rem;
}

.legal-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--text-white);
}

.legal-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--text-white);
}

.legal-card p, 
.legal-card li {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-card ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-card a {
  color: var(--accent);
  transition: var(--transition);
}

.legal-card a:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

/* Unsichtbar für Menschen, aber lesbar für Screenreader und KI-Agenten */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Modal / Popup Styling --- */
.modal-overlay {
  display: none; /* WICHTIG: Muss auf none stehen, damit es versteckt ist! */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 19, 34, 0.85); 
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center; 
  align-items: flex-start;
  padding: 3rem 1rem;
  overflow-y: auto;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 15px;
  background: rgba(12, 19, 34, 0.9);
  color: var(--text-white);
  border: 1px solid var(--border-color);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 1;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent);
  color: #0b0c10;
  border-color: var(--accent);
}

/* Visitenkarten-Design im Popup */
.visitenkarte-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-hero);
  text-align: left;
}

.visitenkarte-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.2rem;
}

.visitenkarte-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.visitenkarte-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
}

.visitenkarte-header p {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 600;
}

.visitenkarte-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.visitenkarte-body i {
  color: var(--accent);
  width: 20px;
  text-align: center;
  margin-right: 0.5rem;
}

/* --- IFrame-Popup für karte.html (Ohne Scrollbalken) --- */
.modal-content-karte {
  position: relative;
  width: 100%;
  max-width: 650px; 
  height: 500;     
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
  overflow: hidden; 
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-iframe {
  width: 100%;
  height: 1100px;    
  border: none;
  background: transparent;
  display: block;
  overflow: hidden;
}
/* --- Styling für digitale Visitenkarte (karte.html) --- */
.vcard-page {
  background-color: #0f172a;
  color: #f1f5f9;
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.vcard-card {
  width: 100%;
  max-width: 480px;
  background: rgba(2, 6, 23, 0.85);
  border: 1px solid #1e293b;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.vcard-glow-top {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 12rem;
  height: 12rem;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 9999px;
  filter: blur(48px);
  pointer-events: none;
}

.vcard-glow-bottom {
  position: absolute;
  bottom: -5rem;
  left: -5rem;
  width: 12rem;
  height: 12rem;
  background: rgba(180, 83, 9, 0.1);
  border-radius: 9999px;
  filter: blur(48px);
  pointer-events: none;
}

.vcard-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  margin-bottom: 1rem;
}

.vcard-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  border: 2px solid rgba(245, 158, 11, 0.3);
  display: block;
}

.vcard-share-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid #1e293b;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vcard-share-btn:hover {
  background: #1e293b;
  color: #fff;
  border-color: rgba(245, 158, 11, 0.4);
}

.vcard-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0;
  text-align: center;
}

.vcard-subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 1px;
  margin-top: 0.25rem;
  text-align: center;
}

.vcard-subtext {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.15rem;
  text-align: center;
}

.vcard-main-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #d97706;
  color: #fff;
  font-weight: 600;
  border-radius: 1rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-top: 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(120, 53, 15, 0.4);
  transition: background 0.2s ease, transform 0.1s ease;
}

.vcard-main-btn:hover {
  background: #f59e0b;
}

.vcard-main-btn:active {
  transform: scale(0.98);
}

.vcard-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.vcard-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  border-radius: 1rem;
  background: #0f172a;
  border: 1px solid #1e293b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.vcard-quick-item:hover {
  border-color: rgba(245, 158, 11, 0.4);
  background: #1e293b;
}

.vcard-quick-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  transition: color 0.2s ease;
}

.vcard-quick-item:hover .vcard-quick-icon {
  color: #fff;
}

.vcard-quick-item span {
  font-size: 11px;
  color: #cbd5e1;
  font-weight: 500;
}

.vcard-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.vcard-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid #1e293b;
  text-decoration: none;
  color: #f1f5f9;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.vcard-row-item:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background-color: #1e293b;
}

.vcard-row-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.vcard-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  background: rgba(69, 26, 3, 0.6);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vcard-row-arrow {
  color: #64748b;
  transition: color 0.2s ease;
}

.vcard-row-item:hover .vcard-row-arrow {
  color: #fbbf24;
}

.vcard-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 11px;
  color: #94a3b8;
}

.vcard-footer a {
  color: #94a3b8;
  text-decoration: none;
}

.vcard-footer a:hover {
  color: #fff;
}