/* Homepage Styles - Modern & Professional */

.content {
  margin: 0 auto;
  min-height: 100vh;
}

/* Hero Section */
.plzsuchencontainer {
  margin-bottom: 4rem;
  animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Search Box - Elegant Modern Style */
.search-box {
  display: flex;
  align-items: stretch;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(34, 66, 115, 0.1);
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid rgba(34, 66, 115, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-box:hover {
  box-shadow: 0 16px 48px rgba(34, 66, 115, 0.15);
  transform: translateY(-4px);
  border-color: var(--color-primary-light);
}

.search-box:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 16px 48px rgba(34, 66, 115, 0.18);
}

.search-box input {
  flex: 1;
  padding: 16px 24px;
  font-size: 1.05rem;
  border: none;
  color: var(--color-neutral-dark);
  background: transparent;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.search-box input::placeholder {
  color: #c0c8d9;
  font-weight: 400;
}

.search-box input:focus {
  outline: none;
}

.search-box button {
  background: linear-gradient(135deg, #224273 0%, #3a5c99 100%);
  color: white;
  border: none;
  padding: 0 32px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: 1px;
}

.search-box button:hover {
  transform: scale(1.05);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

.search-box button:active {
  transform: scale(0.98);
}

/* Suggestions Dropdown - Premium Look */
.suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4px);
  max-width: 700px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(34, 66, 115, 0.12);
  z-index: 100;
  max-height: 380px;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
  border: 1px solid rgba(34, 66, 115, 0.08);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.suggestions::-webkit-scrollbar {
  width: 8px;
}

.suggestions::-webkit-scrollbar-track {
  background: transparent;
}

.suggestions::-webkit-scrollbar-thumb {
  background: rgba(34, 66, 115, 0.3);
  border-radius: 4px;
}

.suggestions::-webkit-scrollbar-thumb:hover {
  background: rgba(34, 66, 115, 0.5);
}

.suggestion-item {
  padding: 14px 20px;
  color: var(--color-neutral-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 4px solid transparent;
}

.suggestion-item:hover {
  background: linear-gradient(90deg, rgba(58, 92, 153, 0.12) 0%, transparent 100%);
  border-left-color: var(--color-primary);
  padding-left: 18px;
  color: var(--color-primary);
}

.suggestion-item i {
  color: var(--color-primary);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ad Card - Premium Design */
.ad-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(34, 66, 115, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(34, 66, 115, 0.06);
  position: relative;
}

.ad-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #224273 0%, #3a5c99 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.ad-card:hover::before {
  opacity: 1;
}

.ad-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 20px 48px rgba(34, 66, 115, 0.12);
  border-color: rgba(34, 66, 115, 0.12);
}

/* Image Wrapper */
.image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eef7 100%);
}

.image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ad-card:hover .image-wrapper img {
  transform: scale(1.12) rotate(2deg);
}

/* Overlay - Elegant */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 66, 115, 0.85) 0%, rgba(58, 92, 153, 0.85) 100%);
  backdrop-filter: blur(1px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ad-card:hover .overlay {
  opacity: 1;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: white;
  text-align: center;
}

.overlay-content i {
  font-size: 3rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.ad-card:hover .overlay-content i {
  transform: translateY(-8px) scale(1.2);
}

.overlay-content span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  animation: fadeInUp 0.5s ease-out 0.1s both;
}

/* Card Content */
.ad-card .title {
  padding: 1.5rem 1.5rem 0.8rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.ad-card .info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  color: #7a8393;
  border-top: 1px solid rgba(34, 66, 115, 0.06);
  transition: all 0.2s ease;
}

.ad-card:hover .info-item {
  color: var(--color-neutral-dark);
}

.ad-card .info-item:last-child {
  border-top: none;
  padding-bottom: 1.5rem;
}

.ad-card .info-item i {
  color: var(--color-primary);
  font-size: 1.1rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.ad-card .info-item p {
  margin: 0;
  color: inherit;
  font-weight: 600;
}

/* Loading Message */
.werbetafel-container > p {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: #b8c4d8;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .werbetafel-container {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .content {

  }

  .plzsuchencontainer {
    margin-bottom: 2.5rem;
  }

  .search-box {
    max-width: 100%;
  }

  .search-box input {
    padding: 14px 18px;
    font-size: 1rem;
  }

  .search-box button {
    padding: 0 24px;
    font-size: 1rem;
  }

  .werbetafel-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 2.5rem;
  }

  .image-wrapper {
    padding-top: 65%;
  }

  .ad-card {
    border-radius: 16px;
  }

  .ad-card .title {
    font-size: 1.15rem;
    padding: 1.2rem 1.2rem 0.6rem;
  }

  .ad-card .info-item {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .ad-card .info-item:last-child {
    padding-bottom: 1.2rem;
  }

  .overlay-content i {
    font-size: 2.5rem;
  }

  .overlay-content span {
    font-size: 0.9rem;
  }

  .ad-card:hover {
    transform: translateY(-12px);
  }
}

@media (max-width: 480px) {
  .content {

  }

  .plzsuchencontainer {
    margin-bottom: 2rem;
  }

  .search-box {
    border-radius: 12px;
  }

  .search-box input {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .search-box button {
    padding: 0 20px;
    font-size: 0.95rem;
  }

  .werbetafel-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .image-wrapper {
    padding-top: 70%;
  }

  .ad-card {
    border-radius: 14px;
  }

  .ad-card .title {
    font-size: 1.05rem;
    padding: 1rem 1rem 0.5rem;
  }

  .ad-card .info-item {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    gap: 8px;
  }

  .ad-card .info-item:last-child {
    padding-bottom: 1rem;
  }

  .ad-card .info-item i {
    width: 16px;
    font-size: 0.9rem;
  }

  .overlay-content i {
    font-size: 2rem;
  }

  .overlay-content span {
    font-size: 0.8rem;
  }

  .ad-card:hover {
    transform: translateY(-10px);
  }
}

/* Accessibility */
.search-box button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.ad-card:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 6px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .content {
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 50%, #ffffff 100%);
  }

  .search-box {
    background: white;
    border-color: rgba(34, 66, 115, 0.08);
  }

  .search-box:hover,
  .search-box:focus-within {
    border-color: var(--color-primary-light);
    box-shadow: 0 16px 48px rgba(34, 66, 115, 0.18);
  }

  .search-box input {
    color: var(--color-neutral-dark);
  }

  .search-box input::placeholder {
    color: #c0c8d9;
  }

  .suggestions {
    background: white;
    border: 1px solid rgba(34, 66, 115, 0.08);
    box-shadow: 0 12px 40px rgba(34, 66, 115, 0.12);
  }

  .suggestion-item {
    color: var(--color-neutral-dark);
  }

  .suggestion-item:hover {
    background: linear-gradient(90deg, rgba(58, 92, 153, 0.12) 0%, transparent 100%);
  }

  .ad-card {
    background: white;
    border-color: rgba(34, 66, 115, 0.06);
  }

  .ad-card:hover {
    box-shadow: 0 20px 48px rgba(34, 66, 115, 0.12);
    border-color: rgba(34, 66, 115, 0.12);
  }

  .ad-card .title {
    color: var(--color-primary-dark);
  }

  .ad-card .info-item {
    color: #6b7684;
    border-top-color: rgba(34, 66, 115, 0.06);
  }

  .ad-card:hover .info-item {
    color: var(--color-neutral-dark);
  }

  .werbetafel-container > p {
    color: #b8c4d8;
  }
}








 
/* ── Hero ─────────────────────────────────────────── */
  .hero {
    position: relative;
    display: flex;
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 90px 20px 80px;
    overflow: hidden;
    background: var(--white);
  }
 
  /* subtle radial glow behind hero */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(46,204,113,.12) 0%, transparent 70%);
    pointer-events: none;
  }
 
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: var(--green-pale);
    margin-bottom: 28px;
    animation: fadeUp .6s ease both;
  }
  .hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }
 
  .hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--ink);
    max-width: 760px;
    animation: fadeUp .7s .1s ease both;
  }
  .hero h1 .accent {
    color: var(--green);
  }
 
  .hero-sub {
    margin-top: 22px;
    font-size: 1.05rem;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 500px;
    font-weight: 300;
    animation: fadeUp .7s .2s ease both;
  }
 
  .hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp .7s .3s ease both;
  }
 
  .btn-primary {
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: 14px 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .15s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
 
  .btn-outline {
    background: transparent;
    color: var(--green-dark);
    border: 1.5px solid var(--green);
    border-radius: 999px;
    padding: 13px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s, transform .15s;
    display: inline-block;
  }
  .btn-outline:hover {
    background: var(--green-pale);
    transform: translateY(-1px);
  }





  /* ── Section Headings ─────────────────────────────── */
  .section {
  
    margin: 0 auto;
  }
 
  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-dark);
    margin-bottom: 14px;
  }
  .section-label::before {
    content: '';
    width: 20px; height: 2px;
    background: var(--green);
    border-radius: 2px;
  }
 
  .section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
    max-width: 520px;
  }
  .section-title .accent { color: var(--green); }
 
 
  /* ── How it Works ─────────────────────────────────── */
  .how-section {
    background: var(--ink);
    color: var(--white);
    padding: 80px 20px;
  }
  .how-inner {
    max-width: 1100px;
    margin: 0 auto;
  }
  .how-section .section-label { color: var(--green); }
  .how-section .section-title { color: var(--white); }
 
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 48px;
  }
  .step {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .step-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
  }
  .step-desc {
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    line-height: 1.6;
  }
 

  /* ── CTA Banner ───────────────────────────────────── */
  .cta-banner {
    background: linear-gradient(135deg, var(--green) 0%, #1cb85a 100%);
    padding: 72px 20px;
    text-align: center;
  }
  .cta-banner h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--white);
    max-width: 600px;
    margin: 0 auto 14px;
    line-height: 1.2;
  }
  .cta-banner p {
    color: rgba(255,255,255,.8);
    font-size: .98rem;
    max-width: 440px;
    margin: 0 auto 32px;
    line-height: 1.6;
  }
  .btn-white {
    display: inline-block;
    background: var(--white);
    color: var(--green-dark);
    border-radius: 999px;
    padding: 14px 32px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
  }
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
 
  /* ── Animations ───────────────────────────────────── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
 
  /* ── Responsive ───────────────────────────────────── */
  @media (max-width: 640px) {
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:last-child { border-bottom: none; }
    .hero { padding: 60px 16px 56px; }
    .billboard-grid { grid-template-columns: 1fr; }
  }




  .aktuelle-standorte {
     padding: 72px 20px;
      max-width: 1200px;
      margin: 0 auto;
  }




  