/* =========================================================================
   Kulmeck Restaurant – statische Website
   Optik 1:1 aus dem bisherigen WordPress-Theme (_kulmeck/css/custom.css),
   bereinigt um WordPress-/Plugin-Reste, ergänzt um Reservierungskalender.
   ========================================================================= */

@font-face {
  font-family: 'Lexend Peta';
  src: url('../fonts/lexend-peta-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Baskervville';
  src: url('../fonts/baskervville-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Nanum Myeongjo';
  src: url('../fonts/nanum-myeongjo-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #ac832e;
  --gold-btn: #ac842e;
  --gold-line: #967427;
  --sand: #e6dac0;
  --grey-dot: #ccc;
  --placeholder: #b7b7b7;
  --font-sans: 'Lexend Peta', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Baskervville', Georgia, 'Times New Roman', serif;
  --font-date: 'Nanum Myeongjo', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-sans);
  font-size: 18px;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: #000;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: -60px;
  z-index: 2000;
  background: #000;
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
}

.skip-link:focus {
  top: 10px;
}

h1, h2, h3 {
  font-weight: 400;
}

.site-container {
  width: 100%;
  overflow-x: hidden;
  /* clip statt hidden: sonst funktioniert das mitlaufende „PREVIEW“ (sticky) nicht */
  overflow-x: clip;
}

/* ---------------------------------------------------------------- Kopf --- */

#logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4em 0 3em;
  position: relative;
}

.home #logo {
  height: 100vh;
  height: 100svh;
  margin: 0;
  min-height: 550px;
}

#logo .logo-title {
  font-size: inherit;
  line-height: 0;
  display: flex;
  justify-content: center;
}

.home #logo .logo-title {
  max-width: 50%;
  margin-top: -300px;
}

#logo .logo-title img {
  display: block;
  width: 260px;
  max-width: 100%;
}

#icon {
  position: absolute;
  right: 30px;
  top: 30px;
  display: flex;
  align-items: center;
  z-index: 5;
}

#icon .social {
  display: inline-flex;
  width: 22px;
  height: 22px;
  margin-left: 10px;
  color: #000;
  transition: color 0.2s ease;
}

#icon .social:hover,
#icon .social:focus-visible {
  color: var(--gold);
}

#icon .social svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

#icon img {
  margin-left: 15px;
  display: block;
}

#icon::after,
.icon::after {
  position: absolute;
  content: '';
  width: 20px;
  height: 20px;
  right: -12px;
  top: -12px;
  border-right: 2px solid var(--gold-line);
  border-top: 2px solid var(--gold-line);
  pointer-events: none;
}

.icon {
  position: relative;
  display: inline-block;
}

.icon img {
  display: block;
}

#kontakt .icon {
  margin-bottom: 0.4em;
}

.special {
  text-align: center;
  text-transform: uppercase;
  line-height: 1.8;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.events {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8em;
}

.events:empty {
  display: none;
}

.events .event {
  margin: 0 50px;
  text-align: left;
  line-height: 1.3;
}

.event a {
  display: block;
  text-align: center;
  position: relative;
  z-index: 100;
}

.event .eventname {
  color: var(--gold);
}

.eventtime {
  color: #000;
  font-size: 0.8em;
}

.eventdate {
  font-family: var(--font-date);
  color: #000;
  text-transform: none;
  font-size: 25px;
  position: relative;
}

.datenumber {
  position: relative;
  font-size: 70px;
  letter-spacing: -3px;
  display: inline-block;
}

.datenumber::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  left: -5px;
  top: -5px;
  background: #ebebeb;
  border-radius: 50%;
  z-index: -1;
  transition: all 0.25s ease;
}

.event a:hover .datenumber::before,
.event a:focus-visible .datenumber::before {
  background: #e6dac0;
}

.fullbooked a {
  position: relative;
}

.fullbooked a::before {
  position: absolute;
  content: '';
  width: 99px;
  height: 50px;
  right: -30px;
  top: 5px;
  background: url('../img/ausgebucht.png') no-repeat;
  background-size: contain;
  z-index: 2;
}

.michelin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  margin: 4em 0 0 -10px;
  width: 100%;
  justify-content: center;
}

.michelin a {
  margin: 0 45px;
  display: block;
  line-height: 0;
}

.michelin img {
  max-width: 100%;
}

/* ------------------------------------------------------------ Inhalt ---- */

.slide {
  width: 1600px;
  margin: 3em auto 0;
  max-width: 100%;
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1.5;
  position: relative;
  display: table;
  padding-bottom: 5em;
}

.slide::after {
  position: absolute;
  content: '';
  height: 95%;
  width: 1px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  border-left: 2px dotted var(--grey-dot);
  z-index: -1;
}

.slidenav {
  position: sticky;
  top: 1em;
  left: 50%;
  transform: translate(-50%);
  font-family: var(--font-sans);
  font-size: 0.7em;
  color: var(--gold);
  background: #fff;
  padding: 10px;
  text-align: center;
  width: 160px;
  z-index: 109;
  line-height: 1.5;
}

.boxen::after {
  content: '';
  display: table;
  clear: both;
}

.box {
  margin: 40px 0;
  width: 50%;
  max-width: 50%;
}

.box img {
  display: inline-block;
  vertical-align: middle;
}

.box.margin {
  margin-top: 100px;
}

.box.left {
  text-align: right;
  float: left;
  padding-right: 5em;
}

.box.left.margin {
  margin-top: -2em;
}

.box.right {
  text-align: left;
  float: right;
  padding-left: 5em;
}

.box .tagline {
  font-size: inherit;
  line-height: inherit;
}

.box .hours {
  font-size: inherit;
  line-height: inherit;
}

.pictos {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  list-style: none;
  margin-top: 1.5em;
}

.gold,
.gold a {
  color: var(--gold);
}

.menulinks {
  list-style: none;
  padding-top: 1.5em;
}

.menulinks li {
  margin-bottom: 1.5em;
}

.menulinks a {
  color: var(--gold);
  display: inline;
}

.menulinks a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.menulinks svg {
  width: 15px;
  height: 15px;
  margin-right: 4px;
  vertical-align: baseline;
  stroke: #000;
  fill: none;
}

.menulinks .soldout-note {
  color: #000;
  font-size: 0.7em;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 6px;
}

.address {
  font-style: normal;
}

.address a {
  color: var(--gold);
}

/* ------------------------------------------------- Reservierungsformular */

.reservation-form {
  display: block;
  position: relative;
}

.reservation-form .field {
  display: block;
}

.reservation-form input[type='text'],
.reservation-form input[type='email'],
.reservation-form input[type='tel'],
.reservation-form input[type='number'],
.reservation-form .date-trigger {
  width: 440px;
  max-width: 100%;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid var(--sand);
  border-radius: 0;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  color: #000;
  font-size: 16px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}

.reservation-form input[type='number'] {
  -moz-appearance: textfield;
}

.reservation-form input::-webkit-outer-spin-button,
.reservation-form input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.reservation-form input:focus,
.reservation-form .date-trigger:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.reservation-form input[aria-invalid='true'],
.reservation-form .date-trigger[aria-invalid='true'] {
  border-bottom-color: #b3261e;
}

::placeholder {
  font-family: var(--font-sans);
  letter-spacing: 2px;
  color: var(--placeholder);
  font-size: 14px;
  text-transform: uppercase;
  opacity: 1;
}

.date-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 55px;
}

.date-trigger .date-placeholder {
  letter-spacing: 2px;
  color: var(--placeholder);
  font-size: 14px;
  text-transform: uppercase;
}

.date-trigger .date-value {
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.date-trigger svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: var(--gold);
  fill: none;
}

.field-date {
  position: relative;
  width: 440px;
  max-width: 100%;
  margin-left: auto;
}

.box.right .field-date {
  margin-left: 0;
}

.acceptance {
  font-size: 12px;
  line-height: 1.2;
  width: 440px;
  max-width: 100%;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 5px 0 5px auto;
  color: rgba(0, 0, 0, 0.5);
  text-align: right;
  font-family: var(--font-serif);
}

.acceptance input {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--gold);
}

.acceptance a {
  color: rgba(0, 0, 0, 0.7);
  text-decoration: underline;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  overflow: hidden;
}

.btn-submit {
  background: var(--gold-btn);
  color: #fff;
  width: auto;
  padding: 1em 1.5em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-size: 19px;
  float: right;
  margin-top: 10px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.2s ease;
}

.btn-submit:hover {
  background: #93701f;
}

.btn-submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.form-output {
  border: none;
  background: #000;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  display: inline-block;
  padding: 0.5em 1em;
  margin: 10px 0;
  text-align: left;
  line-height: 1.4;
}

.form-output:empty {
  display: none;
}

.form-output.is-success {
  background: #000;
}

.form-output.is-error {
  background: #5c1b16;
}

.field-error {
  display: block;
  font-size: 15px;
  color: #b3261e;
  margin: -8px 0 10px;
  font-family: var(--font-serif);
}

/* ---------------------------------------------- Kalender (Popover) ---- */

.cal-popover {
  position: absolute;
  z-index: 1500;
  right: 0;
  top: calc(100% - 4px);
  width: 330px;
  max-width: 92vw;
  background: #0d0d0d;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  text-align: left;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.box.right .cal-popover {
  right: auto;
  left: 0;
}

.cal-popover[hidden] {
  display: none;
}

.cal-backdrop {
  display: none;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cal-title {
  font-family: var(--font-date);
  font-size: 18px;
  letter-spacing: 0;
}

.cal-nav {
  background: none;
  border: 1px solid #333;
  color: #fff;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cal-nav:hover:not([disabled]) {
  border-color: var(--gold);
  color: var(--gold);
}

.cal-nav[disabled] {
  opacity: 0.25;
  cursor: default;
}

.cal-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cal-grid th {
  font-weight: 400;
  color: #8c8c8c;
  font-size: 11px;
  padding: 4px 0 6px;
  text-align: center;
}

.cal-grid td {
  padding: 2px;
  text-align: center;
}

.cal-day {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 40px;
  background: none;
  border: 1px solid transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  cursor: pointer;
  position: relative;
  border-radius: 0;
}

.cal-day:hover:not([disabled]) {
  border-color: var(--gold);
}

.cal-day[disabled] {
  color: #4a4a4a;
  cursor: default;
}

.cal-day.is-today {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cal-day.is-event::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--gold);
}

.cal-day.is-event[disabled]::after {
  background: #5d4a20;
}

.cal-day[aria-pressed='true'] {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.cal-day[aria-pressed='true']::after {
  background: #fff;
}

.cal-times {
  border-top: 1px solid #262626;
  margin-top: 10px;
  padding-top: 10px;
}

.cal-times-label {
  color: #bdbdbd;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cal-times-label strong {
  color: var(--gold);
  font-weight: 400;
}

.cal-slots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cal-slot {
  flex: 1 1 0;
  min-width: 80px;
  background: none;
  border: 1px solid #444;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 10px 6px;
  cursor: pointer;
}

.cal-slot:hover,
.cal-slot[aria-pressed='true'] {
  border-color: var(--gold);
  background: var(--gold);
}

.cal-legend {
  margin-top: 10px;
  color: #8c8c8c;
  font-size: 10px;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.cal-legend .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 6px;
  vertical-align: middle;
}

.cal-close {
  display: none;
}

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

.site-footer {
  position: relative;
  padding-top: 130px;
}

.site-footer::after {
  background: url('../img/footer-muster.png') bottom left repeat-x;
  content: '';
  width: 100%;
  position: absolute;
  height: 100px;
  left: 0;
  bottom: 30px;
  z-index: 1000;
  pointer-events: none;
}

.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.4;
}

.footer-menu li {
  margin: 0 10px 10px;
}

.footer-menu a[aria-current='page'] {
  color: var(--gold);
}

/* ------------------------------------------------- Unterseiten ------- */

body:not(.home) .site-inner {
  min-height: calc(100vh - 410px);
}

body:not(.home) article {
  width: 1000px;
  margin: 0 auto 8em;
  max-width: 100%;
  font-family: var(--font-serif);
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  line-height: 1.5;
  padding: 0 1em;
}

body:not(.home) h1 {
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.2;
}

body:not(.home) article h2 {
  font-size: 21px;
  margin: 1.6em 0 0.4em;
  line-height: 1.3;
  text-align: left;
}

body:not(.home) article h3 {
  font-size: 18px;
  margin: 1.2em 0 0.3em;
  text-align: left;
}

body:not(.home) article p,
body:not(.home) article ul {
  margin-bottom: 1.5em;
}

body:not(.home) article ul {
  padding-left: 1.2em;
}

body:not(.home) article a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.25);
  text-underline-offset: 3px;
  word-break: break-word;
}

body:not(.home) article a:hover {
  color: var(--gold);
}

.draft-note {
  border-left: 3px solid var(--gold);
  background: #faf6ec;
  padding: 0.8em 1em;
  font-size: 15px;
  text-align: left;
}

.linkhome {
  position: absolute;
  width: 190px;
  font-size: 14px;
  left: 10px;
  top: 10px;
  z-index: 5;
}

/* ---------------------------------------------- Scroll-Animationen ---- */
/* Ersatz für AOS: gleiche Effekte, ohne Bibliothek. Nur aktiv mit JS und
   ohne "Bewegung reduzieren". */

.anim [data-aos] {
  transition-property: opacity, transform;
  transition-duration: 1300ms;
  transition-timing-function: ease;
}

.anim [data-aos]:not(.aos-animate) {
  opacity: 0;
}

.anim [data-aos='fade-up']:not(.aos-animate) { transform: translate3d(0, 100px, 0); }
.anim [data-aos='fade-left']:not(.aos-animate) { transform: translate3d(100px, 0, 0); }
.anim [data-aos='fade-right']:not(.aos-animate) { transform: translate3d(-100px, 0, 0); }
.anim [data-aos='zoom-in-left']:not(.aos-animate) { transform: translate3d(100px, 0, 0) scale(0.6); }
.anim [data-aos='zoom-in-right']:not(.aos-animate) { transform: translate3d(-100px, 0, 0) scale(0.6); }
.anim [data-aos='zoom-in-up']:not(.aos-animate) { transform: translate3d(0, 100px, 0) scale(0.6); }

.anim [data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .anim [data-aos] { transition-duration: 1200ms; }
}

/* ------------------------------------------------------------ Medien -- */

@media (max-height: 840px) {
  .home #logo .michelin img {
    max-height: 11vh;
    width: auto;
    object-fit: contain;
    object-position: top;
  }
}

@media (max-height: 650px) {
  .michelin {
    margin-top: 0;
  }
}

@media (max-width: 1500px) {
  .boxen {
    transform: scale(0.9);
  }

  .slide {
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    padding-bottom: 0;
  }

  .box.margin {
    margin-top: 140px;
  }
}

@media (max-width: 1300px) {
  .box.left { padding-right: 4em; }
  .box.right { padding-left: 4em; }
  .box.margin { margin-top: 130px; }
}

@media (max-width: 960px) {
  .box.margin { margin-top: 100px; }
}

@media (max-width: 880px) {
  .box.margin { margin-top: 110px; }

  .slide { font-size: 20px; }

  .btn-submit { font-size: 17px; }

  .slidenav { width: 140px; }

  .events .event {
    font-size: 0.9em;
    margin: 0 30px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .box {
    width: calc(100% - 140px);
    max-width: 100%;
    margin-right: 20px;
    font-size: 3vw;
  }

  .slidenav {
    left: 0;
    transform: none;
    font-size: 0.5em;
    padding: 0;
    width: 100px;
  }

  .slide::after {
    left: 49px;
    transform: none;
  }

  .box.left {
    padding-right: 0;
    float: right;
  }

  .box.right {
    text-align: right;
    float: right;
    padding-left: 0;
  }

  .box.right .field-date { margin-left: auto; }

  .box.margin { margin-top: 3vw; }

  .boxen { transform: none; }

  .slide {
    display: block;
    padding-bottom: 5em;
  }

  .events .event {
    font-size: 0.8em;
    margin: 0 20px;
  }

  .michelin { margin-left: -5px; }

  .pictos { justify-content: flex-end; }

  .datenumber::before { top: 0; }

  /* Formular auf Mobil etwas breiter und gut bedienbar (ohne unter „PREVIEW“ zu laufen) */
  #kontakt {
    width: calc(100% - 120px);
  }

  .reservation-form input[type='text'],
  .reservation-form input[type='email'],
  .reservation-form input[type='tel'],
  .reservation-form input[type='number'],
  .reservation-form .date-trigger {
    font-size: 16px;
  }

  /* Kalender als Bottom-Sheet */
  .cal-popover {
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    top: auto;
    bottom: 0;
    width: 100%;
    max-width: none;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    font-size: 15px;
    max-height: 92vh;
    overflow-y: auto;
  }

  .cal-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1400;
  }

  .cal-close {
    display: inline-flex;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 6px;
  }

  .cal-day {
    font-size: 15px;
    max-height: 48px;
  }

  .cal-slot {
    font-size: 16px;
    padding: 14px 6px;
  }
}

@media (max-width: 600px) {
  .btn-submit { font-size: 13px; }

  ::placeholder {
    letter-spacing: 1px;
    font-size: 12px;
  }

  .date-trigger .date-placeholder {
    letter-spacing: 1px;
    font-size: 12px;
  }

  .margin.box .tagline br {
    display: none;
  }

  .eventdate { font-size: 20px; }

  .datenumber { font-size: 60px; }
}

@media (max-width: 560px) {
  .events { display: block; }

  .datenumber::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
  }

  .michelin { width: 90%; }

  .michelin a { margin: 0 15px; }
}

@media (max-width: 480px) {
  .box {
    font-size: 17px;
    margin: 20px 20px 20px 0;
  }

  #logo {
    align-items: flex-start;
    padding-top: 20vh;
  }

  #logo.active {
    padding-top: 15vh;
  }

  .special {
    line-height: 1.6;
    font-size: 15px;
  }

  .events {
    flex-wrap: wrap;
    margin-bottom: 0.6em;
  }

  .events .event {
    width: 100%;
    text-align: center;
    margin: 0 0 1em;
    padding: 0 10px;
  }

  .home #logo .logo-title {
    margin-top: 0;
    max-width: 40%;
  }

  .datenumber::before {
    width: 60px;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
  }

  .michelin {
    margin-top: 2em;
    top: 50%;
  }

  .home #logo .michelin img {
    max-height: 9vh;
    width: auto;
    object-fit: contain;
  }

  .menulinks a { font-size: 17px; }

  .date-trigger .date-value {
    font-size: 13px;
    letter-spacing: 0;
  }

  .menulinks svg { transform: scale(0.8); }

  .acceptance { font-size: 11px; }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
  .home #logo .logo-title {
    max-width: 25%;
    margin-top: 5%;
  }

  #logo { align-items: flex-start; }

  .home #logo { min-height: 490px; }

  .michelin { top: 62%; }
}

@media (max-width: 380px) {
  ::placeholder {
    letter-spacing: 1px;
    font-size: 10px;
  }

  .date-trigger .date-placeholder {
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .slidenav {
    font-size: 0.3em;
    width: 60px;
  }

  .slide::after { left: 29px; }

  .box { width: calc(100% - 100px); }

  #kontakt { width: calc(100% - 90px); }
}

/* --------------------------------------------- Mobil-Kopfbereich ---- */
/* Social-Icons links, TW-Logo rechts (2/3 Größe), Startbereich als ruhige
   Spalte statt Vollbild, damit das erste Bild unten bereits anschneidet. */

@media (max-width: 600px) {
  #icon {
    top: 22px;
    right: 24px;
    left: 22px;
  }

  #icon .social {
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0 16px 0 0;
  }

  /* unsichtbar vergrößerte Tippfläche */
  #icon .social::before {
    content: '';
    position: absolute;
    inset: -12px -8px;
  }

  #icon img {
    width: 26px;
    height: 26px;
    margin-left: auto;
  }

  #icon::after {
    width: 11px;
    height: 11px;
    right: -8px;
    top: -6px;
    border-width: 1.5px;
  }

  .home #logo,
  .home #logo.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(24vh + 50px);
    padding-top: calc(24svh + 50px);
  }

  .home #logo .logo-title {
    order: 1;
    margin: 0;
    max-width: 40%;
  }

  .home #logo .michelin {
    order: 2;
    position: static;
    transform: none;
    width: 92%;
    margin: calc(12vh + 40px) 0 0;
    margin-top: calc(12svh + 40px);
  }

  .home #logo .special {
    order: 3;
    position: static;
    /* sichtbarer Abstand zum Termin mindestens so groß wie Logo -> Auszeichnungen */
    margin-top: calc(12vh + 50px);
    margin-top: calc(12svh + 50px);
  }

  .home .slide {
    margin-top: 8vh;
    margin-top: 8svh;
  }
}

/* Kleinere Handys: Abstände etwas straffen, damit der Termin sichtbar bleibt */
@media (max-width: 600px) and (max-height: 760px) {
  .home #logo,
  .home #logo.active {
    padding-top: calc(20vh + 10px);
    padding-top: calc(20svh + 10px);
  }

  .home #logo .michelin {
    margin-top: calc(10vh + 30px);
    margin-top: calc(10svh + 30px);
  }

  .home #logo .special {
    margin-top: calc(10vh + 40px);
    margin-top: calc(10svh + 40px);
  }
}

@media print {
  .slidenav,
  .site-footer::after,
  .cal-popover,
  #icon { display: none !important; }

  .anim [data-aos] { opacity: 1 !important; transform: none !important; }
}
