/* ================================
   Final Mockup B – OHNE Stage-Spalte
   Root/TLD/Auth nur noch als Cards
   ================================ */

.hero .lead{
  max-width: none;
  line-height: 1.55;
}

.lookup-row{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.lookup-input{ flex: 1; }

.lookup-input input{
  width: 100%;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(70,130,180,.25);
  background: #fff;
  box-shadow: 0 16px 44px rgba(70,130,180,.10);
  padding: 0 22px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: .2px;
}

.lookup-row .btn{
  height: 64px;
  min-width: 140px;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1.05;
}

.section-head{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 12px;
}

.section-head h2{
  margin: 0;
  font-size: 18px;
  letter-spacing: .2px;
}

/* ================================
   Trace layout (ohne linke Linie)
   ================================ */

.trace-v2{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

/* alte vertikale Linie entfernt */
.trace-v2::before{
  display: none;
}

/* nur noch eine Spalte */
.trace-step{
  display: block;
}

/* Stage-Badges komplett ausblenden */
.stage{
  display: none !important;
}

/* ================================
   Card
   ================================ */

.trace-card{
  background: #fff;
  border: 1px solid rgba(70,130,180,.14);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(0,0,0,.05);
}

.trace-card-head{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.trace-host{
  font-size: 20px;
  font-weight: 950;
  letter-spacing: .2px;
  color: #0f1b2a;
}

.trace-sub{
  margin-top: 4px;
  color: rgba(15,27,42,.62);
  font-weight: 550;
}

.rt-pill{
  align-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(70,130,180,.20);
  background: rgba(70,130,180,.08);
  color: #1b2a3a;
  font-weight: 900;
  min-width: 72px;
  text-align: center;

  white-space: nowrap;
  flex-shrink: 0;
}

/* ================================
   Boxed rows (Root / TLD / Auth)
   ================================ */

.row-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.row-pill{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(220,232,244,.85);
  background: rgba(245,249,255,.65);
}

.row-left{ min-width: 0; flex: 1.3; }
.row-mid{ min-width: 0; flex: .9; display:flex; justify-content: flex-end; }
.row-right{ flex: .6; display:flex; justify-content: flex-end; }

.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
}

/* Glue Badge */
.glue-pill{
  font-size: 12px;
  font-weight: 850;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(70,130,180,.18);
  background: rgba(70,130,180,.06);
  white-space: nowrap;
}
.glue-yes{
  border-color: rgba(16,185,129,.20);
  background: rgba(16,185,129,.10);
  color: #065f46;
}
.glue-no{
  border-color: rgba(245,158,11,.22);
  background: rgba(245,158,11,.12);
  color: #92400e;
}

/* ================================
   Records Table (Auth)
   ================================ */

.records-wrap{
  border-radius: 16px;
  border: 1px solid rgba(220,232,244,.85);
  overflow: hidden;
  background: rgba(245,249,255,.40);
}

.records-table{
  width: 100%;
  border-collapse: collapse;
}

.records-table thead th{
  text-align: left;
  font-size: 13px;
  color: rgba(15,27,42,.62);
  font-weight: 800;
  padding: 14px 16px;
  background: rgba(235,244,252,.75);
  border-bottom: 1px solid rgba(220,232,244,.95);
}

.records-table tbody td{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(220,232,244,.65);
  vertical-align: top;
}

.records-table tbody tr:last-child td{
  border-bottom: 0;
}

/* Record Type Pills */

.rtype{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  border: 1px solid rgba(70,130,180,.20);
  background: rgba(70,130,180,.08);
  color: #1b2a3a;
  letter-spacing: .2px;
  min-width: 64px;
}

.rtype-a{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.20);
  color: #0b3b78;
}
.rtype-aaaa{
  background: rgba(111,66,193,.10);
  border-color: rgba(111,66,193,.22);
  color: #3f2a7a;
}
.rtype-cname{
  background: rgba(70,130,180,.10);
  border-color: rgba(70,130,180,.22);
  color: var(--brand);
}
.rtype-mx{
  background: rgba(245,158,11,.14);
  border-color: rgba(245,158,11,.26);
  color: #7a4a00;
}
.rtype-ns{
  background: rgba(148,163,184,.14);
  border-color: rgba(148,163,184,.22);
  color: #334155;
}
.rtype-txt{
  background: rgba(16,185,129,.12);
  border-color: rgba(16,185,129,.22);
  color: #065f46;
}
.rtype-soa{
  background: rgba(107,114,128,.14);
  border-color: rgba(107,114,128,.22);
  color: #374151;
}

.records-table td:nth-child(3){
  word-break: break-word;
  max-width: 740px;
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 860px){
  .row-grid{
    grid-template-columns: 1fr;
  }
  .lookup-row{
    flex-direction: column;
    align-items: stretch;
  }
  .lookup-row .btn{
    width: 180px;
  }
}





@media (max-width: 860px){

  .records-table thead{
    display: none; /* optional – wirkt cleaner auf Mobile */
  }

  .records-table tbody tr{
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "name type ttl"
      "value value value";
    gap: 6px 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(220,232,244,.65);
  }

  .records-table tbody td{
    padding: 0;
    border: 0;
  }

  .records-table tbody td:nth-child(1){
    grid-area: name;
  }

  .records-table tbody td:nth-child(2){
    grid-area: type;
  }

  .records-table tbody td:nth-child(3){
    grid-area: value;
    word-break: break-word;
  }

  .records-table tbody td:nth-child(4){
    grid-area: ttl;
    text-align: right;
  }





  .row-pill{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "host glue"
      "ip   ip";
    gap: 4px 10px;
    align-items: center;
  }

  .row-left{
    grid-area: host;
  }

  .row-mid{
    grid-area: ip;
    justify-content: flex-start;
  }

  .row-right{
    grid-area: glue;
    justify-content: flex-end;
  }







}













.analysis-section{
  margin-top: 22px;
}

.analysis-card{
  background: #fff;
  border: 1px solid rgba(70,130,180,.14);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(0,0,0,.05);
}

.analysis-head{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.analysis-title{
  font-size: 20px;
  font-weight: 950;
  letter-spacing: .2px;
  color: #0f1b2a;
}

.analysis-sub{
  margin-top: 4px;
  color: rgba(15,27,42,.62);
  font-weight: 550;
}

.analysis-pill{
  align-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(70,130,180,.20);
  background: rgba(70,130,180,.08);
  color: #1b2a3a;
  font-weight: 900;
  white-space: nowrap;
}

.analysis-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analysis-item{
  border-radius: 16px;
  border: 1px solid rgba(220,232,244,.85);
  background: rgba(245,249,255,.40);
  padding: 14px 16px;
}

.analysis-item h3{
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 950;
  color: #0f1b2a;
}

.analysis-item p{
  margin: 0 0 10px;
  color: rgba(15,27,42,.75);
  line-height: 1.55;
}

.analysis-item ul{
  margin: 0 0 10px 18px;
}

.analysis-item li{
  margin-bottom: 6px;
  color: rgba(15,27,42,.78);
}

@media (max-width: 860px){
  .analysis-grid{
    grid-template-columns: 1fr;
  }
}






/* Mobile: Input + Button wieder nebeneinander (kompakt) */
@media (max-width: 860px){
  .lookup-row{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .lookup-row .btn{
    width: auto;         /* statt 180px */
    min-width: 140px;
    height: 56px;        /* etwas kompakter als 64px */
    border-radius: 14px;
  }

  /* Button-Text auf eine Zeile (das <br> im HTML wird ignoriert) */
  #btnLookup br{ display:none; }
}

/* Sehr kleine Geräte: dann sauber untereinander, aber ohne “großen Abstand” */
@media (max-width: 420px){
  .lookup-row{
    grid-template-columns: 1fr;
  }
  .lookup-row .btn{
    width: 100%;
    min-width: 0;
  }
}




/* Links  */
.example-bar{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;       /* nah am Input */
  margin-bottom: 5px;    /* Abstand zum Root/TLD/Auth Bereich | old: margin-bottom: 26px; */
}

.example-label{
  font-weight: 750;
  color: rgba(15,27,42,.62);
  font-size: 13px;
}

.example-chip{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  font-size: 13px;
  border: 1px solid rgba(70,130,180,.22);
  background: rgba(70,130,180,.08);
  color: #1b2a3a;
}

.example-chip:hover{
  background: rgba(70,130,180,.12);
  border-color: rgba(70,130,180,.35);
  color: var(--brand);
}



@media (max-width: 520px){
  .example-chip[data-hide-mobile="1"]{
    display: none;
  }
}





/* ===== Landing additions ===== */

.usp-strip{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.usp{
  border-radius: 16px;
  border: 1px solid rgba(220,232,244,.85);
  background: rgba(245,249,255,.40);
  padding: 12px 14px;
}

.usp-title{
  font-weight: 950;
  color: #0f1b2a;
  margin-bottom: 2px;
}

.usp-text{
  color: rgba(15,27,42,.70);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
}

.landing-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.landing-card{
  padding: 18px;
}

.landing-h2{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: .2px;
  color: #0f1b2a;
}

.landing-list{
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.landing-li{
  border-radius: 14px;
  border: 1px solid rgba(220,232,244,.85);
  background: rgba(245,249,255,.55);
  padding: 10px 12px;
  color: rgba(15,27,42,.78);
}

.landing-faq{
  margin-top: 14px;
}

.faq-item{
  border-top: 1px solid rgba(220,232,244,.85);
  padding: 10px 0;
}

.faq-item:first-of-type{
  border-top: 0;
  padding-top: 0;
}

.faq-item summary{
  cursor: pointer;
  font-weight: 850;
  color: #0f1b2a;
  list-style: none;
}

.faq-item summary::-webkit-details-marker{
  display: none;
}

.faq-body{
  margin-top: 8px;
  line-height: 1.55;
}

.cta-band{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(70,130,180,.18);
  background: linear-gradient(135deg, rgba(70,130,180,.10), rgba(144,180,210,.16));
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cta-title{
  font-weight: 950;
  color: #0f1b2a;
  margin-bottom: 3px;
}

.cta-text{
  color: rgba(15,27,42,.70);
  font-weight: 600;
  font-size: 13px;
}

@media (max-width: 860px){
  .usp-strip{
    grid-template-columns: 1fr;
  }
  .landing-grid{
    grid-template-columns: 1fr;
  }
  .cta-band{
    flex-direction: column;
    align-items: stretch;
  }
  .cta-band .btn{
    width: 100%;
  }
}

