/*
Theme Name: Gutsgasthof Laimnau
Description: Eigenes Child Theme für den Gutsgasthof Laimnau
Author: GutRad GmbH
Template: hello-elementor
Version: 1.1.0
Text Domain: gutsgasthof
*/

:root {
    --green: #3f5e3a;
    --green-dark: #30472d;
    --wine: #7a2e2e;
    --sand: #c9b28c;
    --cream: #f6f2e9;
    --paper: #fbfaf7;
    --ink: #252421;
    --muted: #69665f;
    --line: rgba(37, 36, 33, .14);
    --max: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.gg-wrap {
    width: min(calc(100% - 56px), var(--max));
    margin-inline: auto;
}


/* HEADER */

.gg-header {
    position: relative;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.gg-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.gg-brand {
    display: block;
    text-decoration: none;
}

.gg-brand img {
    width: auto;
    max-width: 190px;
    max-height: 62px;
    object-fit: contain;
}

.gg-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.gg-nav a {
    position: relative;
    padding: 8px 0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.gg-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 1px;
    background: var(--green);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.gg-nav a:hover::after,
.gg-nav a:focus-visible::after {
    transform: scaleX(1);
}

.gg-mobile-nav {
    display: none;
}


/* HERO */

.gg-hero {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.gg-hero-inner {
    display: grid;
    grid-template-columns:
        minmax(360px, .72fr)
        minmax(0, 1.28fr);
    min-height: 650px;
}

.gg-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:
        80px
        clamp(48px, 5vw, 88px)
        80px
        max(28px, calc((100vw - var(--max)) / 2));
}

.gg-kicker {
    margin: 0 0 20px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .20em;
}

.gg-hero h1,
.gg-section h2,
.gg-biergarten h2,
.gg-food h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}

.gg-hero h1 {
    margin: 0;
    font-size: clamp(54px, 5.2vw, 82px);
    line-height: .96;
    letter-spacing: -.045em;
}

.gg-hero-lead {
    max-width: 440px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: 20px;
}

.gg-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 38px;
}

.gg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    background: var(--green);
    border: 1px solid var(--green);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.gg-button:hover,
.gg-button:focus-visible {
    background: var(--green-dark);
}

.gg-text-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.gg-text-link span {
    display: inline-block;
    margin-left: 7px;
}

.gg-hero-image {
    min-height: 650px;
    margin: 0;
    overflow: hidden;
}

.gg-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}


/* INFO */

.gg-facts {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.gg-facts-inner {
    min-height: 96px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.gg-facts-inner > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 34px;
    border-right: 1px solid var(--line);
}

.gg-facts-inner > div:first-child {
    padding-left: 0;
}

.gg-facts-inner > div:last-child {
    border-right: 0;
}

.gg-fact-label {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gg-facts strong {
    font-size: 15px;
}


/* SECTIONS */

.gg-section {
    padding: 110px 0;
}

.gg-about-grid,
.gg-location-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(55px, 8vw, 130px);
}

.gg-number {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--wine);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}

.gg-section-heading h2,
.gg-location h2 {
    margin: 0;
    font-size: clamp(44px, 4.8vw, 67px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.gg-about-copy {
    max-width: 700px;
}

.gg-about-copy p {
    color: var(--muted);
}

.gg-lead-copy {
    margin: 0 0 32px;
    color: var(--ink) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 2.7vw, 38px);
    line-height: 1.38;
}


/* BIERGARTEN */

.gg-biergarten {
    background: var(--cream);
    border-block: 1px solid var(--line);
}

.gg-biergarten-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.gg-biergarten-big {
    display: flex;
    align-items: flex-end;
    padding: 80px 70px 80px 0;
}

.gg-biergarten-big span {
    color: var(--green);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(70px, 8vw, 118px);
    line-height: .8;
    letter-spacing: -.07em;
}

.gg-biergarten-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 0 80px 75px;
    border-left: 1px solid var(--line);
}

.gg-biergarten-copy h2 {
    margin: 0;
    font-size: clamp(42px, 4vw, 58px);
    line-height: 1.05;
}

.gg-biergarten-copy p:last-child {
    max-width: 500px;
    margin: 28px 0 0;
    color: var(--muted);
}


/* FOOD */

.gg-food {
    background: var(--wine);
    color: #fff;
}

.gg-food-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    min-height: 720px;
}

.gg-food-image {
    margin: 0;
    overflow: hidden;
}

.gg-food-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gg-food-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:
        85px
        max(36px, calc((100vw - var(--max)) / 2))
        85px
        clamp(60px, 7vw, 120px);
}

.gg-food-copy .gg-number {
    color: var(--sand);
}

.gg-kicker-light {
    color: var(--sand);
}

.gg-food h2 {
    margin: 0;
    font-size: clamp(48px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -.04em;
}

.gg-food-copy > p {
    max-width: 540px;
    margin: 34px 0 0;
    color: rgba(255,255,255,.8);
}

.gg-coming {
    display: inline-block;
    align-self: flex-start;
    margin-top: 35px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.5);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* LOCATION */

.gg-location {
    background: #fff;
}

.gg-location-copy {
    padding-top: 54px;
}

.gg-location-copy address {
    font-style: normal;
    font-size: 21px;
    line-height: 1.7;
}

.gg-location-copy p {
    max-width: 580px;
    margin: 30px 0;
    color: var(--muted);
}


/* FOOTER */

.gg-footer {
    padding: 32px 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
}

.gg-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    color: var(--muted);
    font-size: 13px;
}


/* MOBILE */

@media (max-width: 900px) {

    .gg-wrap {
        width: min(calc(100% - 34px), var(--max));
    }

    .gg-header-inner {
        min-height: 76px;
    }

    .gg-brand img {
        max-width: 150px;
        max-height: 54px;
    }

    .gg-nav {
        display: none;
    }

    .gg-mobile-nav {
        display: block;
        position: relative;
    }

    .gg-mobile-nav summary {
        cursor: pointer;
        list-style: none;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .gg-mobile-nav summary::-webkit-details-marker {
        display: none;
    }

    .gg-mobile-nav nav {
        position: absolute;
        right: 0;
        top: 38px;
        width: 220px;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 16px 35px rgba(0,0,0,.1);
    }

    .gg-mobile-nav nav a {
        display: block;
        padding: 10px;
        text-decoration: none;
    }

    .gg-hero-inner,
    .gg-about-grid,
    .gg-biergarten-grid,
    .gg-food-grid,
    .gg-location-grid {
        grid-template-columns: 1fr;
    }

    .gg-hero-copy {
        padding: 68px 22px;
    }

    .gg-hero-image {
        min-height: 430px;
    }

    .gg-facts-inner {
        grid-template-columns: 1fr;
    }

    .gg-facts-inner > div,
    .gg-facts-inner > div:first-child {
        padding: 17px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .gg-facts-inner > div:last-child {
        border-bottom: 0;
    }

    .gg-section {
        padding: 78px 0;
    }

    .gg-about-grid,
    .gg-location-grid {
        gap: 46px;
    }

    .gg-biergarten-grid {
        min-height: 0;
    }

    .gg-biergarten-big {
        padding: 70px 0 54px;
    }

    .gg-biergarten-copy {
        padding: 54px 0 75px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .gg-food-grid {
        min-height: 0;
    }

    .gg-food-image {
        max-height: 700px;
    }

    .gg-food-copy {
        padding: 70px 24px;
    }

    .gg-location-copy {
        padding-top: 0;
    }

    .gg-footer-inner {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 520px) {

    body {
        font-size: 16px;
    }

    .gg-hero h1 {
        font-size: 50px;
    }

    .gg-hero-image {
        min-height: 330px;
    }

    .gg-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==========================================================
   GUTSGASTHOF V3 – DESKTOP PROPORTIONEN
   ========================================================== */

/* HEADER */

.gg-header-inner {
    min-height: 92px;
}

.gg-brand img {
    max-width: 220px;
    max-height: 70px;
}

.gg-nav {
    gap: 34px;
}


/* HERO */

.gg-hero-inner {
    grid-template-columns:
        minmax(390px, .68fr)
        minmax(0, 1.32fr);

    min-height: 570px;
}

.gg-hero-copy {
    padding-top: 62px;
    padding-bottom: 62px;
}

.gg-hero h1 {
    font-size: clamp(52px, 4.6vw, 70px);
    line-height: .96;
}

.gg-hero-lead {
    margin-top: 25px;
    font-size: 19px;
    line-height: 1.55;
}

.gg-actions {
    margin-top: 30px;
}

.gg-button {
    min-height: 44px;
    padding: 10px 19px;
}

.gg-hero-image {
    min-height: 570px;
}

.gg-hero-image img {
    object-position: 50% 50%;
}


/* INFOZEILE */

.gg-facts-inner {
    min-height: 84px;
}

.gg-facts-inner > div {
    padding-top: 16px;
    padding-bottom: 16px;
}


/* ALLGEMEINE ABSCHNITTE */

.gg-section {
    padding-top: 84px;
    padding-bottom: 84px;
}

.gg-about-grid,
.gg-location-grid {
    gap: clamp(50px, 6vw, 100px);
}

.gg-section-heading h2,
.gg-location h2 {
    font-size: clamp(40px, 4vw, 58px);
}

.gg-lead-copy {
    font-size: clamp(26px, 2.35vw, 34px);
}

.gg-about-copy p {
    max-width: 680px;
}


/* BIERGARTEN */

.gg-biergarten-grid {
    grid-template-columns: .82fr 1.18fr;
    min-height: 430px;
}

.gg-biergarten-big {
    align-items: center;
    padding: 55px 55px 55px 0;
}

.gg-biergarten-big span {
    font-size: clamp(64px, 6vw, 96px);
}

.gg-biergarten-copy {
    padding: 58px 0 58px 68px;
}

.gg-biergarten-copy h2 {
    font-size: clamp(39px, 3.6vw, 54px);
}

.gg-biergarten-copy p:last-child {
    margin-top: 24px;
}


/* SPEISEN */

.gg-food-grid {
    grid-template-columns:
        minmax(0, .95fr)
        minmax(420px, 1.05fr);

    min-height: 610px;
}

.gg-food h2 {
    font-size: clamp(44px, 4.2vw, 62px);
    line-height: 1;
}

.gg-food-copy {
    padding-top: 64px;
    padding-bottom: 64px;
    padding-left: clamp(50px, 6vw, 90px);
}

.gg-food-copy > p {
    margin-top: 26px;
}

.gg-coming {
    margin-top: 28px;
}


/* ANFAHRT */

.gg-location {
    padding-top: 82px;
    padding-bottom: 82px;
}

.gg-location-copy {
    padding-top: 18px;
}

.gg-location-copy address {
    font-size: 19px;
}

.gg-location-copy p {
    margin-top: 24px;
    margin-bottom: 26px;
}


/* FOOTER */

.gg-footer {
    padding-top: 24px;
    padding-bottom: 24px;
}


/* POJO ACCESSIBILITY – etwas dezenter */

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    width: 48px !important;
    height: 48px !important;
    line-height: 48px !important;
}


/* ==========================================================
   TABLET / MOBILE
   ========================================================== */

@media (max-width: 900px) {

    .gg-header-inner {
        min-height: 76px;
    }

    .gg-brand img {
        max-width: 165px;
        max-height: 58px;
    }

    .gg-hero-inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .gg-hero-copy {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .gg-hero h1 {
        font-size: clamp(48px, 12vw, 64px);
    }

    .gg-hero-image {
        min-height: 390px;
    }

    .gg-section {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .gg-biergarten-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .gg-biergarten-big {
        min-height: 210px;
        padding: 50px 0;
    }

    .gg-biergarten-copy {
        padding: 50px 0 65px;
    }

    .gg-food-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .gg-food-copy {
        padding: 60px 24px;
    }

    .gg-location {
        padding-top: 68px;
        padding-bottom: 68px;
    }
}

@media (max-width: 520px) {

    .gg-hero-copy {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .gg-hero h1 {
        font-size: 47px;
    }

    .gg-hero-image {
        min-height: 310px;
    }

    .gg-section-heading h2,
    .gg-location h2 {
        font-size: 42px;
    }

    .gg-biergarten-big span {
        font-size: 64px;
    }

    .gg-food h2 {
        font-size: 45px;
    }
}


/* ==========================================================
   GUTSGASTHOF V4 – HERO BILD RUHIGER
   ========================================================== */

.gg-hero-inner {
    grid-template-columns:
        minmax(420px, .84fr)
        minmax(0, 1.16fr);
    min-height: 500px;
}

.gg-hero-copy {
    padding-top: 54px;
    padding-bottom: 54px;
}

.gg-hero h1 {
    font-size: clamp(50px, 4.2vw, 64px);
}

.gg-hero-lead {
    max-width: 400px;
    font-size: 18px;
}

.gg-hero-image {
    min-height: auto;
    margin: 0;
    padding: 34px 34px 34px 0;
    display: flex;
    align-items: center;
}

.gg-hero-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: 46% 42%;
}

@media (max-width: 900px) {
    .gg-hero-inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .gg-hero-copy {
        padding-top: 52px;
        padding-bottom: 42px;
    }

    .gg-hero-image {
        padding: 0 0 24px 0;
    }

    .gg-hero-image img {
        height: 340px;
        object-position: 50% 44%;
    }
}

@media (max-width: 520px) {
    .gg-hero-image img {
        height: 290px;
    }
}


/* ==========================================================
   V6 – GutRad Header / Gasthof Logo Hero / Foto Biergarten
   ========================================================== */

.gg-header-inner {
    min-height: 78px;
}

.gg-gutrad-brand {
    display: block;
    flex: 0 0 auto;
    color: #ef8612;
    text-decoration: none;
    line-height: 0;
}

.gg-gutrad-logo {
    display: block;
    width: 190px;
    height: auto;

    /*
     * Der weiße Versatz der gelieferten GutRad-Vorlage
     * wird sauber als Vektorschatten nachgebildet.
     */
    filter: drop-shadow(4px 4px 0 #fff);
}

.gg-hero-inner {
    grid-template-columns:
        minmax(420px, 1fr)
        minmax(420px, 1fr);

    min-height: 470px;
}

.gg-hero-brand {
    min-height: 470px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 48px 70px;

    background: #eee7d8;
    border-left: 1px solid var(--line);
}

.gg-hero-logo {
    width: min(100%, 440px);
}

.gg-hero-logo img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.gg-hero-place {
    margin: 24px 0 0;

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.gg-about-grid {
    grid-template-columns: .82fr 1.18fr;
}


/* Außenfoto jetzt bewusst im Biergarten */

.gg-biergarten-photo-section {
    padding: 78px 0;
}

.gg-biergarten-photo-grid {
    display: grid;

    grid-template-columns:
        minmax(0, .95fr)
        minmax(390px, 1.05fr);

    gap: clamp(50px, 6vw, 90px);

    align-items: center;
}

.gg-biergarten-photo {
    margin: 0;
    overflow: hidden;
}

.gg-biergarten-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

.gg-biergarten-photo-grid .gg-biergarten-copy {
    padding: 35px 0;
    border: 0;
}


/* Alte große Draußen-Fläche wird nicht mehr benötigt */

.gg-biergarten-big {
    display: none;
}


@media (max-width: 900px) {

    .gg-header-inner {
        min-height: 70px;
    }

    .gg-gutrad-logo {
        width: 150px;
        filter: drop-shadow(3px 3px 0 #fff);
    }

    .gg-hero-inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .gg-hero-brand {
        min-height: 270px;
        padding: 38px 24px;

        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .gg-hero-logo {
        width: min(100%, 320px);
    }

    .gg-biergarten-photo-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .gg-biergarten-photo-section {
        padding: 58px 0 68px;
    }

}

@media (max-width: 520px) {

    .gg-gutrad-logo {
        width: 132px;
    }

    .gg-hero-logo {
        width: min(100%, 265px);
    }

}


/* ==========================================================
   V7 – echtes Branding / ruhiger Hero
   ========================================================== */


/*
 * GutRad ist nur der Betreiber-Absender.
 * Daher bewusst kleine dunkle Kopfzeile.
 */

.gg-header {
    background: #202923;
    border-bottom: 0;
}

.gg-header-inner {
    min-height: 68px;
}


/*
 * KEIN künstlicher Schatten,
 * KEINE Farbänderung am GutRad-Logo.
 */

.gg-gutrad-brand {
    display: flex;
    align-items: center;

    color: inherit;

    text-decoration: none;
    line-height: 0;
}

.gg-gutrad-logo {
    display: block;

    width: auto;
    height: auto;

    max-width: 155px;
    max-height: 46px;

    object-fit: contain;

    filter: none;
}


/* Navigation auf dunklem Header */

.gg-nav {
    gap: 31px;
}

.gg-nav a {
    color: #f7f3ea;
}

.gg-nav a::after {
    background: #e77817;
}


/* ==========================================================
   HERO
   ========================================================== */

.gg-hero {
    background: #f6f2e9;
}

.gg-hero-inner {
    width: min(calc(100% - 80px), 1220px);
    min-height: 455px;

    margin-inline: auto;

    display: grid;

    grid-template-columns:
        minmax(420px, 1.08fr)
        minmax(360px, .92fr);
}


/* linke Seite */

.gg-hero-copy {
    padding:
        58px
        70px
        58px
        0;
}

.gg-hero h1 {
    max-width: 560px;

    font-size: clamp(51px, 4.1vw, 64px);
    line-height: .99;
}

.gg-hero-lead {
    margin-top: 24px;

    max-width: 500px;

    font-size: 18px;
}


/* rechtes Gutsgasthof-Logo */

.gg-hero-brand {
    min-height: 455px;

    padding:
        48px
        0
        48px
        48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    border: 0;
}

.gg-hero-logo {
    width: min(100%, 430px);
}

.gg-hero-logo img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 325px;

    object-fit: contain;

    box-shadow: none;
}


/*
 * Unterzeile rechts ist bei einem Logo,
 * das den Namen bereits enthält, überflüssig.
 */

.gg-hero-place {
    display: none;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 900px) {

    .gg-header {
        background: #202923;
    }

    .gg-header-inner {
        min-height: 64px;
    }

    .gg-gutrad-logo {
        max-width: 132px;
        max-height: 40px;
    }

    .gg-mobile-nav summary {
        color: #f7f3ea;
    }

    .gg-hero-inner {
        width: min(calc(100% - 34px), 1220px);

        grid-template-columns: 1fr;

        min-height: 0;
    }

    .gg-hero-copy {
        padding:
            50px
            0
            36px;
    }

    .gg-hero-brand {
        min-height: 0;

        padding:
            20px
            0
            48px;

        border: 0;
    }

    .gg-hero-logo {
        width: min(100%, 345px);
    }

}

@media (max-width: 520px) {

    .gg-gutrad-logo {
        max-width: 118px;
    }

    .gg-hero h1 {
        font-size: 47px;
    }

    .gg-hero-logo {
        width: min(100%, 290px);
    }

}
