/* file: www/style/pages/start.css */
/* ==========================================================================
   Startseite Dashboard – wache7.de
   ========================================================================== */

.start-page{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Abstände zwischen den Sektionen */
.section-gap{
  margin-top: 16px;
}

/* ----------------------------------------------------------
   Hero / Begrüßung
   ---------------------------------------------------------- */

.start-hero{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.start-hero-left{
  display: flex;
  align-items: center;
  gap: 12px;
}

.start-avatar{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--field);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  color: var(--brand);
  overflow: hidden;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line);

  /* NEU: immer gleich breit/hoch, nicht schrumpfen */
  flex: 0 0 64px;      /* Basisbreite 64px, kein Shrink */
  min-width: 64px;     /* Sicherheitsnetz */
}

.start-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.start-avatar span{
  display: inline-block;
}

.start-hero-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.start-hero-hello{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.start-hero-title{
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.start-hero-overline{
  margin: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

.start-hero-sub{
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

.start-hero-meta dd{
  margin: 0;
  font-size: 14px;
}

.card.start-hero{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.start-hero-left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0; /* damit Text umbrechen kann */
}

.start-hero-right{
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.start-hero-meta{
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 12px;
}

.start-hero-meta div{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.start-hero-meta dt{
  font-size: 12px;
  color: #6b7280;
}

/* ----------------------------------------------------------
   Schnellzugriffe
   ---------------------------------------------------------- */

.start-section-title{
  margin: 0 0 8px 4px;
  font-size: 16px;
}

.start-quick-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.start-quick-tile{
  align-items: flex-start;
  text-align: left;
}

.start-quick-tile i{
  font-size: 20px;
  color: var(--brand);
}

.start-quick-tile strong{
  font-size: 14px;
}

.start-quick-tile span{
  font-size: 12px;
  color: #6b7280;
}

/* ----------------------------------------------------------
   Layout: Hauptbereich + Sidebar
   ---------------------------------------------------------- */

.start-layout{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.start-col{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Einzelne Abschnitte */
.start-section{
  padding: 12px 12px 10px;
}

/* Kopf jeder Section */
.start-section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.start-section-head h2{
  margin: 0;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.start-head-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

/* kleine „Button“-Links mit Icon rechts oben */
.start-head-link{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  text-decoration: none;
  color: var(--link);
  background: #ffffff;
  white-space: nowrap;
}

.start-head-link i{
  font-size: 11px;
}

.start-head-link:hover{
  text-decoration: none;
  background: #f3f4ff;
}

.start-section-head h2 i{
  color: var(--brand);
}

.start-head-meta{
  font-size: 11px;
  color: #6b7280;
}

/* ----------------------------------------------------------
   Listen / leere Zustände
   ---------------------------------------------------------- */

.start-list{
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.start-empty{
  margin: 4px 0 2px;
  font-size: 13px;
  color: #6b7280;
}

/* ----------------------------------------------------------
   Meine nächsten Dienste
   ---------------------------------------------------------- */

.start-shift-list{
  margin-top: 4px;
}

.start-shift-item{
  display: grid;
  grid-template-columns: 32px 70px 1fr;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 2px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.start-shift-item:last-child{
  border-bottom: none;
}

.start-shift-day{
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  font-weight: 700;
}

.start-shift-date{
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  color: #4b5563;
}

.start-shift-time{
  grid-row: 1 / 2;
  grid-column: 3 / 4;
  font-weight: 300;
}

.start-shift-pos{
  grid-row: 2 / 3;
  grid-column: 2 / 4;
  color: #374151;
}

.start-shift-tour{
  grid-row: 1 / 3;
  grid-column: 4 / 5;
}

.start-shift-tour-empty{
  display: none;
}

/* Tour-Badge (A/B/C) */
.badge-tour{
  align-self: center;
  justify-self: end;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 11px;
  font-weight: 600;
}

/* Hinweis unter der Liste */
.start-shift-note{
  margin: 6px 0 0;
  font-size: 12px;
  color: #6b7280;
}

.start-shift-note i{
  font-size: 11px;
  margin-right: 3px;
}

.start-shift-date{
  font-weight: 600;
}

.start-shift-pos-label{
  font-weight: 600; /* Schicht/Position fett */
}

.start-shift-pos-meta{
  font-size: 11px;
  color: #6b7280;
  margin-left: 4px;
}

/* ----------------------------------------------------------
   News
   ---------------------------------------------------------- */

.start-news-list li{
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.start-news-list li:last-child{
  border-bottom: none;
}

/* Wrapper für Inhalt (Text + Meta) */
.start-news-item{
  position: relative;
  overflow: hidden;
}

/* 4.) Thumbnail links oben, Text läuft darum */
.start-news-thumb{
  float: left;
  width: 72px;
  height: 72px;
  margin: 2px 10px 6px 0;
  border-radius: 6px;
  overflow: hidden;
  background: #e5e7eb;
}

.start-news-thumb img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Textblock neben dem Bild */
.start-news-content{
  font-size: 13px;
}

/* 1.) Keine Unterstreichung bei Links im News-Block */
.start-news-link,
.start-news-readmore,
.start-news-author-link{
  text-decoration: none;
  color: var(--link);
}

.start-news-link:hover,
.start-news-readmore:hover,
.start-news-author-link:hover{
  text-decoration: none;
  color: var(--link-hover, var(--link));
}

/* 3.) Überschrift */
.start-news-title{
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

/* Text (Teaser / gekürzter Body) */
.start-news-text{
  font-size: 13px;
  color: #4b5563;
  margin-top: 2px;
}

/* 5.) Lese mehr... am Ende des Textes etwas abgesetzt */
.start-news-readmore{
  margin-left: 4px;
  font-size: 12px;
  white-space: nowrap;
}

/* 6.) Meta: Datum/Zeit + Autor, kleinere Schrift */
.start-news-meta{
  margin-top: 4px;
  font-size: 11px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.start-news-meta-item i{
  margin-right: 3px;
}

/* kleine Anpassung auf schmalen Screens:
   Thumb über dem Text statt zu groß */
@media (max-width: 480px){
  .start-news-thumb{
    width: 60px;
    height: 60px;
  }
}

/* ----------------------------------------------------------
   User-Meldungen
   ---------------------------------------------------------- */

.start-msg-list li{
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.start-msg-list li:last-child{
  border-bottom: none;
}

.start-msg-text{
  font-size: 13px;
}

.start-msg-meta{
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #6b7280;
}

.start-msg-meta i{
  margin-right: 3px;
}

/* ----------------------------------------------------------
   Wetter-Widget
   ---------------------------------------------------------- */

.start-section-weather{
  background: linear-gradient(to bottom right, #e0ecff, #ffffff);
}

.start-weather-main{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.start-weather-icon i{
  font-size: 28px;
  color: #2563eb;
}

.start-weather-values{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.start-weather-temp{
  font-size: 22px;
  font-weight: 700;
}

.start-weather-feels{
  font-size: 12px;
  color: #4b5563;
}

/* Details */
.start-weather-details{
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 16px;
  margin: 8px 0 6px;
}

.start-weather-details div{
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.start-weather-details dt{
  font-size: 11px;
  color: #6b7280;
}

.start-weather-details dd{
  margin: 0;
  font-size: 13px;
}

.start-weather-details i{
  margin-right: 4px;
}

/* Basislayout bleibt gleich, Farben kommen über Modifier */
.start-weather-warning{
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  border-left: 3px solid transparent;
}

.start-weather-warning i{
  margin-top: 2px;
}

/* Fallback / Info */
.start-weather-warning--info{
  background: #eef2ff;
  color: #312e81;
  border-left-color: #4f46e5;
}

/* Geringe Gefahr – gelb */
.start-weather-warning--minor{
  background: #fef9c3;
  color: #854d0e;
  border-left-color: #eab308;
}

/* Mäßige Gefahr – orange */
.start-weather-warning--moderate{
  background: #ffedd5;
  color: #9a3412;
  border-left-color: #f97316;
}

/* Erhebliche Gefahr – rot */
.start-weather-warning--severe{
  background: #fee2e2;
  color: #7f1d1d;
  border-left-color: #ef4444;
}

/* Extreme Gefahr – dunkelrot */
.start-weather-warning--extreme{
  background: #fef2f2;
  color: #7f1d1d;
  border-left-color: #b91c1c;
  box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.15);
}

/* ----------------------------------------------------------
   EvD-Block auf der Startseite
   ---------------------------------------------------------- */

.start-evd{
  display: flex;
  align-items: center;
  gap: 12px;
}

.start-evd-avatar img{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.start-evd-text{
  flex: 1 1 auto;
}

.start-head-icon{
  margin-left: 8px;
  font-size: 0.9em;
  color: var(--header-sub, #6b7280);
}

.start-head-icon:hover{
  color: var(--brand);
  text-decoration: none;
}

.start-evd-name{
  font-weight: 600;
}

.start-evd-phone{
  color: #111827;
}

.start-evd-phone i{
  margin-right: 4px;
}

.start-evd-hint{
  font-size: 12px;
  color: #6b7280;
}

/* ----------------------------------------------------------
   Tourplan
   ---------------------------------------------------------- */

.start-tour-current{
  margin: 2px 0 4px;
  font-size: 13px;
}

.start-tour-next{
  margin: 0;
  font-size: 12px;
  color: #4b5563;
}

.start-tour-next i{
  margin-right: 4px;
}

.start-tour-note{
  margin: 6px 0 0;
  font-size: 12px;
  color: #6b7280;
}

/* ----------------------------------------------------------
   Termine
   ---------------------------------------------------------- */

.start-events-list li{
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.start-events-list li:last-child{
  border-bottom: none;
}

.start-event-title{
  font-size: 13px;
  font-weight: 600;
}

.start-event-meta{
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #6b7280;
}

.start-event-meta i{
  margin-right: 3px;
}

/* ----------------------------------------------------------
   Geburtstage
   ---------------------------------------------------------- */

.start-birthday-list{
  margin-top: 4px;
}

.start-birthday-item{
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.start-birthday-item:last-child{
  border-bottom: none;
}

.start-birthday-item--today{
  border-radius: 8px;
  border: 1px solid #f97316;
  background: #fff7ed;
  padding: 7px 8px;
}

.start-birthday-main{
  display: flex;
  align-items: center;
  gap: 8px;
}

.start-birthday-icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.start-birthday-name{
  font-size: 13px;
  font-weight: 600;
}

.start-birthday-meta{
  margin-top: 3px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: #6b7280;
}

.start-birthday-meta i{
  margin-right: 3px;
}

.start-birthday-badge{
  padding: 2px 6px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 600;
}

.start-birthday-item--today .start-birthday-badge{
  background: #f97316;
  color: #ffffff;
}

.start-birthday-note{
  margin: 5px 0 0;
  font-size: 12px;
  color: #9a3412;
}

/* ----------------------------------------------------------
   Fotos
   ---------------------------------------------------------- */

.start-section-photos{
  padding-bottom: 12px;
}

.start-photos-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}

.start-photo-block{
  border-radius: 8px;
  border: 1px dashed var(--line);
  padding: 8px;
  background: #f9fafb;
}

.start-photo-label{
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.start-photo-label i{
  color: var(--brand);
}

.start-photo-image{
  border-radius: 6px;
  overflow: hidden;
}

.start-photo-image img{
  display: block;
  width: 100%;
  height: auto;
}

.start-photo-title{
  margin-top: 4px;
  font-size: 12px;
}

.start-photo-placeholder{
  font-size: 12px;
  color: #6b7280;
}

/* ----------------------------------------------------------
   Desktop-Anpassung ab 1101px
   ---------------------------------------------------------- */

@media (min-width: 1101px){
  .start-hero{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .start-hero-right{
    max-width: 280px;
  }

  .start-hero-meta{
    grid-template-columns: 1fr;
  }

  .start-quick-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .start-layout{
    flex-direction: row;
    align-items: flex-start;
  }

  .start-col-main{
    flex: 2 1 0;
  }

  .start-col-side{
    flex: 1.2 1 0;
  }

  .start-shift-item{
    grid-template-columns: 40px 80px 1fr auto;
  }

  .start-weather-details{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .start-photos-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Startseite: zweispaltiges Layout wie die anderen Karten einrücken */
.start-page .start-layout{
  margin-left:  var(--gap-2);
  margin-right: var(--gap-2);
}

/* Trend-Pfeil im Wetterwidget */
.start-weather-temp{
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.start-weather-trend{
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: #f4f4f4;
}

.start-weather-trend i{
  font-size: 0.9rem;
}

/* Farben je Richtung */
.start-weather-trend--up{
  color: #0a7f2f;
  background: #e4f7e9;
}

.start-weather-trend--down{
  color: #0a4b7f;
  background: #e4f0f9;
}

.start-weather-trend--flat{
  color: #555;
  background: #f0f0f0;
}

.start-weather-trend-diff{
  opacity: 0.8;
}

/* Geburtstage: Avatar statt Icon, falls vorhanden */
.start-birthday-main{
  display: flex;
  align-items: center;
  gap: 10px;
}

.start-birthday-icon{
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.start-birthday-avatar{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}


.start-chat-form {
    margin-bottom: 0.75rem;
}

.start-chat-form input[type="text"] {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    font: inherit;
}

.start-chat-item {
    padding: 0.4rem 0;
    border-top: 1px solid #eee;
}

.start-chat-item:first-child {
    border-top: none;
}

.start-chat-text {
    margin-bottom: 0.15rem;
    word-wrap: break-word;
}

.start-chat-meta {
    font-size: 0.8rem;
    color: #666;
    display: flex;
    gap: 0.75rem;
}

.start-chat-meta i {
    margin-right: 0.25rem;
}

/* Screenreader-only-Klasse, falls noch nicht vorhanden */
.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;
}

/* Zuletzt online */
.start-section-online {
    margin-top: 1.5rem;
}

.start-online-list {
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.start-online-list span {
    white-space: nowrap;
}

/* Zuletzt online: Links auf Profilkarten */
.start-online-list .start-online-link {
    text-decoration: none;
    font-weight: 500;
    /* optional: Grundfarbe anpassen */
    /* color: var(--color-text); */
    transition: color 0.15s ease, background-color 0.15s ease;
}

.start-online-list .start-online-link:hover,
.start-online-list .start-online-link:focus-visible {
    color: var(--color-primary);
    background-color: rgba(0, 0, 0, 0.04); /* leichte Hinterlegung als Hervorhebung */
    outline: none;
}

/* ----------------------------------------------------------
   Hinweis: Seite im Aufbau / Testphase
   ---------------------------------------------------------- */

.start-beta-hint{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-left: 4px solid #f97316;
  background: #fff7ed;
}

.start-beta-icon{
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.start-beta-icon i{
  font-size: 16px;
  color: #9a3412;
}

.start-beta-text{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.start-beta-title{
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #7c2d12;
}

.start-beta-body{
  margin: 0;
  font-size: 13px;
  color: #78350f;
}

/* ----------------------------------------------------------
   Funkwetter-Block
   ---------------------------------------------------------- */

.start-section-funk{
  background: linear-gradient(to bottom right, #f5f3ff, #ffffff);
}

.start-funk-main{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

/* Kennzahlen Solarflux / K / Sunspots */
.start-funk-nums{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.start-funk-num{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.start-funk-num-label{
  font-size: 11px;
  color: #6b7280;
}

.start-funk-num-value{
  font-size: 14px;
  font-weight: 600;
}

/* K-Index farblich markieren */
.start-funk-k{
  display: inline-flex;
  align-items: left;
  justify-content: left;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 12px;
  min-width: 2.2em;
}

/* ruhig */
.start-funk-k--low{
  background: #ecfdf3;
  color: #166534;
}

/* leicht unruhig */
.start-funk-k--mid{
  background: #fef9c3;
  color: #854d0e;
}

/* aktiv */
.start-funk-k--high{
  background: #ffedd5;
  color: #9a3412;
}

/* Sturm */
.start-funk-k--storm{
  background: #fee2e2;
  color: #b91c1c;
}

/* Textinfos zu Geomagnetfeld / X-Ray / SNR */
.start-funk-meta{
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: #374151;
}

.start-funk-meta i{
  margin-right: 4px;
}

/* HF- / VHF-Listen */
.start-funk-bands{
  margin-top: 4px;
}

.start-funk-bands-title{
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4c1d95;
}

.start-funk-bands-title i{
  font-size: 12px;
}

.start-funk-band-list{
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

.start-funk-band-list li{
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 2px 0;
}

.start-funk-band-label{
  font-weight: 600;
  white-space: nowrap;
}

.start-funk-band-info{
  flex: 1 1 auto;
  text-align: right;
  color: #4b5563;
}

/* VHF / UHF leicht abgesetzt */
.start-funk-bands-vhf{
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding-top: 4px;
}

/* Zeitstempel */
.start-funk-updated{
  margin: 6px 0 0;
  font-size: 11px;
  color: #6b7280;
}

.start-funk-updated i{
  margin-right: 4px;
}

/* Desktop: etwas kompakter nebeneinander */
@media (min-width: 1101px){
  .start-funk-main{
    gap: 6px;
  }
}

/* Bandplan-Ampel (Tag/Nacht vs. Bänder) */
.start-funk-ampel{
  margin-top: 6px;
  font-size: 12px;
}

.start-funk-ampel-title{
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4c1d95;
}

.start-funk-ampel-title i{
  font-size: 12px;
}

.start-funk-ampel-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.start-funk-ampel-table th,
.start-funk-ampel-table td{
  padding: 3px 4px;
  text-align: center;
}

.start-funk-ampel-table thead th{
  font-weight: 600;
}

.start-funk-ampel-table tbody th{
  text-align: left;
  font-weight: 500;
  white-space: nowrap;
}

.start-funk-ampel-dot{
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d1d5db; /* unknown */
}

.start-funk-ampel-dot--good{
  background: #16a34a; /* grün */
}

.start-funk-ampel-dot--fair{
  background: #f59e0b; /* gelb/orange */
}

.start-funk-ampel-dot--poor{
  background: #dc2626; /* rot */
}

.start-funk-ampel-dot--unknown{
  background: #9ca3af; /* grau */
}

/* Funklage-Einschätzung (Bullet-Liste) */
.start-funk-assessment{
  margin-top: 6px;
  font-size: 12px;
}

.start-funk-assessment-title{
  font-weight: 600;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.start-funk-assessment-title i{
  font-size: 12px;
}

.start-funk-assessment-line{
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 2px;
}

.start-funk-assessment-bullet{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 4px;
  background: #9ca3af; /* neutral */
  flex: 0 0 auto;
}

.start-funk-assessment-bullet--good{
  background: #16a34a;
}

.start-funk-assessment-bullet--fair{
  background: #f59e0b;
}

.start-funk-assessment-bullet--poor{
  background: #dc2626;
}

.start-funk-assessment-bullet--neutral{
  background: #9ca3af;
}

.start-funk-assessment-text{
  flex: 1 1 auto;
}

/* Abstand unter dem Hero-Block reduzieren */
.start-hero{
  margin: 0;              /* überschreibt das 1.5rem aus base.css */
}

.section-gap{
  margin-top: 0;
}

.start-shift-pos-label--highlight {
    font-weight: 600;
    /* oder eine einheitliche Farbe, z. B.: */
    /* color: #c62828; */
}

/* ----------------------------------------------------------
   Funkwetter-Grafik (Monitor-Grafik auf der Startseite)
   ---------------------------------------------------------- */

.start-section-funk-graphic{
  background: #f9fafb;
}

.start-funk-graphic{
  margin-top: 4px;
}

.start-funk-graphic-img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #e5e7eb;
}

/* ----------------------------------------------------------
   Wachenwissen – zufälliges Bild
   ---------------------------------------------------------- */

.start-section-knowledge{
  padding-bottom: 10px;
}

.start-knowledge-wrapper{
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.start-knowledge-kicker{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #6b7280;
}

.start-knowledge-image{
  border-radius: 8px;
  overflow: hidden;
  background: #111827;
}

.start-knowledge-image img{
  display: block;
  width: 100%;
  height: auto;
}

.start-knowledge-title{
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}

/* ----------------------------------------------------------
   Updateverlauf (Änderungen auf dieser Seite)
   ---------------------------------------------------------- */

.start-section-updates{
  /* optional etwas anderes Hintergrund-Feeling, sonst Standard-Card */
}

.start-updates-list{
  margin-top: 4px;
}

.start-update-item{
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.start-update-item:last-child{
  border-bottom: none;
}

.start-update-date{
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 1px;
}

.start-update-title{
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 2px;
}

.start-update-desc{
  font-size: 12px;
  color: #374151;
  margin: 0 0 4px;
}

.start-update-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

/* Status-Badge mit Ampelpunkt */
.start-update-status{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
}

.start-update-status-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #9ca3af; /* Fallback */
}

/* Offen = rot */
.start-update-status--open .start-update-status-dot{
  background: #dc2626;
}

/* In Bearbeitung = orange/gelb */
.start-update-status--progress .start-update-status-dot{
  background: #f97316;
}

/* Fertig = grün */
.start-update-status--done .start-update-status-dot{
  background: #16a34a;
}

.start-update-status-label{
  font-weight: 500;
}

/* Link auf interne Seite */
.start-update-link{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--link);
}

.start-update-link i{
  font-size: 10px;
}

.start-update-link:hover{
  text-decoration: none;
  color: var(--link-hover, var(--link));
}
