@font-face {
    font-family: 'Signika';
    src: url('../fonts/signika-variable.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-green:     #779D79;
    --color-bordeaux:  #5d0742;
    --color-white:     #ffffff;
    --transition:       0.2s ease;
    --space-2xs:        0.5rem;
    --font-base:        'Signika', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fw-light:         300;
    --fs-body:          clamp(1.05rem, 1.35vw, 1.5rem);
}

body {
  font-family: var(--font-base);
  font-weight: var(--fw-light);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Bilder mit width/height-Attributen behalten ihr Seitenverhältnis,
   auch wenn das CSS die Breite überschreibt (verhindert Layout-Shift). */
img[width][height] {
  height: auto;
}

/* --- Barrierefreiheit --- */
.skip-link {
    position: absolute;
    left: 8px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    background: var(--color-bordeaux);
    color: var(--color-white);
    border-radius: 4px;
    text-decoration: none;
    transition: top var(--transition);
}
.skip-link:focus {
    top: 8px;
}
/* Weiß in allen Zuständen erzwingen (schlägt UIkits a:hover/:visited) */
.skip-link:link,
.skip-link:visited,
.skip-link:hover,
.skip-link:focus,
.skip-link:active {
    color: var(--color-white);
}

:focus-visible {
    outline: 3px solid var(--color-bordeaux);
    outline-offset: 2px;
}
/* Heller Fokusring auf dunklen Flächen für ausreichenden Kontrast */
.hero :focus-visible,
.section-page-green :focus-visible,
.page-footer :focus-visible,
.uk-offcanvas-bar :focus-visible,
.skip-link:focus-visible,
.scroll-top:focus-visible {
    outline-color: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

.site-header {
    position: relative;
    z-index: 10;
}

.logo {
    position: relative;
    top: 40px; /* Logo ragt 60px in den Hero hinein */
    display: inline-block;
}

.logo img {
    width: clamp(150px, 26vw, 440px);
    height: auto;
}

.site-header__left {
    margin-top: 32px;
}

.site-header__social {
    color: var(--color-green);
    display: inline-flex;
    padding-top: var(--space-2xs);
    transition: color var(--transition);
}
.site-header__social:hover { 
    color: var(--color-green);
    opacity: 0.8;
}

.uk-offcanvas-bar {
    background: var(--color-bordeaux);
}

.uk-offcanvas-bar .uk-nav > li > a{
    color: white;  
    font-size: 1rem;
    text-transform: uppercase;
}

.hero { 
    background-color: var(--color-green);
    color: var(--color-white);
}

.hero__signature {
    width: 300px;
}

.hero__content h1 {
    color: var(--color-white);
    font-weight: 500;
    font-family: var(--font-base);
}

.hero__figure {
    margin: 0;
    position: relative;
    display: block;
    width: 100%;
    z-index: 2;
    margin-left: -60px;
}

.hero__figure img {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    transform: translateX(80px);
}

.hero__figure__text {
    position: absolute;
    top: 70%;
    left: 94%;
    transform: translate(-50%, -50%) rotate(-5deg);
    width: 28%;
    color: var(--color-white);
    text-align: center;
    font-size: clamp(0.8rem, 1.2vw, 1.3rem);
}

.hero__figure__text strong {
    white-space: nowrap;
}

.hero__figure__text a {
    white-space: nowrap;
    color: var(--color-white);
}

.hero b {
    font-weight: 700;
}

.hero h2 {
    font-size: var(--fs-body);
    color: var(--color-white);
    font-weight: 700;
    font-family: var(--font-base);
}

.hero h3 {
    color: var(--color-white);
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-family: var(--font-base);
}

.text-left {
    margin-left: 60px;
}

.service-list {
    padding: 0;
    margin-left: 20px;
}

.service-list li {
    margin-bottom: 12px;
}

.second-list {
    margin-top: 20px;
}

.site-footer {
    color: var(--color-bordeaux);
}

.site-footer a {
    color: var(--color-bordeaux);
}

.section-page h2 {
    color: var(--color-bordeaux);
    font-weight: 500;
    font-family: var(--font-base);
}

.section-page h3 {
    /*transform: translateY(20px);*/
    margin-bottom: -20px;
    font-weight: 500;
    margin-top: 20px;
    font-family: var(--font-base);
}

.secion-page__left_img_1 {
    width: 600px;
    float: right;
    transform: translateY(-154px);
    position: relative;
    z-index: 1;
}

.secion-page__left_img_1_2 {
    width: 600px;
    float: left;
    transform: translateY(-300px);
    position: relative;
    z-index: 1;
}

.secion-page__left_img_2 {
    width: 600px;
    float: left;
    margin-top: 10px;
}

.hightlight-box {
    float: left;
    width: 70%;
    padding: 50px;
    color: var(--color-white);
    background: var(--color-bordeaux);
}

.hightlight-box h2 {
    color: var(--color-white);
    font-family: var(--font-base);
}

.size-list {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 0.5rem 1rem;
}

.size-list dt,
.size-list dd {
    margin: 0;
}

.size-list dt {
    font-weight: 700;
}

.size-list dd {
    margin-left: 0;
}

#section-leistungen {
    position: relative;
    z-index: 2;
}

#section-grundsaetze {
    position: relative;
    z-index: 1;
    transform: translateY(-40px);
}

#section-preisliste {
    clear: both;
    position: relative;
    z-index: 2;
    transform: translateY(-80px);
}

#section-preisliste p {
    margin-bottom: -20px;
}

#section-preisliste table { 
    margin-top: 40px
}

#section-preisliste dl { 
    margin-top: 40px
}

.price-table td {
    padding: 3px 6px;
}

.price-table tbody tr:first-child td {
    padding-top: 0;
}

.price-table td:first-child,
.price-table th:first-child {
    padding-left: 0;
}

.price-table tbody tr:last-child td {
    padding-bottom: 0;
}

.border-bottom {
    border-bottom: 1px solid darkgrey;
}

.border-margin {
    margin-top: 100px;
}

.hund-wuff {
    width: 70%;
    
}

.section-page-green {
    background: var(--color-green);
    color: var(--color-white);
}

.section-page-green h3 {
    color: var(--color-white);
    font-family: var(--font-base);
}

.page h1 {
    color: var(--color-bordeaux);
    font-weight: 500;
    font-family: var(--font-base);
}

.page h2 {
   /*transform: translateY(20px);*/
    font-weight: 500;
    font-size: var(--font-base);
}

.page-content__left {
    margin-bottom: 30%;
}

.page-content {
    background-image: url(../img/hund_einzeln.svg);
    background-size: 600px;
    background-repeat: no-repeat;
    background-position: bottom right;
    position: relative;
    z-index: 2;
}

.page-footer {
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--color-green);
    position: relative;
    margin-top: -40px;
    z-index: 1;
    color: var(--color-white);
}

.page-footer .logo-footer {
    width: clamp(150px, 26vw, 440px);
    height: auto;
}

.page-footer strong {
    font-weight: 500;
}

.page-footer a {
    color: var(--color-white);
}

.page-footer__social {
    margin-top: 40px;
}

.page-footer .uk-align-right {
    margin-bottom: 0px;
}

.page-footer-middle {
    padding-bottom: 20px;
}

.footer-main-page {
    margin-top: -200px;
    padding-top: 200px;
}

.scroll-top {
    position: fixed;
    right: clamp(16px, 3vw, 40px);
    bottom: clamp(16px, 3vw, 40px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-bordeaux);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition);
}

.scroll-top:hover {
    color: var(--color-white);
    opacity: 0.9;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.uk-dotnav > * > * {
    border: 1px solid rgba(255, 255, 255, 0.4)
}

.uk-dotnav > .uk-active > * {
  background-color: rgba(255,255,255,.6);
}

@media (max-width: 1500px) {
    .hero__figure__text {
        left: 95%;
    }
}

@media (max-width: 1400px) {
    .hero__figure__text {
        left: 96%;
    }
}

@media (max-width: 1300px) {
    .hero__figure__text {
        left: 94%;
    }

    .hero__figure img {
        display: block;
        width: 100%;
        max-width: 800px;
        height: auto;
        transform: translateX(60px);
    }
}

@media (max-width: 1200px) {
    .hero__figure__text {
        left: 93%;
    }

    .hero__figure img {
        display: block;
        width: 100%;
        max-width: 800px;
        height: auto;
        transform: translateX(50px);
    }
}
    
@media (max-width: 1199px) {
    .logo { 
        top: 20px;
    }

    .secion-page__left_img_1 {
        margin-top: 80px;
    }
}

@media (max-width: 1000px) {
    .hero__figure__text {
        left: 93%;
    }

    .hero__figure img {
        display: block;
        width: 100%;
        max-width: 800px;
        height: auto;
        transform: translateX(40px);
    }
}

@media (max-width: 959px) {

    #section-grundsaetze {
        margin-top: 100px;
        padding-bottom: 100px;
    }

    .secion-page__left_img_1 {
        margin-top: 90px;
    }

    .hero__figure__text {
        left: 90%;
    }

    .hero__figure {
        max-width: 520px;
        margin: 0 auto;
    }

    .hero__figure img {
        width: 100%;
    }

    .text-left {
        margin-left: 0px;
    }

    .page-footer__social {
        margin-top: 0px;
    }

    .page-content__left {
        margin-bottom: 60%;
    }

    .secion-page__left_img_1 {
        transform: translateY(0px);
        margin-top: -50px;
    }

    .secion-page__left_img_1_2 {
        transform: translateY(0px);
        margin-top: -150px;
    }
}

@media (max-width: 639px) {
    .page-content__left {
        margin-bottom: 90%;
    }

    .hero__figure img {
        width: 80%;
    }

    .hero__figure__text {
        left: 73.5%;
    }

    .page-content {
        background-image: url(../img/hund_einzeln.svg);
        background-size: 90%;
    }
}

media (max-width: 545px) {
    .hero__figure {
		left: 0;
		position: relative;
		margin-left: -40px;
	}
	
	.hero__figure img {
        width: 90%;
    }

    .hero__figure__text {
        left: 83.5%;
        font-size: clamp(0.8rem, 2vw, 1.2rem);
    }
}

@media (max-width: 450px) {

	

    .hero__figure img {
        width: 90%;
        left: 0;

    }

    .hero__figure__text {
        left: 85.5%;
        font-size: clamp(0.6rem, 2vw, 1.2rem);
    }
}

@media (max-width: 400px) {

	

    .hero__figure img {
        width: 90%;
        left: 0;

    }

    .hero__figure__text {
        left: 86.5%;
        font-size: clamp(0.5rem, 2vw, 1.2rem);
    }
}


