/* public/style.css */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f0f0f0;
    color: #575656;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    text-align: center;
}

.container {
    background: #ffffff;
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 90%;
    width: 400px;
}

h1 {
    font-size: 1.5em;
    color: #D20A11; 
}

#troubleshooting-list {
    list-style-type: none;
    padding: 0;
    text-align: left;
    margin: 2em 0;
}

#troubleshooting-list li {
    background: #f7f7f7;
    padding: 1em;
    margin-bottom: 0.5em;
    border-radius: 5px;
    border-left: 5px solid #D20A11;
}

#support-button {
    background-color: #D20A11;
    color: white;
    padding: 1em 1.5em;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    width: 100%;
    transition: opacity 0.4s ease-in-out, background-color 0.3s ease;
    /* Standardmäßig sichtbar, damit der Platz gehalten wird */
    opacity: 1;
    visibility: visible;
  	transition: opacity 0.4s ease-in-out;
}

#support-button:hover {
    background-color: #a8080d;
}

#support-button.initially-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* NEU: Styling für den "Techniker anrufen"-Button */
.btn-call {
    display: block; /* Sorgt dafür, dass der Button die volle Breite einnimmt */
    text-align: center;
    padding: 1em 1.5em;
    margin-bottom: 1em; /* Fügt Abstand zum unteren Button hinzu */
    
    /* Wir verwenden deine Markenfarben für ein Outline-Design */
    border: 2px solid #575656; /* Dein Primär-Grau */
    color: #575656;
    background-color: transparent;
    
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Effekt, wenn man mit der Maus darüber fährt */
.btn-call:hover {
    background-color: #575656;
    color: #ffffff;
}

.hidden-call-button {	
    visibility: hidden;
    opacity: 0;
}

.hidden {
   display: none;
}

/* --- Stil für die Erfolgs-Animation --- */
.checkmark-circle {
    width: 100px;
    height: 100px;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke: #28a745;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #28a745;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}