/* ==================================================
   CONTENT CSS
   ================================================ */

.site-main {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    background: var(--color-main-bg);
    padding: 50px 20px;
}

/* ==================================================
   CONTENT: Section
   --------------------------------------------------
   Eine Section ist ein Inhaltsabschnitt.

   Auswirkungen:
   - padding: 0, weil der Hauptabstand bereits in .site-main steht.
   - margin-bottom: 50px steuert den Abstand zur nächsten Section darunter.
   - Die letzte Section bekommt keinen unteren Abstand, damit der Content unten sauber endet.
================================================== */

.content-section {
    padding: 0;
    margin-bottom: 50px;
}

.content-section:last-child {
    margin-bottom: 0;
}

#seoAnalyzerApp.tool {
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

#seoAnalyzerApp label,
#seoAnalyzerApp .hint,
#seoAnalyzerApp .field label span {
    color: #ffffff;
}

/* ==================================================
   GRID: Grundsystem für Kachel-Reihen
   --------------------------------------------------
   Jedes .grid ist eine eigene Kachelreihe innerhalb einer Section.

   Auswirkungen:
   - gap: 20px steuert den Abstand zwischen Kacheln innerhalb derselben Grid-Reihe.
   - Der Abstand zwischen mehreren Grid-Blöcken wird über .content-section gesteuert.
================================================== */

.grid {
    display: grid;
    gap: 20px;
    align-items: stretch;
}

/* ==================================================
   GRID: Spaltenaufteilungen
   --------------------------------------------------
   Diese Klassen definieren, wie viele Spalten eine Kachelreihe hat.

   Auswirkungen:
   - grid-1 = eine volle Spalte
   - grid-2 = zwei gleich große Spalten
   - grid-3 = drei gleich große Spalten
   - grid-4 = vier gleich große Spalten
   - grid-5 = fünf gleich große Spalten
   - grid-70-30 = großer linker, kleiner rechter Bereich
   - grid-30-70 = kleiner linker, großer rechter Bereich
================================================== */
.grid-1 {
    grid-template-columns: 1fr;
}

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

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

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-70-30 {
    grid-template-columns: 7fr 3fr;
}

.grid-30-70 {
    grid-template-columns: 3fr 7fr;
}


/* ==================================================
   CARD: Kachel-Design
   --------------------------------------------------
   Gestaltung aller Kacheln.

   Auswirkungen:
   - padding ist der Innenabstand der Kachel.
   - background ist die transparente Kachelfläche.
   - der letzte rgba-Wert steuert die Deckkraft:
     0.12 = sehr transparent
     0.35 = mittel transparent
     0.72 = deutlich deckender
   - border ist der Rahmen.
   - border-radius rundet die Ecken.
   - transition aktiviert den Hover-Effekt.
================================================== */

.card {
    padding: 24px;
    background: rgba(98, 106, 127, 0.12);
    border: 1px solid var(--color-dark-blue);
    border-radius: 5px;
    color: #203665;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.062);

}

/* ==================================================
   CARD: Hover-Effekt
   --------------------------------------------------
   Bewegung und leichte Abdunklung beim Überfahren.

   Auswirkungen:
   - translateY(-2px) hebt die Kachel optisch 2px an.
   - background macht die Kachel beim Hover etwas deckender.
================================================== */

.card:hover {
    transform: translateY(-2px);
    background: rgb(76, 210, 245);
    border-color: transparent;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.card:hover::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 5px;

    background: linear-gradient(90deg,
            #b7c313,
            #187de7,
            #a0088c,
            #7faf0d,
            #0d6012);

    background-size: 300% 300%;

    animation: card-border-color-change 5s ease infinite;
}

.card:hover::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: -1;

    border-radius: 3px;
    background: rgb(76, 210, 245);
}

.no-hover:hover {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.no-hover:hover::before,
.no-hover:hover::after {
    display: none !important;
}

@keyframes card-border-color-change {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ==================================================
   CARD: H2 Überschrift
   --------------------------------------------------
   Hauptüberschrift innerhalb einer Kachel.

   Auswirkungen:
   - font-size steuert die Größe der H2.
   - line-height steuert den Zeilenabstand bei Umbruch.
   - margin-bottom steuert den Abstand zum folgenden Text.
   - text-align: center zentriert die Überschrift.
   - text-shadow verbessert die Lesbarkeit.
================================================== */

.card h2 {
    margin-bottom: 16px;
    font-size: 2.2rem;
    line-height: 1.25;
    font-weight: 600;
    color: #203665;
    text-align: center;
    text-shadow: 0 2px 10px rgba(137, 135, 135, 0.676);
}

.card h2.h2-left {
    text-align: left;
}

/* ==================================================
   CARD: H3 Überschrift
   --------------------------------------------------
   Kleinere Zwischenüberschrift innerhalb einer Kachel.

   Auswirkungen:
   - font-size steuert die Größe der H3.
   - line-height steuert den Zeilenabstand.
   - margin-bottom steuert den Abstand zum folgenden Text.
================================================== */

.card h3 {
    margin-bottom: 14px;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 500;
    color: #203665;
    text-align: center;
}

.card h3.h3-left {
    text-align: left;
}

.card h4 {
    margin-bottom: 14px;
    font-size: 1.1rem;
    line-height: 1.0;
    font-weight: 400;
    color: #203665;
    text-align: center;
}

.card h4.h4-left {
    text-align: left;
}

/* ==================================================
   CARD: Absatztext
   --------------------------------------------------
   Normaler Fließtext innerhalb einer Kachel.

   Auswirkungen:
   - font-size steuert die Textgröße.
   - line-height steuert den Zeilenabstand.
   - margin-bottom steuert den Abstand zwischen Absätzen.
   - text-align: center zentriert den Text.
================================================== */

.card p {
    margin-bottom: 1px;
    font-size: 1.25rem;
    line-height: 1.25;
    color: var(--color-text);
    text-align: center;
}

.card p:last-child {
    margin-bottom: 0;
}

.card p.p-left {
    text-align: left;
}

/* ==================================================
   CARD: Bildkacheln
   --------------------------------------------------
   Kacheln mit Bild und Textbereich.

   Auswirkungen:
   - .card-image entfernt den Innenabstand um das Bild.
   - .card-body setzt den Innenabstand für den Text unter dem Bild.
================================================== */

.card.card-image {
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.card.card-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
}

.card-image img[alt*="16 zu 9"] {
    aspect-ratio: 16 / 9;
}

.card-image img[alt*="21 zu 9"] {
    aspect-ratio: 21 / 9;
}

.card-image-right img {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
}

.card-body {
    padding: 24px;
}

/* ==================================================
   MOCKUP-BILDER: Expandierender Hover-Effekt
   --------------------------------------------------
   Zweck:
   - zwei Bilder nebeneinander im 50/50-Grid
   - kleine Vorschau normal anzeigen
   - großes Bild beim Hover expandierend einblenden
   - linkes Bild öffnet zur Mitte nach rechts
   - rechtes Bild öffnet zur Mitte nach links
   - großes Bild darf Card und Grid sichtbar überlagern
================================================== */

.mockup-hover-grid {
    position: relative;
    z-index: 1;
    gap: 20px;
    overflow: visible;
}

.mockup-hover-card {
    position: relative;
    z-index: 1;
    padding: 0;
    overflow: visible;
}

.mockup-hover-small {
    display: block;
    width: 100%;
    height: auto;
}

.mockup-hover-large {
    position: absolute;
    top: 50%;
    width: 170%;
    max-width: none;
    height: auto;
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
    pointer-events: none;
    transition:
        transform 0.35s ease,
        opacity 0.25s ease,
        visibility 0.25s ease;
}

/* Linkes Bild expandiert nach rechts zur Mitte */
.mockup-hover-card:first-child .mockup-hover-large {
    left: 0;
    transform: translateY(-50%) scale(0.35);
    transform-origin: left center;
}

.mockup-hover-card:first-child:hover .mockup-hover-large {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

/* Rechtes Bild expandiert nach links zur Mitte */
.mockup-hover-card:last-child .mockup-hover-large {
    right: 0;
    transform: translateY(-50%) scale(0.35);
    transform-origin: right center;
}

.mockup-hover-card:last-child:hover .mockup-hover-large {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

/*
   Überschreibt den allgemeinen .card:hover-Effekt nur für Mockup-Cards.
   Wichtig: overflow muss sichtbar bleiben, damit das große Bild nicht
   innerhalb der Card abgeschnitten wird.
*/
.mockup-hover-card:hover {
    position: relative;
    z-index: 9999;
    overflow: visible;
    transform: none;
    background: transparent;
    border-color: var(--color-dark-blue);
}

.mockup-hover-card:hover::before,
.mockup-hover-card:hover::after {
    display: none;
}

/* ==================================================
   CONTENT: Gelbe Akzentfläche
   ==================================================

   Zweck:
   Gibt einzelnen Content-Bereichen eine warme,
   helle Akzentfläche.

   Verwendung im HTML:
   <section class="content-section content-section-accent-yellow">

   Wirkung:
   - hebt eine Kachelgruppe sichtbar hervor
   - wirkt wärmer als Blau/Cyan
   - bleibt durch Transparenz passend zum bestehenden Design
================================================== */

.content-section-accent-yellow {
    padding: 24px;
    border-radius: 5px;
    background: rgb(255, 214, 102);
}

.content-section-accent-yellow .card {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(32, 54, 101, 0.35);
}

.content-section-accent-yellow .card h2,
.content-section-accent-yellow .card h3 {
    color: #203665;
    text-shadow: none;
}

.content-section-accent-yellow .card p {
    color: #203665;
}

/* ==================================================
   CONTENT: Gelbe Einzelkachel
   ==================================================

   Zweck:
   Färbt nur einzelne Kacheln gelb ein.

   Verwendung:
   <article class="card card-accent-yellow">

   Wichtig:
   Die Section bleibt unverändert.
   Nur die jeweilige Card bekommt die Akzentfarbe.
================================================== */

.card-accent-yellow {
    background: #FFF7DA;
    border-color: rgba(32, 54, 101, 0.35);
}

.card-accent-yellow h2,
.card-accent-yellow h3 {
    color: #203665;
    text-shadow: none;
}

.card-accent-yellow p {
    color: #203665;
}

.card-highlight {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.card-highlight h3,
.card-highlight p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* ==================================================
   CONTENT: Buttons in Karten
   --------------------------------------------------
   - fester dunkelblauer Hintergrund #010e2b
   - animierter Farbrand
   - hellblaue Schrift
   - Schrift wird beim Hover grün
   - leichter 3D-Schatten
   - Hintergrund bleibt beim Hover unverändert
================================================== */

.content-button-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.content-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-height: 46px;
    padding: 12px 24px;

    border: 3px solid transparent;
    border-radius: 5px;

    background:
        linear-gradient(#010e2b,
            #010e2b) padding-box,
        linear-gradient(90deg,
            #00d9ff,
            #006eff,
            #00d26a,
            #a6d900,
            #00d9ff) border-box;

    background-size:
        100% 100%,
        300% 300%;

    background-position:
        0 0,
        0% 50%;

    color: #29c7f4;

    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;

    text-align: center;
    text-decoration: none;

    cursor: pointer;

    animation: content-button-border 5s ease infinite;

    transition:
        color 0.25s ease,
        transform 0.20s ease,
        box-shadow 0.20s ease;
}

.content-button:hover {
    color: #39FF14;

    background:
        linear-gradient(#010e2b,
            #010e2b) padding-box,
        linear-gradient(90deg,
            #4cd2f5,
            #187de7,
            #2fa84f,
            #27e912,
            #4cd2f5) border-box;

    background-size:
        100% 100%,
        300% 300%;
}

@keyframes content-button-border {
    0% {
        background-position:
            0 0,
            0% 50%;
    }

    50% {
        background-position:
            0 0,
            100% 50%;
    }

    100% {
        background-position:
            0 0,
            0% 50%;
    }
}

/* ==================================================
   CONTENT: Listen / Bullet Points
================================================== */

.card ul,
.card ol {
    margin: 16px 0 0 0;
    padding-left: 28px;
    color: #203665;
    font-size: 1.25rem;
    line-height: 1.25;
    text-align: left;
}

.card ul {
    list-style-type: disc;
}

.card ol {
    list-style-type: decimal;
}

.card li {
    margin-bottom: 8px;
}

.card li:last-child {
    margin-bottom: 0;
}

/* ==================================================
   CONTENT: Bildwechsel per Hover
   ==================================================

   Zweck:
   Zeigt in einer Kachel ein Standardbild.
   Beim Hover wird ein zweites Bild eingeblendet.

   Verwendung:
   <article class="card card-hover-image">
       <div class="hover-image-wrap">
           <img class="hover-image hover-image-default">
           <img class="hover-image hover-image-active">
       </div>
   </article>
================================================== */

.card-hover-image {
    padding: 0;
    overflow: hidden;
}

.hover-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 5px;
    background: #ffffff;
}

.hover-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hover-image-default {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hover-image-active {
    opacity: 0;
    transform: scale(1.02);
    z-index: 2;
}

.card-hover-image:hover .hover-image-default {
    opacity: 0;
    transform: scale(1.02);
}

.card-hover-image:hover .hover-image-active {
    opacity: 1;
    transform: scale(1);
}

.consultation-section {
    text-align: center;
}

.consultation-button {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    border-radius: 6px;
    background: #244c7c;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.consultation-button:hover {
    background: #173657;
    color: #ffffff;
}

/* ==================================================
   CONTENT: Responsive
   --------------------------------------------------
   Auf kleineren Screens werden alle Grids einspaltig.

   Auswirkungen:
   - width: 100% nutzt die verfügbare Breite.
   - padding: 40px 20px reduziert oben/unten den Abstand.
   - alle Mehrspalten-Grids werden zu einer Spalte.
================================================== */

@media (max-width: 900px) {
    .site-main {
        width: 100%;
        padding: 40px 20px;
    }

    .grid-2,
    .grid-3,
    .grid-70-30,
    .grid-30-70 {
        grid-template-columns: 1fr;
    }
}

#seo-additional-checks .seo-additional-target,
#seo-additional-checks .seo-additional-target strong,
#seo-additional-checks .seo-additional-target a {
    color: #1f2937 !important;
}

#seo-additional-checks .seo-additional-target:hover,
#seo-additional-checks .seo-additional-target a:hover {
    color: #1f2937 !important;
    background: transparent !important;
}

/* ==================================================
   GEMEINSAME ANALYSE-TOOLS
   --------------------------------------------------
   Gemeinsame Gestaltung für Onepage-, technische,
   SERP-, Keyword- und weitere Analysewerkzeuge.

   Hinweise:
   - IDs bleiben für PHP und JavaScript bestehen.
   - Diese Klassen steuern ausschließlich das Design.
   - PDF-CSS bleibt in der jeweiligen PHP-Datei.
================================================== */

.analysis-tool {
    --analysis-primary: #244c7c;
    --analysis-primary-dark: #173657;
    --analysis-accent: #81ab2e;
    --analysis-success: #2f855a;
    --analysis-warning: #c66a0a;
    --analysis-error: #c53030;
    --analysis-info: #2b6cb0;
    --analysis-text: #1f2937;
    --analysis-muted: #64748b;
    --analysis-surface: #ffffff;
    --analysis-background: #f4f7fa;
    --analysis-border: #dbe3ea;
    --analysis-radius: 8px;
}

.analysis-tool {
    padding: 24px;
    border: 1px solid var(--color-dark-blue);
    border-radius: 5px;
    background: transparent;
    box-shadow: none;
    color: var(--analysis-text);
    line-height: 1.55;
}

.analysis-tool,
.analysis-tool * {
    box-sizing: border-box;
}

.analysis-tool:hover {
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.analysis-tool h1,
.analysis-tool h2,
.analysis-tool h3,
.analysis-tool p {
    text-align: left;
    text-shadow: none;
}

.analysis-tool h1,
.analysis-tool h2,
.analysis-tool h3 {
    color: var(--analysis-primary-dark);
}

.analysis-tool p {
    color: var(--analysis-text);
}

/* Einleitung */

.analysis-tool__intro {
    margin-bottom: 22px;
}

.analysis-tool__intro h2 {
    margin: 0 0 8px;
    font-size: 1.45rem;
    line-height: 1.25;
    font-weight: 700;
}

.analysis-tool__intro p {
    max-width: 960px;
    margin: 0;
    color: #455468;
    font-size: 1rem;
    line-height: 1.5;
}

/* Formular */

.analysis-tool__form {
    margin: 0;
}

.analysis-tool__form-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    gap: 16px;
    align-items: end;
}

.analysis-tool__form-grid--button {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.analysis-tool__field {
    min-width: 0;
}

.analysis-tool__field label,
.analysis-tool label {
    display: block;
    margin-bottom: 7px;
    color: var(--analysis-primary-dark);
    font-weight: 700;
}

.analysis-tool__field label span {
    color: var(--analysis-muted);
    font-weight: 400;
}

.analysis-tool__input,
.analysis-tool input[type="text"],
.analysis-tool input[type="url"],
.analysis-tool input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #b9c6d2;
    border-radius: 6px;
    background: #ffffff;
    color: var(--analysis-text);
    font: inherit;
}

.analysis-tool__input:focus,
.analysis-tool input[type="text"]:focus,
.analysis-tool input[type="url"]:focus,
.analysis-tool input[type="search"]:focus {
    border-color: var(--analysis-primary);
    outline: 3px solid rgba(36, 76, 124, 0.14);
}

.analysis-tool__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.analysis-tool__button,
.analysis-tool button {
    min-height: 46px;
    padding: 10px 18px;
    border: 0;
    border-radius: 6px;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.analysis-tool__button--primary {
    background: var(--analysis-primary);
    color: #ffffff;
}

.analysis-tool__button--primary:hover {
    background: var(--analysis-primary-dark);
    color: #ffffff;
}

.analysis-tool__button--secondary {
    border: 1px solid #cbd7e2;
    background: #edf3f8;
    color: var(--analysis-primary-dark);
}

.analysis-tool__button--secondary:hover {
    background: #e2ebf2;
    color: var(--analysis-primary-dark);
}

.analysis-tool__hint {
    margin: 0;
    color: var(--analysis-muted);
    font-size: 0.9rem;
}

/* Lade- und Fehlermeldungen */

.analysis-tool__loading,
.analysis-tool__alert {
    display: none;
    margin-top: 20px;
    padding: 15px 17px;
    border-radius: 7px;
}

.analysis-tool__loading {
    border: 1px solid #d5e0e9;
    background: #f4f8fb;
    color: #536579;
}

.analysis-tool__alert {
    border: 1px solid #feb2b2;
    background: #fff5f5;
    color: #9b2c2c;
}

.analysis-tool__alert--partial {
    border-color: #f6ad55;
    background: #fffaf0;
    color: #9c4221;
}

.analysis-tool__spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 9px;
    border: 3px solid #ced9e2;
    border-top-color: var(--analysis-accent);
    border-radius: 50%;
    vertical-align: -4px;
    animation: analysis-tool-spin 0.8s linear infinite;
}

@keyframes analysis-tool-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ergebnisbereich */

.analysis-tool__results {
    margin-top: 26px;
}

.analysis-tool__heading {
    margin: 0 0 16px;
    color: var(--analysis-primary-dark);
    font-size: 1.35rem;
    line-height: 1.25;
}

/* Score */

.analysis-tool__score {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    padding: 22px;
    border-radius: 10px;
    background: var(--analysis-primary-dark);
    color: #ffffff;
}

.analysis-tool__score-number {
    color: #ffffff;
    font-size: 3rem;
    line-height: 1;
    font-weight: 850;
}

.analysis-tool__score-caption {
    margin-top: 7px;
    color: #ffffff;
    font-size: 0.88rem;
    opacity: 0.82;
}

.analysis-tool__score-title {
    margin-bottom: 9px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 750;
}

.analysis-tool__score-track {
    height: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.analysis-tool__score-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    transition: width 0.5s ease;
}

.analysis-tool__score-summary {
    margin: 10px 0 0;
    color: #ffffff;
    opacity: 0.9;
}

/* Zusammenfassung / Kennzahlen */

.analysis-tool__summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.analysis-tool__summary-card {
    padding: 15px;
    border: 1px solid var(--analysis-border);
    border-radius: 8px;
    background: #ffffff;
}

.analysis-tool__summary-value {
    display: block;
    color: var(--analysis-primary-dark);
    font-size: 1.45rem;
    font-weight: 800;
}

.analysis-tool__summary-label {
    display: block;
    margin-top: 3px;
    color: var(--analysis-muted);
    font-size: 0.82rem;
}

/* Prüfgruppen */

.analysis-tool__group {
    margin-top: 20px;
    border: 1px solid var(--analysis-border);
    border-radius: 9px;
    background: #ffffff;
    overflow: hidden;
}

.analysis-tool__group-title,
.analysis-tool__group>h2,
.analysis-tool__group>h3 {
    margin: 0;
    padding: 15px 18px;
    background: #eef3f7;
    color: var(--analysis-primary-dark);
    font-size: 1.05rem;
    line-height: 1.3;
    text-align: left;
}

.analysis-tool__check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    align-items: stretch;
}

.analysis-tool__check {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 8px 12px;
    align-items: start;
    min-width: 0;
    height: 100%;
    padding: 14px;
    border: 1px solid #e8edf1;
    border-radius: 8px;
    background: #ffffff;
}

.analysis-tool__check-icon {
    display: grid;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
}

.analysis-tool__check-content {
    min-width: 0;
}

.analysis-tool__check-name {
    color: #26384b;
    font-weight: 750;
}

.analysis-tool__check-detail {
    margin-top: 3px;
    color: var(--analysis-muted);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.analysis-tool__check-meta,
.analysis-tool__check-points,
.analysis-tool__check-status {
    white-space: nowrap;
    color: var(--analysis-muted);
    font-size: 0.82rem;
    font-variant-numeric: tabular-nums;
}

.analysis-tool__check--pass .analysis-tool__check-icon {
    background: var(--analysis-success);
}

.analysis-tool__check--warn .analysis-tool__check-icon {
    background: var(--analysis-warning);
}

.analysis-tool__check--fail .analysis-tool__check-icon {
    background: var(--analysis-error);
}

.analysis-tool__check--info .analysis-tool__check-icon {
    background: var(--analysis-info);
}

/* Tabellen */

.analysis-tool__table-wrap {
    width: 100%;
    overflow-x: auto;
}

.analysis-tool__table,
.analysis-tool__outline,
.analysis-tool__detail-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    color: var(--analysis-text);
    font-size: 0.9rem;
}

.analysis-tool__table th,
.analysis-tool__table td,
.analysis-tool__outline th,
.analysis-tool__outline td,
.analysis-tool__detail-table th,
.analysis-tool__detail-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e7edf2;
    background: #ffffff;
    color: var(--analysis-text) !important;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.analysis-tool__table th,
.analysis-tool__outline th,
.analysis-tool__detail-table th {
    background: #f4f7fa;
    color: var(--analysis-primary-dark) !important;
}

.analysis-tool__table tr:last-child td,
.analysis-tool__outline tr:last-child td,
.analysis-tool__detail-table tr:last-child td {
    border-bottom: 0;
}

.analysis-tool__level {
    display: inline-block;
    min-width: 34px;
    color: var(--analysis-primary);
    font-weight: 800;
}

/* Detailkarten */

.analysis-tool__detail-heading {
    margin: 30px 0 8px;
    color: var(--analysis-primary-dark);
    font-size: 1.25rem;
}

.analysis-tool__detail-card {
    margin-top: 14px;
    border: 1px solid var(--analysis-border);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.analysis-tool__detail-card h3 {
    margin: 0;
    padding: 13px 15px;
    background: #f5f8fa;
    color: var(--analysis-primary-dark);
    font-size: 1rem;
    line-height: 1.3;
    text-align: left;
}

/* Hinweise */

.analysis-tool__note,
.analysis-tool__target-note {
    margin-top: 18px;
    padding: 13px 15px;
    border-left: 4px solid var(--analysis-accent);
    background: #f7faee;
    color: #4f5f37;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.analysis-tool__note *,
.analysis-tool__target-note * {
    color: inherit;
}

.analysis-tool__limits {
    margin-top: 24px;
    padding: 14px 16px;
    border: 1px solid #d5e0e9;
    border-radius: 8px;
    background: #f4f8fb;
    color: #536579;
    font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 760px) {
    .analysis-tool {
        padding: 17px;
    }

    .analysis-tool__form-grid,
    .analysis-tool__form-grid--button,
    .analysis-tool__score {
        grid-template-columns: 1fr;
    }

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

    .analysis-tool__check-list {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .analysis-tool__check {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .analysis-tool__check-meta,
    .analysis-tool__check-points,
    .analysis-tool__check-status {
        grid-column: 2;
    }
}

/* ==================================================
   GRID 4: Responsive
   --------------------------------------------------
   Desktop: 4 nebeneinander
   Tablet:  2 x 2
   Mobil:   1 untereinander
================================================== */

@media (max-width: 900px) {
    .grid.grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .grid.grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {

    .grid-2,
    .grid-3,
    .grid-70-30,
    .grid-30-70 {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .grid-70-30>.card,
    .grid-30-70>.card {
        height: auto;
        min-height: 0;
    }

    .grid-70-30 .card-image,
    .grid-30-70 .card-image {
        height: auto;
    }

    .grid-70-30 .card-image img,
    .grid-30-70 .card-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Auf Mobilgeräten keine expandierende Großansicht */
    .mockup-hover-large {
        display: none;
    }

    .mockup-hover-card {
        overflow: hidden;
    }
}

/* ==================================================
   DATENSCHUTZ / FAQ: ACCORDION
   --------------------------------------------------
   Transparente Fläche, blaue Schrift, blauer Rahmen
   Hover: Schrift grün, Fläche bleibt transparent
================================================== */

.content-accordion {
    width: 100%;
    margin-top: 20px;
}


/* ==================================================
   ACCORDION: Einzelner Bereich
================================================== */

.accordion-item {
    width: 100%;
    margin-bottom: 10px;

    border: 1px solid #203665;
    border-radius: 5px;

    background: transparent;

    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}


/* ==================================================
   ACCORDION: Überschrift
================================================== */

.accordion-item summary {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;

    padding: 16px 25px 16px 20px;

    background: transparent;
    color: #203665;

    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 500;

    text-align: left;

    cursor: pointer;
    list-style: none;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}


/* Browser-Pfeil entfernen */

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary::marker {
    display: none;
}


/* ==================================================
   ACCORDION: Plus / Minus
================================================== */

.accordion-item summary::after {
    content: "+";

    position: absolute;

    right: 20px;
    top: 50%;

    transform: translateY(-50%);

    color: #203665;

    font-size: 1.3rem;
    line-height: 1;
    font-weight: 400;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


/* ==================================================
   ACCORDION: Hover
================================================== */

.accordion-item summary:hover {
    background: transparent;
    color: #39FF14;
}

.accordion-item summary:hover::after {
    color: #39FF14;
}


/* ==================================================
   ACCORDION: Geöffnet
================================================== */

.accordion-item[open] summary {
    background: transparent;
    color: #39FF14;

    border-bottom: 1px solid #187de7;
}

.accordion-item[open] summary::after {
    content: "−";
    color: #39FF14;
}


/* ==================================================
   ACCORDION: Inhalt
================================================== */

.accordion-content {
    padding: 20px;

    background: transparent;
}


/* ==================================================
   ACCORDION: Fließtext
================================================== */

.accordion-content p {
    margin: 0 0 14px;

    color: #203665;

    font-size: 1.1rem;
    line-height: 1.45;

    text-align: left;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}


/* ==================================================
   ACCORDION: Listen
================================================== */

.accordion-content ul,
.accordion-content ol {
    margin: 14px 0;
    padding-left: 28px;

    color: #203665;

    font-size: 1.1rem;
    line-height: 1.45;

    text-align: left;
}

.accordion-content li {
    margin-bottom: 7px;
    color: #203665;
}

.accordion-content li:last-child {
    margin-bottom: 0;
}


/* ==================================================
   ACCORDION: Links
================================================== */

.accordion-content a {
    color: #29c7f4;

    text-decoration: underline;

    transition: color 0.25s ease;
}

.accordion-content a:hover {
    color: #39FF14;
}


/* ==================================================
   ACCORDION: Strong / Bold
================================================== */

.accordion-content strong,
.accordion-content b {
    color: #203665;
}


/* ==================================================
   ACCORDION: Fokus / Tastatur
================================================== */

.accordion-item summary:focus-visible {
    outline: 2px solid #39FF14;
    outline-offset: -3px;
}


/* ==================================================
   ACCORDION: Mobile
================================================== */

@media (max-width: 760px) {

    .content-accordion {
        margin-top: 22px;
    }

    .accordion-item {
        margin-bottom: 10px;
    }

    .accordion-item summary {
        padding: 14px 46px 14px 16px;

        font-size: 1.05rem;
        line-height: 1.3;
    }

    .accordion-item summary::after {
        right: 16px;

        font-size: 1.5rem;
    }

    .accordion-content {
        padding: 16px;
    }

    .accordion-content p,
    .accordion-content ul,
    .accordion-content ol {
        font-size: 1rem;
        line-height: 1.45;
    }

    .accordion-content ul,
    .accordion-content ol {
        padding-left: 24px;
    }
}

/* ==================================================
   IBSAX KONTAKTFORMULAR
   --------------------------------------------------
   Desktop: 2 Spalten
   Mobile: 1 Spalte
================================================== */

.ibsax-contact-form {
    width: 100%;
    margin-top: 30px;
}


/* ==================================================
   FORMULAR: 2-SPALTEN-GRID
================================================== */

.ibsax-contact-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}


/* ==================================================
   FORMULAR: FELDER
================================================== */

.ibsax-contact-form .form-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 7px;
}

.ibsax-contact-form .form-field-full {
    width: 100%;
    margin-top: 24px;
}


/* ==================================================
   FORMULAR: LABEL
================================================== */

.ibsax-contact-form .form-field > label,
.ibsax-contact-form legend {
    display: block;
    margin: 0;

    color: #203665;

    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;

    text-align: left;
}


/* ==================================================
   FORMULAR: INPUT / SELECT / TEXTAREA
================================================== */

.ibsax-contact-form input[type="text"],
.ibsax-contact-form input[type="email"],
.ibsax-contact-form input[type="tel"],
.ibsax-contact-form input[type="url"],
.ibsax-contact-form select,
.ibsax-contact-form textarea {
    display: block;

    width: 100%;
    max-width: 100%;

    padding: 12px 14px;

    border: 1px solid #203665;
    border-radius: 5px;

    background: rgba(255, 255, 255, 0.96);

    color: #203665;

    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.3;

    outline: none;

    box-sizing: border-box;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.ibsax-contact-form input[type="text"],
.ibsax-contact-form input[type="email"],
.ibsax-contact-form input[type="tel"],
.ibsax-contact-form input[type="url"],
.ibsax-contact-form select {
    min-height: 46px;
}


/* ==================================================
   TEXTAREA
================================================== */

.ibsax-contact-form textarea {
    min-height: 160px;
    resize: vertical;
}


/* ==================================================
   PLACEHOLDER
================================================== */

.ibsax-contact-form input::placeholder,
.ibsax-contact-form textarea::placeholder {
    color: #7b8494;
    opacity: 1;
}


/* ==================================================
   FOCUS
================================================== */

.ibsax-contact-form input[type="text"]:focus,
.ibsax-contact-form input[type="email"]:focus,
.ibsax-contact-form input[type="tel"]:focus,
.ibsax-contact-form input[type="url"]:focus,
.ibsax-contact-form select:focus,
.ibsax-contact-form textarea:focus {
    border-color: #187de7;

    box-shadow:
        0 0 0 2px rgba(24, 125, 231, 0.15);
}


/* ==================================================
   HILFELEISTUNGEN / SICHERHEITSABFRAGE
================================================== */

.ibsax-contact-form .form-services,
.ibsax-contact-form .form-security {
    width: 100%;

    margin: 28px 0 0;
    padding: 20px;

    border: 1px solid #203665;
    border-radius: 5px;

    background: transparent;

    box-sizing: border-box;
}

.ibsax-contact-form .form-services legend,
.ibsax-contact-form .form-security legend {
    padding: 0 8px;

    color: #203665;

    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 600;
}


/* ==================================================
   HINWEISTEXT
================================================== */

.ibsax-contact-form .form-hint {
    margin: 0 0 16px;

    color: #203665;

    font-size: 0.95rem;
    line-height: 1.4;

    text-align: left;
}


/* ==================================================
   HILFELEISTUNGEN: 2 SPALTEN
================================================== */

.ibsax-contact-form .form-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
}


/* ==================================================
   CHECKBOXEN
================================================== */

.ibsax-contact-form .form-checkbox {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: #203665;

    cursor: pointer;
}

.ibsax-contact-form .form-checkbox input[type="checkbox"] {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    margin: 2px 0 0;

    accent-color: #187de7;
}

.ibsax-contact-form .form-checkbox span {
    color: #203665;

    font-size: 1rem;
    line-height: 1.4;
    font-weight: 400;

    text-align: left;
}


/* ==================================================
   SICHERHEITSABFRAGE
================================================== */

.ibsax-contact-form .form-security p {
    margin: 0 0 18px;

    color: #203665;

    font-size: 1rem;
    line-height: 1.4;

    text-align: left;
}

.ibsax-contact-form .form-security p strong {
    color: #203665;
}


/* ==================================================
   FORMEN
================================================== */

.ibsax-contact-form .security-shapes {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin-top: 15px;
}

.ibsax-contact-form .security-option {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 9px;

    color: #203665;

    cursor: pointer;
}

.ibsax-contact-form .security-option input[type="radio"] {
    width: 18px;
    height: 18px;

    margin: 0;

    accent-color: #187de7;
}

.ibsax-contact-form .security-option > span:last-child {
    color: #203665;

    font-size: 0.95rem;
    font-weight: 500;
}


/* ==================================================
   QUADRAT / RECHTECK / KREIS
================================================== */

.ibsax-contact-form .shape {
    display: block;

    border: 3px solid #203665;

    background: transparent;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.ibsax-contact-form .shape-square {
    width: 48px;
    height: 48px;
}

.ibsax-contact-form .shape-rectangle {
    width: 72px;
    height: 42px;
}

.ibsax-contact-form .shape-circle {
    width: 48px;
    height: 48px;

    border-radius: 50%;
}

.ibsax-contact-form .security-option:hover .shape {
    border-color: #39FF14;

    box-shadow:
        0 0 10px rgba(57, 255, 20, 0.25);
}


/* ==================================================
   DATENSCHUTZ
================================================== */

.ibsax-contact-form .form-privacy {
    width: 100%;

    margin-top: 26px;
}

.ibsax-contact-form .form-privacy .form-checkbox {
    align-items: flex-start;
}

.ibsax-contact-form .form-privacy a {
    color: #187de7;

    text-decoration: underline;

    transition: color 0.25s ease;
}

.ibsax-contact-form .form-privacy a:hover {
    color: #39FF14;
}


/* ==================================================
   PFLICHTFELDER
================================================== */

.ibsax-contact-form .form-required {
    margin: 18px 0 0;

    color: #203665;

    font-size: 0.9rem;
    line-height: 1.4;

    text-align: left;
}


/* ==================================================
   HONEYPOT
================================================== */

.ibsax-contact-form .form-honeypot {
    position: absolute !important;

    left: -9999px !important;
    top: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* ==================================================
   ABSENDEBUTTON
================================================== */

.ibsax-contact-form .content-button-center {
    margin-top: 28px;
}


/* ==================================================
   TABLET / MOBILE
   Erst unter 760px einspaltig
================================================== */

@media (max-width: 760px) {

    .ibsax-contact-form .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ibsax-contact-form .form-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .ibsax-contact-form .security-shapes {
        flex-wrap: wrap;
        gap: 25px;
    }

    .ibsax-contact-form .form-services,
    .ibsax-contact-form .form-security {
        padding: 16px;
    }
}