/* Botara-Website: Bausteine der Text- und Formularseiten (Impressum, Datenschutz, Kontakt, Newsletter,
   Karriere, Pilot werden). Diese Seiten haben am 22.11.2026 Navigation, Footer und Hintergrund des neuen
   Aufbaus bekommen; ihr Inhalt, ihre Formulare und ihr Seitenskript sind unverändert übernommen.
   Alles hier gilt nur innerhalb von <main class="alt">. Teil 2 stammt aus dem alten styles.css. */
:root { --text-main: #ffffff; --bg-dark: #050907; }

/* ---------------------------------------------------------------- Teil 1: Rahmen */
main.alt { padding: calc(var(--nav) + 40px) 0 80px; min-height: 72vh; min-height: 72svh; font-size: 1rem; line-height: normal; color: var(--text-main); }
/* Der Inhalt nutzt die Breite des neuen Rasters (wie Navigation und Footer), siehe Teil 3 */
/* Das alte styles.css setzte für alles Abstand 0 und ließ Listen und Überschriften beim Browser-Standard */
:where(.alt) :where(h1, h2, h3, h4, h5, p, ul, ol, li, dl, dd, figure, fieldset, legend, form, label, summary, details, hr, button, input, select, textarea) { margin: 0; padding: 0; }
:where(.alt) h1 { font-size: 2rem; line-height: 1.1; }
:where(.alt) h2 { font-size: 1.5rem; line-height: 1.2; }
:where(.alt) h3 { font-size: 1.17rem; line-height: 1.25; }
:where(.alt) h4 { font-size: 1rem; line-height: 1.3; }
:where(.alt) ul { list-style: disc; }
:where(.alt) ol { list-style: decimal; }
:where(.alt) img { display: inline-block; }
:where(.alt) button { cursor: pointer; }
/* Statuszeile über dem Inhalt (nur Pilot werden: Stand der Synchronisierung) */
.alt-meta { display: flex; justify-content: flex-end; margin-bottom: 1rem; font: 500 .8rem/1.4 var(--font-mono); letter-spacing: .05em; color: var(--text-muted); }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .alt :is(a, button, input, select, textarea, label, summary, [onclick], [role="button"]) { cursor: none !important; }
}
/* Pilot werden: kein Aufruf „Pilot werden“ auf der Seite selbst */
body.seite-pilot-werden .closing__cta, body.seite-pilot-werden .nav__actions .btn { display: none !important; }

/* ---------------------------------------------------------------- Teil 2: aus dem alten styles.css */
.alt .job-details {
    cursor: pointer;
}
.alt .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.alt .subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 300;
}
.alt .form-container {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.alt .form-container::before, .alt .form-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--tech-green);
    opacity: 0.5;
}
.alt .form-container::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}
.alt .form-container::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}
.alt .form-header {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.alt .terminal-prompt {
    color: var(--tech-green);
    font-weight: bold;
}
.alt .newsletter-form {
    display: flex;
    gap: 1rem;
    position: relative;
}
.alt .input-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
}
.alt .email-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--tech-green);
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 1rem !important;
    outline: none;
}
.alt .email-input::placeholder {
    color: rgba(45, 212, 108, 0.4);
}
.alt .email-input:focus {
    background: rgba(45, 212, 108, 0.05);
}
.alt .email-input:-webkit-autofill, .alt .email-input:-webkit-autofill:hover, .alt .email-input:-webkit-autofill:focus, .alt .email-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: var(--tech-green) !important;
    animation: autofillHack 0s forwards !important;
}
.alt .scanner-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 212, 108, 0.2), transparent);
    animation: scan 3s infinite linear;
    pointer-events: none;
}
.alt .submit-btn {
    background: transparent;
    color: var(--tech-green);
    border: 1px solid var(--tech-green);
    padding: 0 2rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}
@media (hover: hover) {
.alt .submit-btn:hover {
    background: var(--tech-green);
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(45, 212, 108, 0.4);
}
}
.alt .submit-btn:active {
    transform: scale(0.98);
}
.alt .success-state {
    padding: 1.5rem 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--tech-green);
    text-shadow: 0 0 10px rgba(45, 212, 108, 0.4);
    animation: fadeIn 0.5s ease-out forwards;
}
.alt .success-text {
    font-weight: bold;
    letter-spacing: 0.05em;
}
.alt .custom-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #000;
    border: 1px solid var(--tech-green);
    color: var(--tech-green);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    box-shadow: 0 0 10px rgba(45, 212, 108, 0.2);
    align-items: center;
    gap: 0.5rem;
    z-index: 100;
    animation: fadeIn 0.2s ease-out forwards;
}
.alt .tooltip-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    background: var(--tech-green);
    color: #000;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}
.alt .email-input:invalid {
    box-shadow: none;
    accent-color: var(--tech-green);
}
.alt .email-input:focus:invalid {
    outline: 1px solid var(--tech-green);
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.alt .timeline-container .form-header {
    margin-bottom: 3rem;
}
@media (max-width: 768px) {
.alt .newsletter-form {
    flex-direction: column;
}
.alt .submit-btn {
    padding: 1rem;
}
}
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
.alt .submit-btn, .alt .job-details {
    cursor: none !important;
}
}
.alt .telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.alt .metric-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(45, 212, 108, 0.1);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.3s ease;
}
@media (hover: hover) {
.alt .metric-card:hover {
    border-color: rgba(45, 212, 108, 0.3);
}
}
.alt .metric-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.alt .metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: var(--tech-green);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(45, 212, 108, 0.2);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}
@media (max-width: 600px) {
.alt .telemetry-grid {
    gap: 0.5rem;
}
.alt .metric-card {
    padding: 0.5rem;
    gap: 0.25rem;
}
.alt .metric-label {
    font-size: 0.55rem;
    word-break: break-all;
}
.alt .metric-value {
    font-size: 1rem;
}
.alt .form-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}
}
.alt .submit-btn:focus-visible {
    outline: 2px solid var(--tech-green);
    outline-offset: 3px;
}
.alt .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* Knöpfe sind mindestens 44 px hoch (vorher teils nur so hoch wie ihre Schrift) */
.alt .submit-btn { min-height: 44px; }

/* ---------------------------------------------------------------- Teil 3: Breite und Raster des neuen Aufbaus (Joe, 22.11.2026)
   Vorher stand der Inhalt dieser Seiten in der schmalen Spalte der alten Seite (836 px, mittig).
   Jetzt beginnt er an derselben linken Kante wie Logo und Footer und nutzt das Raster 4 + 8 bzw. 6 + 6:
   Überschrift links, Inhalt rechts. Am Handy bleibt alles einspaltig. */
main.alt .contact-container, main.alt .legal-container, main.alt .unsub-container { margin-top: 0; }
@media (min-width: 1024px) {
  main.alt { padding-top: 144px; }

  /* Impressum, Datenschutz: Titel links (bleibt beim Lesen stehen), Text rechts in lesbarer Zeilenlänge */
  main.alt .legal-container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--s-8); padding: 3rem; hyphens: manual; }
  main.alt .legal-container > * { grid-column: 2; max-width: 78ch; }
  main.alt .legal-container > .form-header { grid-column: 1; grid-row: 1; }
  main.alt .legal-container > h1 { grid-column: 1; grid-row: 2 / span 400; align-self: start; position: sticky; top: calc(var(--nav) + 32px); font-size: clamp(26px, 2.5vw, 38px); hyphens: auto; }
  main.alt .legal-container > h2:first-of-type { margin-top: 0; }

  /* Kontakt, Newsletter abmelden: Titel links, Formular rechts */
  body.seite-kontakt .contact-container, body.seite-newsletter-abmelden .unsub-container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--s-8); align-items: start; }
  body.seite-kontakt .contact-container > h1, body.seite-newsletter-abmelden .unsub-container > h1 { position: sticky; top: calc(var(--nav) + 32px); }

  /* Karriere: Stellen zweispaltig, darunter „Das bieten wir“ links neben dem Bewerbungsformular */
  body.seite-karriere .contact-container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--s-8); }
  body.seite-karriere .contact-container > * { grid-column: 1 / -1; }
  body.seite-karriere .job-section:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-5); align-items: start; }
  body.seite-karriere .job-section > :is(h2, .section-desc) { grid-column: 1 / -1; }
  body.seite-karriere .job-section > .job-card:only-of-type { grid-column: 1 / -1; }
  body.seite-karriere .contact-container > .offer-box { grid-column: 1; align-self: start; position: sticky; top: calc(var(--nav) + 32px); margin-top: 2.5rem; }
  body.seite-karriere .contact-container > #bewerbung { grid-column: 2; margin-top: 2.5rem; }

  /* Stelle Marketing & Design: Ausschreibung links, Bewerbung rechts */
  body.seite-karriere-marketing-design .contact-container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--s-7); align-items: start; }
  body.seite-karriere-marketing-design .contact-container > .form-container { position: sticky; top: calc(var(--nav) + 32px); }
  body.seite-karriere-marketing-design .form-row { flex-direction: column; }

  /* Newsletter: Anmeldung links (bleibt stehen), aktuelle Ausgabe rechts */
  body.seite-newsletter .alt-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s-7); align-items: start; }
  body.seite-newsletter .signup-panel { position: sticky; top: calc(var(--nav) + 32px); }
  body.seite-newsletter .newsletter-form { flex-direction: column; }
  body.seite-newsletter .newsletter-form .submit-btn { min-height: 52px; }
}
