/*
Theme Name: Baumarbeiten Tobias Göthlich
Theme URI: https://baumarbeiten-göthlich.de
Author: RUJOVIS - Rudolf Jochim
Author URI: https://rujovis.de
Description: WordPress Theme für Baumarbeiten Tobias Göthlich
Version: 1.0
*/

/* Poppins Thin */
@font-face {
    font-family: 'Poppins';
    font-weight: 100;
    font-style: normal;
    src: url('fonts/Poppins-Thin.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 100;
    font-style: italic;
    src: url('fonts/Poppins-ThinItalic.ttf') format('truetype');
}

/* Poppins ExtraLight */
@font-face {
    font-family: 'Poppins';
    font-weight: 200;
    font-style: normal;
    src: url('fonts/Poppins-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 200;
    font-style: italic;
    src: url('fonts/Poppins-ExtraLightItalic.ttf') format('truetype');
}

/* Poppins Light */
@font-face {
    font-family: 'Poppins';
    font-weight: 300;
    font-style: normal;
    src: url('fonts/Poppins-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 300;
    font-style: italic;
    src: url('fonts/Poppins-LightItalic.ttf') format('truetype');
}

/* Poppins Regular */
@font-face {
    font-family: 'Poppins';
    font-weight: 400;
    font-style: normal;
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 400;
    font-style: italic;
    src: url('fonts/Poppins-Italic.ttf') format('truetype');
}

/* Poppins Medium */
@font-face {
    font-family: 'Poppins';
    font-weight: 500;
    font-style: normal;
    src: url('fonts/Poppins-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 500;
    font-style: italic;
    src: url('fonts/Poppins-MediumItalic.ttf') format('truetype');
}

/* Poppins SemiBold */
@font-face {
    font-family: 'Poppins';
    font-weight: 600;
    font-style: normal;
    src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 600;
    font-style: italic;
    src: url('fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
}

/* Poppins Bold */
@font-face {
    font-family: 'Poppins';
    font-weight: 700;
    font-style: normal;
    src: url('fonts/Poppins-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 700;
    font-style: italic;
    src: url('fonts/Poppins-BoldItalic.ttf') format('truetype');
}

/* Poppins ExtraBold */
@font-face {
    font-family: 'Poppins';
    font-weight: 800;
    font-style: normal;
    src: url('fonts/Poppins-ExtraBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-weight: 800;
    font-style: italic;
    src: url('fonts/Poppins-ExtraBoldItalic.ttf') format('truetype');
}

/* Poppins Black */
@font-face {
  	font-family:'Poppins';
  	font-weight:bold; 
  	font-style:bold; 
  	src:url("fonts/Poppins-Black.ttf")format("truetype");
}

@font-face{
  	font-family:'Poppin'; 
  	font-weight:bold; 
  	font-style:bold; 
  	src:url("fonts/Poppin-BlackItalic.ttf")format("truetype");
}

:root {
    --color-1: #4AA54A;
    --color-2: #5CCD5C;
    --color-3: #306A30;
    --color-4: #4F4C47;

}

html {
    scroll-behavior: smooth;

}

body {
    font-family: Poppins, sans-serif;
    margin: 0;
    padding: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: url('imgs/logokr.svg') no-repeat center center;
    background-size: contain;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    z-index: -1;
}

header {
    padding: 10px 50px;
}

.three {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left, .center, .right {
    flex: 1;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-1);
    font-weight: 500;
    font-size: 18px;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--color-3);
}

.center {
    display: flex;
    justify-content: center;
}

.logo {
    width: auto;
    height: 125px;
}

.right {
    display: flex;
    justify-content: flex-end;
}

.kontakt-button {
    background-color: var(--color-1);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.3s;
}

.kontakt-button:hover {
    background-color: var(--color-3);
}

@media (max-width: 768px) {
    .three {
        flex-direction: column;
        align-items: center;
    }

    .center {
        order: -1;
        width: 100%;
        text-align: center;
    }

    .left {
        order: 0;
        width: 100%;
        text-align: center;
    }

    .right {
        order: 1;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    nav ul {
        justify-content: center;
    }

    .kontakt-button {
        margin-top: 20px;
    }
}

.hero {
    display: flex;
    padding: 20px 0 50px 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1,
.hero-text h2 {
    display: inline-block;
    margin: 0;
    padding: 0 5px;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 3em;
    background: linear-gradient(var(--color-2) 25%, var(--color-1) 50%, var(--color-3) 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h2 {
    font-size: 2em;
    margin-top: -15px;
    color: var(--color-4);
}

.hero-text p {
    font-size: 1.5em;
    color: 272727;
    padding-right: 50px;
    color: var(--color-4);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50px 0px 0px 50px;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .hero-text {
        text-align: center;
        padding: 0;
    }

    .hero-text h1 {
        font-size: 2.5em;
    }

    .hero-text h2 {
        font-size: 1.8em;
    }

    .hero-text p {
        font-size: 1.2em;
        padding: 0 20px;
    }

    .hero-image img {
        max-width: 100%;
        border-radius: 50px;
    }
}

.dienstleistungen {
    text-align: center;
    padding: 20px 50px 0 50px;
}

.dienstleistungen-content {
    text-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    font-size: 2em;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--color-1);
}

.section-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--color-4);
}

.kontakt {
    padding: 20px 0 0 0;
    text-align: center;
}

.kontakt .section-title,
.kontakt .section-text {
    padding: 0 50px;
}

.two {
    padding: 20px 50px;
    background-color: var(--color-1);
    display: flex;
}

.kontakt-left,
.kontakt-right {
    width: 50%;
}

.kontakt-left form {
    background-color: white;
    padding: 20px 20px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    color: var(--color-4);
    text-align: start;
}

.kontakt-left h2 {
    margin: 0 0 10px 0;
}

.kontakt-left p {
    margin: 0 0 20px 0;
}

.kontakt-left label {
    display: block;
    margin-bottom: 5px;
}

.kontakt-left input,
.kontakt-left textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    resize: none;
    letter-spacing: 1.5px;
}

.kontakt-left button {
    background-color: var(--color-1);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    margin-bottom: 10px;
}

.kontakt-left button:hover {
    background-color: var(--color-1);
}

.success-message {
    color: var(--color-1);
    font-weight: 600;
    margin: 15px 0;
}

.kontakt-right {
    display: flex;
    flex-direction: column;
    gap: 75px;
    text-align: center;
    justify-content: center;
}

.kontakt-right-img {
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.kontakt-right-img:hover {
    transform: scale(1.2);
}

.kontakt-right img {
    width: auto;
    height: 50px;
    margin-bottom: 20px;
}


.kontakt-right p {
    font-size: 20px;
    color: white;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .kontakt-left,
    .kontakt-right {
        width: 100%;
    }

    .two {
        flex-direction: column;
    }

    .kontakt-right {
        margin-top: 75px;
        gap: 75px;
    }
}

.galerie {
    padding: 20px 50px 0 50px;
    text-align: center;
}

.galerie-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.galerie-beitrag {
    box-sizing: border-box;
    overflow: hidden;
}

.galerie-bild {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}

.galerie-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.galerie-bild:hover img {
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .galerie-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .galerie-content {
        grid-template-columns: 1fr;
    }
}

.footer {
    background-color: var(--color-1);
    padding: 20px;
    color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    flex: 1;
    text-align: left;
}

.footer-links a {
    margin-right: 15px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--color-3);
}

.footer-copyright {
    flex: 1;
    text-align: right;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-copyright {
        text-align: center;
    }
}

.impdat {
    padding: 20px 50px 20px 50px;
    text-align: center;
}

.zstart {
    margin-top: 25px;
}

a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}