*//* derWalch – Grundlayout */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #f3efe6;
    color: #111;
@font-face {
    font-family: 'Bitter';
    src: url('../Fonts/Bitter-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../Fonts/Inter.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
    font-family: Arial, Helvetica, sans-serif;
}

/* Grüner Startbereich */
.hero {
    position: relative;
    min-height: 100vh;
    background: #9aafa7;
    overflow: hidden;
}

.hero-wappen {
    position: absolute;
    width: min(38vw, 600px);
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero-schriftzug {
    position: absolute;
    width: 52px;
    height: auto;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
} 
.hero {
    position: relative;
    min-height: 100vh;
    background: #9aafa7;
    overflow: hidden;
}

.hero-wappen {
    position: absolute;
    width: min(18vw, 280px);
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.hero-schriftzug {
    position: absolute;
    width: 52px;
    height: auto;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
}

/* TYPO3-Inhaltsbereich */

.content {
    background: #f3efe6;
    padding: 100px 8vw;
    min-height: 500px;
}

@media (max-width: 768px) {
    .hero-wappen {
        width: 65vw;
    }

    .hero-schriftzug {
        right: 5vw;
        width: 18vw;
    }

    .content {
        padding: 60px 7vw;
    }
}
/* Cremefarbener Infobereich */
.about {
    position: relative;
    background: #f5f0df;
    padding: 90px 120px 40px;
    color: #111;
}

.about-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 620px);
    column-gap: 40px;
    align-items: start;
    margin-bottom: 70px;
}

.about-row h2 {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 700;
}

.about-text {
    max-width: 620px;
}

.about-text h2 {
    margin: 0 0 28px;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 700;
}

.about-text p {
    margin: 0 0 22px;
    font-family: 'Bitter', Georgia, serif;
    font-size: 27px;
    line-height: 1.65;
}

.about-logo {
    position: absolute;
    width:220px;
    height: auto;
    right:35px;
    top: 50%;
    transform: translateY(-50%);
}
.about-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 760px);
    column-gap: 40px;
    align-items: start;
    margin-bottom: 70px;
}

.about-text {
    max-width: 760px;
}
.about-text h2 {
    margin: 0 0 28px;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 700;
}

.about-text p {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.15;
}

.about-wappen {
    position: absolute;
}
 
.about-text {
    line-height: 1.4;
}

.kontakt-button {
    position: absolute;
    top: 35px;
    right: 35px;
    padding: 5px 12px;
    border: 1px solid #f5f0df;
    color: #f5f0df;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    text-decoration: none;
    z-index: 10;
}

.kontakt-button:hover {
    background-color: #f5f0df;
    color: #89a99a;
}

html {
    scroll-behavior: smooth;
}
.hero {
    position: relative;
}
.kontakt {
    background-color: #89a99a;
    color: #f5f0df;
    padding: 40px 120px 80px; 
    min-height: 350px;
}

.kontakt p {
    line-height: 1.5;
}
.hero {
    position: relative;
}

.hero .kontakt-button {
    position: absolute;
    top: 35px;
    right: 35px;
    left: auto;
    z-index: 20;

    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #f5f0df;

    color: #f5f0df;
    background: transparent;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 300;
    text-decoration: none;
}

.hero .kontakt-button:hover {
    background: #f5f0df;
    color: #89a99a;
}

html {
    scroll-behavior: smooth;
}

.kontakt {
    background-color: #f5f0df;
    color: #89a99a;
}

.kontakt-row h2 {
    color: #89a99a;
}

.kontakt-text {
    color: #89a99a;
}

.kontakt-text a {
    color: #89a99a;
}
.kontakt-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 620px);
    gap: 40px;
    align-items: start;
}

.kontakt-row h2 {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: #89a99a;
}

.kontakt-text {
    font-size: 28px;
    line-height: 1.1;
    color: #89a99a;
}

@media (max-width: 700px) {
    .kontakt-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.kontakt-text p {
    margin-top: 0;
    margin-bottom: 0;
}

.kontakt-text {
    align-self: start;
}
.about {
    padding-bottom: 40px;
}

.kontakt {
    padding-top: 40px;
}
.kontakt {
    grid-template-columns: 180px minmax(0, 620px);
    column-gap: 40px;
}

/* Smartphone-Darstellung */
@media (max-width: 700px) {
    .about {
        padding: 50px 24px 30px;
    }

    .about-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kontakt {
        padding: 30px 24px 60px;
    }

    .kontakt-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kontakt-text {
        font-size: 20px;
        overflow-wrap: anywhere;
    }
}
/* Weitere Anpassungen für Smartphones */
@media (max-width: 700px) {

    .about-row h2 {
        font-size: 32px;
        line-height: 1.1;
    }

    .about-text {
        font-size: 20px;
        line-height: 1.4;
    }

    .about-text p {
        font-size: inherit;
        line-height: inherit;
    }

    .about-logo {
        display: none;
    }
}

/* Feinschliff Kontaktbereich auf Smartphones */
@media (max-width: 700px) {
    .about {
        padding-bottom: 0;
    }

    .about-row:last-of-type {
        margin-bottom: 30px;
    }

    .kontakt {
        padding-top: 20px;
        min-height: 0;
    }

    .kontakt-row h2 {
        font-size: 32px;
    }

    .kontakt-text {
        font-size: 18px;
        line-height: 1.5;
    }
}
/* Einheitlicher cremefarbener Hintergrund */
.about {
    background-color: #f5f0df;
}

.kontakt {
    background-color: #f5f0df;
}

/* Übergang zwischen Infobereich und Kontakt */
.about {
    margin-bottom: 0;
}

.kontakt {
    margin-top: 0;
}

body {
    background-color: #f5f0df;
}
/* Startbereich auf Smartphones */
@media (max-width: 700px) {

  .hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
  }

.hero-wappen {
    position: absolute;
    width: 45%;
    max-width: none;
    height: auto;
    left: 18%;
    right: auto;
    top: 35%;
    transform: translateY(-50%);
}

.hero-schriftzug {
    position: absolute;
    width: auto;
    height: 53%;
    max-height: none;
    left: auto;
    right: 9%;
    top: 45%;
    transform: translateY(-50%);
}
}
/* Desktop: Platz fuer das Logo rechts */
@media (min-width: 701px) {
    .about {
        padding-right: 240px;
    }

    .about-logo {
        right: 30px;
        max-width: 220px;
        height: auto;
    }
}
/* Abstand zwischen den beiden Textbloecken */
.about-row {
    margin-bottom: 20px;
}

/* Textbereiche auf Desktop weiter nach links */
@media (min-width: 701px) {
    .about {
        padding-left: 60px;
    }

    .kontakt {
        padding-left: 60px;
    }
}
/* Groesserer Zeilenabstand nur fuer die Fliesstexte */
.about-text,
.about-text p, {
    line-height: 1.6;
}
/* Engerer Zeilenabstand nur beim Kontakt */
.kontakt-text,
.kontakt-text p {
    line-height: 1.3;
}
/* Zusätzliche Inhaltsblöcke: Desktop */
.about-row > .about-text,
.about-row > .about-image {
    grid-column: 2;
}

.about-row > .about-image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Zusätzliche Inhaltsblöcke: Smartphone */
@media (max-width: 767px) {
    .about-row > .about-text,
    .about-row > .about-image {
        grid-column: 1 / -1;
    }
}
/* Wappen und Schriftzug auf dem iPhone nach unten verschieben */
@media (max-width: 767px) {
    .hero-wappen,
    .hero-schriftzug {
        transform: translateY(10px);
    }
}

/* Schriftzug auf dem iPhone nach oben verschieben */
@media (max-width: 767px) {
    .hero-schriftzug {
        transform: translateY(-60px);
    }
}

