/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ========================================
   Fonts – Inter lokal
   ======================================== */

@font-face {
  font-family: 'Inter';
  src: url(//deinsport.de/wp-content/themes/hello-theme-child-master/fonts/Inter_18pt-Light.woff2) format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url(//deinsport.de/wp-content/themes/hello-theme-child-master/fonts/Inter_18pt-Regular.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url(//deinsport.de/wp-content/themes/hello-theme-child-master/fonts/Inter_18pt-Medium.woff2) format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url(//deinsport.de/wp-content/themes/hello-theme-child-master/fonts/Inter_18pt-SemiBold.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url(//deinsport.de/wp-content/themes/hello-theme-child-master/fonts/Inter_18pt-Bold.woff2) format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* ========================================
   Base Typography
   ======================================== */

html,
body,
* {
  font-family: 'Inter', Arial, sans-serif;
}

body {
  line-height: 1.6;
}

h1,
h2 {
  font-weight: 600;
}

h3,
h4,
h5,
h6 {
  font-weight: 500;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-top: 0;
}

.headline-dot {
  color: #9944C3;
}

/* ========================================
   Video Placeholder (YT + Vimeo unified)
   ======================================== */

.yt-placeholder,
.privacy-video-placeholder {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  isolation: isolate; /* verhindert Rendering-Bugs */
}

/* Hintergrundbild */
.yt-thumb,
.privacy-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: center / cover no-repeat;
  filter: blur(6px);
  transform: scale(1.05);
  z-index: 1;
}

/* Overlay */
.yt-overlay,
.privacy-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Content Box */
.yt-content,
.privacy-video-content {
  max-width: 520px;
  color: #fff;
}

/* Text */
.yt-content p,
.privacy-video-content p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff !important;
}

/* Button */
.yt-button,
.privacy-video-button {
  background: #382671;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.yt-button:hover,
.privacy-video-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* iframe */
.yt-placeholder iframe,
.privacy-video-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ========================================
   Mobile Optimierung
   ======================================== */

@media (max-width: 767px) {
  .yt-placeholder,
  .privacy-video-placeholder {
    min-height: 220px;
  }

  .yt-overlay,
  .privacy-video-overlay {
    padding: 16px;
  }

  .yt-content p,
  .privacy-video-content p {
    font-size: 13px;
  }

  .yt-button,
  .privacy-video-button {
    font-size: 13px;
    padding: 10px 14px;
  }
}

/* ========================================
   RCB Widget verstecken (wichtig!)
   ======================================== */

#rcb-change-settings {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}