/*
Theme Name: Jugendbegegnung
Author: Stefan Herzog
Description: Block-Theme für die Jugendbegegnung Dekanat Augsburg und SCD Tansania. Lokale Schriften, keine Drittanbieter-Anfragen.
Version: 1.5.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: jube
*/

html{overflow-x:hidden}
body{margin:0;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
img{max-width:100%;height:auto}
.wp-site-blocks{padding:0}
.wp-site-blocks>*{margin-block-start:0}
:where(.wp-site-blocks *:focus-visible){outline:3px solid #B4531E;outline-offset:3px}
.jube-footer :focus-visible{outline-color:#E8A27C}
a{text-underline-offset:3px}

/* Skip-Link */
.jube-skip{margin:0;position:absolute;left:8px;top:-100px;z-index:100;background:#14110F;padding:10px 16px}
.jube-skip:focus-within{top:8px}
.jube-skip a{color:#FFFFFF}

/* Header */
.jube-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:22px 48px;border-bottom:1px solid #14110F}
.jube-brand{display:flex;align-items:center;gap:14px}
.jube-mark{margin:0;flex:0 0 auto}
.jube-mark img{display:block;height:40px;width:auto}
.jube-header .wp-block-group{margin-block:0}
.jube-brand-text{display:flex;flex-direction:column;line-height:1.2;gap:4px}
.jube-brand-name{margin:0;font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-size:20px;font-weight:600}
.jube-brand-name a{text-decoration:none}
.jube-brand-sub{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;letter-spacing:.1em;color:#595959}
.jube-header-right{display:flex;gap:32px;align-items:center;flex-wrap:wrap;font-size:16px}
.jube-nav a{text-decoration:none}
.jube-lang{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;display:flex;gap:8px;color:#595959}
.jube-lang-on{color:#B4531E;border-bottom:2px solid #B4531E;padding-bottom:1px}

/* Hero */
.jube-hero{padding:72px 48px 40px;display:flex;flex-direction:column;gap:40px}
.jube-h1{margin:0;font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-weight:600;font-size:clamp(40px,8vw,118px);line-height:1.02;letter-spacing:-.015em}
.jube-hero-pem{padding-bottom:0}
.jube-h1-pem{font-size:clamp(40px,7vw,96px);line-height:1.04}
.jube-h1-page{font-size:clamp(36px,6vw,72px)}
.jube-accent{color:#B4531E}
.jube-gold{color:#E8A27C}
.jube-hero-row{display:flex;flex-wrap:wrap;gap:48px;justify-content:space-between;align-items:flex-end}
.jube-lead{margin:0;font-size:20px;line-height:1.6;max-width:500px;color:#2B2B2B}
.jube-facts{display:flex;gap:40px;flex-wrap:wrap;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;color:#595959;text-transform:uppercase;letter-spacing:.06em}
.jube-fact{display:flex;flex-direction:column;gap:4px}
.jube-fact p{margin:0}
.jube-fact-main,.jube-fact-main a{color:#14110F;font-weight:500}
.jube-hero-imgwrap{padding:0 48px}
.jube-hero-img{position:relative;height:520px;overflow:hidden;margin:0}
.jube-hero-img img{width:100%;height:100%;object-fit:cover;display:block}
.jube-hero-img figcaption{position:absolute;left:20px;bottom:16px;margin:0;background:#FFFFFF;color:#14110F;padding:8px 14px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;max-width:calc(100% - 40px)}

/* Instagram */
.jube-insta-wrap{display:flex;flex-wrap:wrap;gap:48px;padding:72px 48px 0;align-items:flex-start}
.jube-insta{flex:0 1 520px;min-width:0;max-width:100%;border:1px solid #14110F;background:#FFF;padding:32px;display:flex;flex-direction:column;gap:16px}
.jube-insta p{margin:0;font-size:16px;line-height:1.6;color:#2B2B2B}
.jube-insta .jube-insta-name{font-size:17px;font-weight:700;color:#14110F}

/* Sektionen */
.jube-section{padding:104px 48px 0;display:flex;flex-direction:column;gap:36px}
.jube-section-pem{padding-top:88px}
.jube-narrow{max-width:900px;gap:20px}
.jube-section-head{display:flex;justify-content:space-between;align-items:baseline;gap:24px;flex-wrap:wrap}
.jube-label{margin:0;font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-size:15px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#595959}
.jube-mono{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;color:#595959}
.jube-statement{margin:0;font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-size:clamp(24px,2.8vw,36px);line-height:1.35;font-weight:500;max-width:900px}
.jube-statement-big{font-size:clamp(28px,4vw,52px);line-height:1.25;max-width:1000px}
.jube-hero-pem .jube-statement{font-size:clamp(22px,2.6vw,34px)}
.jube-contact{margin:0;font-size:18px;line-height:1.6;color:#2B2B2B}

/* Zyklus */
.jube-steps{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:40px}
.jube-steps::before{content:"";position:absolute;left:0;right:0;top:5px;height:1px;background:#E2E2E2}
.jube-step{display:flex;flex-direction:column;gap:12px;position:relative;margin:0}
.jube-step>*{margin:0}
.jube-dot{width:9px;height:9px;border-radius:50%;border:1px solid #B4531E;background:#FFFFFF;min-height:9px}
.jube-dot.is-first{width:11px;height:11px;min-height:11px;background:#B4531E}
.jube-step-kicker{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;letter-spacing:.1em;color:#B4531E}
.jube-step-title{font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-size:22px;font-weight:600;line-height:1.2}
.jube-step-text{font-size:16px;line-height:1.65;color:#595959}

/* Newsletter */
.jube-nl-outer{padding:36px 48px 0}
.jube-newsletter{border:2px solid #B4531E;background:#FFF;padding:36px;display:flex;flex-wrap:wrap;gap:32px;align-items:center;justify-content:space-between}
.jube-nl-text{display:flex;flex-direction:column;gap:8px;flex:1 1 380px;min-width:0}
.jube-nl-text>*{margin:0}
.jube-kicker{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#B4531E}
.jube-nl-title{font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-size:28px;font-weight:600;line-height:1.15}
.jube-nl-text p:last-child{font-size:16.5px;line-height:1.6;color:#2B2B2B}
.jube-nl-formwrap{flex:1 1 340px;min-width:0}
.jube-nl-form{display:flex;flex-direction:column;gap:10px}
.jube-nl-fields{display:flex;gap:10px;flex-wrap:wrap}
.jube-nl-fields input{flex:1 1 150px;min-width:0;border:1px solid #14110F;padding:15px 16px;font-size:16px;background:#FFF;color:#14110F;font-family:inherit;border-radius:0}
.jube-nl-submit{background:#B4531E;color:#FFFFFF;padding:15px 24px;border-radius:6px;font-size:17px;font-weight:700;cursor:pointer;border:none;font-family:inherit}
.jube-nl-submit:hover{background:#8C3C14}
.jube-small{margin:0;font-size:14px;line-height:1.55;color:#595959}
.jube-small a{color:#595959}
.jube-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}

/* Karten */
.jube-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px}
.jube-card{background:#FFFFFF;border:1px solid #14110F;padding:36px 32px;display:flex;flex-direction:column;gap:10px;margin:0}
.jube-card>*{margin:0}
.jube-card-nr{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:14px;color:#B4531E}
.jube-card-title{font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-size:24px;font-weight:600;line-height:1.5}
.jube-card-text{font-size:16.5px;line-height:1.65;color:#2B2B2B}

/* Footer */
.jube-footer{margin-top:104px;background:#14110F;color:#FFFFFF;padding:88px 48px 48px;display:flex;flex-direction:column;gap:48px}
.jube-footer a{color:inherit}
.jube-foot-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:40px;align-items:flex-end}
.jube-foot-title{margin:0;font-family:'Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;font-weight:600;font-size:clamp(44px,6vw,96px);line-height:1;letter-spacing:-.015em;color:#FFFFFF}
.jube-foot-right{display:flex;flex-direction:column;gap:16px;max-width:380px}
.jube-foot-right>*{margin:0}
.jube-foot-p{font-size:18px;line-height:1.6;color:#C9C9C9}
.jube-foot-right .wp-block-buttons{gap:14px}
.jube-btn-gold .wp-block-button__link{display:inline-block;background:#E8A27C;color:#14110F;padding:17px 30px;border-radius:6px;font-size:18px;font-weight:700;text-decoration:none}
.jube-btn-outline .wp-block-button__link{display:inline-block;background:transparent;border:2px solid #FFFFFF;color:#FFFFFF;padding:15px 28px;border-radius:6px;font-size:18px;font-weight:700;text-decoration:none}
.jube-bank{border-top:1px solid #3D3D3D;padding-top:20px;display:flex;flex-wrap:wrap;gap:20px;align-items:center;font-size:15px;line-height:1.5;color:#C9C9C9}
.jube-bank-text{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 180px}
.jube-bank-text p{margin:0}
.jube-bank p{margin:0}
.jube-bank .jube-bank-title{color:#FFFFFF;font-weight:700}
.jube-foot-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px;border-top:1px solid #3D3D3D;padding-top:24px;font-size:15px;color:#9A9A9A}
.jube-foot-bottom p{margin:0}
.jube-foot-links{display:flex;gap:28px}
.jube-foot-bottom a{color:#9A9A9A;text-decoration:none}
.jube-foot-bottom a:hover{color:#FFFFFF}

/* Seiten / Inhalt */
.jube-page{padding:72px 48px 0;max-width:996px}
.jube-content{padding:0 48px;max-width:996px}
.jube-content>*{max-width:900px}
.jube-main{margin:0}

@media (max-width:640px){
 .jube-header,.jube-hero,.jube-section,.jube-insta-wrap,.jube-hero-imgwrap,.jube-nl-outer,.jube-page,.jube-content,.jube-footer{padding-left:20px;padding-right:20px}
 .jube-hero{padding-top:40px}
 .jube-hero-img{height:300px}
 .jube-section{padding-top:72px}
 .jube-newsletter{padding:24px 20px}
 .jube-header-right{gap:20px}
}

.jube-qr{margin:0;flex:0 0 auto}.jube-qr img{width:156px;height:156px;background:#FFFFFF;padding:8px;image-rendering:pixelated;display:block}

a.jube-nl-submit{display:inline-block;text-decoration:none;color:#FFFFFF}a.jube-nl-submit:hover{color:#FFFFFF}

/* Elementor-Seiten: Widgets tragen dieselben Klassen wie die Muster; Typografie kommt aus den Klassen */
.elementor [class*="jube-"] :is(.elementor-heading-title,.elementor-widget-container,p){font:inherit;letter-spacing:inherit;line-height:inherit;text-transform:inherit;color:inherit;margin:0;padding:0}
.elementor .jube-h1,.elementor .jube-statement,.elementor .jube-label,.elementor .jube-step-title,.elementor .jube-card-title,.elementor .jube-nl-title{color:#14110F}
.elementor .jube-label,.elementor .jube-step-text,.elementor .jube-mono{color:#595959}
.elementor .jube-lead{color:#2B2B2B}
.elementor .jube-step-kicker,.elementor .jube-card-nr{color:#B4531E}
.elementor .jube-fact{color:#595959}.elementor .jube-fact-main,.elementor .jube-fact-main a{color:#14110F}
.elementor .jube-nl-sub{font-size:16.5px;line-height:1.6;color:#2B2B2B}
.elementor .jube-nl-btn .elementor-button{font-family:inherit;line-height:1.5;border-radius:6px}
.elementor .e-con.jube-steps{display:grid;gap:40px}
.elementor .e-con.jube-steps::after{content:"";position:absolute;left:0;right:0;top:5px;height:1px;background:#E2E2E2}
.elementor .e-con.jube-steps::before{display:none}
.elementor .e-con.jube-cards{display:grid;gap:20px}
.elementor .e-con.jube-step{gap:12px}
.elementor .e-con.jube-step::after{content:"";order:-1;position:static;display:block;width:9px;height:9px;border-radius:50%;border:1px solid #B4531E;background:#FFF}
.elementor .e-con.jube-step.is-first::after{width:11px;height:11px;background:#B4531E}
.elementor.elementor .e-con>.elementor-widget.jube-lead{max-width:500px}
.elementor.elementor .e-con>.elementor-widget.jube-statement{max-width:900px}
.elementor.elementor .e-con>.elementor-widget.jube-statement-big{max-width:1000px}
.elementor.elementor .e-con.jube-facts,.elementor.elementor .jube-facts>.e-con{--width:auto;width:auto;flex:0 1 auto;max-width:100%}
.jube-brand-name,.jube-brand-sub{line-height:inherit}
.jube-lang{line-height:1.5}
.jube-nav,.jube-nav .wp-block-navigation__container{gap:32px}
