@charset "UTF-8";
/* ===========================
   TEXTHASE "PERGAMENT" LOOK
   (vollflächig bis zum Rand)
=========================== */
/* ===========================
   SCSS-VARIABLEN
=========================== */
/* ===========================
   CSS CUSTOM PROPERTIES
=========================== */
:root {
  --bg-greige: #f2eee7;
  --text: #222;
  --muted: #5c5c5c;
  --nav-text: #1f1f1f;
  --nav-hover: rgba(0, 0, 0, 0.06);
  --page-max: 1400px;
  --pad-l: 8rem;
  --pad-r: 8rem;
  --accent: #6f8a6f;
  --accent-ink: #4f6654;
  --card-bg: rgba(255, 255, 255, 0.35);
  --card-bd: rgba(0, 0, 0, 0.1);
  --card-bd2: rgba(0, 0, 0, 0.06);
  --icon-bg: rgba(111, 138, 111, 0.12);
  --icon-bd: rgba(111, 138, 111, 0.25);
  --note-bg: rgba(111, 138, 111, 0.08);
}

/* ===========================
   BASE
=========================== */
html,
body {
  background: var(--bg-greige);
  color: var(--text);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

/* =========================================================
   FLIESSTEXT: Mobile-first linksbündig + Silbentrennung
========================================================= */
.content,
main,
body {
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media (min-width: 768px) {
  .content,
  main,
  body {
    text-align: justify;
    text-justify: inter-word;
  }
}
.content a {
  overflow-wrap: anywhere;
}

/* ===========================
   CONTENT-WRAPPER
=========================== */
.containeroptik {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--pad-l);
  padding-right: var(--pad-l);
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}
.containeroptik p {
  max-width: none;
  width: 100%;
  margin-right: 0;
}

@media (max-width: 575.98px) {
  :root {
    --pad-l: 1rem;
    --pad-r: 1rem;
  }
  .containeroptik {
    padding-top: 0.75rem;
    padding-bottom: 1.5rem;
  }
}
/* ===========================
   NAVBAR
=========================== */
.navbar.texthase-nav {
  background: transparent !important;
  padding: 0;
}
.navbar.texthase-nav .navbar-brand {
  padding: 0;
  margin: 0;
  flex: 0 0 auto;
}
.navbar.texthase-nav .navbar-nav .nav-link {
  color: var(--nav-text);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.navbar.texthase-nav .navbar-nav .nav-link:hover, .navbar.texthase-nav .navbar-nav .nav-link:focus {
  color: #000;
  text-decoration: none;
  background: var(--nav-hover);
}
.navbar.texthase-nav .navbar-nav .active > .nav-link {
  color: #000;
}
.navbar.texthase-nav .navbar-toggler {
  border: 0;
  padding: 0.25rem;
  flex: 0 0 auto;
}
.navbar.texthase-nav.navbar-light .navbar-toggler-icon {
  opacity: 0.85;
}

.texthase-nav-inner {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
  min-height: 80px;
  justify-content: space-between;
}
.texthase-nav-inner .navbar-nav {
  margin: 0;
  padding: 0;
}
.texthase-nav-inner .navbar-collapse {
  flex-grow: 1;
}

.navbar-logo {
  height: 70px;
  width: auto;
  max-width: 320px;
  display: block;
}

.navbar-collapse {
  margin-top: 0 !important;
}

/* MOBILE NAVBAR */
@media (max-width: 991.98px) {
  .texthase-nav-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem;
  }
  .texthase-nav-inner .navbar-nav {
    flex-direction: column !important;
    width: 100%;
    margin-left: 0 !important;
  }
  .texthase-nav-inner .navbar-nav .nav-link {
    display: block !important;
    width: 100%;
    padding: 0.875rem 1.25rem;
    margin: 0.25rem 0;
    border-radius: 0.75rem;
  }
  .mobile-nav-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    order: 1;
  }
  .navbar-toggler {
    margin-top: 0.5rem !important;
  }
  .navbar-collapse {
    order: 2 !important;
    flex-grow: 0 !important;
    width: 100% !important;
    margin-top: 1rem !important;
  }
  .navbar-logo {
    height: 46px !important;
    max-width: 220px;
  }
}
.navbar-brand,
.navbar-brand:hover,
.navbar-brand:focus {
  background: none !important;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1,
h2 {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  line-height: 1.35;
}

h1 {
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

h2 {
  font-weight: 500;
  letter-spacing: 0.015em;
  margin-top: 2.3rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

h3 {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

@media (max-width: 575.98px) {
  h1,
  h2,
  h3 {
    text-wrap: balance;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}
p {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  color: var(--text);
  max-width: 90ch;
  font-size: 1.1rem;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text);
  margin-top: 2.3rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.mobile-break {
  display: none;
}

@media (max-width: 575.98px) {
  .mobile-break {
    display: inline;
  }
}
/* ===========================
   LINKS
=========================== */
a {
  color: var(--nav-text);
  font-weight: 500;
  text-decoration: none !important;
}
a:hover {
  background: var(--nav-hover);
  text-decoration: none !important;
}
a[href^="mailto:"] {
  color: var(--nav-text);
  font-weight: 500;
  text-decoration: none !important;
}
a[href^="mailto:"]:hover {
  background: var(--nav-hover);
  text-decoration: none !important;
}

/* ===========================
   ICON-KACHEL (global!)
=========================== */
.icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--icon-bg);
  border: 1px solid var(--icon-bd);
  color: var(--accent);
}
.icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* ===========================
   ABLAUF / STEPS (Rahmen + Icons)
=========================== */
.texthase-ablauf {
  list-style: none;
  padding: 1.2rem 1.25rem;
  margin: 1.25rem 0 2.25rem;
  border: 1px solid var(--card-bd);
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.035);
}
.texthase-ablauf li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 6px;
  margin: 0;
  line-height: 1.65;
}
.texthase-ablauf li + li {
  border-top: 1px solid var(--card-bd2);
}
.texthase-ablauf .icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  transform: translateY(0.5px);
}
.texthase-ablauf .icon svg {
  width: 22px;
  height: 22px;
}
.texthase-ablauf .step-txt {
  flex: 1 1 auto;
}

@media (max-width: 575.98px) {
  .texthase-ablauf {
    padding: 1rem 0.9rem;
    border-radius: 12px;
  }
  .texthase-ablauf li {
    gap: 12px;
    padding: 12px 4px;
  }
  .texthase-ablauf .icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 9px;
  }
  .texthase-ablauf .icon svg {
    width: 20px;
    height: 20px;
  }
}
/* ===========================
   TEXTHASE CARDS (Leistungen) – 2 Spalten ab Tablet
=========================== */
.texthase-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem 0;
}

@media (min-width: 768px) {
  .texthase-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.texthase-card {
  border: 1px solid var(--card-bd);
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.035);
}
.texthase-card ul {
  margin: 0.6rem 0 0 1.2rem;
}
.texthase-card li {
  margin-bottom: 0.35rem;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.6rem;
  /*  .icon {
      flex: 0 0 36px;
      min-width: 36px;
      min-height: 36px;
      flex-shrink: 0;
    }*/
}
.card-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

@media (max-width: 575.98px) {
  .card-head {
    gap: 10px;
    /*    .icon {
          flex: 0 0 34px;
          min-width: 34px;
          height: 34px;
          border-radius: 9px;

          svg {
            width: 18px;
            height: 18px;
          }
        }*/
  }
}
/* ===========================
   HIGHLIGHT CARD (Lektorat Light)
=========================== */
.texthase-highlight {
  border: 1px solid var(--card-bd);
  background: var(--card-bg);
  border-radius: 14px;
  padding: 1.6rem;
  margin: 1.6rem 0 2rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.035);
}
.texthase-highlight .card-head {
  margin-bottom: 0.8rem;
}
.texthase-highlight .card-head .icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
}
.texthase-highlight h3 {
  margin: 0;
}

.texthase-checkblock {
  margin-top: 1rem;
}

.checkitem {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 14px 0;
  line-height: 1.65;
}
.checkitem + .checkitem {
  border-top: 1px solid var(--card-bd2);
}
.checkitem .icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
}
.checkitem .icon svg {
  width: 20px;
  height: 20px;
}
.checkitem p {
  margin: 0;
  flex: 1 1 auto;
}

.highlight-note {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  background: var(--note-bg);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
}

.step-number {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 575.98px) {
  .texthase-highlight {
    padding: 1.2rem 1.1rem;
    border-radius: 12px;
  }
  .texthase-highlight .card-head .icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 9px;
  }
  .checkitem {
    gap: 12px;
    padding: 12px 0;
  }
  .checkitem .icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border-radius: 9px;
  }
  .checkitem .icon svg {
    width: 18px;
    height: 18px;
  }
}
/* ===========================
   HERO (Bild + Zitat)
=========================== */
.texthase-hero {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-illu {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.hero-illu img {
  display: block;
  margin: 0 auto;
  width: min(860px, 92vw);
  height: auto;
  max-height: 56vh;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .hero-illu img {
    max-height: 42vh;
  }
}
.hero-quote {
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  font-weight: 500;
  line-height: 1.35;
  margin: 1.5rem auto 0.3rem;
  color: var(--text);
  font-style: italic;
  text-align: center !important;
}

@media (max-width: 575.98px) {
  .hero-quote {
    font-size: 1.3rem;
    line-height: 1.4;
    padding: 0 0.6rem;
    margin: 1.5rem auto 0rem;
  }
}
.hero-author {
  display: block;
  width: 100%;
  text-align: center !important;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 auto;
}

.texthase-hero + h1 {
  margin-top: 5rem;
}

@media (max-width: 575.98px) {
  .texthase-hero + h1 {
    margin-top: 2rem;
  }
}
/* ===========================
   FOOTER
=========================== */
footer,
.footer,
#footer {
  background: transparent;
  color: var(--muted);
}

.texthase-footer {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: 500px;
  font-size: 0.8rem;
}

.footer-link {
  color: var(--nav-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}
.footer-link:hover {
  color: #000;
  background: var(--nav-hover);
  text-decoration: none !important;
}

@media (max-width: 575.98px) {
  .footer-links {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.5rem;
    font-size: 0.9rem;
  }
  .footer-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  .footer-separator {
    display: none;
  }
}
/* ===========================
   Scroll-to-top Button
=========================== */
#scrollTopBtn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#scrollTopBtn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ===========================
   LISTEN MOBILE
=========================== */
@media (max-width: 575.98px) {
  ul,
  ol {
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
  }
}
@media (max-width: 575.98px) {
  .content ul,
  .content ol {
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
  }
  .texthase-card ul,
  .texthase-highlight ul {
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
  }
  .texthase-card li,
  .texthase-highlight li {
    padding-left: 0;
  }
}
.icon-ll {
  font-family: "Lora", serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  line-height: 1;
}