/* ==========================================================================
   Zeltln Waging - Stylesheet
   Ersetzt flatsome.css (152 KB) und 30 KB eingebettetes CSS aus WordPress.
   Masse und Farben sind aus der alten Seite uebernommen, damit sich optisch
   nichts aendert. Umbruchpunkt: 550 px (wie vorher).
   ========================================================================== */

/* --- Schriften (selbst gehostet, wie vorher) ----------------------------- */
@font-face{font-family:'Bowlby One';font-style:normal;font-weight:400;font-display:swap;
  src:url(../fonts/bowlby-one-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;
  src:url(../fonts/lato-400-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;
  src:url(../fonts/lato-400-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;
  src:url(../fonts/lato-700-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;
  src:url(../fonts/lato-700-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* --- Grundlage ----------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}

html{
  min-height:100%;min-width:100%;
  background:#ffcf03 url(../img/hintergrund.webp) no-repeat center top fixed;
  background-size:cover;
}
body{
  max-width:900px;margin:0 auto;padding:0;
  font:400 16px/1.6 Lato,sans-serif;color:#4c4c4c;
  -webkit-text-size-adjust:100%;
}

h1,h2,h3,h4,h5,h6{font-family:'Bowlby One',sans-serif;font-weight:400;color:#3a3a3a;margin:0 0 .5em;width:100%}
h1{font-size:1.7em;line-height:1.3}
h2{font-size:1.6em;line-height:1.3}
h3{font-size:1.25em;line-height:1.6}
h4{font-size:1.125em;line-height:1.6}
h5{font-size:1em;line-height:1.6}
h6{font-size:.85em;line-height:1.05;letter-spacing:.05em;text-transform:uppercase;opacity:.8}
h6 span{font-weight:500}
@media (max-width:549px){
  h1{font-size:1.4em}
  h2{font-size:1.2em}
  h3,h4{font-size:1em}
}
p{margin:0 0 1.3em}
a{color:#e94e0d;text-decoration:none}
a:hover{text-decoration:underline}
.link-schlicht{color:inherit}
strong,b{font-weight:700}
del{text-decoration:line-through}
img{display:block;max-width:100%;height:auto;border-style:none}

/* Sichtbarer Rahmen fuer alle, die mit der Tastatur navigieren */
:focus-visible{outline:3px solid #2b2b2b;outline-offset:3px;border-radius:3px}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms !important;animation-duration:.01ms !important}
}
/* Tabelle der Vorverkaufsstellen.
   Vorher: Arial, graue Rahmen und blaue Links aus einem fremden Stylesheet,
   das im alten Seiteninhalt mit einkopiert war, dazu direkt auf dem bunten
   Hintergrund. Jetzt in der Schrift und den Farben der Seite auf hellem Feld. */
table{width:100%;border-collapse:collapse;margin:0}
.tabelle-vvk th,.tabelle-vvk td{text-align:left;vertical-align:top;
  padding:9px 12px;border-bottom:1px solid #ece2bd;font-size:.95em;line-height:1.35}
.tabelle-vvk th{font-size:.78em;font-weight:700;color:#3a3a3a;letter-spacing:.06em;
  text-transform:uppercase;border-bottom:2px solid #e2d59f;padding-bottom:7px}
.tabelle-vvk td{color:#5f5f5f}
.tabelle-vvk td:first-child{color:#3a3a3a;font-weight:700}
.tabelle-vvk th:first-child,.tabelle-vvk td:first-child{padding-left:0}
.tabelle-vvk th:last-child,.tabelle-vvk td:last-child{padding-right:0}
.tabelle-vvk tbody tr:last-child td{border-bottom:0}
.tabelle-vvk tbody tr:hover td{background:#fff6cd}
@media (min-width:700px){
  .tabelle-vvk{table-layout:fixed}
  .tabelle-vvk th:nth-child(1){width:24%}
  .tabelle-vvk th:nth-child(2){width:27%}
  .tabelle-vvk th:nth-child(3){width:16%}
  .tabelle-vvk td:nth-child(3){white-space:nowrap}
  .tabelle-vvk td:nth-child(4){overflow-wrap:anywhere}
}

/* Auf dem Telefon je Stelle ein Block statt einer Tabelle zum Seitwaertsrollen */
@media (max-width:699px){
  .tabelle-vvk,.tabelle-vvk tbody,.tabelle-vvk tr,.tabelle-vvk td{display:block;width:100%}
  .tabelle-vvk thead{display:none}
  .tabelle-vvk tr{border-bottom:1px solid #ece2bd;padding:12px 0}
  .tabelle-vvk tr:first-child{padding-top:0}
  .tabelle-vvk tr:last-child{border-bottom:0;padding-bottom:0}
  .tabelle-vvk td{border:0;padding:1px 0;font-size:1em}
  .tabelle-vvk td:empty{display:none}
  .tabelle-vvk td:first-child{font-size:1.05em;padding-bottom:4px}
  .tabelle-vvk tbody tr:hover td{background:none}
}
@media (min-width:700px) and (max-width:849px){
  .tabelle-rollbar{overflow-x:auto;overflow-y:hidden}
}

/* Unterseiten hatten in WordPress 30 px Luft oben und unten */
.seiten-rahmen{padding:30px 0}

/* --- Raster -------------------------------------------------------------- */
.row{display:flex;flex-flow:row wrap;width:100%;max-width:1080px;margin:0 auto}
.col{display:block;position:relative;flex-basis:100%;max-width:100%;padding:0 15px 30px}
.col-inner{position:relative;width:100%;margin:0 auto}

.row .row{width:auto;margin-left:-15px;margin-right:-15px}
.row--mitte{justify-content:center}
.row .row--eng{width:100%;margin-left:0;margin-right:0;padding:0}
.row--eng>.col{padding:0}
.row .row--klein{margin-left:-10px;margin-right:-10px}
.row--klein>.col{padding:0 9.8px 19.6px}

.s2{flex-basis:16.6667%;max-width:16.6667%}
.s6{flex-basis:50%;max-width:50%}
.s10{flex-basis:83.3333%;max-width:83.3333%}
.s11{flex-basis:91.6667%;max-width:91.6667%}
.s12{flex-basis:100%;max-width:100%}
@media (min-width:550px){
  .m1{flex-basis:8.3333%;max-width:8.3333%}
  .m2{flex-basis:16.6667%;max-width:16.6667%}
  .m3{flex-basis:25%;max-width:25%}
  .m6{flex-basis:50%;max-width:50%}
  .m8{flex-basis:66.6667%;max-width:66.6667%}
  .m9{flex-basis:75%;max-width:75%}
  .m10{flex-basis:83.3333%;max-width:83.3333%}
  .m12{flex-basis:100%;max-width:100%}
}

/* --- Hilfsklassen -------------------------------------------------------- */
.text-mitte{text-align:center}
.text-links{text-align:left}
.gross{text-transform:uppercase;line-height:1.2;letter-spacing:.05em}
.lh-xs{line-height:.85 !important}
.lh-xl{line-height:1.6 !important}
.fs-80{font-size:80%}
.fs-110{font-size:110%}
.fs-120{font-size:120%}
.nur-vorleser{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Abstandshalter - Werte wie im alten Seitenaufbau */
.abstand-kopf{padding-top:15px}
.abstand-15{padding-top:15px}

/* --- Bilder -------------------------------------------------------------- */
.bild{width:100%}
.text-mitte .bild{margin-left:auto;margin-right:auto}
.col-inner>.bild:not(:last-child){margin-bottom:1em}
.bild__inner{position:relative;overflow:hidden}
.bild img{width:100%}
.deckend{position:relative;padding-top:100%;overflow:hidden}
.deckend img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}

.bild-jahr{width:97%}
@media (min-width:550px){
  .bild-programm{width:75%}
}

/* --- Kopf: Jahresplakat ------------------------------------------------- */
.ci-programmtitel{margin:-25px 0 0}
.plakat{margin:0 0 22px;border-radius:10px;overflow:hidden;box-shadow:0 6px 24px rgba(120,60,0,.18)}
.plakat img{width:100%}

/* --- Karten -------------------------------------------------------------- */
.karte{background:#fffbe2;border-radius:10px;padding:15px}
.karte-hell{background:#fffae2;border-radius:10px}
/* Mehr Luft, wo laengerer Text in der Karte steht (Impressum, Vorverkauf) */
.karte-inhalt{padding:20px 18px}
@media (min-width:550px){ .karte-inhalt{padding:28px 30px} }

/* Programmtermin */
.event--abgesagt{background:#ff8e8e}
.ci-event-text{margin:10px 0 0}
@media (min-width:550px){ .ci-event-text{margin:-5px 0 -6px -30px} }
.termin{color:#d83131;font-weight:700}
.termin__sep{color:#3a3a3a}
/* Vorher weiss auf Rosa - zu schwach zu lesen */
.event--abgesagt .termin,.event--abgesagt .termin__sep,.event--abgesagt .untertitel{color:#7d1414}
.untertitel{color:#d83131}

/* --- Knoepfe ------------------------------------------------------------- */
/* Vorher: oranger Block mit einer leeren ersten Zeile, der Text sass oben.
   Jetzt ein Knopf mit mittigem Text und gleicher Hoehe. */
.knopf{display:flex;align-items:center;justify-content:center;min-height:52px;
  padding:.7em 1.1em;background:#d95104;color:#fffbe2;border-radius:5px;
  font-family:'Bowlby One',sans-serif;font-size:1.125em;line-height:1.25;text-align:center;
  transition:background .15s ease,transform .1s ease}
.knopf:hover{background:#b94303;text-decoration:none}
.knopf:active{transform:translateY(1px)}
.knopf--passiv{background:none;border:2px solid #d95104;color:#c04703;cursor:default}
.col--ticket{display:flex;align-items:center}
.col--ticket .col-inner{width:100%}
@media (max-width:549px){ .col--ticket{padding-top:12px} }

/* Hotline, Instagram, Facebook unten auf der Seite */
.kontakt-knoepfe{display:flex;flex-direction:column;gap:12px}
@media (min-width:550px){
  .kontakt-knoepfe{flex-direction:row}
  .kontakt-knoepfe .knopf{flex:1 1 0}
  .kontakt-knoepfe .knopf:first-child{flex-grow:1.6}
}

/* --- Kacheln Galerie / Programm / Anfahrt -------------------------------- */
/* Vorher fuehrten Flaeche und Wort einer Kachel auf verschiedene Ziele. */
.kachel{display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:150px;padding:20px;background:#d85104;border-radius:10px;
  font-family:'Bowlby One',sans-serif;color:#fffbe2;text-align:center;
  transition:background .15s ease}
.kachel:hover{background:#b94303;text-decoration:none}
.kachel__wort{font-size:1.9em;line-height:1;letter-spacing:.05em;text-transform:uppercase}
.kachel__wort--klein{font-size:1.05em;margin-top:12px}
.kachel__icon{width:auto;height:56px}

/* --- Parkplaetze --------------------------------------------------------- */
.ci-parkplatz{padding:15px 10px;border-radius:10px}
.ci-parkplatz-titel{margin:0 0 -9px}
.ci-pp-namen{margin:-20px 0}
.ci-pp-zahlen{margin:-20px 0 0}
.ci-trenner{margin:0 0 -17px}
.ci-gesamt{padding:0;margin:0 0 -30px}
@media (min-width:550px){
  .ci-parkplatz{padding:15px 15px 15px 14px}
  .ci-pp-namen,.ci-pp-zahlen{margin:0 0 -20px}
  .ci-trenner{margin:-20px 0 0}
  .ci-gesamt{margin:-20px 0 -25px}
}
.trenner{display:block;width:100%;max-width:100%;height:1px;background:rgba(0,0,0,.1);margin:0}

/* --- Jahreslogo ---------------------------------------------------------- */
.ci-jahr{padding:20px 20px 25px;border-radius:10px;background:#fff}

/* --- Kopf der Unterseiten (Impressum, Vorverkauf) ------------------------ */
.ci-kleiner-kopf{padding:0 0 6px}
.bild-kleines-logo{width:46%;max-width:170px;margin:0 auto 14px}
.ci-kleiner-kopf h1{margin:0 0 .4em}

/* --- Lesetext (Impressum) ------------------------------------------------ */
/* Vorher stand der Text direkt auf dem bunten Hintergrund. */
.lesetext{color:#4c4c4c}
.lesetext p{margin:0 0 1.1em}
.lesetext p:last-child{margin-bottom:0}
.zwischentitel{font-family:'Bowlby One',sans-serif;font-weight:400;color:#3a3a3a;
  font-size:1.05em;line-height:1.35;margin:1.9em 0 .6em}
.zwischentitel--klein{font-family:Lato,sans-serif;font-weight:700;font-size:1em;margin:1.6em 0 .4em}
.lesetext>:first-child{margin-top:0}
.zurueck{margin:0}
.flickr{margin:0;padding:16px 0 2px;font-size:.95em}

/* --- Galerie ------------------------------------------------------------- */
.galerie{display:flex;flex-flow:row wrap;margin:0 -15px -30px}
.galerie__feld{flex-basis:100%;max-width:100%;height:133.333333px;padding:0 15px 30px}
.galerie__feld--gross{height:400px}
.galerie__box{display:block;position:relative;height:100%;overflow:hidden;border-radius:4px}
.galerie__box img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;
  transition:transform .35s ease}
/* Vorher lag auf jedem Bild dauerhaft ein grauer Schleier. */
.galerie__box::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;
  background:rgba(0,0,0,0);transition:background .2s ease}
.galerie__box:hover img,.galerie__box:focus-visible img{transform:scale(1.04)}
.galerie__box:hover::after{background:rgba(0,0,0,.2)}
@media (min-width:550px){
  .galerie__feld{height:200px}
  .galerie__feld--gross{height:600px}
}
@media (min-width:850px){
  .galerie__feld{flex-basis:33.3333%;max-width:33.3333%}
  .galerie__feld--gross{flex-basis:100%;max-width:100%}
}

/* --- Lichtkasten --------------------------------------------------------- */
.lichtkasten{position:fixed;top:0;left:0;right:0;bottom:0;z-index:1000;display:none;
  background:rgba(11,11,11,.88);align-items:center;justify-content:center;padding:20px}
.lichtkasten[open]{display:flex}
.lichtkasten__figur{margin:0;display:flex;flex-direction:column;align-items:center;max-width:100%}
.lichtkasten img{max-width:100%;max-height:82vh;width:auto;object-fit:contain;border-radius:4px}
.lichtkasten figcaption{color:#fffbe2;font-size:.95em;padding:12px 0 0;text-align:center}
.lichtkasten button{background:none;border:0;color:#fff;cursor:pointer;
  font:400 32px/1 Lato,sans-serif;padding:8px;line-height:1}
.lichtkasten__zu{position:absolute;top:10px;right:16px;font-size:38px}
.lichtkasten__pfeil{position:absolute;top:50%;transform:translateY(-50%);
  width:52px;height:52px;font-size:40px;border-radius:999px;
  transition:background .15s ease}
.lichtkasten__pfeil:hover{background:rgba(255,255,255,.15)}
.lichtkasten__pfeil--zurueck{left:8px}
.lichtkasten__pfeil--vor{right:8px}

/* --- Nach oben ----------------------------------------------------------- */
/* Gerade auf dem Telefon ist die Startseite lang - der Knopf hilft dort am
   meisten, vorher war er genau dort ausgeblendet. */
.nach-oben{position:fixed;right:16px;bottom:16px;width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
  background:#d95104;border-radius:999px;opacity:0;pointer-events:none;
  transform:translateY(30%);transition:opacity .3s,transform .3s,background .15s;z-index:50}
.nach-oben:hover{background:#b94303}
.nach-oben.aktiv{opacity:1;pointer-events:auto;transform:translateY(0)}
.nach-oben svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2.5}
@media (min-width:850px){ .nach-oben{right:20px;bottom:20px} }
