/* =========================================
   POT Experts – Modern Clean Design
   Primary: #07387B
   Secondary: #3A86FF (modern blue accent)
   ========================================= */

.pot-experts {
  --pot-blue: #07387B;
  --pot-accent: #3A86FF;
  --pot-light: #F8FAFF;
  --pot-radius: 20px;
  --pot-border: rgba(7, 56, 123, 0.08); /* Heller gemacht */
  --pot-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); /* Weicherer Schatten */
  --pot-shadow-hover: 0 16px 32px rgba(0, 0, 0, 0.1);
  
  width: 100%;
  max-width: 1280px;
  margin: clamp(24px, 4vw, 48px) auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

.pot-experts__head {
  margin-bottom: clamp(24px, 3vw, 36px);
  text-align: center;
}

.pot-experts__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--pot-blue);
  background: linear-gradient(135deg, #07387B 0%, #3A86FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pot-experts__list {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

/* Modern Card Design */
.pot-expert {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: var(--pot-radius);
  border: 1px solid var(--pot-border);
  background: white;
  box-shadow: var(--pot-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pot-expert:hover {
  transform: translateY(-4px);
  box-shadow: var(--pot-shadow-hover);
  border-color: rgba(58, 134, 255, 0.2);
}

.pot-expert:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #07387B, #3A86FF);
}

/* Enhanced Avatar */
.pot-expert__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  background: linear-gradient(135deg, #F8FAFF 0%, #E8F1FF 100%);
  border: 4px solid white;
  box-shadow: 
    0 8px 20px rgba(7, 56, 123, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.pot-expert:hover .pot-expert__avatar {
  transform: scale(1.05);
  box-shadow: 
    0 12px 28px rgba(58, 134, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.pot-expert__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pot-expert:hover .pot-expert__img {
  transform: scale(1.1);
}

.pot-expert__initials {
  font-size: 32px;
  font-weight: 800;
  color: var(--pot-blue);
  opacity: 0.8;
  letter-spacing: -0.03em;
}

/* Content Area */
.pot-expert__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  flex: 1;
}

.pot-expert__meta {
  min-width: 0;
  flex: 1;
}

.pot-expert__name {
  margin: 0 0 8px 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--pot-blue);
}
a.pot-expert__cta {
    color: white;
}
.pot-expert__name a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pot-expert__name a:hover {
  color: var(--pot-accent);
  text-decoration: none;
}
/* Expert Context Label inside Card */
.pot-expert__context {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* Helles und modernes Role Design */
.pot-expert__role {
  font-size: 14px;
  line-height: 1.4;
  color: #5A6C87; /* Helleres, modernes Graublau */
  font-weight: 500;
  padding: 6px 12px;
  background: rgba(248, 250, 255, 0.7); /* Sehr hell, fast transparent */
  border-radius: 8px;
  display: inline-block;
  border: 1px solid rgba(7, 56, 123, 0.08); /* Sehr dezenter Rahmen */
  box-shadow: 0 2px 6px rgba(7, 56, 123, 0.04);
  transition: all 0.2s ease;
}

/* Optional: Akzentfarbe für die Spezialisierung */
.pot-expert__role::before {
  content: "•";
  color: var(--pot-accent);
  margin-right: 6px;
  font-weight: bold;
}

/* Modern Button */
.pot-expert__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  
  color: white;
  background: linear-gradient(135deg, var(--pot-blue) 0%, var(--pot-accent) 100%);
  border: none;
  
  box-shadow: 
    0 4px 12px rgba(58, 134, 255, 0.2),
    0 8px 24px rgba(7, 56, 123, 0.12);
  
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pot-expert__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.pot-expert__cta:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 20px rgba(58, 134, 255, 0.3),
    0 12px 32px rgba(7, 56, 123, 0.15);
}

.pot-expert__cta:hover::before {
  left: 100%;
}

.pot-expert__cta:active {
  transform: translateY(0);
}

.pot-expert__cta:focus {
  outline: 2px solid rgba(58, 134, 255, 0.4);
  outline-offset: 3px;
}

/* Enhanced Responsive Design */
@media (max-width: 992px) {
  .pot-expert {
    grid-template-columns: 100px 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }
  
  .pot-expert__avatar {
    width: 100px;
    height: 100px;
    grid-row: 1;
  }
  
  .pot-expert__body {
    grid-column: 2 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .pot-expert__cta {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .pot-expert {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  
  .pot-expert__avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    grid-row: auto;
  }
  
  .pot-expert__body {
    grid-column: 1;
    align-items: center;
  }
  
  .pot-expert__role {
    text-align: center;
  }
  
  .pot-expert__meta {
    text-align: center;
  }
  
  .pot-expert__cta {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .pot-expert {
    padding: 20px;
  }
  
  .pot-expert__avatar {
    width: 120px;
    height: 120px;
  }
  
  .pot-expert__cta {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .pot-expert__role {
    font-size: 13px;
    padding: 5px 10px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .pot-expert {
    background: #000041;
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
  }
  
  .pot-expert__name {
    color: #e2e8f0;
  }
  
  .pot-expert__role {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .pot-expert__avatar {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  }
}

/* Print styles */
@media print {
  .pot-expert {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .pot-expert__cta {
    display: none;
  }
}

/* ==========================================
   Methode -> Hubseite
   ========================================== */

.pot-method-hub{
  margin: 28px 0;
}

.pot-method-hub__head{
  margin-bottom: 14px;
}

.pot-method-hub__title{
  margin: 0;
  font-size: clamp(1.25rem, 1.1rem + .4vw, 1.65rem);
  font-weight: 800;
  color: #07387B;
  line-height: 1.2;
}

.pot-method-hub__card{
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
}

.pot-method-hub__media{
  display: block;
  min-height: 240px;
  background: #f3f6fb;
  text-decoration: none;
}

.pot-method-hub__img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.pot-method-hub__img--placeholder{
  background: linear-gradient(135deg, #07387B 0%, #0b4ea8 100%);
}

.pot-method-hub__body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px;
  min-width: 0;
}

.pot-method-hub__eyebrow{
  margin-bottom: 8px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #F17705;
}

.pot-method-hub__name{
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 1.08rem + .3vw, 1.6rem);
  line-height: 1.2;
  font-weight: 800;
}

.pot-method-hub__name a{
  color: #07387B;
  text-decoration: none;
}

.pot-method-hub__name a:hover{
  text-decoration: underline;
}

.pot-method-hub__text{
  margin: 0 0 16px;
  color: #5f6b76;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 62ch;
}

.pot-method-hub__actions{
  margin-top: auto;
}

.pot-method-hub__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #07387B;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  transition: .2s ease;
}

.pot-method-hub__button:hover{
  background: #052c61;
  color: #fff !important;
}

@media (max-width: 860px){
  .pot-method-hub__card{
    grid-template-columns: 1fr;
  }

  .pot-method-hub__media,
  .pot-method-hub__img{
    min-height: 200px;
  }

  .pot-method-hub__body{
    padding: 18px;
  }
}