/*
Theme Name: Mike's Child Theme
Theme URI: https://olliewp.com
Description: This is Mike's custom child theme.
Author: Mike McAlister
Author URI: https://olliewp.com
Template:     ollie
Version: 1.0.3
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         blog, portfolio, entertainment, grid-layout, one-column, two-columns, three-columns, four-columns, block-patterns, block-styles, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, full-width-template, rtl-language-support, style-variations, template-editing, theme-options, translation-ready, wide-blocks
Text Domain: ollie-child
*/
/* Brand-Button Hover */
.wp-block-button.is-style-button-brand .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--main) !important;
    color: var(--wp--preset--color--base) !important;
}

/* Dark-Button Hover */
.wp-block-button.is-style-button-dark .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--base) !important;
}

/*--- MEC Veranstaltungsdetail -link nicht mehr sichtbar ---*/
.mec-detail-button {
    display: none !important;
}

.btn-wrapper {
    display: none !important;
}

/*--- Beschreibung bei Shortcodes entfernen ---*/
.mec-event-description {
    display: none !important;
}

/*--- CF7 Overlay ---*/
.cf7-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
.cf7-overlay.active { display: flex; }
.cf7-overlay-box {
    background: #fff;
    padding: 40px 60px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.cf7-spinner {
    width: 40px; height: 40px;
    border: 4px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: cf7spin 0.8s linear infinite;
}
@keyframes cf7spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------
   CF7 Formular – bessere Lesbarkeit
   ------------------------------------------------ */

/* Mehr Abstand zwischen den Feldern */
.wpcf7-form p {
    margin-bottom: 2em;
}

/* Labels klar über dem Feld, grau und leicht fett */
.wpcf7-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
	margin-top:1.2em;
}

/* Eingabefelder volle Breite mit einheitlichem Styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    color: inherit;
    background: #fff;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #3f5ead;
    box-shadow: 0 0 0 3px rgba(63, 94, 173, 0.15);
}

/* Radio- und Checkbox-Gruppen: Rahmen um zusammengehörige Optionen */
.wpcf7-form .wpcf7-radio,
.wpcf7-form .wpcf7-checkbox {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 4px;
}

/* Jede Option als Zeile mit Abstand zwischen Icon und Text */
.wpcf7-form .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

/* Label der Option: normal (nicht fett), voll klickbar */
.wpcf7-form .wpcf7-list-item label {
    font-weight: 400;
    font-size: 1rem;
    color: inherit;
    margin: 0;
    cursor: pointer;
}

/* Radio/Checkbox größer und besser klickbar */
.wpcf7-form .wpcf7-list-item input[type="radio"],
.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    accent-color: #3f5ead;
}

/* Datenschutz-Checkbox: Text umbrechen sauber */
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
    align-items: flex-start;
    border: none;
    padding: 0;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    margin-top: 3px;
}

/* Fehlermeldungen rot unter dem Feld */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.wpcf7-form .wpcf7-not-valid input,
.wpcf7-form .wpcf7-not-valid select,
.wpcf7-form .wpcf7-not-valid textarea {
    border-color: #c0392b;
}

/* Absenden-Button */
.wpcf7-form input[type="submit"] {
	width: auto;
	padding: 0.6em 1em;
	background-color: #FF6637 !important;
	color: #fff !important;
	border: none;
	border-radius: 5px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
	background-color: #14100EC4 !important;
	color: #fff !important;
}

/* Datenschutz-Checkbox: Abstand zwischen Checkbox und Text */
.wpcf7-form .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #3f5ead;
}
/*--- alt: .wpcf7-form .wpcf7-acceptance {
	display: block;
	background: #FFEBE1;
	border: 1px solid #ffd5c8;
	border-radius: 8px;
	padding: 12px 14px;
	margin-top: 8px;
}--*/

.wpcf7-form .wpcf7-acceptance {
    background: #FFEBE1;
    border: 1px solid #ffd5c8;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 8px;
}

.wpcf7-form .wpcf7-acceptance {
    display: block;
    flex-shrink: 0;
}

/*--- Welle fuer In meiner Haut ---*/
/* Eine Variable steuert Höhe der Welle UND den reservierten Platz – bleibt immer synchron */
:root {
  --wave-height: clamp(50px, 8vw, 160px);
}

/* Auf den Gruppen-Block setzen, der eine Welle bekommt */
.wave-section {
  position: relative;
}

/* Zusätzlich zu .wave-section, wenn die Welle UNTEN sitzt */
.wave-section--pb {
  padding-bottom: var(--wave-height) !important;
}

/* Zusätzlich zu .wave-section, wenn die Welle OBEN sitzt */
.wave-section--pt {
  padding-top: var(--wave-height) !important;
}

/* Die Welle selbst - liegt exakt im reservierten Padding-Bereich, nie über dem Text */
.wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--wave-height);
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}

.wave-divider--top    { top: 0; }
.wave-divider--bottom { bottom: 0; }

.wave-divider--flip svg {
  transform: translateX(-50%) rotate(180deg);
}

.wave-divider svg {
  display: block;
  position: relative;
  left: 50%;
  width: calc(100% + 1.3px);
  height: 100%;
  transform: translateX(-50%);
}

.wave-fill {
  fill: #ffffff; /* wird pro Instanz überschrieben, siehe HTML unten */
}

/*--- video modal von cover block auf in meiner haut website ---*/
.ollie-video-modal__close {
  top: 12px !important;
  right: 12px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 50% !important;
  z-index: 20 !important;
}

/*--- eigenen png Playbutton ---*/
.ollie-video-modal-trigger[data-play-icon="always"]::after {
  background-image: url('https://new.hautnetz-deutschland.de/wp-content/uploads/2025/11/Film-ab-Button.png') !important;
  background-color: transparent !important;
  background-size: contain !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;

  --play-icon-size: 200px;

  top: 75% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}