:root {
  --bg: #F6F3EC;
  --card: #FFFFFF;
  --ink: #191C18;
  --muted: #6C7269;
  --faint: #9AA096;

  --line: #E7E1D4;
  --line2: #F1EDE3;

  --green: #2F6B4F;
  --green-dark: #245840;
  --green-soft: #E6F0E7;

  --amber: #E4972B;
  --amber-soft: #FBF0DB;
  --blue: #3E7CA8;

  --shadow:
    0 1px 2px rgba(25, 28, 24, .04),
    0 8px 24px -12px rgba(25, 28, 24, .14);

  --radius: 16px;

  /* zentrale Layoutbreite */
  --content-max: 1120px;
  --page-padding: 16px;
}

@media (min-width: 700px) {
  :root {
    --page-padding: 20px;
  }
}


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

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  flex-direction: column;

  background: var(--bg);
  color: var(--ink);

  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;

  -webkit-font-smoothing: antialiased;

  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}


.foot {
  width: 100%;
  max-width: var(--content-max);

  margin: 0 auto;
  padding:
    22px
    var(--page-padding);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  color: #667085;
  font-size: 14px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link,
.inline-legal-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.footer-link:hover,
.inline-legal-link:hover {
  color: #111;
  text-decoration: underline;
}

.inline-legal-link {
  color: var(--primary, #326b4d);
  text-decoration: underline;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(3px);
}

.legal-modal-window {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(84vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.25);
}

.legal-modal-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-modal-header h2 {
  margin: 0;
  font-size: 22px;
}

.legal-modal-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.legal-modal-close:hover {
  background: #e4e7ec;
}

.legal-modal-content {
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.legal-text {
  color: #344054;
  line-height: 1.65;
}

.legal-text h3 {
  margin: 0 0 24px;
  color: #101828;
  font-size: 26px;
}

.legal-text h4 {
  margin: 30px 0 10px;
  color: #101828;
  font-size: 18px;
}

.legal-text p {
  margin: 0 0 14px;
}

.legal-text ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-text a {
  color: var(--primary, #326b4d);
}

body.legal-modal-open {
  overflow: hidden;
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkline input {
  margin-top: 4px;
}

@media (max-width: 680px) {
  .foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-modal {
    padding: 10px;
  }

  .legal-modal-window {
    max-height: 92vh;
    border-radius: 14px;
  }

  .legal-modal-header,
  .legal-modal-content {
    padding: 18px;
  }
}



a.linklike {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.linklike:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rname-link {
    color: inherit;
    text-decoration: none;
    font: inherit;
}

.rname-link:hover {
    color: inherit;
    text-decoration: none;
}

.tabs {
  min-width: 0;
  flex-shrink: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 6px;

  min-width: 0;
  flex-shrink: 1;
}

.add-local-link,
.local-login-link {
  white-space: nowrap;
  line-height: 1.1;
}

.add-local-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 34px;

  padding: 6px 8px;

  border-radius: 8px;

  background: var(--green);
  color: #fff;

  font-size: 10px;
  font-weight: 700;

  text-decoration: none;

  box-shadow:
    0 4px 10px
    rgba(47, 107, 79, 0.16);
}

.local-login-link {
  color: #6b7280;

  font-size: 10px;
  font-weight: 500;

  text-decoration: none;
}

.add-local-link:hover {
  background: #285b44;
}

.local-login-link:hover {
  color: #1f2937;
  text-decoration: underline;
}

.bar {
  min-width: 0;
  width: 100%;
  max-width: var(--content-max);

  margin: 0 auto;
  padding:
    14px
    var(--page-padding);

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

  gap: 10px;
}


.site-footer {
  width: 100%;
  margin-top: auto;

  border-top: 1px solid rgba(0, 0, 0, 0.09);
  background: #fff;

  flex-shrink: 0;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: flex-end;

  padding: 12px;

  background:
    rgba(15, 23, 18, 0.34);
}

.cookie-card {
  width: 100%;

  padding: 18px;

  border: 1px solid var(--line);
  border-radius: 16px;

  background: #fff;

  box-shadow:
    0 14px 40px
    rgba(0, 0, 0, 0.16);
}

.cookie-content h2 {
  margin: 0 0 8px;

  font-size: 18px;
  line-height: 1.2;
}

.cookie-content p {
  margin: 0;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.5;
}

.cookie-link {
  display: inline-block;

  margin-top: 10px;
  padding: 0;

  border: 0;
  background: none;

  color: var(--green);

  font: inherit;
  font-size: 13px;
  font-weight: 600;

  text-decoration: none;
  cursor: pointer;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: grid;
  gap: 8px;

  margin-top: 16px;
}

.cookie-btn {
  min-height: 44px;

  padding: 10px 14px;

  border-radius: 10px;

  font: inherit;
  font-size: 14px;
  font-weight: 700;

  cursor: pointer;
}

.cookie-btn-primary {
  border: 1px solid var(--green);

  background: var(--green);
  color: #fff;
}

.cookie-btn-secondary {
  border: 1px solid var(--green);

  background: #fff;
  color: var(--green);
}

.cookie-btn:focus-visible {
  outline: 3px solid
    rgba(47, 107, 79, 0.25);

  outline-offset: 2px;
}




.logo {
  min-width: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;

  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo svg {
  width: 26px;
  height: 26px;

  flex: 0 0 26px;
}

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

@media (min-width: 700px) {
  .bar {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .logo {
    gap: 10px;
    font-size: 26px;
  }

  .logo svg {
    width: 32px;
    height: 32px;

    flex-basis: 32px;
  }

  .tabs {
    gap: 14px;
  }

  .add-local-link {
    min-height: 44px;

    padding: 10px 20px;

    border-radius: 12px;

    font-size: 14px;

    box-shadow:
      0 8px 22px
      rgba(47, 107, 79, 0.24);
  }

  .local-login-link {
    font-size: 14px;
  }
}

/*
 * iOS zoomt beim Fokus auf Eingabefelder,
 * wenn deren Schriftgröße kleiner als 16px ist.
 */

input,
select,
textarea {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 860px) {

  input,
  textarea,
  select {
    font-size: 16px !important;
  }

}