body {
	transform: scale(0.95);
    transform-origin: top center;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('/Logo/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Logo im Container */
.image-wrapper {
    margin: 20px auto;
    text-align: center;
}

.image-wrapper img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    max-height: 250px;
    border-radius: 5px;
}

.content-box {
    background-color: #fff;
    border: 2px solid #891010;          /* dezenter, neutraler grauer Rand */
    border-radius: 15px;
    padding: 15px;
    width: 90%;
    max-width: 700px;
    margin: 40px auto;
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;

    /* 🌫️ Neutraler 3D-Schatten für edlen Look */
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.15),   /* weicher, tiefer Schatten */
        0 3px 6px rgba(0, 0, 0, 0.10);    /* sanfter Übergang */

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Container-Titel */
.separate-info-text {
    font-size: 15px;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    font-family: Arial, sans-serif;
	text-decoration: underline;   /* <-- Unterstrichen */
}

/* Tabellen - feste Spaltenbreiten für Synchronität */
.pdf-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 13px;
    margin: 10px auto;
    border: 1px solid #ccc;
    table-layout: fixed;
}

.pdf-table th, .pdf-table td {
    padding: 3px 6px;
    text-align: left;
    border: 1px solid #ccc;
    word-wrap: break-word;
}

.pdf-table th:first-child,
.pdf-table td:first-child {
    width: 35%;
    background-color: #f0f0f0;
    font-weight: bold;
}

.pdf-table th:last-child,
.pdf-table td:last-child {
    width: 65%;
    background-color: #fafafa;
}

.pdf-table tr:nth-child(even) td {
    background-color: #f9f9f9;
}

/* Info-Text und Button mittig */
.info-text {
    font-size: 15px;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.4;
    word-wrap: break-word; /* Lange Texte umbrechen */
}

/* 🔴 Einheitliches Button-Design (gleichmäßiger Rand + eleganter 3D-Effekt mit Glanz) */
.button-link,
form button {
    position: relative;
    display: inline-block;
    padding: 10px 22px;
    font-size: 16px;
    text-decoration: none;
    color: #000;
    border: 2px solid #891010; /* gleichmäßiger roter Rand */
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    overflow: hidden;
    transition: all 0.3s ease;

    /* ⚪ Weißer Grund mit leichtem Glanzverlauf von oben */
    background: linear-gradient(to bottom, #ffffff 0%, #f7f7f7 100%);

    /* 🌫️ Sanfter Schatten für 3D-Effekt */
    box-shadow: 0 5px 8px rgba(0,0,0,0.15);
}

/* 🟥 Hover-Effekt: Roter Verlauf gleitet von links nach rechts */
.button-link::before,
form button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #891010 0%, #891010 50%, #fff 50%, #fff 100%);
    background-size: 200% 100%;
    background-position: right bottom;
    z-index: 0;
    transition: background-position 0.4s ease;
    border-radius: 6px;
}

.button-link:hover::before,
form button:hover::before {
    background-position: left bottom; /* animiert den roten Wisch */
}

/* Schrift und Schatten auf oberster Ebene halten */
.button-link span,
form button span {
    position: relative;
    z-index: 1;
}

/* Hover: Schrift wird weiß und Button hebt sich leicht */
.button-link:hover,
form button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* Klick: Button drückt sich ein */
.button-link:active,
form button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Fehlermeldungen */
.error-message {
    padding: 30px;
    color: #a00;
    font-size: 16px;
    background-color: #ffecec;
    border: 1px solid #ffaaaa;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* Impressum-Link unten im zweiten Container */
.impressum-link {
    text-align: right;        /* rechtsbündig für Links */
    font-size: 12px;          /* kleinere Schrift */
    margin-top: 10px;
}

.impressum-link a {
    color: #555;
    text-decoration: none;
    margin-left: 15px;       /* Abstand zwischen den Links */
}

.impressum-link a:hover {
    text-decoration: underline;
}

/* Text unter den Links */
.impressum-text {
    text-align: right;       /* rechtsbündig wie die Links */
    color: #555;             /* dezente Farbe */
    font-size: 15px;
    margin-top: 5px;         /* Abstand zu den Links */
}

/* Rote Trennlinie innerhalb des zweiten Containers */
.red-separator {
    border: none;
    border-top: 3px solid #891010; /* dunkler Rotton */
    margin: 15px auto;           /* Abstand oben/unten */
    width: 100%;                  /* fast volle Containerbreite */
}

.result-red {
    font-weight: bold;
    padding: 0;           /* kein Extra-Abstand */
    border: none;         /* kein Rahmen */
    background: none;     /* kein Input-Look */
    display: inline;      /* Text bleibt inline */
}

.result-green { 
    color: green; 
    font-weight: bold; 
}

.result-red { 
    color: red; 
    font-weight: bold; 
}

/* Such Feld und Button */
form {
    margin-bottom: 20px;
}

form input[type="text"] {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Neuer, einheitlicher Button-Stil */
form button {
    position: relative;
    padding: 6px 16px;
    font-size: 15px;
    color: #000; /* schwarze Schrift */
    background: linear-gradient(to right, #891010 0%, #891010 50%, #fff 50%, #fff 100%);
    background-size: 200% 100%;
    background-position: right bottom;
    border: 2px solid #891010; /* roter Rand */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
    font-family: inherit;
}

/* Hover-Effekt: roter Hintergrund läuft von links nach rechts */
form button:hover {
    background-position: left bottom;
    color: #fff; /* Schrift wird weiß */
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap');

/* 🔹 HUD Ladeanimation */
.hud-container {
  width: 160px;
  height: 160px;
  margin: 40px auto;
  position: relative;
  background-color: #f8f9fa;
  border-radius: 50%;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.hud-container .segments {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}

.segment {
  stroke: #ddd;
  stroke-width: 8;
  fill: none;
  transition: stroke 0.2s ease;
}

.segment.active {
  stroke: #cc0000;
  filter: drop-shadow(0 0 0px #cc0000);
}

.center-info {
  position: absolute;
  text-align: center;
  color: #cc0000;
  font-family: 'Orbitron', sans-serif;
}

.percentage {
  font-size: 22px;
  color: #cc0000;
}

.status {
  font-size: 11px;
  margin-top: 6px;
  color: #333;
}

.hud-details {
  position: relative;
  top: 100px;           /* 👈 verschiebt den Text nach unten */
  text-align: center;
  color: #891010;
  font-size: 12px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

#hud-loader {
  transition: opacity 0.5s ease;
}

#table-container {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}