*, *::before, *::after { box-sizing: border-box; }

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
    margin-block-end: 0;
    font-family: var(--font-base);
}

ul[role="list"], ol[role="list"] {
    list-style: none;
}

input, button, textarea, select {
    font: inherit;
}
[]
body, html {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    padding: 0;
}

h1, h2, h3, h4, button, input, label {
    line-height: 1.1;
}

h1, h2, h3, h4 { font-size: var(--size-step-3); }
.error { text-align: center; }
img, picture {
    max-width: 100%;
    display: block;
    height: auto;
    margin: 0 auto;
}

#mkarte {
    display: block;
}
#bigkarte {
    display: none;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
    white-space: nowrap;
    color: currentColor;
}

a {
    text-decoration: none;
}

textarea:not([rows]) {
    min-height: 10em;
}

:target {
    scroll-margin-block: 5ex;
}

/* Root Variables */
:root {
    --color-dark: #404040;
    --color-light: #fafafa;
    --color-primary: #0a5694;
    --color-secondary: #09487C;

    --font-base: sans-serif;

    --space-s: clamp(1rem, 0.92rem + 0.39vw, 1.25rem);
    --space-m: clamp(1.5rem, 1.38rem + 0.58vw, 1.875rem);
    --space-l: clamp(2rem, 1.84rem + 0.78vw, 2.5rem);
    --space-xl: clamp(3rem, 2.77rem + 1.17vw, 3.75rem);

    --size-step-1: clamp(1.1875rem, 1.01rem + 0.87vw, 1.75rem);
    --size-step-2: clamp(1.4375rem, 1.11rem + 1.65vw, 2.5rem);
    --size-step-3: clamp(1.75rem, 1.19rem + 2.82vw, 3.5625rem);

    --gutter: var(--space-m);
    --border-radius: var(--size-step-1);

    --transition-base: 250ms ease;
    --transition-fade: 200ms ease;

    --tracking: -0.05ch;
}

:root {
    font-size: clamp(14px, 1rem + 0.25vw, 18px);
}

/* special-elite-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Special Elite';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/special-elite-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* fredericka-the-great-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Fredericka the Great';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/fredericka-the-great-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Custom CSS */
header {
    grid-area: header;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    background-color: #d3d3d3;
}

.type {
    font-family: "Special Elite";
}
header img {
    width: 100vw;
    height: auto;
}

.headingline span {
    font-family: var(--font-spanhead);
    color: #767676;
    font-weight: 200;
}

h1, h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #444;
}

p, a {
    font-size: var(--size-step-0);
    line-height: 1.4;
    margin-bottom: var(--space-s);
    text-align: left;
    max-width: 80ch;
}

#start {
    grid-column: 1;
    padding: 1rem;
    margin-left: var(--space-l);
    text-align: center;
}

.center {
    text-align: center;
}
.statement {
    margin-left: 4rem;
    margin-right: 4rem;
    font-style: italic;
    text-align: center;
}
#start p {
    text-align: center;
    margin: 0 auto;
}
.menu-section h1, h2, h3 {
    font-family: 'Special Elite';
}
.menu-text {
    font-family: 'Special Elite';
}

.bigpic {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

footer {
    display: grid;
    grid-template-columns: 1fr;
    background-color: #333;
    color: #fff;
    align-items: center;
    justify-items: center;
    text-align: center;
    border-top: 10px solid #8b0000;
}

footer > *:first-child { order: 2; }

#impressum, #datenschutz { margin-left: var(--space-l); }

.subtle {
    color: #fff;
    font-weight: 300;
    font-size: 1rem;
}

.msvg {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 2rem;
}
.ssvg {
    width: 60%;
    color: #fff;
}

h2 span {
    font-family: var(--font-spanhead);
    color: #444;
    font-size: 2rem;
    font-weight: 200;
}

#markenh1 span {
    font-family: var(--font-spanhead);
    font-weight: 200;
    color: #666;
}

#logosvg {
    display: block;
    margin: auto;
    width: 40vw;
    height: auto;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.square {
    width: 80vw;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-radius: 50px;
}

svg#email {
    width: 10rem;
    align-self: center;
}

#phone {
    max-width: 50rem;
}

#social { text-align: center; }

#mobilelogo {
    display: block;
    margin: auto;
    width: 60vw;
    height: auto;
    margin-top: 1rem;
    margin-bottom: 3rem;
}
#fullsizelogo { display: none; }


#openinghours { line-height: 0.5; }

#applemaps, #googlemaps, #osm {
    height: 120px;
    padding: 10px;
}

#kontakt p {
    text-align: center;
    font-size: var(--size-step-2);
}

#kontakt p span {
    font-family: var(--font-spanhead);
    font-weight: 200;
    color: #666;
}

#kontakt {
    align-items: center;
    justify-items: center;
    text-align: center;
}

#kontakt p {
    padding: 2rem;
}

nav {
    position: relative;
    width: 100%;
}

.nav-link {
    display: inline-block;
    margin: 0 0.5rem;
    text-decoration: none;
    color: #000;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
}

.nav-link.current, .foot-link.current { border-color: #6D9DC5 }

.foot-link {
    display: inline-block;
    border-bottom: 2px solid #808080;
    padding-bottom: 3px;
    color: #fff;
}
.foot-link:hover { color: #ff0000; }
.foot-link.current { color: #fff;  }

footer p { text-align: center; }

#navToggle {
    display: block;
    cursor: pointer;
    position: fixed;
    top: 30px;
    right: 5px;
    z-index: 101;
    align-self: center;
}

#navToggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: #000;
    transition: transform 0.3s ease;
}

#navToggle.active span:first-child { transform: rotate(45deg) translate(3px, 3px); }

#navToggle.active span:last-child { transform: rotate(-45deg) translate(3px, -3px); }

#navToggle.active span { background-color: #fff; }

#navLinks {
    display: grid;
    grid-template-columns: 1fr;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #000;
    transform: translateX(-100%);
    opacity: 0;
    justify-items: center;
    align-content: center;
    z-index: 99;
}

#navLinks a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
}

nav > section { display: none; }

#navToggle.active + #navLinks {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.foot-link {
    display: inline-block;
    border-bottom: 2px solid #fff;
    padding-bottom: 3px;
}

footer p {
    text-align: center;
    color: #fff;
}

#facebookicon, #instagramicon {
    height: 100px;
    padding: 10px;
}

#redframe {
    border: 4px solid #ff0000;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
    display: inline-block;
}

#phonemail {
    text-align: center; /* Center the content */
    padding: 1rem 0; /* Optional padding for better spacing */
}

#phonemail svg {
    fill: #fff; /* Set the SVG color to white */
    width: 25vw; /* Set the width to 10% of the viewport width */
    max-width: 30%; /* Ensure the width does not exceed 10% of the viewport width */
    height: auto; /* Maintain the aspect ratio */
    display: inline-block; /* Ensure it is inline-block for proper spacing */
    transition: fill 0.3s ease; /* Smooth transition for color changes */
    padding: 0.8rem;
}

@media (min-width: 936px) {
    #navToggle { display: none; }

    #navLinks {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, auto));
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        transform: none;
        opacity: 1;
        justify-content: center;
        align-content: center;
        gap: -5px;
    }

    #navLinks a {
        display: inline-block;
        margin: 0 5px;
        color: #000;
        font-size: 1rem;
    }
    #navLinks a.footer-link { display: none; }

    nav > section { display: block; }

    footer > *:first-child {
        order: initial;
    }

    footer {
        grid-template-columns: repeat(3, 1fr);
    }

    footer > *:not(:last-child) {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    footer a { font-size: 0.9rem; }
    #fullsizelogo {
        display: block;
        margin: auto;
        width: 95vw;
        height: auto;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    #mobilelogo { display: none; }

    #bigkarte {
        display: block;
        margin-bottom: 2rem;
    }

    #mkarte {
        display: none;
    }

    article#marken {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        grid-gap: 30px;
        padding: 40px;
        align-items: center;
        justify-items: center;
    }

    .msvg { padding: 2rem; }

    #start {
        grid-column: 1;
        padding: 1rem;
        margin-left: var(--space-l);
        text-align: center;
    }

    p.social {
        font-size: 2.8rem;
    }

    svg#email {
        width: 20vw;
    }

    h1 { font-size: var(--size-step-3); }
}
.item-details {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px;
    align-items: center;
    padding: 10px 0;
}

.item-details h3 {
    grid-column: 1 / 2;
    margin: 0;
    margin-left: 1rem;
    font-size: 2rem;
}

.item-details > span {
    grid-column: 2 / 3;
    text-align: right;
    margin: 0;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.item-details p {
    grid-column: 1 / 2;
    margin: 0;
    margin-left: 1rem;
}

.item-details p span {
    grid-column: 2 / 3;
    text-align: right;
    margin-left: auto;
}
.menu {
    margin-left: 1rem;
}
