/* ==========================================================================
   kkw-mv.de – Branchenkonferenz Kultur- und Kreativwirtschaft MV
   Zentrale Stylesheet-Datei (ersetzt das Custom CSS im WordPress-Backend)
   Liegt auf dem Server unter: /wp-content/uploads/kkw/kkw.css

   Farben:   Anthrazit #1E1E1C · Lime #CADF00 · Lila #A447BD / #8E35A6 · Flieder #D98AF5
   Schriften: 'Cubano' (Zeiten, Tabs) · 'Oscine_Bold' (500) · 'Oscine_xBold' (700)
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Allgemein
   -------------------------------------------------------------------------- */

/* Kein seitliches Wackeln auf Mobil */
html,body,#page-container{overflow-x:hidden!important}

/* Text-Hilfsklassen */
.boldy{font-family:'Oscine_xBold',Helvetica,Arial,Lucida,sans-serif!important;font-weight:700;margin:0;padding:0;color:#1E1E1C!important}
.boldygreen{font-family:'Oscine_xBold',Helvetica,Arial,Lucida,sans-serif!important;font-weight:700;margin:0;padding:0;color:#CADF00!important}
.adrezze{padding-bottom:10px!important}

/* Zwei Bilder nebeneinander */
.kkw-bilder{display:flex;align-items:center;gap:50px;flex-wrap:wrap}
.kkw-bilder img{display:block;height:98px!important;width:auto!important;max-width:none!important}


/* --------------------------------------------------------------------------
   2. Animierte Grafiken
   -------------------------------------------------------------------------- */

/* Hero-Bild: Flackern */
.kkw-flacker{position:relative;display:block;width:100%}
.kkw-flacker img{display:block;width:100%!important;height:auto!important;max-width:none!important}
.kkw-flacker-outline{position:absolute;top:0;left:0;opacity:0;animation:kkw-flacker-outline 7.5s infinite}
.kkw-flacker-bunt{animation:kkw-flacker-bunt 7.5s infinite}
@keyframes kkw-flacker-outline{0%,39.9%{opacity:0}40%,41.9%{opacity:1}42%,43.9%{opacity:0}44%,83.9%{opacity:1}84%,85.9%{opacity:0}86%,87.9%{opacity:1}88%,100%{opacity:0}}
@keyframes kkw-flacker-bunt{0%,39.9%{opacity:1}40%,41.9%{opacity:0}42%,43.9%{opacity:1}44%,83.9%{opacity:0}84%,85.9%{opacity:1}86%,87.9%{opacity:0}88%,100%{opacity:1}}
@media (prefers-reduced-motion:reduce){.kkw-flacker-outline{animation:none;opacity:0}.kkw-flacker-bunt{animation:none;opacity:1}}

/* Mund: auf und zu */
.kkw-mund{position:relative;display:block;width:100%}
.kkw-mund img{display:block;width:100%!important;height:auto!important;max-width:none!important}
.kkw-mund-zu{position:absolute;top:0;left:0;opacity:0;animation:kkw-mund-zu 11.5s infinite}
.kkw-mund-offen{animation:kkw-mund-offen 11.5s infinite}
@keyframes kkw-mund-zu{0%,17.3%{opacity:0}17.4%,34.7%{opacity:1}34.8%,43.4%{opacity:0}43.5%,47.7%{opacity:1}47.8%,91.2%{opacity:0}91.3%,100%{opacity:1}}
@keyframes kkw-mund-offen{0%,17.3%{opacity:1}17.4%,34.7%{opacity:0}34.8%,43.4%{opacity:1}43.5%,47.7%{opacity:0}47.8%,91.2%{opacity:1}91.3%,100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.kkw-mund-zu{animation:none;opacity:0}.kkw-mund-offen{animation:none;opacity:1}}

/* Auge: links, unten, rechts */
.kkw-auge{position:relative;display:block;width:100%}
.kkw-auge img{display:block;width:100%!important;height:auto!important;max-width:none!important}
.kkw-auge-unten,.kkw-auge-rechts{position:absolute;top:0;left:0;opacity:0}
.kkw-auge-links{animation:kkw-auge-links 8.5s infinite}
.kkw-auge-unten{animation:kkw-auge-unten 8.5s infinite}
.kkw-auge-rechts{animation:kkw-auge-rechts 8.5s infinite}
@keyframes kkw-auge-links{0%,23.4%{opacity:1}23.5%,47%{opacity:0}47.1%,58.7%{opacity:1}58.8%,100%{opacity:0}}
@keyframes kkw-auge-unten{0%,23.4%{opacity:0}23.5%,47%{opacity:1}47.1%,94%{opacity:0}94.1%,100%{opacity:1}}
@keyframes kkw-auge-rechts{0%,58.7%{opacity:0}58.8%,94%{opacity:1}94.1%,100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.kkw-auge-links{animation:none;opacity:1}.kkw-auge-unten,.kkw-auge-rechts{animation:none;opacity:0}}


/* --------------------------------------------------------------------------
   3. Programmtabelle (Desktop und Mobil)
   -------------------------------------------------------------------------- */

table.kkw-programm{width:100%!important;max-width:800px!important;border-collapse:separate!important;border-spacing:0!important;border:0!important;margin:0!important}
table.kkw-programm tr td{padding:14px 0!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.2)!important;vertical-align:top;font-size:18px}
table.kkw-programm tr:last-child td{border-bottom:0!important}
table.kkw-programm tr.kkw-mit-info td{border-bottom:0!important;padding-bottom:10px!important}
table.kkw-programm tr.kkw-info td{padding:0 0 16px!important}
table.kkw-programm tr td.zeit{width:1%;white-space:nowrap;padding-right:2rem!important;font-family:'Cubano',Helvetica,Arial,Lucida,sans-serif;color:#CADF00}
table.kkw-programm tr td.punkt{font-family:'Oscine_Bold',Helvetica,Arial,Lucida,sans-serif;font-weight:500;color:#fff}
table.kkw-programm .kkw-was{font-family:'Oscine_Bold',Helvetica,Arial,Lucida,sans-serif;font-weight:500;font-size:16px;line-height:1.3;padding-top:2px}

/* Gelbe Box (Titel, Unternehmen, Person) mit Mikrofon */
table.kkw-programm .kkw-details{position:relative;background:#CADF00;border-radius:10px;padding:11px 14px 11px 46px;box-sizing:border-box;box-shadow:0 4px 12px rgba(30,30,28,.25)}
table.kkw-programm .kkw-details + .kkw-details{margin-top:10px}
table.kkw-programm .kkw-details:before{content:'';position:absolute;left:14px;top:50%;width:17px;height:17px;margin-top:-8.5px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='11' rx='3'/%3E%3Cpath d='M5 10a7 7 0 0 0 14 0'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M8 21h8'/%3E%3C/svg%3E") no-repeat center/contain}
table.kkw-programm .kkw-titel{font-family:'Oscine_xBold',Helvetica,Arial,Lucida,sans-serif;font-weight:700;font-size:18px;line-height:1.3;color:#1E1E1C;margin-bottom:8px}
table.kkw-programm .kkw-akteur{font-family:'Oscine_xBold',Helvetica,Arial,Lucida,sans-serif;font-weight:700;font-size:14px;line-height:1.15;text-transform:uppercase;letter-spacing:.05em;color:rgba(30,30,28,.85)}
table.kkw-programm .kkw-person{font-family:'Oscine_Bold',Helvetica,Arial,Lucida,sans-serif;font-weight:500;font-size:14px;line-height:1.35;color:rgba(30,30,28,.85);margin-top:2px}
table.kkw-programm .kkw-person + .kkw-akteur{margin-top:2px}

/* Kunst-Box mit Farbpalette (z. B. WUNDERart) */
table.kkw-programm .kkw-details.kkw-kunst:before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21a9 9 0 0 1 0-18c4.97 0 9 3.58 9 8 0 1.06-.47 2.08-1.32 2.83-.84.75-1.99 1.17-3.18 1.17h-2.5a2 2 0 0 0-1 3.75 1.3 1.3 0 0 1-1 2.25'/%3E%3Ccircle cx='7.5' cy='10.5' r='1'/%3E%3Ccircle cx='12' cy='7.5' r='1'/%3E%3Ccircle cx='16.5' cy='10.5' r='1'/%3E%3C/svg%3E") no-repeat center/contain}

/* Schwarze Moderationsbox mit Mikrofon */
table.kkw-programm .kkw-details.kkw-moderation{background:#1E1E1C}
table.kkw-programm .kkw-details.kkw-moderation:before{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='11' rx='3'/%3E%3Cpath d='M5 10a7 7 0 0 0 14 0'/%3E%3Cpath d='M12 17v4'/%3E%3Cpath d='M8 21h8'/%3E%3C/svg%3E") no-repeat center/contain}
table.kkw-programm .kkw-label{font-family:'Oscine_xBold',Helvetica,Arial,Lucida,sans-serif;font-weight:700;font-size:12px;line-height:1.3;text-transform:uppercase;letter-spacing:.06em;color:#CADF00;margin-bottom:3px}
table.kkw-programm .kkw-name{font-family:'Oscine_xBold',Helvetica,Arial,Lucida,sans-serif;font-weight:700;font-size:16px;line-height:1.3;color:#fff}
table.kkw-programm .kkw-org{font-family:'Oscine_Bold',Helvetica,Arial,Lucida,sans-serif;font-weight:500;font-size:14px;line-height:1.35;color:rgba(255,255,255,.55);margin-top:3px}

@media(max-width:600px){table.kkw-programm tr td.zeit{padding-right:1rem!important}table.kkw-programm .kkw-details{padding:10px 12px 10px 42px}table.kkw-programm .kkw-details:before{left:12px;width:15px;height:15px;margin-top:-7.5px}}


/* --------------------------------------------------------------------------
   4. Programm Mobil: Umschalter #1 / #2 / #3
   -------------------------------------------------------------------------- */

.kkw-tab-input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none}
.kkw-tab-nav{display:flex;border:2px solid #1E1E1C;border-radius:999px;padding:4px;gap:4px;margin:0 0 28px}
.kkw-tab-btn{flex:1;text-align:center;padding:10px 0;border-radius:999px;cursor:pointer;font-family:'Cubano',Helvetica,Arial,Lucida,sans-serif;font-size:20px;color:#1E1E1C;transition:background .2s,color .2s;user-select:none}
.kkw-tab-panel{display:none}
.kkw-tab-titel{font-family:'Cubano',Helvetica,Arial,Lucida,sans-serif!important;color:#1E1E1C!important;font-size:26px!important;text-transform:uppercase;padding:0 0 10px!important;margin:0!important}
#kkw-tab1:checked ~ .kkw-tab-nav .kkw-btn1,#kkw-tab2:checked ~ .kkw-tab-nav .kkw-btn2,#kkw-tab3:checked ~ .kkw-tab-nav .kkw-btn3{background:#1E1E1C;color:#fff}
#kkw-tab1:checked ~ .kkw-panel1,#kkw-tab2:checked ~ .kkw-panel2,#kkw-tab3:checked ~ .kkw-panel3{display:block}
#kkw-tab1:focus-visible ~ .kkw-tab-nav .kkw-btn1,#kkw-tab2:focus-visible ~ .kkw-tab-nav .kkw-btn2,#kkw-tab3:focus-visible ~ .kkw-tab-nav .kkw-btn3{outline:2px solid #CADF00;outline-offset:2px}

/* Kalender-Buttons (vorbereitet für später) */
.kkw-kal{display:flex;flex-direction:column;gap:10px;margin:28px 0 0}
.kkw-kal-btn{display:block;text-align:center;background:#1E1E1C;color:#fff!important;border-radius:999px;padding:14px 20px;font-family:'Oscine_Bold',Helvetica,Arial,Lucida,sans-serif;font-weight:500;font-size:16px;text-decoration:none!important;transition:opacity .2s}
.kkw-kal-btn:hover{opacity:.85}


/* --------------------------------------------------------------------------
   5. Brevo-Anmeldeformular
   -------------------------------------------------------------------------- */

/* Grundschrift */
.sib-form.kkw-form,.sib-form.kkw-form .entry__field .input,.sib-form.kkw-form .input::placeholder,.sib-form.kkw-form .kkw-dsgvo,.sib-form.kkw-form .entry__error,.sib-form.kkw-form .sib-form-message-panel{font-family:'Oscine_Bold',Helvetica,Arial,Lucida,sans-serif!important;font-weight:500!important}

/* Fette Schrift */
.sib-form.kkw-form .entry__label,.sib-form.kkw-form .kkw-opt,.sib-form.kkw-form .sib-form-block__button{font-family:'Oscine_xBold',Helvetica,Arial,Lucida,sans-serif!important;font-weight:700!important}

/* Schriftgrößen */
.sib-form.kkw-form .entry__field .input,.sib-form.kkw-form .entry__label,.sib-form.kkw-form .kkw-opt,.sib-form.kkw-form .sib-form-block__button,.sib-form.kkw-form .entry__error,.sib-form.kkw-form .sib-form-message-panel{font-size:18px!important}
.sib-form.kkw-form .kkw-dsgvo{font-size:14px!important}

/* Layout */
.sib-form.kkw-form{background:transparent!important;padding:0!important;text-align:left!important}
.sib-form.kkw-form #sib-container{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;max-width:none!important;text-align:left!important}
.sib-form.kkw-form .sib-form-block{padding:0!important}
.sib-form.kkw-form .kkw-row{padding:8px 0}
.sib-form.kkw-form .entry__field{background:transparent!important;border:2px solid #fff!important;border-radius:999px!important;box-shadow:none!important;margin:0!important;transition:border-color .2s}
.sib-form.kkw-form .entry__field:focus-within{border-color:#CADF00!important}
.sib-form.kkw-form .entry__field .input{background:transparent!important;color:#fff!important;padding:12px 30px!important;height:auto!important;width:100%!important;border:0!important;box-shadow:none!important;margin:0!important;outline:none!important}
.sib-form.kkw-form .input::placeholder{color:#fff!important;opacity:.9!important}
.sib-form.kkw-form .entry__label{color:#fff!important;text-align:left!important;margin:20px 0 12px!important;padding:0!important}
.sib-form.kkw-form .entry__label:after{content:none!important}
.sib-form.kkw-form .entry__choice{margin:0 0 14px!important;padding:0!important}
.sib-form.kkw-form .entry__choice label{display:flex!important;align-items:center!important;gap:16px!important;cursor:pointer!important;position:relative!important;padding:0!important;margin:0!important;text-indent:0!important}
.sib-form.kkw-form .input_replaced{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important}
.sib-form.kkw-form .kkw-opt{color:#fff!important;line-height:1.2!important}
.sib-form.kkw-form .kkw-dsgvo{color:#fff!important;line-height:1.45!important}
.sib-form.kkw-form .kkw-dsgvo a{color:#fff!important;text-decoration:underline!important}
.sib-form.kkw-form .kkw-optin{padding-top:16px}

/* Datenschutz: runde Checkbox mit Haken */
.sib-form.kkw-form .checkbox{flex:0 0 32px!important;width:32px!important;height:32px!important;border:2px solid #fff!important;border-radius:50%!important;background:transparent!important;margin:0!important;position:relative!important;top:auto!important;left:auto!important;box-shadow:none!important;box-sizing:border-box!important}
.sib-form.kkw-form .checkbox:before{display:none!important}
.sib-form.kkw-form .checkbox:after{content:''!important;display:none!important;position:absolute!important;left:9px!important;top:4px!important;width:9px!important;height:15px!important;border:solid #1e1e1e!important;border-width:0 3px 3px 0!important;background:transparent!important;opacity:1!important;transform:rotate(45deg)!important}
.sib-form.kkw-form .input_replaced:checked + .checkbox{background:#D98AF5!important;border-color:#D98AF5!important}
.sib-form.kkw-form .input_replaced:checked + .checkbox:after{display:block!important}
.sib-form.kkw-form .input_replaced:focus + .checkbox{outline:2px solid #CADF00;outline-offset:3px}

/* Standorte: Toggles */
.sib-form.kkw-form .sib-checkbox-group .checkbox{flex:0 0 56px!important;width:56px!important;height:32px!important;border-radius:999px!important;transition:background .2s,border-color .2s}
.sib-form.kkw-form .sib-checkbox-group .checkbox:after{display:block!important;left:3px!important;top:3px!important;width:22px!important;height:22px!important;border:0!important;border-radius:50%!important;background:#fff!important;transform:translateX(0)!important;transition:transform .2s,background .2s}
.sib-form.kkw-form .sib-checkbox-group .input_replaced:checked + .checkbox:after{transform:translateX(24px)!important;background:#1e1e1e!important}

/* Button */
.sib-form.kkw-form .sib-form-block__button{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;background:#A447BD!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:16px 24px!important;cursor:pointer!important;margin:12px 0 0!important;transition:background .2s}
.sib-form.kkw-form .sib-form-block__button:hover{background:#8E35A6!important}

/* Meldungen */
.sib-form.kkw-form .entry__error{background:transparent!important;border:0!important;color:#FF9B9B!important;padding:6px 0 0 30px!important;margin:0!important}
.sib-form.kkw-form .sib-form-message-panel{max-width:none!important;border-radius:14px!important;margin:0 0 16px!important}
@media(max-width:600px){.sib-form.kkw-form .entry__field .input{padding:11px 24px!important}}


/* --------------------------------------------------------------------------
   6. Footer
   -------------------------------------------------------------------------- */

/* Footer-Links Desktop & Mobil */
.kkw-footer-links{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;border-top:3px solid #1E1E1C;padding-top:20px}
.kkw-footer-links a{font-family:'Oscine_xBold',Helvetica,Arial,Lucida,sans-serif!important;font-weight:700!important;font-size:18px;color:#1E1E1C!important;text-decoration:none!important;white-space:nowrap;margin-right:16px;transition:opacity .2s}
.kkw-footer-links a:last-child{margin-right:0}
.kkw-footer-links a:hover{opacity:.6}
@media(max-width:600px){.kkw-footer-links{justify-content:flex-start;padding-top:14px}.kkw-footer-links a{width:50%;margin:0 0 10px;font-size:14px;box-sizing:border-box;padding-right:8px}.kkw-footer-links a:nth-child(even){text-align:right;padding-right:0;padding-left:8px}}
