@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700,900&display=swap');

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: #FFD229;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width:600px;   /* Breiter auf Desktop */
    margin: 60px auto;
    background: #fff;
    padding: 32px 24px 24px 24px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    box-sizing: border-box;
    transition: max-width 0.2s;
}

.logo {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 234px;
    height: auto;
}

a:link,
a:visited {
  color: #000;
  background: none;        /* Kein Hintergrund bei normalem Zustand */
  text-decoration: none;
  border-radius: 4px;      /* Optional, für dezente Abrundung */
  padding: 0;              /* Keine zusätzliche Fläche = keine Größenänderung */
  font-weight: inherit;    /* Dicke bleibt unverändert */
  transition: background 0.2s, color 0.2s;
}

a:hover,
a:focus {
  color: #FFD229;          /* Gelbe Schrift beim Hover */
  background: #000;        /* Schwarzer Hintergrund beim Hover */
  text-decoration: none;
}


h1 {
    margin-bottom: 28px;
    font-size: 2rem;
    color: #1a1a1a;
    letter-spacing: 1px;
    font-weight: 700;
}

.gedicht-block {
    background: #FFF8D0;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 0 auto 8px auto;
    font-style: italic;
    font-size: 1.06em;
    color: #444;
    max-width: 95%;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Kartenfenster (Google Maps) responsiv */
.map-responsive {
    position: relative;
    width: 100%;
    max-width: 100vw;
    padding-bottom: 56.25%; /* 16:9 Verhältnis */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.08);
    margin-bottom: 18px;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    max-width: 100vw;
    height: 100% !important;
    border: 0;
    box-sizing: border-box;
}

/* Kontakt-Icons */
.kontakt-icons {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 18px 0 30px 0;
    align-items: center;
}

.kontakt-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFD22922;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    text-decoration: none;
}

.kontakt-icons a:hover,
.kontakt-icons a:focus {
    background: #FFD229;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
}

.kontakt-icons svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 100%;
    max-height: 100%;
    color: #1a1a1a;
    display: block;
    transition: color 0.2s;
}

.kontakt-icons a:hover svg,
.kontakt-icons a:focus svg {
    color: #007a4e;
}

/* Navigation immer nebeneinander */
.nav-links {
    margin: 40px 0 20px 0;
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-direction: row;
    align-items: center;
}
.nav-links a:link,
.nav-links a:visited {
    display: inline-block;
    padding: 10px 22px;
    font-size: 1.2em;
    color: #000;
    background: transparent;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a:focus {
    color: #FFD229;
    background: #000;
    text-decoration: none;
}

/* Telefon-Link im Menü-Stil */
.menu-phone-link:link,
.menu-phone-link:visited {
    display: inline-block;
    padding: 10px 22px;
    font-size: 1.2em;
    color: #000;
    background: transparent;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}
.menu-phone-link:hover,
.menu-phone-link:focus {
    color: #FFD229;
    background: #000;
    text-decoration: none;
}

/* Dezenter Impressum-Link */
.impressum-link,
.impressum-link:link,
.impressum-link:visited {
    display: block;
    margin-top: 24px;
    font-size: 0.9em;
    color: #bbb !important;
    text-align: center;
    text-decoration: none !important;
    font-weight: 400;
    transition: color 0.2s;
    background: none;
    border: none;
    box-shadow: none;
    cursor: pointer;
}
.impressum-link:hover,
.impressum-link:focus {
    color: #999 !important;
    text-decoration: underline !important;
}

/* --- Optimierte mobile Ansicht --- */
@media (max-width: 600px) {
    html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        width: 100vw;
        overflow-x: hidden;
    }
    body {
        font-size: 16px;
        background-color: #FFD229;
        min-height: 100vh;
        width: 100vw;
        overflow-x: hidden;
    }
    .container {
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        min-height: 100vh;
        margin: 0;
        border-radius: 0;
        padding: 4vw 5vw;
        box-shadow: none;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: none;
    }
    .logo {
        max-width: 143px;
        margin-bottom: 16px;
    }
    h1 {
        font-size: 1.35rem;
        margin-bottom: 18px;
    }
    .nav-links {
        flex-direction: row;
        gap: 12px;
        margin: 28px 0 12px 0;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .nav-links a {
        font-size: 1.15em;
        padding: 13px 10px;
        width: auto;
        max-width: none;
        margin: 0;
        text-align: center;
        border-radius: 6px;
        flex: 0 1 auto;
    }
    .menu-phone-link {
        font-size: 1.15em;
        padding: 13px 10px;
        border-radius: 6px;
    }
    .impressum-link {
        margin-top: 18px;
        font-size: 0.95em;
    }
    .kontakt-icons {
        gap: 16px;
        margin-bottom: 18px;
    }
    .kontakt-icons a {
        width: 40px;
        height: 40px;
    }
    .kontakt-icons svg {
        width: 22px !important;
        height: 22px !important;
    }
    .map-responsive {
        max-width: 100vw;
        border-radius: 8px;
        margin-left: 0;
        margin-right: 0;
    }
    .map-responsive iframe {
        max-width: 100vw;
        border-radius: 8px;
    }
}
