/**
* Template Name: Yummy
* Template URL: https://bootstrapmade.com/yummy-bootstrap-restaurant-website-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/**
* Sven Hemprich – gemeinsame Basis für alle Seiten
* base.css
* Farben kommen aus der jeweiligen Seiten-CSS (index.css, fuehrung-dialog.css …)
*/

/* bitte keine automatische Dark-Theme-Anpassung! */
:root {
  color-scheme: light;
}

/*--------------------------------------------------------------
# Schriften (lokal, liegen in assets/css/fonts/)
--------------------------------------------------------------*/

/* roboto-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v48-latin-regular.woff2') format('woff2'),
       url('fonts/roboto-v48-latin-regular.ttf') format('truetype');
}

/* roboto-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/roboto-v48-latin-italic.woff2') format('woff2'),
       url('fonts/roboto-v48-latin-italic.ttf') format('truetype');
}

/* roboto-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/roboto-v48-latin-500.woff2') format('woff2'),
       url('fonts/roboto-v48-latin-500.ttf') format('truetype');
}

/* roboto-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/roboto-v48-latin-700.woff2') format('woff2'),
       url('fonts/roboto-v48-latin-700.ttf') format('truetype');
}

/* lxgw-wenkai-tc-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'LXGW WenKai TC';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lxgw-wenkai-tc-v10-latin-regular.woff2') format('woff2');
}

/* lxgw-wenkai-tc-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'LXGW WenKai TC';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/lxgw-wenkai-tc-v10-latin-700.woff2') format('woff2');
}

/* inter-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/inter-v19-latin-regular.woff2') format('woff2'),
       url('fonts/inter-v19-latin-regular.ttf') format('truetype');
}

/* inter-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/inter-v19-latin-500.woff2') format('woff2'),
       url('fonts/inter-v19-latin-500.ttf') format('truetype');
}

/* inter-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/inter-v19-latin-700.woff2') format('woff2'),
       url('fonts/inter-v19-latin-700.ttf') format('truetype');
}

/*--------------------------------------------------------------
# Variablen
# Die Akzentfarben (--accent-*) und --light-bg setzt jede Seite
# in ihrer eigenen CSS-Datei. Hier stehen nur die gemeinsamen Werte.
--------------------------------------------------------------*/

:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --heading-font: "LXGW WenKai TC", serif;
  --nav-font: "Inter", sans-serif;

  --background-color: #ffffff;
  --default-color: #212529;
  --heading-color: #37373f;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --nav-color: #5a5a6e;
  --nav-hover-color: var(--accent-color);
  --nav-mobile-background-color: #ffffff;

  --hero-bg: var(--light-bg);
  --topbar-h: 40px;

  scroll-behavior: smooth;
}

.light-background {
  --background-color: var(--light-bg);
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1f1f24;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #37373f;
  --contrast-color: #ffffff;
}

/*--------------------------------------------------------------
# Allgemein
--------------------------------------------------------------*/

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* Wellen-Trenner zwischen Hero und erster Section */
.section-divider {
  display: block;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.section-divider svg {
  display: block;
  width: 100%;
}

.section-divider path {
  fill: var(--accent-color);
}

/* Cookie-Hinweis (Datenschutz) */
.cookie-notice {
  background-color: color-mix(in srgb, var(--accent-color) 12%, white);
  padding: 20px 0;
}

.cookie-notice i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.cookie-notice p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/

#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background: var(--accent-color);
  color: #fff;
  z-index: 1031;
  transition: background .3s ease;
}

#topbar .container { height: 100%; }

#topbar .contact-info {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
}

#topbar .contact-info .item {
  display: flex;
  align-items: center;
  gap: 10px;
}

#topbar .contact-info i {
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-style: normal;
}

#topbar .contact-info a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-style: normal;
}

#topbar .contact-info a:hover {
  color: var(--accent-light);
}

#topbar + .header {
  margin-top: var(--topbar-h);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header.sticky-top {
  top: var(--topbar-h);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Text-Logo (Name + Punkt + Tagline) */
.header .brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-decoration: none;
}

.header .brand .sitename {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin: 0;
  font-family: var(--default-font);
}

.header .brand .sitename span {
  color: var(--accent-color);
  margin-left: 2px;
}

.header .brand .tagline {
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  color: var(--accent-color);
  font-family: var(--nav-font);
}

/* Header-Button "Kontakt" */
.header .btn-get-started,
.header .btn-get-started:focus {
  color: #fff;
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 50px;
  transition: background 0.3s, color 0.3s;
}

.header .btn-get-started:hover,
.header .btn-get-started:focus:hover {
  color: #fff;
  background: var(--accent-hover);
}

@media (max-width: 1200px) {
  .header .brand { order: 1; }
  .header .btn-get-started { order: 2; margin: 0 15px 0 0; padding: 6px 20px; }
  .header .navmenu { order: 3; }
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/* Desktop */
@media (min-width: 1200px) {
  .navmenu { padding: 0; }

  .navmenu ul {
    margin: 0; padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li { position: relative; }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child { padding-right: 0; }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 80%, black 50%);
  }
}

/* Mobil */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    transition: color 0.3s;
    display: block;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 8px;
  }

  .navmenu { padding: 0; z-index: 9997; }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #333333;
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--accent-color);
  }

  .mobile-nav-active { overflow: hidden; }

  .mobile-nav-active .navmenu {
    position: fixed;
    top: 80px;
    max-height: 40vh;
    overflow: hidden;
    overflow-y: auto;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: 0.3s;
    padding: 20px 0;
  }

  .mobile-nav-active .navmenu>ul { display: block; }

  .mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: 60px;
    right: 40px;
    font-size: 32px;
    margin-right: 0;
    color: var(--accent-color);
    z-index: 10000;
  }
}

/* Home-Link auf Desktop ausblenden, mobil zeigen */
.navmenu li:first-child { display: none; }

@media (max-width: 1199px) {
  .navmenu li:first-child { display: block; }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
  --heading-font: var(--default-font);
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

.footer .icon {
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}

.footer h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer .footer-brand {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--heading-color);
}

.footer .address p { margin-bottom: 0px; }

.footer a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover { color: var(--accent-footer-hover); }

.footer .copyright {
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p { margin-bottom: 0; }

.footer p,
.footer a { font-size: 14px; line-height: 1.5; }

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader::before,
#preloader::after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader::after { animation-delay: -0.5s; }

@keyframes animate-preloader {
  0% { width: 10px; height: 10px; top: calc(50% - 5px); left: calc(50% - 5px); opacity: 1; }
  100% { width: 72px; height: 72px; top: calc(50% - 36px); left: calc(50% - 36px); opacity: 0; }
}

/*--------------------------------------------------------------
# Scroll Top
--------------------------------------------------------------*/

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i { font-size: 24px; color: #fff; line-height: 0; }
.scroll-top:hover { background-color: var(--accent-hover); color: #fff; }
.scroll-top.active { visibility: visible; opacity: 1; bottom: 15px; }

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip;
}

/*--------------------------------------------------------------
# Section-Titel
--------------------------------------------------------------*/

.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 1.5px;
  font-weight: 600;
  padding: 0;
  margin: 0;
  color: #696c70;
  display: inline-block;
  text-transform: uppercase;
  font-family: var(--default-font);
}

.section-title p {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  font-family: var(--heading-font);
  line-height: 1.2;
}

.section-title p .description-title {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Hero
# Text links, Bild füllt die rechte Seite, weicher Übergang
--------------------------------------------------------------*/

.hero.section.light-background {
  background-color: var(--hero-bg);
}

.hero {
  width: 100%;
  min-height: 55vh;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
}

.hero-inner {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px 60px 60px;
  position: relative;
  z-index: 2;
}

.hero-image {
  width: 60%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  background: linear-gradient(to right, var(--hero-bg), transparent);
  z-index: 1;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 14px 0;
}

.hero h1 .accent {
  color: var(--accent-color);
}

.hero p {
  color: #333;
  margin: 0 0 24px 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.4;
}

/* Hero-Buttons */
.hero .d-flex { gap: 12px; }

.hero .btn-get-started {
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .2px;
  padding: 8px 26px;
  border-radius: 50px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  text-decoration: none;
}

/* Erster Button: gefüllt */
.hero .d-flex .btn-get-started:first-child {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.hero .d-flex .btn-get-started:first-child:hover {
  background: var(--accent-hover);
  color: #fff;
  border-color: var(--accent-hover);
}

/* Zweiter Button: Outline */
.hero .d-flex .btn-get-started + .btn-get-started {
  background: #fff;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.hero .d-flex .btn-get-started + .btn-get-started:hover {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/* Fokuszustand für Barrierefreiheit */
.hero .btn-get-started:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 2px;
}

/*--------------------------------------------------------------
# About-Sections (Textblöcke auf allen Seiten)
--------------------------------------------------------------*/

.about h3 {
  font-weight: 700;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 15px;
}

.about p .description-title { color: var(--accent-color); }

.about p strong {
  color: var(--accent-color);
  font-size: 1.2em;
}

.about .fst-italic {
  color: #696c70;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

.about .content p:last-child { margin-bottom: 0; }

.about .content p,
.about .content ul li {
  font-size: 18px;
  line-height: 1.6;
}

/* Button in About-Sections */
.about .btn-get-started {
  font-weight: 400;
  font-size: 15px;
  letter-spacing: .2px;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-block;
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.about .btn-get-started:hover {
  background: var(--accent-hover);
  color: #fff;
  border-color: var(--accent-hover);
}

/*--------------------------------------------------------------
# Infoblock (zweispaltig mit Trennlinie)
# genutzt auf: Selbst & Wandel, Stimme & Präsenz
--------------------------------------------------------------*/

.infoblock-row {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.infoblock-left,
.infoblock-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.infoblock-left {
  position: relative;
  padding-right: 40px;
}

.infoblock-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 2px;
  background: color-mix(in srgb, var(--accent-color) 25%, transparent);
  border-radius: 1px;
}

.infoblock h3 {
  font-family: var(--default-font);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 24px);
  color: var(--accent-color);
  margin-bottom: 20px;
}

.infoblock p {
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--default-color);
  margin-bottom: 0;
}

.infoblock-right {
  justify-content: center;
  transform: translateY(12px);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

/* Tablets quer und kleiner */
@media (max-width: 1199px) {
  section, .section { scroll-margin-top: 56px; }
}

/* Tablets: Hero einspaltig, Bilder begrenzen */
@media (max-width: 991.98px) {
  .hero { min-height: auto; }
  .hero-inner { flex-direction: column; }

  .hero-text {
    padding: 40px 24px;
    text-align: left;
    align-items: flex-start;
  }

  .hero-image {
    width: 100%;
    height: 320px;
  }

  .hero-image img {
    object-position: center center;
  }

  /* Übergang nicht nötig, wenn das Bild unter dem Text steht */
  .hero-image::before { display: none; }

  .about img.img-fluid {
    max-height: 300px;
    width: auto;
    margin: 0 auto;
    display: block;
  }

  .infoblock-left::after { display: none; }

  .infoblock-row {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  [data-aos-delay] { transition-delay: 0 !important; }
  .about .content p { font-size: 17px; }
}

/* Smartphones */
@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 16px; }
  .hero-image { height: 240px; }
  .section-title p { font-size: 22px; }
  .about img.img-fluid { max-height: 220px; }
}
