@font-face {font-display:swap; font-family:'AfacadWidget'; font-style:normal; font-weight:400; src:url('https://de1.ipspeedcheck.de/fonts/afacad-v3-latin-regular.woff2') format('woff2');}
@font-face {font-display:swap; font-family:'AfacadWidget'; font-style:normal; font-weight:500; src:url('https://de1.ipspeedcheck.de/fonts/afacad-v3-latin-500.woff2') format('woff2');}
@font-face {font-display:swap; font-family:'AfacadWidget'; font-style:normal; font-weight:600; src:url('https://de1.ipspeedcheck.de/fonts/afacad-v3-latin-600.woff2') format('woff2');}
@font-face {font-display:swap; font-family:'AfacadWidget'; font-style:normal; font-weight:700; src:url('https://de1.ipspeedcheck.de/fonts/afacad-v3-latin-700.woff2') format('woff2');}


html body #ipspeedcheck-widget,
html body #ipspeedcheck-widget *,
html body #ipspeedcheck-widget div,
html body #ipspeedcheck-widget span,
html body #ipspeedcheck-widget button,
html body #ipspeedcheck-widget a{
    font-family:'AfacadWidget', Arial, sans-serif !important;
    font-synthesis:none!important;
}
body {font-family:'Afacad'!important; font-weight:400;}
.power {display:block; margin-right:4px}
.vps-speed-box .box-status {margin-top:12px; font-size:0.95rem; color:#000; min-height:22px; line-height:1.2; text-align:center;}
.vps-speed-box .result-item.main-display .box-status, .vps-speed-box .result-item-ping-jitter .box-status {font-weight:400;}
#speedHintBox {width:80%; margin:0 0 0px 0; overflow:hidden; transition:opacity 0.4s ease, transform 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease; margin:0 auto; max-width:480px;}
.speed-hint-hidden {opacity:0; transform:translateY(20px); max-height:0; margin-bottom:0 !important; pointer-events:none;}
.speed-hint-visible {opacity:1; transform:translateY(0); max-height:300px;}
.speed-hint-inner {padding:4px 0 0; text-align:center;}
.speed-hint-title {font-size:20px; font-weight:700; color:#1f2d3d; margin-bottom:8px;}
.speed-hint-text {font-size:17px; color:#1d75a0; margin-bottom:1px; text-align:center; margin-top:9px; line-height:normal;}
.speed-hint-link {display:inline-block; padding:0; border-radius:12px; text-decoration:underline; color:#4175a0;}
.speed-hint-link:hover {opacity:0.92;}

#startBtn {background-origin:border-box;}
#startBtn {position:relative; overflow:hidden; background:#32b9fc;}
#startBtn::after {content:""; position:absolute; left:0; top:0; height:100%; width:var(--btnProgress,0%); background:rgba(0, 0, 0, 0.15); transition:width 0.2s linear; pointer-events:none;}
.vps-speed-box .flag-de {display:inline-block; width:18px; height:12px; background-image:url('https://www.ipspeedcheck.de/wp-content/themes/Divi-child/deutschland.svg'); background-size:cover; background-position:center; border-radius:1px; margin-left:4px; vertical-align:middle;}
.vps-speed-box .speedtest-wrapper {padding:0; border-radius:0; text-align:center; width:100%; margin:0 auto;}
.vps-speed-box .main-speed-row {display:flex; gap:12px; align-items:stretch;}
.vps-speed-box .main-speed-row .result-item.main-display {flex:1; min-width:0;}
.vps-speed-box .active-box {background-color:#cfefff !important; transition:background-color 0.3s ease;}
.value-check {display:inline-block;font-size: 1.5em;font-weight:700;color:#63e600;vertical-align:middle;position: absolute;right: -40px;left: auto;}
.vps-speed-box .stats-row {display:flex; justify-content:space-around; margin-top:12px; gap:12px;}
.vps-speed-box .label {display:inline-block; position:relative; font-size:1.4rem; color:#000; margin-bottom:5px; font-weight:400;}
.vps-speed-box .value-unit-row {display:flex; align-items:center; justify-content:center; gap:8px; min-height:50px; position:relative;}
.vps-speed-box .value {font-size:1.8rem; font-weight:400; color:#535353; font-variant-numeric:tabular-nums;}
.vps-speed-box .unit {font-size:1.6rem;color:#32B9FC;font-weight:400;position: relative;}
.vps-speed-box .ri-download .label::before, .vps-speed-box .ri-upload .label::before {display:none; position:absolute; left:-25px; top:-1px; font-size:1.2rem; font-weight:bold; color:#32B9FC;}
.vps-speed-box .ri-download.running .label::before {display:inline-block; content:'▼'; margin-right:8px; color:#00d1ff; animation:slide-down-smooth 1.2s ease-in-out infinite;}
.vps-speed-box .ri-upload.running .label::before {display:inline-block; content:'▲'; margin-right:8px; color:#00d1ff; animation:slide-up-smooth 1.2s ease-in-out infinite;}
.vps-speed-box a {color:#000; text-decoration:none}

@keyframes slide-down-smooth {
0%, 100% {transform:translateY(-4px); opacity:0.1;}
50% {transform:translateY(4px); opacity:0.7;}
}

@keyframes slide-up-smooth {
0%, 100% {transform:translateY(4px); opacity:0.1;}
50% {transform:translateY(-4px); opacity:0.7;}
}

/* DOT LOADER – PING / JITTER */
.vps-speed-box .dot-loader{
    display:flex;
    gap:10px;
    align-items:center;
    justify-content:center;
}

.vps-speed-box .dot-loader span{
    width:8px;
    height:8px;
    background-color:#32B9FC;
    border-radius:50%;
    margin:0;
    display:inline-block;
    position:relative;
    opacity:0.45;
    transform:scale(1);
    animation:dot-press 1.1s infinite ease-in-out;
    box-shadow:none;
}

/* Nacheinander */
.vps-speed-box .dot-loader span:nth-child(1){animation-delay:0s;}
.vps-speed-box .dot-loader span:nth-child(2){animation-delay:0.15s;}
.vps-speed-box .dot-loader span:nth-child(3){animation-delay:0.3s;}

/* Ripple komplett entfernen */
.vps-speed-box .dot-loader span::after{
    display:none !important;
    content:none !important;
}

@keyframes dot-press {
0%, 100% {
    transform:scale(1);
    opacity:0.4;
}
35% {
    transform:scale(0.45);
    opacity:1;
}
}

.vps-speed-box .progress-container {background:#c0c0c0; height:12px; border-radius:0; margin-top:15px; overflow:hidden; margin-bottom:24px;}
.vps-speed-box .speed-bar {background:linear-gradient(90deg, #7ad3ff, #32B9FC); height:100%; width:0%; transition:width 0.02s ease-out;}
.vps-speed-box button {background: #32B9FC; border: none; color: white; padding: 13px; width: 100%; cursor: pointer; margin-top: 15px; margin-bottom: 16px; font-size: 1.8rem; font-weight: 400; letter-spacing: 1px; transition: all 0.2s ease; }
.vps-speed-box button:hover {background:#2894ca; transform:translateY(-2px);}
.vps-speed-box button:disabled {background:#707070; cursor:not-allowed;}
.vps-speed-box .result-item.main-display {padding:55px 60px; background:#f1f1f1; transition:all 0.3s;}
.vps-speed-box .result-item-ping-jitter {flex:1; background:#f4f4f4; padding:55px 60px; transition:all 0.3s;}
.vps-speed-box .trust-features {display: flex; justify-content: center; align-items: center; gap: 1px 6px; margin: 0px 0 8px 0; flex-wrap: wrap; line-height: 21px!important; }
.vps-speed-box .feature-item {display:flex; align-items:center; gap:1px; color:#000; font-size:0.85rem; font-weight:400; white-space:nowrap;}
.vps-speed-box .feature-item .icon {font-size:1rem; display:flex; align-items:center;}

/* GEAR LOADER – DOWNLOAD / UPLOAD */
.gear-loader-wrap{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events:none;
    z-index:2;
}

.gear-loader{
    display:block;
    width:30px;
    height:30px;
    object-fit:contain;
    animation:gearSpin 1.15s linear infinite;
    opacity:0.95;
    filter:drop-shadow(0 1px 2px rgba(0,0,0,0.12));
    will-change:transform;
    position:relative;
}

.gear-loader.large{
    width:42px;
    height:42px;
}

.gear-loader.reverse{
    animation:gearSpinReverse 1.15s linear infinite;
}

@keyframes gearSpin {
    from {transform:rotate(0deg);}
    to   {transform:rotate(360deg);}
}

@keyframes gearSpinReverse {
    from {transform:rotate(0deg);}
    to   {transform:rotate(-360deg);}
}

#dl-area,
#ul-area,
#ping-area,
#jitter-area{
    position:relative;
    min-height:56px;
}

@media (max-width: 1300px) {
.value-check {font-size: 1.3em;right: -35px;}
}

@media (max-width: 980px) {
.vps-speed-box button {font-size: 1.4rem;}
.value-check {font-size: 1.2em;right: -30px;}    
}

@media (max-width: 768px) {
.vps-speed-box .box-status {font-size:0.72rem; min-height:18px; margin-top:6px;}	
.value-check {font-size: 1.5em;right: -30px;}    
.vps-speed-box .main-speed-row {flex-direction:column; gap:10px;}
.vps-speed-box .unit {font-size:1.04rem;}
.vps-speed-box .stats-row {gap:10px;}
.vps-speed-box .result-item.main-display {padding:10px;}
.vps-speed-box .progress-container {height:8px; margin-top:0;}
.vps-speed-box .value {font-size:1.2rem;}
.vps-speed-box .label {margin-bottom:0;font-size:1.2rem;}
.vps-speed-box button {font-size:1.2rem; padding:15px;}
.vps-speed-box .feature-item {font-size:0.7rem;}
.vps-speed-box .result-item-ping-jitter {padding:7px;}
.vps-speed-box .value-unit-row {gap:8px; margin-bottom:5px; min-height:25px;}
}

@media (max-width: 480px) {
.value-check {font-size: 1.5em;right: -25px;}   
.speed-hint-text {font-size:11px; line-height:normal;}
}





/* speedtest.css */

.dashboard-container {
    background: #1a1a1a; /* Dunkler Hintergrund */
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    color: white;
    text-align: center;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Mobile */
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .rating-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 Spalten auf Desktop */
    }
}

.rating-item {
    background: #2a2a2a;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-item .icon-wrap img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.rating-item .label {
    font-size: 14px;
    margin-bottom: 8px;
    color: #ccc;
}

.stars-wrap {
    display: flex;
    gap: 3px;
}

.star {
    width: 12px;
    height: 12px;
    background-color: #444; /* Standard: Grau (ausgegraut) */
    border-radius: 50%; /* Runde Punkte */
    display: inline-block;
}

/* Die Klasse für die aktiven, grünen Punkte */
.star.active {
    background-color: #00e676; /* Ookla-Grün */
    box-shadow: 0 0 5px rgba(0, 230, 118, 0.5);
}


.points-wrap {
    display: flex;
    gap: 5px;
    margin-top: 10px;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #444; /* Ausgegraut */
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #00e676; /* Das typische Speedtest-Grün */
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.6); /* Leuchteffekt */
}

#result-dashboard.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}



/* Styling für die Bewertungspunkte */
.points-wrap {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    height: 15px; /* Platzhalter */
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #333; /* Dunkelgrau für leere Punkte */
    border-radius: 50%;
    display: inline-block;
}

.dot.active {
    background-color: #00e676; /* Das leuchtende Grün */
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.7); /* Glow-Effekt */
}

/* Karten-Layout nebeneinander */
.rating-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .rating-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rating-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 10px;
    color: #32B9FC; /* Dein Marken-Blau */
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-icon svg {
    width: 100%;
    height: 100%;
}

.rating-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 10px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.rating-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
}

.points-wrap {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
}

.dot.active {
    background: #00e676;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.5);
}

#result-dashboard {
    /* Diese Höhe sollte etwa der Summe deiner main-speed-row + stats-row entsprechen */
    min-height: 320px; 
    display: none;
    margin-bottom: 20px;
}

.rating-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.rating-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.result-value {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #7ad3ff; /* Hellblau wie dein Balken */
    font-weight: bold;
}


.result-value {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #7ad3ff; /* Hellblau wie dein Balken */
    margin-top: 5px;
    margin-bottom: 8px; /* Abstand zu den Punkten */
}

.points-wrap {
    margin-top: 0; /* Abstand oben entfernen */
    margin-bottom: 10px; /* Abstand unten */
}


.summary-item { text-align: center; }
.summary-label { display: block; font-size: 11px; color: #aaa; text-transform: uppercase; }
.summary-value { font-size: 22px; font-weight: bold; color: #fff; }
.summary-unit { font-size: 12px; color: #32B9FC; }


.result-summary-header {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 auf Handy */
    gap: 15px;
    background: rgba(50, 185, 252, 0.05);
    border: 1px solid rgba(50, 185, 252, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

@media (min-width: 600px) {
    .result-summary-header {
        grid-template-columns: repeat(4, 1fr); /* 4 nebeneinander auf Desktop */
    }
}

