/* Gemeinsame Kopf- und Fußzeile (partials/header.php, partials/footer.php) */
.tm-header { display: flex; justify-content: space-between; align-items: center; gap: 16px 20px; max-width: 1400px; width: 100%; margin: 0 auto; padding: 25px 60px; box-sizing: border-box; font-family: 'Montserrat', Arial, sans-serif; }
.tm-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.tm-logo-icon { height: 60px; width: auto; display: block; }
.tm-logo-text { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 26px; color: #0b192c; line-height: 1; white-space: nowrap; }
.tm-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 32px; margin: 0 auto 0 30px; }
.tm-nav a { text-decoration: none; color: #0b192c; font-size: 15px; font-weight: 500; white-space: nowrap; transition: opacity 0.2s; }
.tm-nav a:hover { opacity: 0.7; }
.tm-nav a.active { color: #e86037; }
.tm-header-right { display: flex; align-items: center; gap: 15px; }
.tm-lang { display: flex; background: #111; padding: 4px; border-radius: 20px; gap: 2px; }
.tm-lang a { color: #fff; text-decoration: none; font-size: 12px; padding: 4px 10px; border-radius: 15px; font-weight: 600; }
.tm-lang a.active { background: #fff; color: #111; }
.tm-btn-start { background-color: #0b192c; color: #fff; padding: 10px 22px; border-radius: 20px; font-size: 14px; text-decoration: none; font-weight: 500; white-space: nowrap; }
.tm-nav a:focus-visible, .tm-lang a:focus-visible, .tm-btn-start:focus-visible, .tm-logo:focus-visible, .tm-footer a:focus-visible { outline: 2px solid #e86037; outline-offset: 2px; }
.tm-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; max-width: 1300px; width: 100%; margin: 0 auto; padding: 40px 60px; box-sizing: border-box; border-top: 1px solid #e3dec9; color: #555; font-size: 14px; font-family: 'Montserrat', Arial, sans-serif; }
.tm-footer a { color: #0b192c; text-decoration: none; font-weight: 600; }
@media (max-width: 992px) {
    .tm-header { flex-wrap: wrap; padding: 20px 30px; }
    .tm-nav { order: 3; width: 100%; margin: 0; gap: 8px 22px; }
}
@media (max-width: 768px) {
    .tm-header { padding: 15px 20px; }
    .tm-nav a { font-size: 14px; }
    .tm-footer { flex-direction: column; text-align: center; padding: 30px 20px; }
}
@media (max-width: 480px) {
    .tm-btn-start { display: none; }
    .tm-logo-icon { height: 44px; }
    .tm-logo-text { font-size: 22px; }
}

/* ===== Einheitliches Button-System =====
   Hauptaktion: dunkelblau gefüllt (.btn-primary, .btn-next, .btn-submit, .tm-btn-start)
   Nebenaktion: dunkelblau umrandet (.btn-secondary)
   Zurück:      schlichter Textlink (.btn-back, .top-back-btn, .back-link, Datenschutz-Zurück)
   Orange ist nur Akzentfarbe (Überschriften, Markierungen), nicht für Buttons. */
.btn-primary, .btn-next, .btn-submit, .tm-btn-start, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 6px; padding: 13px 26px; border: 1px solid #0b192c;
    font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.2px; line-height: 1.2;
    text-decoration: none; cursor: pointer; box-shadow: none; opacity: 1;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary, .btn-next, .btn-submit, .tm-btn-start { background-color: #0b192c; color: #fff; }
.btn-primary:hover, .btn-next:hover, .btn-submit:hover, .tm-btn-start:hover { background-color: #1d3352; border-color: #1d3352; color: #fff; opacity: 1; }
.btn-secondary { background-color: transparent; color: #0b192c; }
.btn-secondary:hover { background-color: #0b192c; color: #fff; opacity: 1; }
.tm-btn-start { padding: 10px 20px; }
.btn-back, .top-back-btn, .back-link, .page .top a {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: 0; border-radius: 0; padding: 0;
    color: #0b192c; font-family: 'Montserrat', Arial, sans-serif; font-size: 14px; font-weight: 600;
    text-decoration: none; cursor: pointer;
}
.btn-back:hover, .top-back-btn:hover, .back-link:hover, .page .top a:hover { background: none; color: #0b192c; text-decoration: underline; text-underline-offset: 3px; }
.btn-primary:focus-visible, .btn-next:focus-visible, .btn-submit:focus-visible, .btn-secondary:focus-visible, .btn-back:focus-visible, .top-back-btn:focus-visible, .back-link:focus-visible { outline: 2px solid #e86037; outline-offset: 3px; }
.about-intro + .btn-secondary { margin-top: 24px; }

/* ===== Seiten „Für Studierende“ und „Für Kanzleien“ (partials/landing.php) ===== */
body.tm-page { margin: 0; background: #fbf9f1; color: #0b192c; font-family: 'Montserrat', Arial, sans-serif; line-height: 1.6; }
.tm-page *, .tm-page *::before, .tm-page *::after { box-sizing: border-box; }
.tm-landing { max-width: 1200px; margin: 0 auto; padding: 0 60px 80px; }
.tm-eyebrow { color: #e86037; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px; }
.tm-l-hero { padding: 48px 0 64px; max-width: 800px; }
.tm-l-hero h1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; font-size: 52px; line-height: 1.12; margin: 0 0 22px; text-wrap: balance; }
.tm-l-lead { font-size: 17px; color: #4a5363; max-width: 660px; margin: 0 0 32px; }
.tm-l-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.tm-l-section { padding: 56px 0 0; }
.tm-l-section h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.2; margin: 0 0 28px; }
.tm-l-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tm-l-steps li { background: #fff; border: 1px solid #e3dec9; border-radius: 10px; padding: 26px 22px; }
.tm-l-num { display: block; font-family: 'Playfair Display', Georgia, serif; color: #e86037; font-size: 28px; line-height: 1; margin-bottom: 16px; }
.tm-l-steps h3, .tm-l-benefit h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.35; margin: 0 0 8px; }
.tm-l-steps p, .tm-l-benefit p { font-size: 14px; color: #4a5363; margin: 0; }
.tm-l-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tm-l-benefit { border-top: 2px solid #0b192c; padding-top: 20px; }
.tm-l-privacy { display: flex; gap: 20px; align-items: flex-start; background: #f4f0e6; border: 1px solid #e3dec9; border-radius: 10px; padding: 28px 32px; }
.tm-l-privacy svg { flex-shrink: 0; margin-top: 2px; }
.tm-l-section .tm-l-privacy h2 { font-size: 22px; margin: 0 0 6px; }
.tm-l-privacy p { margin: 0; font-size: 14px; color: #4a5363; max-width: 760px; }
.tm-l-privacy a { color: #0b192c; font-weight: 600; text-underline-offset: 3px; }
.tm-l-cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 56px; background: #0b192c; color: #fff; border-radius: 12px; padding: 44px 48px; }
.tm-l-section .tm-l-cta h2 { color: #fff; font-size: 30px; margin: 0 0 6px; }
.tm-l-cta p { margin: 0; color: #c9d0db; }
.tm-l-cta .btn-primary { background-color: #fff; border-color: #fff; color: #0b192c; }
.tm-l-cta .btn-primary:hover { background-color: #e6e9ee; border-color: #e6e9ee; color: #0b192c; }
@media (max-width: 992px) {
    .tm-landing { padding: 0 30px 60px; }
    .tm-l-steps { grid-template-columns: repeat(2, 1fr); }
    .tm-l-hero h1 { font-size: 42px; }
}
@media (max-width: 640px) {
    .tm-landing { padding: 0 20px 48px; }
    .tm-l-steps, .tm-l-benefits { grid-template-columns: 1fr; }
    .tm-l-hero { padding: 32px 0 40px; }
    .tm-l-hero h1 { font-size: 34px; }
    .tm-l-section { padding-top: 44px; }
    .tm-l-section h2 { font-size: 28px; }
    .tm-l-privacy { flex-direction: column; padding: 24px; }
    .tm-l-cta { padding: 32px 24px; }
}

/* Korrekturen: Inhalt bündig mit der Kopfzeile, „Get started“ auf schmalen Bildschirmen ausblenden (muss nach dem Button-System stehen) */
.tm-landing { max-width: 1400px; }
@media (max-width: 480px) {
    .tm-btn-start { display: none; }
}

/* ===== Gleiches Aussehen auf Windows und Mac ===== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
input, select, textarea, button { font-family: 'Montserrat', Arial, sans-serif; }
.tm-arrow { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
/* Auswahllisten mit eigenem Pfeil statt Systemdarstellung */
select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230b192c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 14px 14px;
    padding-right: 40px !important;
}
select::-ms-expand { display: none; }
/* Kreise und Häkchen einheitlich */
input[type="checkbox"], input[type="radio"] {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    width: 18px; height: 18px; margin: 0; flex-shrink: 0;
    display: inline-grid; place-content: center;
    background: #fff; border: 1.5px solid #8a909a; cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"] { border-radius: 4px; }
input[type="radio"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #0b192c; transform: scale(0); transition: transform 0.12s; }
input[type="checkbox"]::before { content: ""; width: 10px; height: 10px; background: #fff; transform: scale(0); transition: transform 0.12s; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
input[type="radio"]:checked { border-color: #0b192c; }
input[type="radio"]:checked::before, input[type="checkbox"]:checked::before { transform: scale(1); }
input[type="checkbox"]:checked { background: #0b192c; border-color: #0b192c; }
input[type="checkbox"]:hover, input[type="radio"]:hover { border-color: #0b192c; }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible, select:focus-visible { outline: 2px solid #e86037; outline-offset: 2px; }
/* Datenschutzerklärung in den Schriften der Website (nur Darstellung, Text unverändert) */
.page { font-family: 'Montserrat', Arial, sans-serif; }
.page h1, .page h2 { font-family: 'Playfair Display', Georgia, serif; }

/* Feine Spitze für Zurück-Links */
.tm-chevron { width: 0.9em; height: 0.9em; display: inline-block; vertical-align: -0.1em; margin-right: 2px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Aufklapp-Pfeil der Auswahllisten gegen seiteneigene background-Angaben absichern */
select, .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%230b192c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 14px 14px !important;
}

/* Feine Linienpfeile (Zurück, Germany ↔ Türkiye) */
.tm-line-arrow { margin: 0 4px; }
.btn-back .tm-line-arrow, .top-back-btn .tm-line-arrow, .back-link .tm-line-arrow, .page .top a .tm-line-arrow { margin: 0 6px 0 0; }

/* ===== Fragebögen einheitlich im Stil der Website (Studierende und Kanzleien) ===== */
.modal-container { max-width: 880px; margin: 24px auto 72px; background: #fff; border: 1px solid #e3dec9; border-radius: 12px; box-shadow: none; padding: 44px 52px; }
.top-back-bar { margin-bottom: 22px; }
.modal-header { border-bottom: 1px solid #e3dec9; padding-bottom: 24px; margin-bottom: 30px; }
.modal-header .logo-area { display: block; }
.q-title-header { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1.2; color: #0b192c; letter-spacing: 0; }
.close-btn { display: none; }
.progress-container { margin-bottom: 34px; }
.progress-info { font-size: 12px; letter-spacing: 0.6px; }
.progress-bar-bg { height: 3px; background: #ece7d8; border-radius: 2px; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="date"], .form-group input:not([type]), .form-group select, .form-group textarea {
    background-color: #fff; border: 1px solid #d9d3bf; border-radius: 6px; color: #0b192c;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #0b192c; outline: none; box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08); }
.form-group input[readonly] { background-color: #f6f3ea; color: #4a5363; }
.form-actions { border-top: 1px solid #e3dec9; padding-top: 26px; margin-top: 40px; }
.success-box, .error-box { text-align: left; }
@media (max-width: 768px) {
    .modal-container { margin: 12px 16px 48px; padding: 28px 20px; }
    .q-title-header { font-size: 27px; }
}

/* ===== Coaching-Teaser (for-students.php) ===== */
.tm-coaching { background: #f4f0e6; border: 1px solid #e3dec9; border-radius: 12px; padding: 44px 48px; }
.tm-coaching-head { max-width: 680px; margin-bottom: 32px; }
.tm-l-section .tm-coaching h2 { margin: 0 0 12px; }
.tm-coaching-lead { margin: 0; font-size: 15px; color: #4a5363; }
.tm-coaching-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tm-coaching-item { border-top: 1px solid #cfc8b0; padding-top: 18px; }
.tm-coaching-item h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.2px; margin: 0 0 6px; }
.tm-coaching-item p { margin: 0; font-size: 14px; color: #4a5363; }
.tm-coaching-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 34px; }
.tm-coaching-note { margin: 0; font-size: 12.5px; color: #6b7280; max-width: 640px; }
@media (max-width: 768px) {
    .tm-coaching { padding: 28px 20px; }
    .tm-coaching-items { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== Ausklappbares Menü auf dem Handy ===== */
.tm-menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid #d9d3bf; border-radius: 6px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.tm-menu-toggle span { display: block; width: 18px; height: 1.5px; background: #0b192c; border-radius: 1px; transition: transform 0.2s, opacity 0.2s; }
.tm-menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.tm-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.tm-menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.tm-menu-toggle:focus-visible { outline: 2px solid #e86037; outline-offset: 2px; }
@media (max-width: 768px) {
    .tm-menu-toggle { display: inline-flex; }
    .tm-nav { display: none; order: 4; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 6px 0 0; border-top: 1px solid #e3dec9; }
    .tm-nav.is-open { display: flex; }
    .tm-nav a { padding: 14px 2px; font-size: 15px; border-bottom: 1px solid #ece7d8; }
}
@media (prefers-reduced-motion: reduce) { .tm-menu-toggle span { transition: none; } }

/* Coaching-Hinweis auf der Startseite: zentriert */
.services-box.tm-coaching-home { grid-template-columns: 1fr; gap: 0; text-align: center; justify-items: center; padding: 80px 70px; }
.tm-coaching-home .tag { margin: 0 auto 16px; }
.tm-coaching-home h2 { margin: 0 0 24px; }
.tm-coaching-home p { max-width: 640px; margin: 0 auto; line-height: 1.7; }
.tm-coaching-home .btn-secondary { display: inline-block; margin-top: 44px; }
@media (max-width: 768px) {
  .services { padding: 0 20px; margin-bottom: 60px; }
  .services-box.tm-coaching-home { padding: 48px 24px; margin: 0 auto; }
  .tm-coaching-home .btn-secondary { margin-top: 32px; }
}

/* Zurück-Link auf den Seiten für Studierende und Kanzleien, wie auf about.php */
.tm-landing > .back-link { margin-top: 30px; }
.tm-landing > .back-link + .tm-l-hero { padding-top: 30px; }
.contact-form textarea { min-height: 170px; }
