:root {
  --primary: #0097a9;
  --primary-dark: #008191;
  --bg-color: #f6fbfc; 
  --container-bg: #ffffff;
  --text-main: #1d1d1f;
  --text-muted: #6e6e73;
  --card-small-bg: #ffffff;
  --card-small-border: rgba(0,0,0,0.06);
  --card-small-hover: #fafafa;
  --bar-bg: #ffffff;
  --bar-border: rgba(0,0,0,0.06);
  --divider-color: rgba(0,0,0,0.06);
  --modal-bg: #ffffff;
  --input-bg: #ffffff;
  --input-border: #e5e5ea;
  --shadow-primary: 0 14px 40px rgba(0,0,0,.12);
  --shadow-secondary: 0 6px 18px rgba(0,0,0,.06);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body { 
  margin: 0; 
  padding: 35px 20px; 
  min-height: 100vh;
  box-sizing: border-box;
  font-family: var(--font-main);
  color: var(--text-main);
  background: linear-gradient(180deg, #f6fbfc, #eef4f6);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

@keyframes smoothFadeIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: smoothFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.9) translateY(20px); }
  60% { opacity: 1; transform: scale(1.02) translateY(0); }
  100% { transform: scale(1) translateY(0); }
}

@keyframes pulseLoader {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.skeleton-block {
  display: inline-block;
  background: rgba(0, 151, 169, 0.12);
  border-radius: 4px;
  animation: pulseLoader 1.5s infinite ease-in-out;
  color: transparent !important;
  user-select: none;
}
.skeleton-block.main { min-width: 120px; }
.skeleton-block.sub { min-width: 80px; height: 0.72rem; margin-top: 4px; }

.container {
  width: 100%; 
  max-width: 480px; 
  margin: 0 auto;
  background-color: var(--container-bg);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.04);
  padding: 30px 24px;
  box-sizing: border-box;
  display: flex; 
  flex-direction: column; 
  align-items: stretch;
  border: 1px solid rgba(0,0,0,0.03);
}

.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 28px;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}
.logo-img-wrapper {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.logo-deco {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 1.15rem;
  line-height: 1;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes popIn {
  0% { transform: scale(0) rotate(-20deg); opacity: 0; }
  100% { transform: scale(1) rotate(15deg); opacity: 1; }
}
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.logo-title {
  font-weight: 700;
  font-size: clamp(0.75rem, 4vw, 0.9rem);
  color: #000;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.logo-subtitle {
  font-size: clamp(0.65rem, 3.5vw, 0.75rem);
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.call-btn-top {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg, #ff5e2e 0%, #e63d0b 100%);
  border: 1px solid #d33508;
  padding: 8px 14px;
  border-radius: 99px;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 
    0 4px 12px rgba(234, 88, 12, 0.25),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}
.call-btn-top:active { 
  transform: scale(0.96); 
  box-shadow: 
    0 2px 4px rgba(234, 88, 12, 0.15),
    inset 0 3px 6px rgba(0, 0, 0, 0.2);
}
@media (hover: hover) {
  .call-btn-top:hover {
    transform: translateY(-2px);
    box-shadow: 
      0 6px 16px rgba(234, 88, 12, 0.35),
      inset 0 1.5px 1px rgba(255, 255, 255, 0.4),
      inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  }
}
.call-btn-top svg { width: 18px; height: 18px; color: inherit; flex-shrink: 0; }
.call-btn-texts { display: flex; flex-direction: column; text-align: left; }
.call-btn-number { font-weight: 700; font-size: 0.8rem; line-height: 1.1; color: inherit; white-space: nowrap; }
.call-btn-label { font-size: 0.65rem; color: inherit; opacity: 0.9; line-height: 1.1; font-weight: 600; white-space: nowrap; }

.headline-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 36px;
}
.headline-text {
  flex: 1;
}
.headline-section h1 {
  font-size: clamp(1.4rem, 7vw, 1.6rem);
  font-weight: 800;
  margin: 0 0 6px 0;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.mobile-hero-bg .headline-section h1 {
  color: #fff;
  white-space: nowrap;
  font-size: clamp(1.2rem, 5.8vw, 1.6rem);
  letter-spacing: -0.03em;
}
.mobile-hero-bg .headline-text {
  min-width: 0;
  flex: 1 1 auto;
}

.mobile-hero-bg .agent-profile-pic {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
}

.mobile-hero-bg .status-main-text {
  color: #fff;
}

.mobile-hero-address {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-hero-address svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.9;
}
.mobile-hero-address span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.headline-section p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.agent-profile-pic {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  background-color: #f2f2f7;
  transition: box-shadow 0.3s ease;
}
.agent-profile-pic.status-glow-green { box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); border: 2px solid #10b981; }
.agent-profile-pic.status-glow-red { box-shadow: 0 0 15px rgba(239, 68, 68, 0.4); border: 2px solid #ef4444; }
.agent-profile-pic.status-glow-yellow { box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); border: 2px solid #f59e0b; }

/* Modernes Info- und Warn-Banner */
.modern-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  margin: 0 0 24px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: none;
  border-left: 5px solid transparent;
  text-align: left;
}
.modern-banner.banner-info { background-color: #f0f9ff; border-left-color: #0284c7; }
.modern-banner.banner-warning { background-color: #fff7ed; border-left-color: #ea580c; }
.modern-banner-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.modern-banner.banner-info .modern-banner-icon svg { color: #0284c7; width: 26px; height: 26px; }
.modern-banner.banner-warning .modern-banner-icon svg { color: #ea580c; width: 26px; height: 26px; }
.modern-banner-content { display: flex; flex-direction: column; }
.modern-banner-title { font-weight: 700; font-size: 0.95rem; color: #1d1d1f; margin-bottom: 2px; }
.modern-banner-text { font-size: 0.85rem; color: #515154; line-height: 1.4; }

.tiles-wrapper {
  display: block; 
}

.primary-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.card-big {
  width: 100%;
  border-radius: 18px;
  padding: 20px 24px;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
  font-family: inherit;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 
    0 10px 24px rgba(0,0,0,0.12),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.25),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}
.card-big.bg-orange { background: linear-gradient(180deg, #ff5e2e 0%, #e63d0b 100%); }
.card-big.bg-petrol { background: linear-gradient(180deg, #168a9b 0%, #0f6672 100%); }

.card-big:active { 
  transform: scale(0.98); 
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.25);
}
@media (hover: hover) {
  .card-big:hover { 
    transform: translateY(-3px) scale(1.01); 
    box-shadow: 
      0 18px 40px rgba(0,0,0,.15),
      inset 0 1.5px 1px rgba(255, 255, 255, 0.3),
      inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  }
}

.card-big .card-icon { width: 34px; height: 34px; margin-right: 16px; flex-shrink: 0; }
.card-big .card-icon svg { width: 100%; height: 100%; display: block; }

.card-big .card-text-wrapper { flex: 1; display: flex; flex-direction: column; padding-right: 12px; }
.card-big .card-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 2px 0; line-height: 1.2; }
.card-big .card-desc { font-size: 0.8rem; opacity: 0.9; font-weight: 400; line-height: 1.3; }

.card-big .arrow-icon { width: 22px; height: 22px; opacity: 0.7; flex-shrink: 0; transition: transform 0.25s ease; }
.card-big:hover .arrow-icon { transform: translateX(4px); opacity: 1; }

.secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.card-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
  padding: 20px 14px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
  min-height: 120px;
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
  border: 1px solid #e5e5ea;
  box-shadow: 
    0 6px 16px rgba(0,0,0,0.04),
    inset 0 1.5px 1px #ffffff,
    inset 0 -2px 4px rgba(0,0,0,0.02);
}

.card-small:active { 
  transform: scale(0.96); 
  background: #f4f4f5; 
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.05); 
}
@media (hover: hover) {
  .card-small:hover { 
    transform: translateY(-3px) scale(1.01); 
    background: #f9f9fa;
    box-shadow: 
      0 12px 24px rgba(0,0,0,.08),
      inset 0 1.5px 1px #ffffff,
      inset 0 -2px 4px rgba(0,0,0,0.02);
  }
}

.card-small .card-icon { width: 32px; height: 32px; margin-bottom: 12px; color: var(--primary); flex-shrink: 0; }
.card-small .card-icon.icon-whatsapp { color: #10b981; }
.card-small .card-icon svg { width: 100%; height: 100%; display: block; }
.card-small .card-title { font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.card-small .card-desc { font-size: 0.76rem; color: var(--text-muted); margin-top: 4px; line-height: 1.3; }

.card-small:last-child:nth-child(odd) {
  grid-column: span 2;
}

.ssc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.ssc-body {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: none; 
  width: 100%;
}

.status-bar {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
  border-radius: 16px; 
  padding: 16px 20px; 
  margin-bottom: 12px;
  border: 1px solid #e5e5ea; 
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: 
    0 6px 16px rgba(0,0,0,0.04),
    inset 0 1.5px 1px #ffffff,
    inset 0 -2px 4px rgba(0,0,0,0.03);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .status-bar:hover { 
    background: #f9f9fa; 
    transform: translateY(-2px); 
    box-shadow: 
      0 10px 24px rgba(0,0,0,0.06),
      inset 0 1.5px 1px #ffffff,
      inset 0 -2px 4px rgba(0,0,0,0.03);
  }
}

.status-left { display: flex; align-items: center; gap: 12px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.status-green { background-color: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }
.status-red { background-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15); }
.status-yellow { background-color: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15); }

.status-main-text { font-size: 0.95rem; font-weight: 700; color: var(--text-main); line-height: 1.2; transition: color 0.3s; }

.status-pill {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill-green { 
  color: #047857; 
  background: linear-gradient(180deg, #d1fae5 0%, #a7f3d0 100%); 
  border: 1px solid #6ee7b7; 
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.7), inset 0 -1.5px 2px rgba(0, 0, 0, 0.06);
}

.pill-red { 
  color: #b91c1c; 
  background: linear-gradient(180deg, #fee2e2 0%, #fecaca 100%); 
  border: 1px solid #fca5a5; 
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.7), inset 0 -1.5px 2px rgba(0, 0, 0, 0.06);
}

.pill-yellow { 
  color: #b45309; 
  background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%); 
  border: 1px solid #fcd34d; 
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, 0.7), inset 0 -1.5px 2px rgba(0, 0, 0, 0.06);
}

.status-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.status-bar.open .status-chevron {
  transform: rotate(180deg);
}

.opening-hours-content {
  max-height: 0; opacity: 0; overflow: hidden; padding: 0 20px; box-sizing: border-box;
  background: var(--bar-bg); border-radius: 0 0 16px 16px; margin-top: -12px; margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
.status-bar.open + .opening-hours-content {
  max-height: 400px; opacity: 1; padding: 20px; border-color: var(--bar-border); border-top: none;
}

.oh-table { width: 100%; border-collapse: collapse; }
.oh-table td { padding: 6px 0; font-size: 0.85rem; border-bottom: 1px dashed var(--divider-color); vertical-align: top; }
.oh-table tr:last-child td { border-bottom: none; padding-bottom: 0; }
.oh-table .oh-day-name { font-weight: 600; color: var(--text-main); width: 40%; }
.oh-table .oh-times { color: var(--text-muted); text-align: right; }

.bottom-contact-bar {
  background: rgba(255, 255, 255, 0.75); 
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 18px; height: 68px; padding: 0 8px; margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap; gap: 4px; box-shadow: var(--shadow-secondary);
}
.contact-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; 
  text-decoration: none; color: var(--text-main); height: 100%;
  font-size: 0.65rem; font-weight: 600; flex: 1; 
  background: transparent; border: none; border-radius: 14px; cursor: pointer; font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-item:hover { background: rgba(0,0,0,0.03); color: var(--primary); }
.contact-item svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.contact-divider { width: 1px; height: 32px; background-color: var(--divider-color); margin: 0 2px; }

.rating-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.rating-footer:hover { opacity: 0.8; }
.rating-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 2px; }
.ekomi-badge-img { height: 18px; width: auto; object-fit: contain; margin-top: 4px; }

.footer { text-align: center; color: var(--text-muted); font-size: 0.7rem; margin-bottom: 0; line-height: 1.4; }
.footer a { color: inherit; text-decoration: underline; margin-left: 4px; }

.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 20px; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box { background: var(--modal-bg); width: 100%; max-width: 380px; border-radius: 24px; padding: 32px 24px; box-shadow: 0 25px 50px rgba(0,0,0,0.15); display: none; }
.modal-overlay.active .modal-box { display: block; animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.modal-box h3 { margin: 0 0 8px 0; font-size: 1.3rem; color: var(--text-main); font-weight: 800; }
.modal-box p { margin: 0 0 16px 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

.modal-callback-info { background: rgba(0, 151, 169, 0.08); border: 1px solid rgba(0, 151, 169, 0.15); padding: 12px 14px; border-radius: 12px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--primary-dark); }

.form-group { margin-bottom: 14px; }
.form-group input, .form-group select { width: 100%; padding: 14px 16px; box-sizing: border-box; background: #f9f9fa; border: 1px solid var(--input-border); border-radius: 14px; font-size: 0.95rem; font-family: inherit; color: var(--text-main); outline: none; transition: border-color 0.2s ease, background-color 0.3s ease; }
.form-group input::placeholder { color: #a1a1aa; }
.form-group input:focus, .form-group select:focus { border-color: var(--primary); background: #ffffff; box-shadow: 0 0 0 4px rgba(0, 151, 169, 0.1); }

.modal-actions { display: flex; gap: 10px; margin-top: 24px; }
.modal-btn { flex: 1; padding: 14px; border-radius: 14px; font-weight: 700; font-size: 0.95rem; cursor: pointer; border: none; font-family: inherit; transition: transform 0.2s ease, background 0.2s ease; }

.btn-submit { 
  background: linear-gradient(180deg, #00a6ba 0%, #008191 100%);
  border: 1px solid #007685;
  color: #fff; 
  box-shadow: 
    0 6px 14px rgba(0, 151, 169, 0.2),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.25),
    inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}
.btn-submit:active {
  transform: scale(0.96);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.2);
}
.btn-submit:hover { filter: brightness(1.05); }

.btn-cancel { 
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%);
  color: var(--text-main); 
  border: 1px solid #d4d4d8; 
  box-shadow: 
    0 2px 6px rgba(0,0,0,0.04),
    inset 0 1px 1px #ffffff,
    inset 0 -1px 2px rgba(0,0,0,0.02);
}
.btn-cancel:active {
  transform: scale(0.96);
  background: #e4e4e7;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.05);
}
.btn-cancel:hover { background: #f9f9fa; }

html, body { overflow-x: hidden; }

.desktop-only { display: none !important; }
.mobile-only { display: block !important; }

.mobile-hero-bg {
  background: linear-gradient(180deg, #1d606a 0%, #0c3e47 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.15),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.15),
    inset 0 -2px 6px rgba(0, 0, 0, 0.25);
  border-radius: 24px;
  margin: 0 0 24px 0;
  padding: 18px 18px 12px 18px;
  box-sizing: border-box;
}
.mobile-hero-bg .headline-section {
  margin-bottom: 0;
}

.mobile-hero-bg .headline-section h1 {
  color: #fff;
}

.mobile-hero-bg .status-main-text {
  color: #fff;
}

/* DESKTOP & TABLET CSS */
@media (min-width: 768px) {
  .desktop-only { display: flex !important; }
  .mobile-only { display: none !important; }

  .container.desktop-only {
    flex-direction: column;
    max-width: 900px;
    padding: 48px;
    margin: 40px auto;
    border-radius: 32px;
  }
  
  .top-header { margin-bottom: 32px; }

  .new-hero-layout {
    background: linear-gradient(180deg, #1d606a 0%, #0c3e47 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
      0 20px 40px rgba(0,0,0,0.25),
      inset 0 1.5px 1px rgba(255, 255, 255, 0.15),
      inset 0 -2px 6px rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    padding: 0;
    position: relative;
    z-index: 100;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
  }

  .hero-main-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
    align-items: center;
    padding: 30px 32px 24px 32px;
    gap: 24px;
    box-sizing: border-box;
  }
  .hero-center {
    position: static;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }

  @media (min-width: 768px) and (max-width: 1100px) {
    .hero-main-content {
      padding: 30px 20px 24px 20px;
      grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
      gap: 10px;
    }

    .hero-center {
      position: static !important;
      transform: none !important;
      width: auto !important;
      justify-content: center;
    }

    .hero-agent-img {
      width: 140px !important;
      height: 140px !important;
    }

    .hero-title {
      font-size: 1.8rem !important;
    }

    .hero-right {
      align-items: flex-end !important;
      padding-bottom: 0 !important;
      min-width: 0;
      width: 100%;
      overflow: visible;
    }

    .hero-status-wrapper {
      width: 270px !important;
      max-width: 100%;
      min-width: 0;
    }

    .hero-status-box {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
  }

  @media (min-width: 768px) and (max-width: 1100px) and (orientation: portrait) {
    .hero-main-content {
      padding: 24px 16px 16px 16px !important;
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1.5fr) !important;
      gap: 12px !important;
      align-items: start !important;
    }
    .hero-left, .hero-right {
      display: flex !important;
      flex-direction: column !important;
      padding-bottom: 0 !important;
      width: 100% !important;
    }
    .hero-left {
      align-items: flex-start !important;
      text-align: left !important;
    }
    .hero-right {
      align-items: flex-end !important;
      text-align: right !important;
    }
    .hero-agent-img {
      width: 100px !important;
      height: 100px !important;
      margin-top: 10px !important;
    }
    .hero-script {
      font-size: 1.2rem !important;
      margin-bottom: 6px !important;
    }
    .hero-title {
      font-size: 1rem !important;
      margin-bottom: 6px !important;
      word-wrap: break-word;
      line-height: 1.15 !important;
    }
    .hero-subtitle {
      font-size: 0.72rem !important;
      max-width: 100% !important;
      line-height: 1.3 !important;
    }
    .hero-script.right-align {
      font-size: 1.1rem !important;
      margin-top: 8px !important;
      text-align: right !important;
      align-self: flex-end !important;
    }
    .hero-status-wrapper {
      width: 100% !important;
      align-items: flex-end !important;
    }
    
    .hero-status-box {
      padding: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
    }
    .hero-status-header {
      padding: 6px 14px !important;
      margin-bottom: 3px !important; 
    }
    .hero-status-header .status-main-text {
      font-size: 0.85rem !important;
    }
    .hero-status-body {
      font-size: 0.75rem !important;
      margin-bottom: 4px !important;
      text-align: center !important; 
      white-space: normal !important;
      line-height: 1.3 !important;
    }
    .hero-status-body span {
      font-size: 0.7rem !important;
      margin-top: 2px !important;
      display: inline-block !important;
    }
    .hero-status-link {
      justify-content: center !important; 
    }
  }

  .hero-left {
    flex: 1;
    padding-bottom: 20px;
    z-index: 3;
  }
  .hero-script {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 12px;
    opacity: 0.95;
    transform: rotate(-2deg);
    white-space: nowrap;
  }
  .hero-script.right-align {
    text-align: right;
    margin-top: 25px;
    margin-bottom: 0;
    transform: rotate(-3deg) translateY(10px);
    font-size: 1.8rem;
  }
  .hero-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
  }
  .hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin: 0;
    max-width: 280px;
    line-height: 1.4;
  }

  .hero-agent-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border: 4px solid rgba(255,255,255,0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .hero-agent-img.status-glow-green { box-shadow: 0 0 25px rgba(16, 185, 129, 0.4); border-color: rgba(16, 185, 129, 0.4); }
  .hero-agent-img.status-glow-red { box-shadow: 0 0 25px rgba(239, 68, 68, 0.4); border-color: rgba(239, 68, 68, 0.4); }
  .hero-agent-img.status-glow-yellow { box-shadow: 0 0 25px rgba(245, 158, 11, 0.4); border-color: rgba(245, 158, 11, 0.4); }

  .hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 20px;
    z-index: 50;
    position: relative;
  }
  
  .hero-status-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 270px;
    z-index: 50;
  }
  
  .hero-status-box {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.25s ease;
    position: relative;
    z-index: 51;
  }

  @media (hover: hover) {
    .hero-status-box:hover {
      transform: translateY(-3px) scale(1.01);
      box-shadow: none;
    }
  }

  .hero-status-header {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f4f5 100%);
    border-radius: 99px;
    padding: 7px 16px;
    margin-bottom: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 
      0 8px 20px rgba(0,0,0,0.15),
      inset 0 1.5px 1px #ffffff,
      inset 0 -2px 4px rgba(0,0,0,0.04);
    width: auto;
    max-width: 100%;
  }

  .hero-status-header .status-main-text {
    font-size: 1rem;
    font-weight: 700;
    color: #1d1d1f;
  }

  .hero-status-body {
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 8px;
    white-space: nowrap;
  }
  .hero-status-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .hero-status-wrapper .status-chevron {
    transition: transform 0.3s ease;
  }
  .hero-status-wrapper.open .status-chevron {
    transform: rotate(180deg);
  }
  
  .desktop-hours-slideout {
    background: #fff;
    border-radius: 20px;
    padding: 0 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    position: absolute;
    top: calc(100% + 8px); 
    left: 0;
    right: 0;
    z-index: 50;
  }
  .hero-status-wrapper.open .desktop-hours-slideout {
    max-height: 500px;
    opacity: 1;
    padding: 24px; 
  }

  .hero-bottom-bar {
    position: relative;
    margin: 0 40px 24px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    z-index: 10;
  }

  @media (min-width: 768px) and (max-width: 1100px) {
    .hero-bottom-bar {
      margin: 0 20px 20px 20px;
      grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
      gap: 8px;
    }
    .hero-btn {
      padding: 12px 10px !important;
      gap: 8px !important;
    }
    .hero-btn .btn-title {
      font-size: 0.85rem !important;
    }
    .hero-btn .btn-sub {
      font-size: 0.7rem !important;
    }
    .hero-btn .btn-icon svg {
      width: 20px !important;
      height: 20px !important;
    }
  }

  .hero-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
    border: 1px solid #e5e5ea;
    box-shadow: 
      0 10px 25px rgba(0,0,0,0.15),
      inset 0 1.5px 1px #ffffff,
      inset 0 -2px 4px rgba(0,0,0,0.05);
  }

  .hero-btn:active {
    transform: scale(0.96);
    background: #f4f4f5;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.05);
  }

  @media (hover: hover) {
    .hero-btn:hover {
      transform: translateY(-3px) scale(1.01);
      background: #f9f9fa;
      box-shadow: 
        0 15px 35px rgba(0,0,0,0.25),
        inset 0 1.5px 1px #ffffff,
        inset 0 -2px 4px rgba(0,0,0,0.05);
    }
  }

  .hero-btn-white {
    color: #1d1d1f;
  }
  .btn-icon svg { width: 24px; height: 24px; display: block; }
  .hero-btn-white .btn-icon svg { color: var(--primary); }
  .btn-icon.icon-whatsapp svg { color: #10b981; }
  
  .btn-text { display: flex; flex-direction: column; overflow: hidden; }
  .btn-title { font-weight: 700; font-size: 0.95rem; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  .btn-sub { font-size: 0.75rem; margin-top: 2px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  .hero-btn-white .btn-sub { color: var(--text-muted); }

  .desktop-hero-contact-bar {
    margin: 0 40px 24px 40px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .hero-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: opacity 0.2s ease;
    min-width: 0;
    white-space: nowrap;
  }
  
  .hero-contact-item.item-address { flex: 0 1 auto; }
  .hero-contact-item.item-phone { flex: 0 0 auto; }
  .hero-contact-item.item-email { flex: 1 1 auto; justify-content: flex-end; }
  
  a.hero-contact-item:hover {
    opacity: 1;
  }
  
  .hero-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.9;
    color: #fff;
  }
  
  .hero-contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
    overflow: visible;
  }
  
  .hero-contact-title {
    font-weight: 600;
    font-size: 0.78rem;
    color: #fff;
    overflow: visible;
    white-space: nowrap;
  }

  .hero-contact-item.item-email .hero-contact-title {
    font-size: 0.72rem;
  }
  
  .hero-contact-sub {
    font-size: 0.68rem;
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .hero-contact-divider {
    width: 1px;
    height: 26px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    margin: 0 4px;
  }

  @media (min-width: 768px) and (max-width: 1100px) {
    .desktop-hero-contact-bar {
      margin: 0 20px 20px 20px;
      gap: 6px;
    }
    .hero-contact-title {
      font-size: 0.68rem;
    }
    .hero-contact-item.item-email .hero-contact-title {
      font-size: 0.65rem;
    }
    .hero-contact-sub {
      font-size: 0.58rem;
    }
  }
}

@media (min-width: 768px) {
  .hero-status-header {
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-status-header .status-red {
    background-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
  }
  
  .hero-status-header .status-yellow {
    background-color: #f59e0b !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15) !important;
  }
  
  .hero-status-header .status-green {
    background-color: #10b981 !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15) !important;
  }

  .hero-status-body {
    color: rgba(255,255,255,0.9) !important;
    text-align: right; 
  }

  .hero-status-link {
    color: #10b981 !important; 
    justify-content: flex-end; 
  }

  .hero-status-link .status-chevron {
    color: #10b981 !important;
  }
}

/* Versteckt den statischen Text "Achtung" */
.dynamic-status-text {
  font-size: 0 !important;
}

/* Zeigt den Rest-Text wieder in normaler Groesse an */
.status-dot.status-yellow ~ .dynamic-status-text::after,
.status-dot.status-red ~ .dynamic-status-text::after {
  content: "Schreiben Sie uns gerne per WhatsApp oder E-Mail.";
  white-space: pre-wrap;
  display: block;
  font-size: 0.78rem;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  line-height: 1.3;
}