/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Uschi Rapp
 Author URI:   https://www.uschi-rapp-media.de
 Template:     generatepress
 Version:      0.1
*/

/* =========================
   FONT Size Fluid Typography Scale
========================= */


h1, .fs-h1 {
	font-size: clamp(1.875rem, 1.7045rem + 0.6818vw, 2.25rem);
}

h2, .fs-h2 {
	font-size: clamp(1.6875rem, 1.5341rem + 0.6136vw, 2.025rem);
}

h3, .fs-h3 {
	font-size: clamp(1.4063rem, 1.2784rem + 0.5114vw, 1.6875rem);
}

h4, .fs-h4 {
	font-size: clamp(1.2656rem, 1.1506rem + 0.4602vw, 1.5188rem);
}

p, .fs-p {
	font-size: clamp(1.1063rem, 0.8523rem + 0.3409vw, 1.125rem);
}

/* =========================
   THEME TWEAKS von KvD
========================= */

/* Header padding with responsive clamp */
.site-header {
    padding-inline: clamp(1rem, 0.848rem + 0.758vw, 1.5rem);
}

/* Typography wrapping */
/* Balance headings and elements with `.balance` class */
:is(h1, h2, h3, h4, h5, h6),
.balance {
    text-wrap: balance;
}

/* Use pretty wrapping for body text elements */
p,
blockquote,
li {
    text-wrap: pretty;
}

/* Remove bottom margin from final paragraph */
p:last-child:last-of-type {
    margin-bottom: 0px;
}


/* =========================
   UTILITIES
========================= */

/* Line Clamping */
.line-limit-3,
.line-limit-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-limit-3 {
    -webkit-line-clamp: 3;
}

.line-limit-2 {
    -webkit-line-clamp: 2;
}

/* Visually Hidden (accessible to screen readers) */
.visually-hidden:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Smooth Transition Utility */
.transition {
    transition: all 0.25s ease-in-out;
}


/* =========================
   CONTAINER WRAPPER
========================= */

.site-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
    background: var(--neutral-50);
}


/* =========================
   Von URM
========================= */

/* Footer Links nicht underlined*/ 
.footer-bar a {
    text-decoration: none;
}

/* =========================
   Von SK
========================= */

/* BACK TO TOP Button anpassen */
.generate-back-to-top {
	border-right: 1px solid #ffffff;
	border-left: 0px solid #ffffff;
	border-bottom: 3px solid #ffffff;
	border-top: 0px solid #ffffff;
    border-radius: 100%;
	line-height: 45px;
	width: 45px;
	!important;
}


/* Back-to-top mobil */
@media(max-width:768px) {
	.generate-back-to-top {margin-bottom: -15px; margin-right: -15px;}
}

/*scrollbalken anpassen*/

/* width */
::-webkit-scrollbar {
  width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #ccc;
  border-radius: 0px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #ccc7c7;
  border-radius: 8px;
}