:root {
	--bg: #0b1120;
	--bg-card: #0f172a;
	--accent: #22c55e;
	--accent-soft: #bbf7d0;
	--text: #e5e7eb;
	--muted: #9ca3af;
	--border: #1f2937;
	--font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* Zusätzliche Variablen für die rote Hervorhebung */
    --danger-bg: #1c0e17; /* Dunkles, dezentes Rot/Violett */
    --danger-border: #4a1926; /* Dunklerer Rotton */
    --danger-text: #fca5a5; /* Helles Rot für Text/Akzent */
    /* Formular Farben */
    --input-bg: #111827;
    --input-border: #2d3748;
    --input-focus: #34d399; /* Grünton für Fokus */
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font);
	background: radial-gradient(circle at top, #111827 0, #020617 60%, #000 100%);
	color: var(--text);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.page {
	max-width: 720px;
	width: 100%;
	background: var(--bg-card);
	border-radius: 16px;
	border: 1px solid var(--border);
	padding: 1.8rem 1.6rem;
	box-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

@media (min-width: 768px) {
	.page {
		padding: 2.2rem 2.4rem;
	}
}

/* --- Start Globale & Allgemeine Styles --- */

/* Logo-Styles für responsive Breite */
.header-logo {
	margin-bottom: 1.5rem;
	display: block;
}

.header-logo img {
	max-width: 100%; 
	height: auto;
	max-height: 300px; 
	display: block;
}

.logo { 
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--muted);
	margin-bottom: 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	display: none; 
}

.logo-dot {
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--accent);
	box-shadow: 0 0 10px rgba(34,197,94,0.8);
}

h1 {
	font-size: clamp(1.9rem, 3vw, 2.2rem);
	line-height: 1.15;
	margin-bottom: 0.6rem;
}

h1 span {
	color: var(--accent-soft);
}

.subtitle {
	font-size: 0.98rem;
	color: var(--muted);
	margin-bottom: 1.3rem;
	line-height: 1.6;
}

/* Tagline Box für "Das Problem" oder "Keine Spielerei" */
.tagline-box {
	font-size: 0.9rem;
	padding: 0.6rem 0.8rem;
	border-radius: 8px; /* Eckig gemacht */
	border: 1px solid var(--border);
	background: rgba(15,23,42,0.9);
	margin-bottom: 1.4rem;
	color: var(--muted);
}

.tagline-box strong {
	color: var(--accent-soft);
}

/* Spezifische Klasse für die rote Problem-Box */
.tagline-box-danger {
    background: var(--danger-bg);
    border-color: var(--danger-border);
}
.tagline-box-danger strong {
    color: var(--danger-text);
}


h2 {
	font-size: 1.1rem;
	margin-bottom: 0.6rem;
}

/* Listen auf Index.html */
ul {
	list-style: none;
	margin-bottom: 1.6rem;
}

li {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 0.45rem;
	font-size: 0.92rem;
	color: var(--muted);
}

li span {
	color: var(--accent);
	font-size: 1rem;
	line-height: 1.2;
	margin-top: 0.08rem;
}

/* --- Gemeinsame CTA & Button Styles --- */
.cta-box {
	/* Basisstil: Rahmen oben und vertikales Layout */
	border-top: 1px solid var(--border);
	padding-top: 1.1rem;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	font-size: 0.9rem;
    /* Zentrierung des Inhalts (Text und Actions-Container) */
    align-items: center; 
    text-align: center;
}

.cta-text {
	color: var(--muted);
}

.cta-text strong {
	color: var(--accent-soft);
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
    align-items: center; 
    /* NEU: Zentriert die Buttons selbst, wenn sie nicht die volle Breite einnehmen */
    justify-content: center; 
}

/* Button Basisstil */
.btn-primary,
.btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.2rem;
	border-radius: 8px; /* Eckig */
	font-size: 0.9rem;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease-out, border 0.15s ease-out, transform 0.15s ease-out;
}

.btn-primary {
	background: linear-gradient(135deg, #22c55e, #4ade80);
	color: #022c22;
	font-weight: 600;
}

.btn-primary:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #4ade80, #bbf7d0);
}

/* Ghost Button mit modernem Glow */
.btn-ghost {
	background: transparent;
	border-color: var(--muted); /* Deutlicherer Rand */
	color: var(--muted);
    /* Subtiler Schatten für Sichtbarkeit */
    box-shadow: 0 0 5px rgba(34, 197, 94, 0.1); 
    position: relative; /* Für den Glow-Effekt */
}

.btn-ghost:hover {
	border-color: var(--accent);
	color: var(--accent-soft);
	transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4); /* Starker Glow beim Hover */
}

.small-note {
	font-size: 0.8rem;
	color: var(--muted);
	margin-top: 0.3rem;
}
/* --- Ende gemeinsame CTA & Button Styles --- */

/* Footer & Adress-Styles von Index.html */

/* Neuer Bereich für den globalen Kontakt-CTA */
.contact-cta-footer {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.contact-cta-footer .btn-primary {
    display: inline-block;
    width: auto;
    font-size: 1rem;
}

.main-footer {
	margin-top: 2.2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	font-size: 0.85rem;
	color: var(--muted);
	line-height: 1.6;
}

.main-footer address {
	font-style: normal;
	margin-bottom: 0.8rem;
}

.main-footer a {
	color: var(--muted);
	text-decoration: none;
	transition: color 0.15s ease-out;
}

.main-footer a:hover {
	color: var(--accent-soft);
	text-decoration: underline;
}

/* SOCIAL MEDIA STYLES */
.social-links {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem; /* Abstand zu Impressum-Links */
    margin-top: 0.2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
    text-decoration: none; /* Kein Unterstrich bei Icons */
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}


.main-footer .copyright {
	margin-top: 0.8rem;
	font-size: 0.8rem;
	text-align: right;
	border-top: 1px solid var(--border);
	padding-top: 0.6rem;
}

footer {
	display: none;
}
/* --- Ende Globale & Allgemeine Styles --- */


/* --- Start Styles für Use Case Seiten (Overview & Details) --- */

.header-section {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

/* Zurück-Link Style */
.logo-back {
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.15s;
}
.logo-back:hover {
    color: var(--accent);
}

/* Use Case Overview Grid Styles */
.usecase-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 500px) {
    .usecase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.usecase-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem;
    display: block;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.1s;
}

.usecase-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.uc-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.usecase-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}
.usecase-card h3 span {
    color: var(--accent);
}

.usecase-card p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

/* Footer Navigation (z.B. Zurück-Links) */
.page-footer-nav {
    margin-top: 2rem;
    padding-top: 1.2rem; 
    border-top: 1px solid var(--border);
    text-align: left; 
}

.page-footer-nav .logo-back {
    font-size: 0.9rem;
    margin-bottom: 0; 
    /* Abstand zwischen den Links im Footer */
    margin-right: 1.5rem; 
}

/* --- Hero Image/Video Styles --- */
.hero-image-container {
    margin-bottom: 2rem; /* Abstand nach unten */
}
.hero-image-container img,
.hero-image-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border);
    object-fit: cover; /* Stellt sicher, dass das Video/Bild den Container füllt */
}


/* --- Detail-Seiten spezifische Styles (UC-FAQ-AGENT, etc.) --- */
.uc-section {
    margin-bottom: 2rem;
}

/* Detail-Seiten Überschriften mit grüner Randlinie */
.uc-heading {
    font-size: 1.1rem;
    color: var(--accent-soft);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    border-left: 3px solid var(--accent);
    padding-left: 0.8rem;
}
.uc-section p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}


/* Icons in den Detail-Boxen */
.uc-detail-icon {
    font-size: 1.8rem;
    color: var(--accent-soft);
    margin-bottom: 0.5rem;
    display: block;
}

/* Prozess-Schritte (1. Datenbasis, 2. Training, 3. Service) */
.uc-process {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
@media (min-width: 500px) {
    .uc-process {
        flex-direction: row;
    }
}
.uc-process-step {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
}
.uc-process-step strong {
    color: var(--accent-soft);
    display: block;
    margin-bottom: 0.3rem;
}
.uc-process-step p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.4;
}

/* Vorteile-Liste */
.uc-benefits-list {
    display: grid;
    gap: 1.2rem;
    margin-bottom: 2rem;
}
@media (min-width: 500px) {
    .uc-benefits-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
.uc-benefit-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
}
.uc-benefit-item strong {
    color: var(--text);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}
.uc-benefit-item p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.3;
}
/* --- Ende Styles für Use Case Seiten --- */


/* --- Formular Styles (Kontaktseite) --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-soft);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none; /* Für saubere Darstellung auf iOS/Safari */
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
    outline: none;
    background: var(--bg-card);
}

/* Formular-Nachrichtenbox (Erfolgsmeldung) */
.message-box {
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

/* Honeypot field (Anti-Bot) - muss unsichtbar sein */
.honeypot {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    left: -9999px;
}



/* Navigation im Footerbereich */
.mini-nav {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.mini-nav h3 {
    font-size: 1rem;
    color: var(--accent-soft);
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.mini-nav a {
    display: block;
    text-decoration: none;
    color: var(--text);
    opacity: 0.8;
    margin-bottom: 0.25rem;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.mini-nav a:hover {
    color: var(--accent);
    opacity: 1;
}

/* Footer ganz unten (© 2025 …) */
footer {
    margin-top: 2rem;
    padding: 1rem 0 2rem 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
}

/* Globale Farbdefinition für Links */
a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--accent-soft);
    text-decoration: underline;
}
