/* style.css */

/* =========================
   Farben & Schriften
========================= */
:root {
  --color-gunmetal: #202933;
  --color-azul: #28374A;
  --color-slate-grey: #6E7F8D;
  --color-verde-opaco: #6B6751;

  --color-cordovan: #843939;
  --color-logo: #bac38a;
  --color-terra-queimada: #754437;
  --color-bone: #CFC8BC;
  --color-areia: #D3C7AD;

  --color-text: #2b3440;
  --color-bg: #ffffff;
  --color-surface: #f8f6f1;
  --color-surface-2: #f3eee5;
  --color-border: rgba(32, 41, 51, 0.08);
  --color-shadow: rgba(0, 0, 0, 0.05);

  --font-body: 'Montserrat', sans-serif;
  --font-header: 'Mouse Memoirs', cursive;

  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 20px;

  /* Layout */
  --sidebar-left: 20px;
  --sidebar-width: 120px;
  --sidebar-gap: 20px;
  --container-max-width: 1200px;
  --container-padding: 2rem;

  /* Abstände */
  --space-section: 5rem;
  --space-section-small: 3.5rem;
  --space-card: 2rem;
}

/* =========================
   Lokale Fonts
========================= */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: 'Mouse Memoirs';
  src: url('fonts/Mouse_Memoirs/MouseMemoirs-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/Material_Symbols_Outlined/static/MaterialSymbolsOutlined-Regular.ttf') format('truetype');
}

/* =========================
   Material Symbols
========================= */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  letter-spacing: normal;
  text-transform: none;
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

/* =========================
   Basis
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  hyphens: auto;

}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  max-width: 68ch;
}

h1,
h2,
h3,
p,
li,
dd,
dt,
a {
  overflow-wrap: break-word;
}

iframe {
  max-width: 100%;
}

/* =========================
   Allgemeine Sektionen
========================= */

main {
  margin-left: calc(var(--sidebar-left) + var(--sidebar-width) + var(--sidebar-gap));
  width: calc(100% - var(--sidebar-left) - var(--sidebar-width) - var(--sidebar-gap));
  color: var(--color-gunmetal);
}

main section {
  width: 100%;
  padding: 0;
}

main section:first-child {
  margin-top: var(--space-section);
}

main section+section {
  margin-top: var(--space-section);
}

.container {
  width: min(var(--container-max-width),
      calc(100% - 2 * var(--container-padding)));
  margin-inline: auto;
}

main h2 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 1rem;
}

/* =========================
   Logo
========================= */
/* .logo {
  font-family: var(--font-header);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-logo);
  line-height: 1;
  text-align: center;
  margin-bottom: 1.25rem;
} */

.logo-image {
  display: block;
  width: 100%;
  max-width: 100px;
  height: auto;

  margin: 0;
}

.impressum-logo {
  display: flex;
  align-items: center;
}

.impressum-logo img {
  display: block;
  width: 120px;
  height: auto;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.hero-main {
  min-width: 0;
}

.hero-sidebar {
  position: fixed;
  top: 20px;
  bottom: 20px;
  left: var(--sidebar-left);
  width: var(--sidebar-width);

  z-index: 20;

  background-color: rgba(32, 41, 51, 0.82);
  border-radius: var(--radius-m);

  padding: 1.25rem 0.7rem;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-sidebar>a {
  display: flex;
  justify-content: center;
  width: 100%;

  margin-block: 0.75rem 1rem;
}

.hero-image {
  position: relative;
  min-height: 100vh;
  background-image: url("pics/Grunsnuck-HofMitWeitblick_compressed.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(207, 200, 188, 0.16),
      rgba(207, 200, 188, 0.34));
}


/* Evtl. raus */
/* .hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero-text h1 {
  font-family: var(--font-header);
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: none;
}
 */

/* =========================
   Seitennavigation
========================= */

.mobile-menu {
  display: none;
}

.side-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;

  gap: 0;

  width: 100%;
  flex: 1;
}

.side-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-bone);
  padding: 0.65rem 0.35rem;
  width: 100%;
  border-radius: 10px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.side-nav a:hover {
  background-color: rgba(255, 255, 255, 0.07);
  color: white;
  transform: translateY(-1px);
}

.side-nav .material-symbols-outlined {
  font-size: 24px;
}

.side-label {
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.25;
  max-width: 78px;
}


/* =========================
   Intro
========================= */

.intro h2,
.intro p {
  margin-bottom: 2rem;
}

.intro p {
  max-width: 85ch;
}

.intro .zitat {
  font-weight: bold;
  font-size: 1.17em;
}

.intro h2,
.locations h2,
.contact h2 {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-gunmetal);
}


/* =========================
   Content Sections
========================= */

.content-layout {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 3.5rem;
  align-items: start;

  padding: 3rem;

  background-color: var(--color-slate-grey);
  color: white;

  /* border-radius: var(--radius-1); */

  box-shadow: 0 6px 18px var(--color-shadow);
}


/* =========================
   Content Bild
========================= */

.content-image {
  overflow: hidden;
  border-radius: var(--radius-m);
}

.content-image img {
  display: block;
  width: 100%;

  aspect-ratio: 1 / 1;
  object-fit: cover;
}


/* =========================
   Content Text
========================= */

.content-text {
  text-align: left;
}

.content-text h2 {
  color: inherit;

  font-family: var(--font-body);
  font-weight: 600;

  margin-bottom: 0.5rem;
}

.content-text h3 {
  color: inherit;

  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.03em;

  margin-bottom: 1.75rem;
}

.content-text p {
  max-width: 60ch;
  margin-bottom: 1.25rem;
}


/* =========================
   Content Listen
========================= */

.content-text ul {
  max-width: 60ch;
  padding-left: 1.25rem;
}

.content-text li {
  margin-bottom: 0.85rem;
}

.content-text li::marker {
  color: var(--color-logo);
}

.content-text li:last-child {
  margin-bottom: 0;
}

/* =========================
   Content Buttons
========================= */

.content-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;

  background-color: var(--color-logo);
  color: var(--color-gunmetal);

  border: 2px solid var(--color-logo);
  border-radius: var(--radius-s);

  font-weight: 600;
  line-height: 1.2;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}


.content-button:hover {
  background-color: transparent;
  color: white;

  transform: translateY(-2px);
}


.content--light .content-button {
  background-color: var(--color-gunmetal);
  color: white;

  border-color: var(--color-gunmetal);
}


.content--light .content-button:hover {
  background-color: transparent;
  color: var(--color-gunmetal);
}


.content-button:focus-visible {
  outline: 3px solid var(--color-logo);
  outline-offset: 3px;
}


/* =========================
   Wechselnde Ausrichtung
========================= */

.content-reverse .content-layout {
  grid-template-columns: 2fr 1.5fr;
}

.content-reverse .content-image {
  order: 2;
}

.content-reverse .content-text {
  order: 1;
}


/* =========================
   Helle Variante
========================= */

.content--light .content-layout {
  background-color: var(--color-surface-2);
  color: var(--color-gunmetal);
}


/* =========================
   Produkte - Content Section
========================= */

.product-list {
  max-width: 60ch;
}

.product-item {
  margin-bottom: 1.4rem;
}

.product-item:last-child {
  margin-bottom: 0;
}

.product-item dt {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.product-item dd {
  margin: 0;
}

.product-closing {
  margin-top: 2rem;
  margin-bottom: 0;
  font-weight: 600;
}

/* =========================
   Standorte & Öffnungszeiten
========================= */

.locations {
  background-color: var(--color-surface);
  padding: var(--space-section) 0;
}

.locations .container {
  max-width: 1120px;
}


/* Überschrift / Intro */

.locations h2 {
  margin-bottom: 1rem;
}

.locations .section-intro {
  max-width: 70ch;
  margin-bottom: 2.5rem;
}


/* Standort-Grid */

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
}


/* Standort-Karten */

.location-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-l);

  padding: 2.25rem;

  box-shadow: 0 6px 18px var(--color-shadow);
}


/* Icon */

.location-icon {
  margin-bottom: 0.75rem;
  color: var(--color-logo);
}

.location-icon .material-symbols-outlined {
  font-size: 30px;
}


/* Überschriften */

.location-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--color-gunmetal);
}


/* Text */

.location-address,
.location-times,
.location-note {
  color: var(--color-gunmetal);
  margin-bottom: 1.25rem;
  max-width: none;
}

.location-note {
  color: var(--color-verde-opaco);
}


/* Links */

.location-card a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}


/* Karte */

.location-iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;

  border: 0;
  border-radius: var(--radius-s);

  margin-top: 1.5rem;
}


/* =========================
   Über uns
========================= */

.about {
  padding: var(--space-section) 0;
}

.about .container {
  max-width: 1120px;
}


/* Oberer Bereich */

.about-top {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;

  margin-bottom: 3.5rem;
}


/* Bild */

.about-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-l);
}

.about-image img {
  display: block;
  width: 100%;

  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-image::before {
  content: "";

  position: absolute;
  inset: 0;

  background-color: rgba(211, 199, 173, 0.14);

  z-index: 1;
}


/* Text */

.section-kicker {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: var(--color-verde-opaco);

  margin-bottom: 0.9rem;
}

.about-content {
  color: var(--color-gunmetal);
}

.about-content h2 {
  font-family: var(--font-body);
  font-weight: 600;

  color: var(--color-gunmetal);

  margin-bottom: 1.4rem;
}

.about-text {
  margin-bottom: 1.1rem;
}


/* Werte */

.about-values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.about-value {
  background-color: var(--color-surface);

  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-verde-opaco);
  border-radius: var(--radius-m);

  padding: 1.5rem;
}

.about-value h3 {
  margin-bottom: 0.55rem;

  color: var(--color-verde-opaco);

  font-size: 1rem;
}

.about-value p {
  font-size: 0.95rem;
  line-height: 1.65;
}


/* =========================
   Kontakt
========================= */

.contact {
  background-color: var(--color-surface-2);
  padding: var(--space-section-small) 0 2.5rem;
  text-align: center;
}

.contact h2 {
  margin-bottom: 1rem;
}

.contact p {
  margin-inline: auto;
  margin-bottom: 0.75rem;
}

.contact a {
  color: var(--color-verde-opaco);
  font-weight: 600;
}

.contact a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}


/* =========================
   Footer
========================= */

footer {
  margin-left: calc(var(--sidebar-left) + var(--sidebar-width) + var(--sidebar-gap));

  width: calc(100% - var(--sidebar-left) - var(--sidebar-width) - var(--sidebar-gap));

  background-color: var(--color-surface-2);

  text-align: center;
  padding: 1.5rem 0 2rem;

  font-size: 0.9rem;
  color: var(--color-gunmetal);
}

footer p {
  margin-inline: auto;
}

footer p+p {
  margin-top: 0.4rem;
}

footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}


/* =========================
   Impressum
========================= */


/* Gesamte Impressumsseite */

.impressum-page {
  background-color: var(--color-bg);
  color: var(--color-gunmetal);
}


/* =========================
   Impressum Header
========================= */

.impressum-page header {
  background-color: var(--color-gunmetal);
}

.impressum-page header .container {
  min-height: 90px;

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


/* Logo */

/* .impressum-logo {
  font-family: var(--font-header);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;

  color: var(--color-logo);
} */


.impressum-back {
  color: var(--color-bone);
  font-weight: 600;

  transition: color 0.2s ease;
}

.impressum-back:hover {
  color: white;
}



/* =========================
   Main
========================= */

.impressum-page main {
  margin-left: 0;
  width: 100%;

  color: var(--color-gunmetal);
}

.impressum-page main section:first-child,
.impressum-page main section+section {
  margin-top: 0;
}


/* =========================
   Impressum Hero
========================= */

.impressum-hero {
  padding: var(--space-section-small) 0;

  /* background-color: var(--color-surface-2); */
}

.impressum-hero h1 {
  font-family: var(--font-body);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.1;

  color: var(--color-gunmetal);
}


/* =========================
   Impressum Inhalt
========================= */

.impressum {
  padding: var(--space-section-small) 0 var(--space-section);
}

.impressum .container {
  max-width: 900px;
}


/* Fließtext */

.impressum p {
  max-width: 75ch;
  margin-bottom: 1.5rem;
}


/* Zwischenüberschriften innerhalb des Textes */

.impressum strong {
  color: var(--color-gunmetal);
  font-weight: 600;
}


/* Links */

.impressum a {
  color: var(--color-verde-opaco);

  font-weight: 600;

  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.impressum a:hover {
  color: var(--color-terra-queimada);
}


/* =========================
   Impressum Footer
========================= */

.impressum-page footer {
  margin-left: 0;
  width: 100%;

  background-color: var(--color-surface-2);
}


/* =========================
   Responsive
========================= */



/* =========================
   Kleine Desktops / Tablets
   ========================= */

@media (max-width: 1100px) {

  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* =========================
   Tablets
   ========================= */

@media (max-width: 900px) {

  /* Sidebar-Maße zentral verändern */

  :root {
    --sidebar-width: 96px;
    --sidebar-gap: 16px;
  }


  /* Navigation */

  .hero-sidebar {
    width: var(--sidebar-width);
    padding: 1.25rem 0.55rem;
  }

  .logo {
    font-size: 1.7rem;
    margin-bottom: 2rem;
  }

  .side-label {
    font-size: 0.66rem;
    max-width: 64px;
  }


  /* Content Sections */

  .content-layout,
  .content-reverse .content-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .content-reverse .content-image {
    order: 1;
  }

  .content-reverse .content-text {
    order: 2;
  }


  /* About */

  .about-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-values {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================
   Mobile
========================= */

@media (max-width: 700px) {

  :root {
    --container-padding: 1.25rem;
    --space-section: 3.5rem;
  }


  /* Seitenlayout */

  main,
  footer {
    margin-left: 0;
    width: 100%;
  }


  /* Desktop Sidebar */

  .hero-sidebar {
    display: none;
  }


  /* Mobile Navigation */

  .mobile-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    top: 12px;
    left: 12px;
    right: 12px;

    z-index: 50;

    padding: 0.8rem 1rem;

    background-color: rgba(32, 41, 51, 0.92);
    backdrop-filter: blur(10px);

    border-radius: var(--radius-m);

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  }


  /* Mobile Logo */

  .mobile-logo img {
    width: 150px;
    height: auto;
  }

  .impressum-logo img {
    width: 180px;
    height: auto;
  }


  /* Menü Button */

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    color: var(--color-bone);
    background: none;

    border: 0;
    border-radius: 10px;

    cursor: pointer;
  }

  .mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
  }

  .mobile-menu-toggle .material-symbols-outlined {
    font-size: 28px;
  }


  /* Aufklappbare Navigation */

  .mobile-nav {
    display: flex;
    flex-direction: column;

    position: absolute;

    top: calc(100% + 8px);
    left: 0;
    right: 0;

    padding: 0.75rem;

    background-color: rgba(32, 41, 51, 0.96);
    backdrop-filter: blur(10px);

    border-radius: var(--radius-m);

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s;
  }


  /* Navigation geöffnet */

  .mobile-menu.is-open .mobile-nav {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
  }


  /* Navigationslinks */

  .mobile-nav a {
    padding: 0.8rem 1rem;

    color: var(--color-bone);

    border-radius: 10px;

    font-size: 0.95rem;
    font-weight: 600;
  }

  .mobile-nav a:hover {
    color: white;

    background-color: rgba(255, 255, 255, 0.08);
  }


  /* Hero */

  .hero-image {
    min-height: 100vh;

    background-image: url("pics/Grunsnuck-HofMitWeitblick_compressed.png");
    background-position: 33% 0%;
    background-size: cover;
    background-repeat: no-repeat;
  }


  /* Überschriften */

  main h2 {
    font-size: 1.8rem;
  }


  /* Content Sections */

  .content-layout,
  .content-reverse .content-layout {
    grid-template-columns: 1fr;

    gap: 2rem;
    padding: 1.5rem;
  }

  .content-reverse .content-image {
    order: 1;
  }

  .content-reverse .content-text {
    order: 2;
  }

  .content-image img {
    aspect-ratio: 4 / 3;
  }


  /* Locations */

  .locations {
    padding: var(--space-section-small) 0;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .location-card {
    padding: 1.5rem;
  }


  /* About */

  .about {
    padding: var(--space-section-small) 0;
  }

  .about-top {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }


  /* Kontakt */

  .contact {
    padding: var(--space-section-small) 0 2.5rem;
  }

}

/* Impressum */

.impressum-page header .container {
  min-height: 72px;
}

.impressum-hero {
  padding: 2.5rem 0;
}

.impressum-hero h1 {
  font-size: 2rem;
}

.impressum {
  padding: 2.5rem 0 3.5rem;
}


/* =========================
   Kleine Handys
========================= */

@media (max-width: 520px) {

  :root {
    --container-padding: 1rem;
  }

  body {
    font-size: 15px;
  }

  main h2 {
    font-size: 1.7rem;
  }

  .content-layout {
    padding: 1.25rem;
  }

  .location-card,
  .about-value {
    padding: 1.25rem;
  }

  .mobile-menu {
    top: 10px;
    left: 10px;
    right: 10px;

    padding: 0.7rem 0.85rem;
  }

  .mobile-logo img {
    width: 100px;
  }

  .impressum-logo img {
    width: 100px;
  }


}

@media (max-width: 380px) {
  .content-layout {
    padding: 1rem;
  }
}

/* Navigation kleiner für Laptops */

@media (max-height: 800px) and (min-width: 701px) {

  .hero-sidebar {
    top: 12px;
    bottom: 12px;
    padding: 0.75rem 0.55rem;
  }

  .side-nav {
    gap: 0.3rem;
  }

  .side-nav a {
    gap: 0.2rem;
    padding: 0.3rem 0.2rem;
  }

  .side-nav .material-symbols-outlined {
    font-size: 22px;
  }

  .side-label {
    font-size: 0.65rem;
    line-height: 1.15;
  }

  .logo {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
}