/*
Theme Name: KÖ22 Onepage
Theme URI: https://example.com/
Author: OpenAI
Description: Onepage-Theme für KÖ22 Nagold nach finalem Layoutentwurf.
Version: 1.30
Text Domain: koe22
*/

@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;600;700&display=swap");

:root{--bg:#080a0c;--text:#f4f4f4;--muted:#b9bcc0;--line:#85888c;--max:1060px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:"Roboto Condensed","Arial Narrow",Arial,sans-serif;line-height:1.25;text-transform:uppercase;letter-spacing:.025em}
a{color:inherit;text-decoration:none} img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 40px));margin:0 auto}
main{overflow:hidden}


.hero{height:640px;position:relative;background:#14171a center/cover no-repeat;display:flex;align-items:center}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.68) 24%,rgba(0,0,0,.42) 46%,rgba(0,0,0,.14) 72%,rgba(0,0,0,.22) 100%),linear-gradient(180deg,rgba(8,10,12,0) 54%,rgba(8,10,12,.38) 72%,rgba(8,10,12,.82) 90%,var(--bg) 100%)}
.hero-content{position:relative;z-index:2;padding:0 0 0 12px;display:flex;flex-direction:column;align-items:flex-start}
.hero-logo-wrap{width:350px;max-width:48%;margin:0 0 34px}
.hero-logo{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:left center;margin:0}
.logo-placeholder{border:1px dashed rgba(255,255,255,.55);padding:24px 26px;width:430px;max-width:100%;text-align:center;font-size:15px;color:#ddd;letter-spacing:.08em}
.hero-sub{font-size:25px;font-weight:500;letter-spacing:.025em;line-height:1.08;margin:0 0 42px}
.hero-buttons{display:flex;align-items:center;gap:32px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;min-width:215px;background:#fff;color:#080a0c;padding:12px 24px 11px;font-size:14px;font-weight:600;letter-spacing:.025em;line-height:1;text-transform:uppercase;border:1px solid #fff}
.btn-secondary{background:rgba(8,10,12,.20);color:#fff}

.section{padding:54px 0}
.offer-section{padding-top:48px;padding-bottom:50px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:860px}
.card{text-align:center;position:relative}.card-image{aspect-ratio:1.5/1;background:#14181d center/cover no-repeat;display:flex;align-items:center;justify-content:center;color:#7f858c;font-size:11px;letter-spacing:.09em;position:relative;overflow:hidden}
.card-image:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:52%;background:linear-gradient(to bottom,rgba(8,10,12,0) 0%,rgba(8,10,12,.60) 48%,rgba(8,10,12,.94) 80%,var(--bg) 100%);pointer-events:none}
.card-image span{position:relative;z-index:1}.card h2{position:relative;z-index:2;font-size:20px;letter-spacing:.06em;margin:-18px 0 10px;line-height:1.15}.card p{font-size:12px;line-height:1.85;margin:0 auto;color:#d2d2d2;max-width:250px;font-weight:600}

.prices-section{padding-top:42px}
.narrow-content{max-width:860px}.section-title{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 0 34px;font-size:27px;line-height:1;letter-spacing:.075em;font-weight:700}.section-title:before,.section-title:after{content:"";height:1px;background:var(--line);flex:1}.section-title span{white-space:nowrap}
.prices{text-align:center;font-size:15px;line-height:2.05;font-weight:400;letter-spacing:.035em;margin-bottom:50px}.prices strong{display:block;font-size:16px;font-weight:700;margin-top:20px;line-height:1.65}.prices strong:first-child{margin-top:0}.prices div{font-weight:400}
.image-stack{max-width:860px;display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:0}.wide-image{height:220px;background:#15191d center/cover no-repeat;display:flex;align-items:center;justify-content:center;color:#83888e;font-size:11px;letter-spacing:.09em}
.event-wrap{max-width:700px;text-align:center}.event-box{border:1px solid #93969a;display:inline-flex;justify-content:center;align-items:center;gap:16px;padding:12px 16px;margin:44px auto 0;text-align:left;width:auto;max-width:max-content}.event-box .icon{width:58px;min-width:58px;color:#eee}.event-box strong{display:block;font-size:16px;letter-spacing:.065em;line-height:1.15}.event-box span{display:block;font-size:11.5px;letter-spacing:.055em;color:#d5d5d5;margin-top:5px;line-height:1.25}

.hours-section{padding-top:50px;padding-bottom:45px}.hours-section .container{max-width:860px}.icon-title{margin-bottom:26px}
.hours{display:grid;grid-template-columns:repeat(7,1fr);align-items:stretch}.day{text-align:center;padding:0 8px;border-right:1px solid #777}.day:last-child{border-right:0}.day strong{display:block;font-size:13.5px;letter-spacing:.05em;line-height:1.15}.day span{display:block;font-size:12.5px;color:#e4e4e4;margin-top:7px;white-space:nowrap;line-height:1.2}

.contact-section{padding-top:28px;padding-bottom:32px}.contact-section .container{max-width:860px}.contact-heading{font-size:25px;font-weight:500;letter-spacing:.07em;margin:0 0 22px;position:relative}.contact-heading:after{content:"";display:block;width:28px;height:1px;background:rgba(255,255,255,.82);margin-top:9px}.contact-grid{display:grid;grid-template-columns:34% 66%;align-items:stretch}.contact-copy{padding:14px 28px 8px 0;font-size:13.5px;color:#ddd}.contact-row{display:flex;gap:12px;align-items:flex-start;margin-bottom:11px}.contact-row p{margin:0;line-height:1.34}.contact-icon{width:19px;height:19px;flex:0 0 19px;margin-top:1px;color:#efefef}.contact-copy strong{color:#fff}.map-placeholder{min-height:170px;background:#f6f6f6;color:#666;display:flex;align-items:center;justify-content:center;text-align:center;font-size:11px}.map-placeholder iframe{width:100%;height:100%;min-height:170px;border:0}
.social-block{margin-top:15px}.social-block>strong{display:block;font-size:17px;letter-spacing:.06em;margin-bottom:5px}.social-icons{display:flex;align-items:center;gap:7px}.social-icons a,.social-icons>svg,.social-letter{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center}.social-icons svg{width:22px;height:22px}.social-letter{font-family:Arial,sans-serif;font-weight:900;font-size:20px;line-height:1}
.contact-bottom{display:grid;grid-template-columns:1fr 1.4fr .8fr;gap:25px;align-items:end;margin-top:13px;font-size:10px;color:#bdbdbd;line-height:1.25}.contact-bottom strong{color:#fff}.legal{text-align:center}.footer-logo{display:flex;justify-content:flex-end}.footer-logo img{display:block;width:120px;max-height:42px;object-fit:contain;object-position:right center}

@media(max-width:699px){
  .container{width:min(100% - 28px,var(--max))}.hero{height:590px}.hero-content{padding:0}.hero-logo-wrap{max-width:72%;width:300px;margin-bottom:28px}.hero-sub{font-size:22px;margin-bottom:32px}.hero-buttons{gap:12px}.btn{min-width:190px;font-size:13px;padding:12px 18px}.cards{grid-template-columns:1fr;max-width:420px}.card-image{aspect-ratio:1.6/1}.image-stack{grid-template-columns:1fr}.wide-image{height:auto;aspect-ratio:2.5/1}.event-box{max-width:520px}.hours{grid-template-columns:repeat(2,1fr);gap:15px 0}.day{min-height:42px}.day:nth-child(even){border-right:0}.contact-grid{grid-template-columns:1fr}.contact-copy{padding-right:0}.map-placeholder{min-height:220px}.contact-bottom{grid-template-columns:1fr;gap:12px}.legal{text-align:left}.footer-logo{justify-content:flex-start}}
@media(max-width:460px){.section-title{font-size:21px;gap:10px}.hero{height:560px}.hero-logo-wrap{max-width:82%;width:260px;margin-bottom:24px}.hero-sub{font-size:19px;line-height:1.12;margin-bottom:28px}.hero-buttons{gap:9px}.btn{min-width:0;padding:11px 15px;font-size:11px}.event-box{gap:14px;padding:10px 12px}.event-box .icon{width:46px;min-width:46px}.hours{grid-template-columns:1fr}.day{border-right:0;border-bottom:1px solid #444;padding:8px 0}}

/* Separate plain-text pages for Impressum / Datenschutz */
body.legal-page,body.koe22-legal-only{background:#080a0c;color:#fff;text-transform:none;letter-spacing:0}
.legal-page-main{min-height:100vh;padding:70px 24px}
.legal-page-inner{width:min(100%,900px);margin:0 auto}
.legal-page-main h1{margin:0 0 34px;font-family:"Roboto Condensed","Arial Narrow",Arial,sans-serif;font-size:42px;line-height:1.05;font-weight:600;letter-spacing:.03em;text-transform:uppercase}
.legal-page-content{font-family:"Roboto Condensed",Arial,sans-serif;font-size:17px;line-height:1.65;color:#e7e7e7;text-transform:none;letter-spacing:0}
.legal-page-content p{margin:0 0 1.25em}.legal-page-content h2,.legal-page-content h3{color:#fff;margin:1.8em 0 .65em;line-height:1.2}.legal-page-content a{color:#fff;text-decoration:underline}
@media(max-width:700px){.legal-page-main{padding:45px 20px}.legal-page-main h1{font-size:34px}.legal-page-content{font-size:16px}}

/* Back link on Impressum / Datenschutz */
.legal-home-link{display:inline-flex;align-items:center;margin:0 0 30px;font-family:"Roboto Condensed","Arial Narrow",Arial,sans-serif;font-size:16px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.55);padding-bottom:3px}
.legal-home-link:hover{border-bottom-color:#fff}
@media(max-width:700px){.legal-home-link{font-size:15px;margin-bottom:26px}}

/* Google Maps route box – map loads only after a deliberate click */
.route-box{background:#f6f6f6;color:#111;min-height:170px;padding:22px}
.route-box-inner{width:100%;height:100%;min-height:126px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.route-pin{width:28px;height:28px;margin-bottom:8px;color:#111}
.route-box strong{display:block;font-size:17px;letter-spacing:.055em;line-height:1.1}
.route-box span{display:block;margin-top:7px;font-size:11.5px;letter-spacing:.045em;color:#555}
.route-button{display:inline-flex;align-items:center;justify-content:center;margin-top:18px;padding:10px 18px;background:#0b0d0f;color:#fff!important;border:1px solid #0b0d0f;font-size:12px;font-weight:600;letter-spacing:.055em;line-height:1;text-transform:uppercase;transition:.15s ease}
.route-button:hover{background:transparent;color:#0b0d0f!important}
@media(max-width:699px){.route-box{min-height:220px}.route-box-inner{min-height:176px}.route-box strong{font-size:18px}.route-box span{font-size:12px}.route-button{font-size:12px;padding:11px 18px}}


/* v1.21 – static map image behind route box (no external map request) */
.route-box{position:relative;overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat}
.route-box.has-map-bg:before{content:"";position:absolute;inset:0;background:rgba(5,7,9,.48)}
.route-box.has-map-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,7,9,.38),rgba(5,7,9,.10) 55%,rgba(5,7,9,.30));pointer-events:none}
.route-box.has-map-bg .route-box-inner{position:relative;z-index:2;color:#fff}
.route-box.has-map-bg .route-pin{color:#fff}
.route-box.has-map-bg span{color:rgba(255,255,255,.88)}
.route-box.has-map-bg .route-button{background:#fff;color:#0b0d0f!important;border-color:#fff}
.route-box.has-map-bg .route-button:hover{background:#0b0d0f;color:#fff!important;border-color:#0b0d0f}

/* v1.23 – keep route address/button at the exact vertical position from v1.21
   after removing the KÖ22 Nagold heading and location icon. */
.route-box .route-box-inner{transform:translateY(31px)}
