/* Partnersuche. Eigenes CSS, weil tailwind.css beim Deploy nicht neu gebaut wird.
   Farben: primary #166a98, accent #f59e0b (wie tailwind.config.js). */

/* ---------- Suchleiste ---------- */
.ps-band { position:relative; z-index:20; padding:0 16px; }
.ps-band--overlap { margin-top:-44px; margin-bottom:0; padding-bottom:12px; background:linear-gradient(to bottom, transparent 44px, #fff 44px); }
.ps-band:not(.ps-band--overlap) { padding:28px 16px; background:#f8fafc; border-top:1px solid #e5e7eb; }
.ps-band-inner {
    max-width:76rem; margin:0 auto; background:#fff; border-radius:20px;
    padding:22px 26px; display:flex; flex-wrap:wrap; align-items:center; gap:16px 32px;
    box-shadow:0 18px 50px -12px rgba(15,23,42,.28); border:1px solid rgba(15,23,42,.06);
}
.ps-band:not(.ps-band--overlap) .ps-band-inner { box-shadow:0 4px 18px -6px rgba(15,23,42,.12); }
.ps-band-text { flex:1 1 260px; min-width:0; display:flex; align-items:center; gap:14px; }
.ps-band-icon {
    flex:none; width:46px; height:46px; border-radius:14px; background:linear-gradient(135deg,#166a98,#1f86bd);
    color:#fff; display:flex; align-items:center; justify-content:center; font-size:19px;
}
.ps-band-title { font-weight:800; color:#0f172a; font-size:1.1rem; line-height:1.25; }
.ps-band-sub { color:#64748b; font-size:.875rem; margin-top:3px; }
.ps-form { flex:1 1 400px; position:relative; display:flex; gap:10px; max-width:600px; }
.ps-field { position:relative; flex:1; min-width:0; }
.ps-field > i { position:absolute; left:16px; top:50%; transform:translateY(-50%); color:#94a3b8; pointer-events:none; }
.ps-input {
    width:100%; border:2px solid #e2e8f0; border-radius:12px; padding:14px 16px 14px 44px;
    font-size:1rem; color:#0f172a; background:#f8fafc; transition:border-color .15s, box-shadow .15s, background .15s;
}
.ps-input::placeholder { color:#94a3b8; }
.ps-input:hover { border-color:#cbd5e1; }
.ps-input:focus { outline:none; background:#fff; border-color:#166a98; box-shadow:0 0 0 4px rgba(22,106,152,.14); }
.ps-btn {
    background:#f59e0b; color:#111827; font-weight:700; border:0; border-radius:12px; padding:0 26px;
    cursor:pointer; white-space:nowrap; font-size:1rem; box-shadow:0 6px 16px -6px rgba(245,158,11,.7);
    transition:transform .15s, box-shadow .15s, background .15s;
}
.ps-btn:hover { background:#e08e00; transform:translateY(-1px); box-shadow:0 10px 20px -8px rgba(245,158,11,.8); }
.ps-btn:active { transform:translateY(0); }
.ps-list {
    position:absolute; left:0; right:0; top:calc(100% + 8px); background:#fff; border:1px solid #e2e8f0;
    border-radius:14px; box-shadow:0 18px 40px -10px rgba(15,23,42,.25); z-index:40; overflow:hidden; padding:6px;
}
.ps-list[hidden] { display:none; }
.ps-list a.ps-item {
    display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 12px;
    border-radius:9px; text-decoration:none !important; color:#0f172a !important; font-size:.95rem; font-weight:600;
}
.ps-list a.ps-item:hover, .ps-list a.ps-item.is-active { background:#eef6fb; }
.ps-list a.ps-item small { color:#64748b !important; font-weight:400; }

/* ---------- Ergebnisseite ---------- */
.ps-hero { background:linear-gradient(135deg,#0f4c6e 0%,#166a98 55%,#1f86bd 100%); color:#fff; padding:44px 16px 96px; }
.ps-hero-inner { max-width:76rem; margin:0 auto; }
.ps-crumb { font-size:.85rem; color:rgba(255,255,255,.7); margin-bottom:18px; }
.ps-crumb a { color:rgba(255,255,255,.85) !important; text-decoration:none; }
.ps-crumb a:hover { color:#fff !important; text-decoration:underline; }
.ps-eyebrow {
    display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25);
    border-radius:999px; padding:5px 14px; font-size:.8rem; font-weight:600; margin-bottom:16px;
}
.ps-h1 { font-size:2.4rem; font-weight:800; line-height:1.12; margin:0 0 14px; color:#fff; letter-spacing:-.01em; }
.ps-lead { color:rgba(255,255,255,.88); font-size:1.12rem; max-width:42rem; line-height:1.6; margin:0; }

.ps-main { box-sizing:content-box; max-width:76rem; margin:-60px auto 0; padding:0 16px 56px; position:relative; z-index:5; }
.ps-slots { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.ps-slot {
    position:relative; background:#fff; border-radius:18px; padding:24px 22px 22px; min-height:200px;
    display:flex; flex-direction:column; box-shadow:0 14px 36px -14px rgba(15,23,42,.3); border:1px solid #e2e8f0;
}
.ps-slot-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.ps-slot-nr { font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#94a3b8; }
.ps-pill { display:inline-flex; align-items:center; gap:6px; font-size:.75rem; font-weight:700; border-radius:999px; padding:4px 11px; }
.ps-slot-icon { width:48px; height:48px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:14px; }
.ps-slot-name { font-size:1.15rem; font-weight:800; color:#0f172a; line-height:1.25; }
.ps-slot-note { font-size:.88rem; color:#64748b; margin-top:6px; line-height:1.5; }
.ps-slot-note a { color:#166a98 !important; font-weight:600; text-decoration:none; }
.ps-slot-note a:hover { text-decoration:underline; }
.ps-slot img { max-height:38px; max-width:150px; object-fit:contain; display:block; margin-bottom:12px; }

.ps-slot--ok { border-color:#86efac; background:linear-gradient(180deg,#f0fdf4 0%,#fff 55%); }
.ps-slot--ok .ps-pill { background:#dcfce7; color:#15803d; }
.ps-slot--ok .ps-slot-icon { background:#16a34a; color:#fff; }
.ps-slot--pruef { border:2px dashed #fbbf24; background:linear-gradient(180deg,#fffbeb 0%,#fff 60%); }
.ps-slot--pruef .ps-pill { background:#fef3c7; color:#b45309; }
.ps-slot--pruef .ps-slot-icon { background:#fef3c7; color:#d97706; }
.ps-slot--frei { border:2px dashed #cbd5e1; background:#fff; box-shadow:0 8px 24px -16px rgba(15,23,42,.25); }
.ps-slot--frei .ps-pill { background:#f1f5f9; color:#475569; }
.ps-slot--frei .ps-slot-icon { background:#f1f5f9; color:#94a3b8; }
.ps-slot--frei .ps-slot-name { color:#334155; }

.ps-cta {
    margin-top:28px; background:linear-gradient(135deg,#0f172a,#1e3a5f); color:#fff; border-radius:20px;
    padding:30px 32px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px 32px;
    box-shadow:0 18px 44px -18px rgba(15,23,42,.6);
}
.ps-cta-text { flex:1 1 320px; }
.ps-cta h2 { font-size:1.35rem; font-weight:800; margin:0 0 8px; color:#fff; }
.ps-cta p { color:rgba(255,255,255,.78); line-height:1.6; font-size:.95rem; margin:0; max-width:36rem; }
.ps-cta a.ps-cta-btn, .ps-cta a.ps-cta-btn:visited {
    display:inline-flex; align-items:center; gap:10px; background:#f59e0b; color:#111827 !important; font-weight:700;
    border-radius:12px; padding:14px 26px; text-decoration:none !important; white-space:nowrap;
    box-shadow:0 8px 20px -8px rgba(245,158,11,.8); transition:transform .15s, background .15s;
}
.ps-cta a.ps-cta-btn:hover { background:#fff; color:#0f172a !important; transform:translateY(-1px); }
.ps-hint { font-size:.8rem; color:#64748b; margin-top:22px; line-height:1.55; max-width:48rem; }

/* ---------- Trefferliste (mehrdeutige Suche) ---------- */
.ps-wrap { max-width:44rem; margin:0 auto; padding:48px 16px 40px; }
.ps-wrap .ps-h1 { color:#0f172a; font-size:2rem; }
.ps-wrap .ps-lead { color:#475569; }
.ps-treffer { list-style:none; padding:0; margin:22px 0 0; display:grid; gap:10px; }
.ps-treffer a {
    display:flex; justify-content:space-between; align-items:center; padding:16px 18px; background:#fff;
    border:1px solid #e2e8f0; border-radius:14px; color:#0f172a !important; text-decoration:none !important; font-weight:700;
    transition:border-color .15s, box-shadow .15s, transform .15s;
}
.ps-treffer a:hover { border-color:#166a98; box-shadow:0 10px 24px -12px rgba(22,106,152,.5); transform:translateY(-1px); }
.ps-treffer small { color:#64748b; font-weight:400; }

@media (max-width:720px) {
    .ps-slots { grid-template-columns:1fr; }
    .ps-h1 { font-size:1.75rem; }
    .ps-hero { padding:32px 16px 84px; }
    .ps-band-inner { padding:18px; border-radius:16px; }
    .ps-form { flex-direction:column; max-width:none; }
    .ps-btn { padding:14px 26px; }
    .ps-cta { padding:24px 22px; }
}

/* ---------- Gütesiegel ---------- */
.ps-seal { flex:none; display:block; width:64px; height:64px; transition:transform .2s; }
.ps-seal:hover { transform:scale(1.08) rotate(-3deg); }
.ps-seal img { width:100%; height:100%; display:block; filter:drop-shadow(0 4px 8px rgba(15,23,42,.25)); }
.ps-hero-inner { position:relative; }
.ps-hero-seal { position:absolute; right:0; top:0; width:150px; height:150px; transition:transform .25s; }
.ps-hero-seal:hover { transform:scale(1.05) rotate(-3deg); }
.ps-hero-seal img { width:100%; height:100%; display:block; filter:drop-shadow(0 10px 22px rgba(0,0,0,.35)); }
@media (max-width:860px) { .ps-hero-seal { display:block; width:72px; height:72px; } .ps-hero .ps-h1 { max-width:none; } }
@media (min-width:861px) { .ps-hero .ps-h1 { max-width:calc(100% - 190px); } }

/* Startseite: Suchleiste bündig mit dem Content-Container (max-w-7xl, px-4/6/8) */
.ps-band--overlap { padding-left:16px; padding-right:16px; }
.ps-band--overlap .ps-band-inner { max-width:76rem; }
@media (min-width:640px)  { .ps-band--overlap { padding-left:24px; padding-right:24px; } }
@media (min-width:1024px) { .ps-band--overlap { padding-left:32px; padding-right:32px; } }

/* Ergebnisseite: Seitenränder wie der Header-Container (max-w-7xl, px-4/6/8) */
.ps-hero, .ps-main, .ps-band { padding-left:16px; padding-right:16px; }
@media (min-width:640px)  { .ps-hero, .ps-main, .ps-band { padding-left:24px; padding-right:24px; } }
@media (min-width:1024px) { .ps-hero, .ps-main, .ps-band { padding-left:32px; padding-right:32px; } }

/* ---------- Header-Menüpunkt, Mobilmenü, Seitentab ---------- */
.ps-form--mini { max-width:none; flex:none; width:100%; }
.ps-form--mini .ps-input { padding:11px 12px 11px 38px; font-size:.95rem; }
.ps-form--mini .ps-field > i { left:13px; }
.ps-form--mini .ps-btn { padding:0 18px; font-size:.95rem; }

.ps-nav { display:none; position:relative; }
@media (min-width:1024px) { .ps-nav { display:block; } }
.ps-nav-btn {
    display:inline-flex; align-items:center; gap:7px; font-size:.875rem; font-weight:600; color:#166a98;
    background:rgba(22,106,152,.08); border:0; border-radius:8px; padding:8px 12px; cursor:pointer; transition:background .15s;
}
.ps-nav-btn:hover, .ps-nav-btn[aria-expanded="true"] { background:rgba(22,106,152,.16); }
.ps-nav-panel, .ps-tab-panel {
    background:#fff; border:1px solid #e2e8f0; border-radius:16px; padding:18px;
    box-shadow:0 22px 50px -14px rgba(15,23,42,.35);
}
.ps-nav-panel { position:absolute; right:0; top:calc(100% + 14px); width:25rem; z-index:60; }
.ps-nav-panel[hidden], .ps-tab-panel[hidden], .ps-mobile-panel[hidden] { display:none; }
.ps-tab-head { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.ps-tab-head img { width:46px; height:46px; flex:none; filter:drop-shadow(0 3px 6px rgba(15,23,42,.25)); }
.ps-tab-title { font-weight:800; color:#0f172a; font-size:1rem; line-height:1.25; }
.ps-tab-sub { color:#64748b; font-size:.82rem; margin-top:2px; }
.ps-mobile-panel { padding:4px 4px 10px; }

.ps-tab {
    position:fixed; right:0; top:50%; transform:translate(100%,-50%); z-index:30;
    transition:transform .35s cubic-bezier(.2,.8,.2,1);
}
.ps-tab.is-visible { transform:translate(0,-50%); }
.ps-tab-btn {
    display:flex; align-items:center; gap:10px; background:#166a98; color:#fff; border:0; cursor:pointer;
    border-radius:14px 0 0 14px; padding:12px 12px 12px 14px; font-weight:700; font-size:.85rem;
    box-shadow:-6px 8px 24px -8px rgba(15,23,42,.45); transition:background .15s;
}
.ps-tab-btn:hover { background:#125a82; }
.ps-tab-btn img { width:26px; height:26px; flex:none; }
.ps-tab-label { max-width:0; overflow:hidden; white-space:nowrap; transition:max-width .35s ease; }
.ps-tab.is-visible .ps-tab-btn:hover .ps-tab-label, .ps-tab-btn[aria-expanded="true"] .ps-tab-label,
.ps-tab-btn:focus-visible .ps-tab-label { max-width:15rem; }
.ps-tab-panel { position:absolute; right:12px; top:50%; transform:translateY(-50%); width:23rem; max-width:calc(100vw - 24px); }
.ps-tab-panel.is-open { animation:psSlide .3s cubic-bezier(.2,.8,.2,1); }
@keyframes psSlide { from { opacity:0; transform:translate(24px,-50%); } to { opacity:1; transform:translate(0,-50%); } }
.ps-tab-close { position:absolute; right:10px; top:8px; background:none; border:0; color:#94a3b8; cursor:pointer; font-size:1.1rem; padding:6px; }
.ps-tab-close:hover { color:#0f172a; }
@media (max-width:640px) {
    .ps-tab-btn { padding:8px 7px 8px 9px; border-radius:12px 0 0 12px; }
    .ps-tab-btn img { width:22px; height:22px; }
    .ps-tab-panel { right:8px; width:calc(100vw - 16px); }
}
@media (prefers-reduced-motion:reduce) { .ps-tab, .ps-tab-label, .ps-tab-panel.is-open { transition:none; animation:none; } }
@media (max-width:720px) {
    .ps-form--mini { flex-direction:row; }
    .ps-form--mini .ps-btn { padding:0 18px; }
}

/* ---------- Startseite: eigene Section mit Kontext ---------- */
.ps-sec { background:linear-gradient(180deg,#eef6fb 0%,#f7fbfd 100%); padding:72px 16px; border-bottom:1px solid #e2eef5; }
.ps-sec-inner { max-width:76rem; margin:0 auto; display:grid; grid-template-columns:1.15fr 1fr; gap:48px; align-items:center; }
.ps-sec-eyebrow {
    display:inline-flex; align-items:center; gap:8px; font-size:.8rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
    color:#166a98; background:#fff; border:1px solid #cfe3ee; border-radius:999px; padding:6px 14px; margin-bottom:18px;
}
.ps-sec-h2 { font-size:2.15rem; font-weight:800; line-height:1.15; color:#0f172a; margin:0 0 16px; letter-spacing:-.01em; }
.ps-sec-lead { color:#475569; font-size:1.05rem; line-height:1.65; margin:0 0 26px; max-width:38rem; }
.ps-sec-list { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:14px 20px; }
.ps-sec-list li { display:flex; gap:12px; align-items:flex-start; }
.ps-sec-list li > i {
    flex:none; width:38px; height:38px; border-radius:11px; background:#fff; color:#166a98; border:1px solid #cfe3ee;
    display:flex; align-items:center; justify-content:center; font-size:15px;
}
.ps-sec-list span { font-size:.88rem; color:#64748b; line-height:1.4; }
.ps-sec-list strong { display:block; color:#0f172a; font-size:.95rem; margin-bottom:1px; }

.ps-sec-card {
    position:relative; background:#fff; border-radius:24px; padding:96px 30px 28px; text-align:center;
    box-shadow:0 26px 60px -24px rgba(15,23,42,.35); border:1px solid rgba(15,23,42,.06); margin-top:96px;
}
.ps-sec-seal { position:absolute; left:50%; top:0; width:190px; height:190px; transform:translate(-50%,-50%); transition:transform .25s; }
.ps-sec-seal:hover { transform:translate(-50%,-50%) scale(1.05) rotate(-3deg); }
.ps-sec-seal img { width:100%; height:100%; display:block; filter:drop-shadow(0 14px 24px rgba(15,23,42,.35)); }
.ps-sec-card-title { font-size:1.3rem; font-weight:800; color:#0f172a; margin:0 0 8px; line-height:1.25; }
.ps-sec-card-sub { color:#64748b; font-size:.92rem; line-height:1.5; margin:0 0 18px; }
.ps-form--stack { flex-direction:column; max-width:none; width:100%; text-align:left; }
.ps-form--stack .ps-btn { padding:14px 22px; }
.ps-sec-or { display:flex; align-items:center; gap:12px; margin:22px 0 16px; color:#94a3b8; font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; }
.ps-sec-or::before, .ps-sec-or::after { content:''; flex:1; height:1px; background:#e2e8f0; }
.ps-sec a.ps-sec-alt, .ps-sec a.ps-sec-alt:visited {
    display:flex; align-items:center; justify-content:space-between; gap:14px; text-align:left; text-decoration:none !important;
    background:#f8fafc; border:1px solid #e2e8f0; border-radius:14px; padding:14px 16px; color:#475569 !important; font-size:.85rem; line-height:1.4;
    transition:border-color .15s, background .15s;
}
.ps-sec a.ps-sec-alt strong { display:block; color:#0f172a; font-size:.92rem; }
.ps-sec a.ps-sec-alt:hover { border-color:#166a98; background:#eef6fb; }
.ps-sec a.ps-sec-alt > i { color:#166a98; flex:none; }

@media (min-width:640px)  { .ps-sec { padding-left:24px; padding-right:24px; } }
@media (min-width:1024px) { .ps-sec { padding-left:32px; padding-right:32px; } }
@media (max-width:900px) {
    .ps-sec-inner { grid-template-columns:1fr; gap:36px; }
    .ps-sec-h2 { font-size:1.7rem; }
    .ps-sec-list { grid-template-columns:1fr; }
    .ps-sec-card { margin-top:70px; padding:84px 20px 22px; }
    .ps-sec-seal { width:150px; height:150px; }
}
