/* 
Theme Name: Württemberger Medien
Theme URI: https://github.com/elementor/hello-theme/
Description: Württemberger Medien Elementor Child Theme
Author: Württemberger Medien
Author URI: https://w-medien.de/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elemento
r-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
*/

/*------------Browser-Scrollbalken einfärben-------------*/
html{
	scrollbar-color: var(--e-global-color-primary);
}

/*------------Globale Abstände-------------*/
:root {  

    --space-4xs: clamp(0.52rem, calc(-0.03vw + 0.54rem), 0.49rem); 
    --space-3xs: clamp(0.66rem, calc(0.04vw + 0.63rem), 0.7rem); 
    --space-2xs: clamp(0.82rem, calc(0.17vw + 0.74rem), 0.99rem); 
    --space-xs: clamp(1.02rem, calc(0.37vw + 0.85rem), 1.4rem); 
    --space-s: clamp(1.28rem, calc(0.69vw + 0.95rem), 1.98rem); 
    --space-m: clamp(1.6rem, calc(1.17vw + 1.04rem), 2.8rem); 
    --space-l: clamp(2rem, calc(1.92vw + 1.08rem), 3.96rem); 
    --space-xl: clamp(2.5rem, calc(3.03vw + 1.05rem), 5.6rem); 
    --space-2xl: clamp(3.13rem, calc(4.69vw + 0.88rem), 7.92rem); 
    --space-3xl: clamp(3.91rem, calc(7.13vw + 0.5rem), 11.19rem); 
    --space-4xl: clamp(4.88rem, calc(10.71vw + -0.24rem), 15.83rem); 
	
    --text-xs: clamp(1.42rem, calc(-0.03vw + 1.44rem), 1.39rem); 
    --text-s: clamp(1.6rem, calc(0.07vw + 1.57rem), 1.67rem); 
    --text-m: clamp(1.8rem, calc(0.2vw + 1.71rem), 2rem); 
    --text-l: clamp(2.02rem, calc(0.37vw + 1.85rem), 2.4rem); 
    --text-xl: clamp(2.28rem, calc(0.59vw + 2rem), 2.88rem); 
    --text-2xl: clamp(2.56rem, calc(0.87vw + 2.15rem), 3.46rem); 
    --text-3xl: clamp(2.88rem, calc(1.24vw + 2.29rem), 4.15rem); 
    --text-4xl: clamp(3.24rem, calc(1.7vw + 2.43rem), 4.98rem); 

    --radius-xs: clamp(0.4rem, calc(0vw + 0.4rem), 0.4rem); 
    --radius-s: clamp(0.6rem, calc(-0.2vw + 0.89rem), 0.8rem); 
    --radius-m: clamp(1rem, calc(-0.2vw + 1.29rem), 1.2rem); 
    --radius-l: clamp(1.6rem, calc(-0.39vw + 2.19rem), 2rem); 
    --radius-xl: clamp(2.6rem, calc(-0.59vw + 3.48rem), 3.2rem); 
    --radius-full: 999rem; 

    --shadow-primary: hsla(0, 0%, 0%, 0.15); 
    --shadow-xs: 0 1px 2px var(--shadow-primary); 
    --shadow-s: 0 1.5px 3px var(--shadow-primary); 
    --shadow-m: 0 2px 6px var(--shadow-primary); 
    --shadow-l: 0 3px 12px var(--shadow-primary); 
    --shadow-xl: 0 6px 48px var(--shadow-primary); 

}

/*-----------Header-----------------*/

.header {
  position: fixed;
  background-color: white;
  top: 0;
  left: 0;
  right: 0;
  transition: transform 0.4s ease-in-out;
}

.hide-header {
  transform: translateY(-100%);
}

.kontaktbutton > a.elementor-item {
	    background-color: var(--e-global-color-primary);
	    color: #fff !important;
	    font-weight: 600;
	    padding: 12px 24px;
	    display: inline-flex;
	    align-items: center;
	    justify-content: center;
	    line-height: 1;
	    transition: background-color 0.25s ease, color 0.25s ease;
	}
	
.kontaktbutton > a.elementor-item:hover,
.kontaktbutton:hover > a.elementor-item,
.kontaktbutton.current-menu-item > a.elementor-item {
	    background-color: var(--e-global-color-secondary);
	    color: #fff !important;
	}
	
.kontaktbutton > a.elementor-item:before,
.kontaktbutton > a.elementor-item:after {
	    display: none !important;
	}


/*------------Sticky To-Top-Icon-------------*/
#iconUp {
	display: none;
	cursor: pointer;
}

/*------------Headline Balance Umbruch-------------*/
h1, h2, h3{
	text-wrap: balance;
}

/*------------Ungewünschter Abstand bei Texten raus-------------*/
p {
  margin-block-end: 0.0rem;!important /* oder ein kleiner Wert wie 5px */
}
	

/*------------Text-Markierung-------------*/
::selection {
	background-color: var(--e-global-color-primary);
	color: white;
}


/*------------Tabellarische Öffnungszeiten-------------*/
table.opening-hours {
    width: 100%;
    border-collapse: collapse;
    border: none;
    background: transparent;
}

/* Alle Zellen */
table.opening-hours,
table.opening-hours tr,
table.opening-hours th,
table.opening-hours td {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Kein Hover, kein Fokus */
table.opening-hours tr:hover,
table.opening-hours th:hover,
table.opening-hours td:hover {
    background: transparent !important;
}

/* Spalten sauber ausrichten */
table.opening-hours th {
    text-align: left;
    font-weight: 600; /* oder normal */
    padding: 0 1rem 0.25rem 0;
    white-space: nowrap;
}

table.opening-hours td {
    text-align: left;
    padding: 0 0 0.25rem 0;
}

/* Optional: etwas Abstand zwischen den Zeilen */
table.opening-hours tr {
    line-height: 1.6;
}

}