/*
Theme Name: Helmut Bruns – Gemeinsam Gutes bewirken
Theme URI: https://www.lp4you.de/
Author: lp4you.de
Description: Editierbares WordPress-Theme für die private Informationsseite von Helmut Bruns.
Version: 1.0.0
Text Domain: helmut-bruns
*/
:root{--green:#176b3a;--orange:#ef5b16;--ink:#183044;--cream:#fff8ee;--line:#e8e2d8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{color:inherit}.wrap{max-width:1180px;margin:auto;padding:0 22px}header{position:sticky;top:0;background:#fff;z-index:99;border-bottom:1px solid var(--line)}nav{min-height:74px;display:flex;align-items:center;gap:25px}.brand{font-weight:800;margin-right:auto}.brand b{font-size:24px;color:#e33}.brand small{display:block;font-weight:600}.navlinks{display:flex;align-items:center;gap:22px}.navlinks a{text-decoration:none;font-size:14px}.btn{display:inline-block;padding:13px 21px;border:0;border-radius:24px;background:var(--green);color:#fff;text-decoration:none;font-weight:700;cursor:pointer}.btn.alt{background:#fff;color:var(--ink);border:2px solid var(--green)}.hero{min-height:610px;background:linear-gradient(90deg,rgba(255,246,223,.96),rgba(255,246,223,.15)),var(--hero) center/cover;display:flex;align-items:center}.hero h1{font-size:64px;line-height:.98;margin:0 0 20px;max-width:650px}.hero h1 span{color:var(--green)}.hero p{font-size:21px;max-width:580px}.sig{font-family:cursive;font-size:36px;margin:20px 0}.buttons{display:flex;gap:12px}.icons{margin-top:-45px;position:relative}.icon-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:14px;box-shadow:0 12px 35px #0002}.icon{padding:25px;text-align:center;border-right:1px solid var(--line)}.icon:last-child{border:0}.emoji{font-size:32px}section{padding:78px 0}.soft{background:var(--cream)}h2{font-size:42px;margin:0 0 12px}.lead{font-size:20px;color:var(--green);font-weight:700}.cols{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:0 8px 24px #0000000b}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.cards .card{text-align:center}.checks{display:grid;gap:12px}.check{padding:14px 16px;background:#fff;border-radius:10px;border:1px solid var(--line)}.check:before{content:'✓';color:var(--green);font-weight:bold;margin-right:10px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.step{text-align:center}.num{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--orange);color:#fff;margin:0 auto 10px}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.fact{font-size:18px;font-weight:700}.notice{margin-top:20px;background:#fff1d8;border-left:4px solid var(--orange);padding:16px}.contact{display:grid;grid-template-columns:.8fr 1.2fr;gap:35px}.form input,.form textarea{width:100%;padding:14px;border:1px solid #ccd3d8;border-radius:8px;margin:6px 0 13px;font:inherit}.form textarea{min-height:140px}.legal{font-size:15px;line-height:1.65}footer{padding:35px 0;background:#143a28;color:#fff}.footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}footer a{margin-right:18px}.mobile-toggle{display:none}.status{padding:12px;margin-bottom:15px;border-radius:8px;background:#e8f6ed}.status.error{background:#fff1d8}@media(max-width:800px){.mobile-toggle{display:block;border:0;background:transparent;font-size:26px}.navlinks{display:none;position:absolute;left:0;right:0;top:74px;background:#fff;padding:20px;flex-direction:column;box-shadow:0 10px 20px #0002}.navlinks.open{display:flex}.hero{min-height:560px;text-align:center;background-position:65% center}.hero h1{font-size:43px}.hero p{font-size:18px;margin-left:auto;margin-right:auto}.buttons{justify-content:center;flex-wrap:wrap}.icon-grid,.cards,.steps,.facts,.cols,.contact{grid-template-columns:1fr}.icon{border-right:0;border-bottom:1px solid var(--line)}section{text-align:center;padding:55px 0}.check{text-align:center}h2{font-size:34px}.facts .card{text-align:center}.notice{text-align:center}.footer{justify-content:center;text-align:center}}
.page-hero{padding:55px 0 25px}.page-hero h1{margin:0}.legal h2{margin-top:34px}.hp{position:absolute!important;left:-9999px!important}.privacy-check{display:flex;gap:10px;align-items:flex-start;font-size:14px}.privacy-check input{width:auto;margin-top:4px}footer nav{display:flex;gap:16px;flex-wrap:wrap}footer .wrap{display:flex;gap:18px;align-items:center;justify-content:space-between;flex-wrap:wrap}@media(max-width:700px){footer .wrap,footer nav{justify-content:center;text-align:center}.privacy-check{text-align:left}}

/* Header/navigation fix v1.1.1 */
.top{min-height:78px;display:flex;align-items:center;gap:22px;position:relative}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none;line-height:1.05;flex:0 0 auto}
.brand .heart{font-size:28px;color:#e33;line-height:1}
.brand b{display:block;font-size:24px;color:#e33;white-space:nowrap}
.brand small{display:block;font-size:12px;color:var(--ink);white-space:nowrap;margin-top:3px}
.main-nav{margin-left:auto;min-height:0;display:flex;align-items:center;justify-content:flex-end;gap:20px;flex-wrap:nowrap}
.main-nav a{font-size:14px;text-decoration:none;white-space:nowrap}
.main-nav .nav-btn{padding:11px 18px;border-radius:22px;background:var(--green);color:#fff;font-weight:700}
.menu-toggle{display:none;border:1px solid #b9c0c4;border-radius:8px;background:#fff;color:var(--ink);font-size:27px;line-height:1;padding:7px 10px;cursor:pointer}
@media(max-width:900px){
  header{position:sticky;top:0}
  .top{min-height:68px;padding:8px 16px;flex-wrap:nowrap}
  .brand{margin-right:auto;min-width:0}
  .brand .heart{font-size:23px}
  .brand b{font-size:20px}
  .brand small{font-size:10px}
  .menu-toggle{display:block;flex:0 0 auto}
  .main-nav{display:none;position:absolute;z-index:100;left:0;right:0;top:100%;margin:0;background:#fff;border-top:1px solid var(--line);box-shadow:0 12px 24px #0002;padding:10px 16px 16px;flex-direction:column;align-items:stretch;gap:0}
  .main-nav.open{display:flex}
  .main-nav a{display:block;width:100%;padding:13px 8px;text-align:center;font-size:16px;border-bottom:1px solid var(--line)}
  .main-nav .nav-btn{margin-top:10px;border-bottom:0;padding:13px 18px}
}
@media(max-width:420px){
  .top{padding-left:12px;padding-right:12px}
  .brand b{font-size:18px}
  .brand small{font-size:9px}
  .brand .heart{font-size:21px}
  .menu-toggle{font-size:24px;padding:6px 9px}
  .hero h1{font-size:39px;overflow-wrap:anywhere}
}

/* Back to top button v1.2.2 */
#hb-back-to-top{position:fixed;right:22px;bottom:22px;width:50px;height:50px;border:0;border-radius:50%;background:var(--green);color:#fff;font-size:25px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 22px #0004;z-index:999;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
#hb-back-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
#hb-back-to-top:hover,#hb-back-to-top:focus{background:var(--orange);outline:3px solid rgba(239,91,22,.25);outline-offset:2px}
@media(max-width:800px){#hb-back-to-top{right:16px;bottom:16px;width:48px;height:48px;font-size:23px}}

/* DSGVO Start-Popup v1.2.3 */
.hb-privacy-overlay{position:fixed;inset:0;background:rgba(10,28,20,.62);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px)}
.hb-privacy-overlay[hidden]{display:none}
.hb-privacy-modal{position:relative;width:min(560px,100%);background:#fff;border-radius:18px;padding:34px;box-shadow:0 24px 70px #0006;text-align:center}
.hb-privacy-modal h2{font-size:30px;margin:8px 0 14px}.hb-privacy-modal p{line-height:1.65;margin:0 auto 24px;max-width:470px}.hb-privacy-icon{font-size:34px;color:var(--orange)}
.hb-privacy-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:30px;cursor:pointer;color:var(--ink)}
.hb-privacy-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
@media(max-width:600px){.hb-privacy-modal{padding:30px 20px 24px}.hb-privacy-modal h2{font-size:26px}.hb-privacy-actions{flex-direction:column}.hb-privacy-actions .btn{width:100%}}

/* Editable WordPress page content v1.2.6 */
.hb-page-content{padding-top:42px}.hb-page-content .legal{max-width:980px}.hb-page-content p{font-size:18px;line-height:1.75}.hb-page-content .wp-block-quote{margin:32px 0;padding:24px 28px;background:var(--cream);border-left:4px solid var(--orange);border-radius:10px}.hb-page-content .wp-block-quote p{font-size:22px;margin:0 0 8px}.hb-page-content .wp-block-button__link{background:var(--green);border-radius:24px;font-weight:700}.hb-info-cards{display:grid;gap:14px;margin:24px 0}.hb-info-card{display:flex;gap:18px;align-items:flex-start;text-align:left}.hb-info-card>span{font-size:30px}.hb-info-card strong{font-size:19px}.hb-info-card p{margin:6px 0 0;font-size:16px}.hb-page-content .steps{margin:24px 0}
@media(max-width:800px){.page-hero{text-align:center}.hb-page-content{text-align:center;padding-top:30px}.hb-page-content .legal{padding-left:22px;padding-right:22px}.hb-page-content p{font-size:17px;line-height:1.7}.hb-page-content .wp-block-quote{text-align:center}.hb-info-card{display:block;text-align:center}.hb-info-card>span{display:block;margin-bottom:8px}.hb-page-content .contact{text-align:center}.hb-page-content .form{text-align:left}}

/* v1.2.7 Seitenschutz */
body.hb-block-select main, body.hb-block-select footer{-webkit-user-select:none;user-select:none}
body.hb-block-select input,body.hb-block-select textarea,body.hb-block-select [contenteditable="true"]{-webkit-user-select:text;user-select:text}
body.hb-block-drag img{-webkit-user-drag:none;user-drag:none}
@media print{body.hb-block-print *{display:none!important}body.hb-block-print:before{content:"Drucken ist für diese Seite deaktiviert.";display:block!important;padding:40px;font:20px sans-serif}}

/* v1.2.8 – konsequenter Frontend-Kopier- und Bildschutz */
body.hb-protection-enabled,
body.hb-protection-enabled main,
body.hb-protection-enabled main *:not(input):not(textarea):not(select):not(option):not([contenteditable="true"]),
body.hb-protection-enabled footer,
body.hb-protection-enabled footer * {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}
body.hb-protection-enabled img {
  -webkit-user-drag: none !important;
  user-drag: none !important;
  -webkit-touch-callout: none !important;
  pointer-events: none !important;
}
body.hb-protection-enabled input,
body.hb-protection-enabled textarea,
body.hb-protection-enabled select,
body.hb-protection-enabled [contenteditable="true"] {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}

/* Hero cleanup v1.3.0 – text-free presentation of the supplied image */
.hero{position:relative;overflow:hidden;isolation:isolate;background:#fff4df;min-height:610px;align-items:center}
.hero::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#fff4df 0%,#fff4df 48%,rgba(255,244,223,.96) 58%,rgba(255,244,223,.30) 76%,rgba(255,244,223,.06) 100%)}
.hero::after{content:"";position:absolute;z-index:-3;right:0;bottom:0;width:58%;height:100%;background-image:var(--hero);background-repeat:no-repeat;background-size:auto 168%;background-position:right bottom}
.hero .wrap{width:100%;position:relative;z-index:1}
.hero h1{max-width:690px;line-height:1.02;margin-bottom:22px}
.hero p{line-height:1.45;margin:0 0 16px;max-width:610px}
.hero .sig{margin:14px 0 22px}
@media(max-width:900px){
 .hero{min-height:600px;text-align:center;padding:58px 0 72px}
 .hero::before{background:linear-gradient(180deg,rgba(255,244,223,.98) 0%,rgba(255,244,223,.92) 55%,rgba(255,244,223,.38) 100%)}
 .hero::after{width:100%;height:62%;background-size:auto 155%;background-position:right bottom;opacity:.48}
 .hero h1{max-width:680px;margin-left:auto;margin-right:auto}
 .hero p{margin-left:auto;margin-right:auto}
 .hero .sig{margin:14px auto 22px}
}
@media(max-width:600px){
 .hero{min-height:620px;padding:48px 0 68px}
 .hero h1{font-size:42px;line-height:1.04}
 .hero p{font-size:18px;line-height:1.5}
 .hero::after{height:54%;background-size:auto 150%;opacity:.36}
}

/* 1.3.3 – Spendenblog kompakter */
.spendenblog-section{padding:34px 0;background:#fff}
.spendenblog-banner{display:block;position:relative;max-width:760px;margin:0 auto;border-radius:16px;overflow:hidden;box-shadow:0 10px 28px #0002;line-height:0;text-decoration:none}
.spendenblog-banner img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;transition:transform .25s ease}
.spendenblog-banner:hover img{transform:scale(1.015)}
.spendenblog-hint{position:absolute;right:18px;bottom:18px;line-height:1.2;background:var(--green);color:#fff;padding:12px 18px;border-radius:24px;font-weight:700;box-shadow:0 5px 18px #0003}
@media(max-width:800px){.spendenblog-section{padding:24px 0}.spendenblog-section .wrap{padding:0 16px}.spendenblog-banner{max-width:680px;border-radius:14px}.spendenblog-hint{position:static;display:block;text-align:center;border-radius:0;padding:11px 10px;line-height:1.2;font-size:14px}.spendenblog-banner img{aspect-ratio:auto}}

/* Startseiten-Shortcode v1.3.2 */
.startseiten-shortcode{padding:35px 0 55px;background:#fff}.startseiten-shortcode .wrap{text-align:center}@media(max-width:800px){.startseiten-shortcode{padding:28px 0 40px}.startseiten-shortcode .wrap{text-align:center}}

/* 1.3.4 – Spendenblog mobil kompakter */
@media(max-width:800px){
  .spendenblog-section{padding:18px 0 22px}
  .spendenblog-section .wrap{padding:0 10px}
  .spendenblog-banner{width:78%;max-width:420px;margin-left:auto;margin-right:auto;border-radius:13px}
  .spendenblog-hint{font-size:13px;padding:9px 8px;line-height:1.15}
}
@media(max-width:420px){
  .spendenblog-banner{width:80%}
  .spendenblog-hint{font-size:12px;padding:8px 6px}
}

/* 1.3.6 – Spendenblog Desktop deutlich kompakter */
@media (min-width:801px){
  .spendenblog-section{padding:24px 0 28px}
  .spendenblog-banner{width:100%;max-width:650px;margin-left:auto;margin-right:auto}
  .spendenblog-hint{right:14px;bottom:14px;padding:9px 14px;font-size:13px}
}

/* 1.3.7 – Spendenblog Desktop nochmals kompakter */
@media(min-width:801px){
  .spendenblog-section{padding:18px 0 22px}
  .spendenblog-banner{width:100%;max-width:480px;margin-left:auto;margin-right:auto}
  .spendenblog-hint{right:10px;bottom:10px;padding:7px 11px;font-size:11px}
}
@media(min-width:801px) and (max-width:1100px){
  .spendenblog-banner{width:68%;max-width:480px}
}
