/* ═══════════════ Ketteler Krankenhaus – Unterseiten-Styles ═══════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:'Inter',-apple-system,sans-serif;color:#1a1a2e;background:#F7FBFF;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden;-webkit-tap-highlight-color:rgba(23,74,124,.12)}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button{font-family:inherit;cursor:pointer;border:none;background:none}
:focus-visible{outline:3px solid #174A7C;outline-offset:2px;border-radius:4px}
@media (prefers-reduced-motion:reduce){*{transition:none !important;animation:none !important}}

.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.wrap-wide{max-width:1440px;margin:0 auto;padding:0 40px}

/* ── Header ── */
.subhead{position:sticky;top:0;z-index:300;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid #E5EAF1;box-shadow:0 2px 12px rgba(14,42,71,.06)}
.subhead-in{max-width:1440px;margin:0 auto;padding:0 28px;display:flex;align-items:center;gap:22px;height:76px}
.sh-logo img{height:52px;width:auto}
.sh-links{display:flex;align-items:center;gap:2px;flex:1;justify-content:center}
.sh-links a{font-size:13.5px;font-weight:600;color:#374151;padding:9px 13px;border-radius:9px;white-space:nowrap;transition:background .15s,color .15s}
.sh-links a:hover{background:#EEF4FA;color:#174A7C}
.sh-links a.on{background:#EAF3FB;color:#174A7C}
.sh-ctas{display:flex;align-items:center;gap:9px}
.btn-red{background:#D12B2B;color:#fff;font-size:13.5px;font-weight:700;padding:11px 18px;border-radius:12px;display:inline-flex;align-items:center;gap:7px;transition:background .15s}
.btn-red:hover{background:#B71C1C}
.btn-navy{background:#0B2347;color:#fff;font-size:13.5px;font-weight:600;padding:11px 18px;border-radius:12px;display:inline-flex;align-items:center;gap:7px;transition:background .15s}
.btn-navy:hover{background:#123763}
.btn-outline{background:#fff;color:#174A7C;border:1.5px solid #C9DBF0;font-size:13.5px;font-weight:600;padding:11px 18px;border-radius:12px;display:inline-flex;align-items:center;gap:7px;transition:all .15s}
.btn-outline:hover{background:#174A7C;color:#fff;border-color:#174A7C}
.sh-burger{display:none;font-size:26px;color:#0B2347;margin-left:auto}

.sh-mobile{display:none;position:fixed;inset:0;background:#fff;z-index:500;padding:22px;overflow-y:auto}
.sh-mobile.open{display:block}
.shm-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #E5E7EB}
.shm-head img{height:46px}
.shm-close{font-size:30px;color:#0B2347;line-height:1}
.shm-link{display:block;font-size:17px;font-weight:600;color:#0B2347;padding:14px 0;border-bottom:1px solid #F3F4F6}
.shm-ctas{display:flex;flex-direction:column;gap:10px;margin-top:22px}
.shm-ctas a{justify-content:center;padding:14px;font-size:15px}

/* ── Page-Hero ── */
.phero{background:linear-gradient(140deg,#E4EFFA 0%,#F3F9FF 60%,#FFF 100%);border-bottom:1px solid #E8EEF5;padding:38px 0 34px}
.crumbs{display:flex;align-items:center;gap:7px;font-size:12.5px;color:#8A93A3;margin-bottom:14px;flex-wrap:wrap}
.crumbs a{color:#174A7C;font-weight:500}
.crumbs a:hover{text-decoration:underline}
.crumbs i{font-size:11px}
.phero h1{font-size:34px;font-weight:800;color:#0E2A47;letter-spacing:-.5px;line-height:1.15;margin-bottom:10px}
.phero .lead{font-size:15.5px;color:#4B5563;line-height:1.65;max-width:720px}
.phero-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}

/* ── Content-Bausteine ── */
.section{padding:40px 0}
.section.alt{background:#fff;border-top:1px solid #EDF2F7;border-bottom:1px solid #EDF2F7}
.section h2{font-size:23px;font-weight:800;color:#0E2A47;margin-bottom:8px}
.section .sub{font-size:14px;color:#667085;margin-bottom:24px;max-width:680px}
.anchor{scroll-margin-top:100px}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}

.icard{background:#fff;border:1px solid #E4EBF3;border-radius:16px;padding:22px;display:flex;flex-direction:column;transition:box-shadow .18s,transform .18s,border-color .18s}
a.icard:hover{box-shadow:0 14px 30px rgba(14,42,71,.10);transform:translateY(-3px);border-color:#C9DBF0}
.icard .ico{width:46px;height:46px;border-radius:50%;background:#EAF3FB;color:#174A7C;display:flex;align-items:center;justify-content:center;font-size:21px;margin-bottom:14px;flex-shrink:0}
.icard .ico.red{background:#FDECEC;color:#C62828}
.icard .ico.green{background:#E6F4EF;color:#2E7D6B}
.icard .ico.orange{background:#FEF3E2;color:#F59E0B}
.icard h3{font-size:15.5px;font-weight:700;color:#0E2A47;margin-bottom:6px;line-height:1.3}
.icard p{font-size:13px;color:#667085;line-height:1.6}
.icard .go{margin-top:auto;padding-top:14px;font-size:13px;font-weight:600;color:#174A7C;display:inline-flex;align-items:center;gap:6px}

.txtblock{background:#fff;border:1px solid #E4EBF3;border-radius:16px;padding:28px 30px;margin-bottom:18px}
.txtblock h2{font-size:19px;margin-bottom:10px}
.txtblock h3{font-size:15.5px;font-weight:700;color:#0E2A47;margin:18px 0 7px}
.txtblock p{font-size:14px;color:#4B5563;line-height:1.7;margin-bottom:10px}
.txtblock ul{margin:8px 0 12px 2px;list-style:none}
.txtblock ul li{font-size:14px;color:#4B5563;line-height:1.65;padding-left:26px;position:relative;margin-bottom:6px}
.txtblock ul li::before{content:'✓';position:absolute;left:2px;color:#2E7D6B;font-weight:700}
.txtblock ol{margin:8px 0 12px 20px}
.txtblock ol li{font-size:14px;color:#4B5563;line-height:1.65;margin-bottom:6px}

.tbl{width:100%;border-collapse:collapse;font-size:14px;background:#fff;border-radius:12px;overflow:hidden;border:1px solid #E4EBF3}
.tbl th{background:#EAF3FB;color:#0E2A47;text-align:left;font-weight:700;padding:12px 16px;font-size:13px}
.tbl td{padding:12px 16px;border-top:1px solid #EDF2F7;color:#4B5563}

.cta-band{background:linear-gradient(120deg,#0E2A47,#174A7C);border-radius:18px;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;margin:34px 0 10px}
.cta-band strong{display:block;font-size:18px;font-weight:800;color:#fff;margin-bottom:4px}
.cta-band span{font-size:13.5px;color:rgba(255,255,255,.75)}
.cta-band .btns{display:flex;gap:10px;flex-wrap:wrap}
.cta-band .b1{background:#fff;color:#0E2A47;font-size:13.5px;font-weight:700;padding:12px 20px;border-radius:10px;display:inline-flex;align-items:center;gap:8px}
.cta-band .b2{background:rgba(255,255,255,.1);color:#fff;border:1.5px solid rgba(255,255,255,.3);font-size:13.5px;font-weight:600;padding:12px 20px;border-radius:10px;display:inline-flex;align-items:center;gap:8px}

.notice{display:flex;gap:13px;background:#FEF3E2;border:1px solid #F5D9A8;border-radius:14px;padding:16px 18px;margin-bottom:18px}
.notice i{color:#B45309;font-size:20px;flex-shrink:0;margin-top:1px}
.notice p{font-size:13.5px;color:#7C4A03;line-height:1.55}
.notice.red{background:#FDECEC;border-color:#F1C9C9}
.notice.red i,.notice.red p{color:#B71C1C}

/* Kontaktkarten */
.contactcard{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #E4EBF3;border-radius:14px;padding:16px 18px}
.contactcard .ico{width:42px;height:42px;border-radius:50%;background:#EAF3FB;color:#174A7C;display:flex;align-items:center;justify-content:center;font-size:19px;flex-shrink:0}
.contactcard strong{display:block;font-size:14px;font-weight:700;color:#0E2A47}
.contactcard span{font-size:12.5px;color:#667085}
.contactcard a{color:#174A7C;font-weight:600}

/* Formulare */
.form{background:#fff;border:1px solid #E4EBF3;border-radius:16px;padding:28px}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ffield{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.ffield.full{grid-column:1/-1}
.ffield label{font-size:13px;font-weight:600;color:#344054}
.ffield label em{color:#C62828;font-style:normal}
.ffield input,.ffield textarea,.ffield select{padding:12px 14px;border:1.5px solid #D9E2EC;border-radius:10px;font-size:14px;font-family:inherit;color:#1D2939;outline:none;transition:border-color .15s;background:#fff;width:100%}
.ffield input:focus,.ffield textarea:focus,.ffield select:focus{border-color:#174A7C}
.ffield textarea{resize:vertical;min-height:120px}
.ffield .err{font-size:12px;color:#C62828;display:none}
.ffield.invalid input,.ffield.invalid textarea{border-color:#C62828}
.ffield.invalid .err{display:block}
.form-ok{display:none;text-align:center;padding:40px 20px}
.form-ok .big{width:64px;height:64px;border-radius:50%;background:#E6F4EF;color:#2E7D6B;display:flex;align-items:center;justify-content:center;font-size:30px;margin:0 auto 16px}
.form-ok h3{font-size:19px;font-weight:800;color:#0E2A47;margin-bottom:6px}
.form-ok p{font-size:14px;color:#667085}

/* Suche */
.bigsearch{display:flex;border:1.5px solid #D9E2EC;border-radius:14px;overflow:hidden;background:#fff;max-width:640px;box-shadow:0 6px 20px rgba(14,42,71,.06)}
.bigsearch input{flex:1;border:none;outline:none;padding:16px 18px;font-size:15px;font-family:inherit;color:#1D2939;min-width:0}
.bigsearch button{background:#174A7C;color:#fff;width:60px;display:flex;align-items:center;justify-content:center;font-size:20px;transition:background .15s}
.bigsearch button:hover{background:#0E2A47}
.sresult{display:block;background:#fff;border:1px solid #E4EBF3;border-radius:14px;padding:18px 20px;margin-bottom:12px;transition:border-color .15s,box-shadow .15s}
.sresult:hover{border-color:#C9DBF0;box-shadow:0 10px 24px rgba(14,42,71,.08)}
.sresult .cat{font-size:10.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#8A93A3;margin-bottom:3px}
.sresult h3{font-size:15.5px;font-weight:700;color:#174A7C;margin-bottom:4px}
.sresult p{font-size:13px;color:#667085;line-height:1.55}

/* News/Team/Downloads Karten (CMS-Seiten) */
.ncard{border:1px solid #E4EBF3;border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:box-shadow .18s,transform .18s}
.ncard:hover{box-shadow:0 14px 30px rgba(14,42,71,.10);transform:translateY(-2px)}
.ncard-img{height:170px;background:linear-gradient(135deg,#EAF3FB,#DCEAF7);overflow:hidden}
.ncard-img img{width:100%;height:100%;object-fit:cover}
.ncard-body{padding:16px 18px 18px;display:flex;flex-direction:column;flex:1}
.ncard-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.ncard-cat{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#174A7C}
.ncard-date{font-size:12px;color:#8A93A3;white-space:nowrap}
.ncard h3{font-size:15px;font-weight:700;color:#0E2A47;line-height:1.4;margin-bottom:12px}
.ncard-rm{margin-top:auto;font-size:13px;font-weight:600;color:#174A7C;display:inline-flex;align-items:center;gap:6px}
.news-tabs{display:inline-flex;gap:4px;background:#EDF2F7;border-radius:30px;padding:4px;flex-wrap:wrap;margin-bottom:22px}
.news-tab{font-size:12.5px;font-weight:600;padding:7px 16px;border-radius:30px;color:#4B5563;transition:all .15s;white-space:nowrap}
.news-tab.on{background:#0E2A47;color:#fff}
.news-tab:not(.on):hover{background:#E0E8F0}
.news-empty{padding:34px;text-align:center;color:#8A93A3;font-size:13.5px;border:1.5px dashed #D9E2EC;border-radius:12px;grid-column:1/-1}

.tmcard{display:flex;background:#fff;border:1px solid #E4EBF3;border-radius:14px;overflow:hidden;transition:box-shadow .18s,transform .18s}
.tmcard:hover{box-shadow:0 12px 28px rgba(14,42,71,.10);transform:translateY(-2px)}
.tmcard-img{width:126px;flex-shrink:0;background:linear-gradient(150deg,#EAF3FB,#DCEAF7);display:flex;align-items:center;justify-content:center;overflow:hidden}
.tmcard-img img{width:100%;height:100%;object-fit:cover;object-position:top center}
.tmava{width:64px;height:64px;border-radius:50%;background:#fff;box-shadow:0 5px 16px rgba(14,42,71,.12);display:flex;align-items:center;justify-content:center}
.tmava i{font-size:30px;color:#174A7C}
.tmcard-body{padding:14px 16px;display:flex;flex-direction:column;min-width:0;flex:1}
.tmcard-pre{font-size:11.5px;color:#8A93A3}
.tmcard-body h3{font-size:14.5px;font-weight:800;color:#0E2A47;line-height:1.25;margin-bottom:5px}
.tmcard-role{font-size:12px;color:#667085;line-height:1.4}
.tmcard-rm{margin-top:auto;font-size:12.5px;font-weight:600;color:#174A7C;display:inline-flex;align-items:center;gap:6px;padding-top:10px}

.flcard{display:flex;gap:16px;border:1px solid #E4EBF3;border-radius:16px;background:#fff;padding:20px;transition:box-shadow .2s,transform .2s;align-items:flex-start}
.flcard:hover{box-shadow:0 14px 30px rgba(14,42,71,.10);transform:translateY(-3px)}
.flcard-thumb{width:72px;height:94px;border-radius:9px;background:linear-gradient(150deg,#174A7C,#0E2A47);flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;overflow:hidden}
.flcard-thumb img{width:100%;height:100%;object-fit:cover}
.flcard-body{display:flex;flex-direction:column;min-width:0;flex:1}
.flcard-body h3{font-size:15px;font-weight:700;color:#0E2A47;line-height:1.3;margin-bottom:6px}
.flcard-body p{font-size:12.5px;color:#667085;line-height:1.55;margin-bottom:14px}
.flcard-dl{margin-top:auto;font-size:13px;font-weight:600;color:#174A7C;display:inline-flex;align-items:center;gap:7px}

/* Fachbereich-Detail */
.dept-head{display:flex;gap:22px;align-items:flex-start}
.dept-head .ico{width:66px;height:66px;border-radius:18px;background:linear-gradient(145deg,#174A7C,#0E2A47);color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;flex-shrink:0}
.badge{display:inline-flex;align-items:center;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border-radius:20px;padding:5px 11px;margin-bottom:10px}
.badge.gr{color:#1B5E20;background:#E8F5E9;border:1px solid #C8E6C9}
.badge.rd{color:#B71C1C;background:#FFEBEE;border:1px solid #FFCDD2}
.badge.bl{color:#174A7C;background:#EAF3FB;border:1px solid #C9DBF0}

/* Rechtsseiten */
.legal{max-width:820px}
.legal h2{font-size:18px;margin-top:28px}
.legal p,.legal li{font-size:14px;color:#4B5563;line-height:1.75}
.legal ul{margin:8px 0 8px 20px;list-style:disc}

/* ── Footer ── */
.footer{background:#0B2347;color:rgba(255,255,255,.72);padding:54px 0 0;margin-top:50px}
.footer-wrap{max-width:1440px;margin:0 auto;padding:0 40px}
.footer-top{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr 1fr;gap:36px;padding-bottom:42px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer-brand img{height:56px;margin-bottom:16px}
.footer-brand p{font-size:13px;line-height:1.65;margin-bottom:18px;max-width:300px}
.footer-contact{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}
.footer-contact div{display:flex;align-items:center;gap:9px;font-size:13px}
.footer-contact i{color:#82B4FF;font-size:15px;width:16px;text-align:center}
.footer-socials{display:flex;gap:10px}
.fsoc{width:36px;height:36px;border-radius:9px;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;color:#fff;font-size:16px;transition:background .15s}
.fsoc:hover{background:#174A7C}
.footer-col h4{font-size:13px;font-weight:700;color:#fff;margin-bottom:15px;letter-spacing:.02em}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:9px}
.footer-col a{font-size:13px;color:rgba(255,255,255,.68);transition:color .15s}
.footer-col a:hover{color:#fff}
.footer-bottom{padding:18px 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.footer-bottom .copy{font-size:12.5px;color:rgba(255,255,255,.5)}
.footer-legal{display:flex;flex-wrap:wrap;gap:18px}
.footer-legal a{font-size:12.5px;color:rgba(255,255,255,.6);transition:color .15s}
.footer-legal a:hover{color:#fff}

/* ── Responsive ── */
@media (max-width:1080px){
  .sh-links{display:none}
  .sh-ctas{display:none}
  .sh-burger{display:block}
  .grid3,.grid4{grid-template-columns:1fr 1fr}
  .footer-top{grid-template-columns:1fr 1fr}
}
@media (max-width:680px){
  .wrap,.wrap-wide{padding:0 18px}
  .phero{padding:28px 0 26px}
  .phero h1{font-size:26px}
  .phero .lead{font-size:14.5px}
  .phero-actions{gap:8px}
  .phero-actions .btn-navy,.phero-actions .btn-outline,.phero-actions .btn-red{flex:1 1 auto;justify-content:center;padding:13px 14px}
  .grid2,.grid3,.grid4{grid-template-columns:1fr}
  .fgrid{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .dept-head{flex-direction:column}
  .subhead-in{padding:0 18px;height:66px}
  .sh-logo img{height:44px}
  .cta-band{padding:24px;flex-direction:column;align-items:flex-start}
  .cta-band .btns{width:100%}
  .cta-band .b1,.cta-band .b2{flex:1 1 auto;justify-content:center}
  /* iOS-Zoom beim Fokussieren verhindern: Inputs min. 16px */
  input,select,textarea{font-size:16px !important}
  .tbl th,.tbl td{padding:10px 12px;font-size:13px}
  .txtblock{padding:20px 18px}
  .section{padding:30px 0}
  .contactcard{flex-wrap:wrap}
  .news-tabs{max-width:100%;overflow-x:auto;flex-wrap:nowrap;border-radius:14px}
  .bigsearch input{padding:14px}
  .flcard{flex-direction:row}
  .tmcard-img{width:100px}
}
/* Touch-Geräte: Hover-Transforms deaktivieren */
@media (hover:none){
  a.icard:hover,.ncard:hover,.tmcard:hover,.flcard:hover{transform:none}
}
