/*
 * Lübecker WortWerft – wortwerft.css
 * Eigenes Stylesheet auf Basis Bootstrap 5
 * Bootstrap kommt per CDN, diese Datei danach laden
 * Heike Jurzik, Juni 2026
 */

/* ============================================================
   FONTS – Merriweather lokal (kein Google CDN)
   ============================================================ */

@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/merriweather-v30-latin-300.woff2') format('woff2'),
       url('fonts/merriweather-v30-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/merriweather-v30-latin-300italic.woff2') format('woff2'),
       url('fonts/merriweather-v30-latin-300italic.woff') format('woff');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/merriweather-v30-latin-regular.woff2') format('woff2'),
       url('fonts/merriweather-v30-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/merriweather-v30-latin-italic.woff2') format('woff2'),
       url('fonts/merriweather-v30-latin-italic.woff') format('woff');
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/merriweather-v30-latin-700.woff2') format('woff2'),
       url('fonts/merriweather-v30-latin-700.woff') format('woff');
}
@font-face {
  font-family: 'Merriweather';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/merriweather-v30-latin-700italic.woff2') format('woff2'),
       url('fonts/merriweather-v30-latin-700italic.woff') format('woff');
}
@font-face {
  font-family: 'Merriweather Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/merriweather-sans-v22-latin-regular.woff2') format('woff2'),
       url('fonts/merriweather-sans-v22-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Merriweather Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/merriweather-sans-v22-latin-700.woff2') format('woff2'),
       url('fonts/merriweather-sans-v22-latin-700.woff') format('woff');
}


/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */

:root {
  --ww-primary:       #0b6663;
  --ww-primary-hover: #197573;
  --ww-teal:          #4dffe8;
  --ww-dark:          #212529;
  --ww-light-bg:      #f8f9fa;
  --ww-font-sans:     'Merriweather Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --ww-font-serif:    'Merriweather', Georgia, 'Times New Roman', serif;
}


/* ============================================================
   GLOBALES
   ============================================================ */

body {
  font-family: var(--ww-font-serif);
  color: var(--ww-dark);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--ww-font-sans);
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Feste Größen – Bootstrap 5 RFS (responsive calc) überschreiben */
h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

@media (max-width: 767.98px) {
  h1, .h1 { font-size: 1.75rem; }
  h2, .h2 { font-size: 1.5rem; }
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

p {
  font-size: 1.1rem;
}

a {
  color: var(--ww-primary);
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--ww-primary-hover);
}

/* Barrierefreiheit: sichtbarer Fokus-Indikator */
:focus-visible {
  outline: 3px solid var(--ww-teal);
  outline-offset: 2px;
}

/* Skip-Link für Tastaturnavigation */
.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 9999;
  background: var(--ww-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.25rem 0.25rem;
  font-family: var(--ww-font-sans);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  color: #fff;
}

/* Textauswahl */
::selection {
  color: #fff;
  background: var(--ww-dark);
}

/* ============================================================
   NAVBAR
   ============================================================ */

#mainNav {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  background-color: #fff;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 1030;
}

#mainNav .navbar-brand {
  font-family: var(--ww-font-sans);
  font-weight: 700;
  color: var(--ww-dark);
}
#mainNav .navbar-brand:hover,
#mainNav .navbar-brand:focus {
  color: var(--ww-primary);
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-family: var(--ww-font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  color: #6c757d;
  padding: 0.75rem 0;
}
#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link:active {
  color: var(--ww-primary);
}
#mainNav .navbar-nav .nav-item .nav-link.active {
  color: var(--ww-primary) !important;
}

/* Desktop: Navbar transparent über dem Hero */
@media (min-width: 992px) {
  #mainNav {
    box-shadow: none;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:hover,
  #mainNav .navbar-brand:focus {
    color: #fff;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0 1rem;
  }
  #mainNav .navbar-nav .nav-item .nav-link:hover,
  #mainNav .navbar-nav .nav-item .nav-link:active {
    color: #fff;
  }
  #mainNav .navbar-nav .nav-item:last-child .nav-link {
    padding-right: 0;
  }

  /* Nach Scroll: wieder weiß */
  #mainNav.navbar-shrink {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: var(--ww-dark);
  }
  #mainNav.navbar-shrink .navbar-brand:hover,
  #mainNav.navbar-shrink .navbar-brand:focus {
    color: var(--ww-primary);
  }
  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link {
    color: var(--ww-dark);
  }
  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav .nav-item .nav-link:active {
    color: var(--ww-primary);
  }
}

/* ============================================================
   MASTHEAD (Hero)
   ============================================================ */

/* Masthead Zentrierung */
header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 4.5rem);
  background: url('../img/header.webp') center center / cover no-repeat scroll;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

header.masthead h1 {
  font-size: 2.25rem;
}

header.masthead .lead {
  font-family: var(--ww-font-sans);
  font-weight: 700;
  font-size: 1.5rem;
}

@media (min-width: 992px) {
  header.masthead {
    height: 100vh;
    min-height: 40rem;
    padding-top: 4.5rem;
    padding-bottom: 0;
  }
  header.masthead p {
    font-size: 1.15rem;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  header.masthead h1 {
    font-size: 3.5rem;
  }
}

/* Alltagspoet-Bild im Masthead */
@keyframes rotationseinflug {
  0%   { transform: translate(180px, -60px) rotate(360deg); opacity: 0; }
  15%  { opacity: 1; }
  55%  { transform: translate(0px, 0px) rotate(-20deg); }
  70%  { transform: translate(0px, 0px) rotate(10deg); }
  82%  { transform: translate(0px, 0px) rotate(-6deg); }
  91%  { transform: translate(0px, 0px) rotate(4deg); }
  97%  { transform: translate(0px, 0px) rotate(-2deg); }
  100% { transform: translate(0px, 0px) rotate(0deg); }
}

@keyframes nachschweben {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50%       { transform: translateY(-14px) rotate(-2deg); }
}

.masthead-image {
  position: absolute;
  top: 5rem;
  right: 8%;
  width: 220px;
  animation:
    rotationseinflug 7s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    nachschweben 3.5s ease-in-out 7s infinite;
}

@media (max-width: 1199.98px) {
  .masthead-image {
    position: static;
    display: block;
    width: 150px;
    margin: 0 auto 1.5rem;
    animation: nachschweben 3.5s ease-in-out infinite;
  }
}

/* ============================================================
   CONTENT-BILDER (einheitliche Höhe, object-fit)
   ============================================================ */

.ww-content-img {
  width: 100%;
  border-radius: 0.25rem;
}

/* ============================================================
   SEITENABSCHNITTE
   ============================================================ */

.page-section {
  padding: 5rem 0;
}

.page-section-sm {
  padding: 2.5rem 0;
}

@media (max-width: 768px) {
  .page-section {
    padding: 3rem 0;
  }

  .page-section-sm {
    padding: 1.5rem 0;
  }
}

/* Trennlinie */
hr.divider {
  max-width: 3.25rem;
  margin-left: auto;
  margin-right: auto;
  border-top: 0.2rem solid var(--ww-primary);
  opacity: 1;
}

hr.divider-light {
  border-top-color: rgba(255, 255, 255, 0.7);
}

/* Weißer Text mit reduzierter Deckkraft */
.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* ============================================================
   WILLKOMMEN-SECTION (#ww)
   ============================================================ */
 
#ww .list-unstyled li {
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
 
#ww .list-unstyled li i {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ============================================================
   FARB-OVERRIDES für Bootstrap-Klassen
   ============================================================ */

.bg-primary {
  background-color: var(--ww-primary) !important;
}

.bg-dark {
  background-color: var(--ww-dark) !important;
}

.text-primary {
  color: var(--ww-primary) !important;
}

.text-secondary {
  color: var(--ww-teal) !important;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  font-family: var(--ww-font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 10rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--ww-primary);
  border-color: var(--ww-primary);
  color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--ww-primary-hover) !important;
  border-color: var(--ww-primary-hover) !important;
  color: #fff;
}
.btn-primary:focus,
.btn-primary:active:focus {
  box-shadow: 0 0 0 0.25rem rgba(11, 102, 99, 0.4) !important;
}

.btn-outline-light:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.4);
}

.btn-light:active,
.btn-light:focus,
.btn-light:focus-visible {
  background-color: #fff !important;
  border-color: #fff !important;
  color: var(--ww-dark) !important;
  box-shadow: none !important;
}

/* ============================================================
   LINKS AUF PRIMÄR-HINTERGRUND
   ============================================================ */

.bg-primary a,
.link-teal {
  color: var(--ww-teal);
  text-decoration: none;
  font-size: inherit;
}
.bg-primary a:hover,
.bg-primary a:focus,
.link-teal:hover,
.link-teal:focus {
  color: #fff;
  text-decoration: none;
}

/* Ausnahme: Buttons sollen nicht teal werden */
.bg-primary .btn {
  color: inherit;
}

/* ============================================================
   AN DECK 
   ============================================================ */

.andeck-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem;
  background: var(--ww-light-bg);
}

@media (max-width: 991.98px) {
  .andeck-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .andeck-cards {
    grid-template-columns: 1fr;
  }
}

.andeck-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.25rem;
  text-align: center;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color 0.2s, background 0.2s;
}

.andeck-card:hover,
.andeck-card:focus {
  border-color: var(--ww-primary);
  background: #f0f8f7;
  text-decoration: none;
}

.andeck-card i {
  color: var(--ww-primary);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.andeck-card h3 {
  font-size: 1rem;
  color: var(--ww-dark);
  margin-bottom: 0.4rem;
}

.andeck-card p {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
  flex: 1;
}

/* ============================================================
   PORTFOLIO-GALERIE (Ausguck)
   ============================================================ */

#portfolio .container-fluid {
  max-width: 1920px;
}

#portfolio .portfolio-box {
  position: relative;
  display: block;
  overflow: hidden;
}

#portfolio .portfolio-box img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

#portfolio .portfolio-box:hover img {
  transform: scale(1.04);
}

#portfolio .portfolio-box .portfolio-box-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  text-align: center;
  opacity: 0;
  color: var(--ww-primary);
  background: rgba(255, 255, 255, 0.85);
  transition: opacity 0.25s ease;
}

#portfolio .portfolio-box:hover .portfolio-box-caption,
#portfolio .portfolio-box:focus .portfolio-box-caption {
  opacity: 1;
}

#portfolio .portfolio-box:focus {
  outline: 3px solid var(--ww-teal);
  outline-offset: -3px;
}

#portfolio .portfolio-box .project-category {
  font-family: var(--ww-font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

#portfolio .portfolio-box .project-name {
  font-size: 1.2rem;
  font-family: var(--ww-font-serif);
  font-weight: 400;
  padding: 0 1rem;
}

/* ============================================================
   WORTWERKERIN-SEKTION
   ============================================================ */

.wortwerkerin-section {
  background-color: var(--ww-primary);
  color: #fff;
}

.wortwerkerin-section a {
  color: var(--ww-teal);
  text-decoration: none;
}
.wortwerkerin-section a:hover,
.wortwerkerin-section a:focus {
  color: #fff;
  text-decoration: none;
}

.portrait-rund {
  height: 250px;
  width: auto;
  border-radius: 50%;
  float: left;
  margin: 0 1.5rem 1.5rem 0;
}

@media (max-width: 575.98px) {
  .portrait-rund {
    float: none;
    display: block;
    margin: 0 auto 1.5rem;
  }
}

/* ============================================================
   MODALS
   ============================================================ */

.modal-content {
  background-color: var(--ww-primary);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  justify-content: flex-end;
}

.modal-footer .btn-primary {
  background-color: #fff;
  border-color: #fff;
  color: var(--ww-primary);
}
.modal-footer .btn-primary:hover,
.modal-footer .btn-primary:focus {
  background-color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--ww-primary);
}

.modal-body a {
  color: var(--ww-teal);
  text-decoration: none;
}
.modal-body a:hover,
.modal-body a:focus {
  color: #fff;
}

.btn-close {
  filter: invert(1);
}

/* ============================================================
   VITA-TABELLE (in Modal)
   ============================================================ */

.vita-table {
  width: 100%;
  border-collapse: collapse;
}
.vita-table td {
  padding: 0.5rem 1rem 0.5rem 0;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
}
.vita-table td:first-child {
  white-space: nowrap;
  font-weight: 700;
  width: 20%;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767.98px) {
  .vita-table td {
    display: block;
    width: 100%;
    white-space: normal;
  }
  .vita-table td:first-child {
    width: 100%;
    font-style: italic;
    padding-bottom: 0;
    border-bottom: none;
  }
}

/* ============================================================
   POESIEPOST-Unterseite
   ============================================================ */

.pp-sidebar {
  position: sticky;
  top: 5rem;
  align-self: start;
}

.pp-sidebar img {
  display: block;
  margin-bottom: 1.5rem;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991.98px) {
  .pp-sidebar {
    position: static;
  }
  .pp-sidebar img {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* ============================================================
   SCHREIBKURSE-Unterseite: Sub-Nav + Tab-System
   ============================================================ */

/* Sticky Sub-Nav (nur Desktop) */
.schreib-subnav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--ww-primary);
  padding: 0.5rem 1.5rem;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schreib-subnav-link {
  font-family: var(--ww-font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 0.25rem;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.schreib-subnav-link:hover,
.schreib-subnav-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.schreib-subnav-link.active {
  color: var(--ww-teal);
  border-bottom: 2px solid var(--ww-teal);
  border-radius: 0;
}

#kacheln {
  scroll-margin-top: 120px;
}

.bg-primary .list-unstyled li {
  font-size: 1.1rem;
  line-height: 1.8;
}

.bg-primary .list-unstyled li i {
  color: var(--ww-teal);
}

#schreibkurse,
#poesiepost,
#autorencoaching,
#poesietherapie,
#vermietung,
#veranstaltungen,
#textproduktion,
#datenschutz,
#impressum {
  padding-top: 11rem;
}

@media (max-width: 991.98px) {
  #schreibkurse,
  #poesiepost,
  #autorencoaching,
  #poesietherapie,
  #vermietung,
  #veranstaltungen,
  #textproduktion,
  #datenschutz,
  #impressum {
    padding-top: 7rem;
  }
}

/* Cards-Grid */
.schreib-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem;
  background: var(--ww-light-bg);
}
/* Einzelne Tab-Card */
.schreib-tab-card {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.schreib-tab-card:hover {
  border-color: var(--ww-primary);
}
.schreib-tab-card.active {
  border: 2px solid var(--ww-primary);
  background: #f0f8f7;
}
.schreib-tab-card i {
  font-size: 2.25rem;
  color: var(--ww-primary);
  display: block;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.schreib-tab-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--ww-dark);
}
.schreib-tab-card p {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}
.schreib-tab-card .schreib-tag,
.andeck-card .schreib-tag {
  display: inline-block;
  background: #e8f4f3;
  color: var(--ww-primary);
  font-family: var(--ww-font-sans);
  font-size: 0.8rem;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
}
/* Tab-Content */
.schreib-tab-pane {
  scroll-margin-top: 8rem;
  display: none;
  padding: 3rem 0 0rem;
}
.schreib-tab-pane.active {
  display: block;
}

/* Content-Header in Tab */
.schreib-content-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
}
.schreib-content-header i {
  font-size: 2rem;
  color: var(--ww-primary);
}
.schreib-content-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

/* Sub-Cards (Schreibgruppen) */
.schreib-sub-card {
  background: var(--ww-light-bg);
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.25rem;
  height: 100%;
}
.schreib-sub-card h4 {
  color: var(--ww-primary);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* Info-Pills */
.schreib-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.schreib-pill {
  display: inline-block;
  background: #fff;
  border: 1px solid #dee2e6;
  color: #6c757d;
  font-family: var(--ww-font-sans);
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
}
.schreib-pill-teal {
  background: #e8f4f3;
  color: var(--ww-primary);
  border-color: #b2d8d7;
}

/* ============================================================
   ZITAT-STREIFEN
   ============================================================ */

.zitat-streifen {
  background: #212529;
  padding: 2rem 0;
}

.zitat-label {
  font-family: var(--ww-font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ww-teal);
  margin-bottom: 2rem;
  letter-spacing: normal;
  text-transform: none;
}

.zitat-card {
  border-left: 3px solid var(--ww-primary);
  padding-left: 1.25rem;
}

.zitat-anf {
  display: none;
}

.zitat-text {
  font-family: var(--ww-font-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ============================================================
   KONTAKT
   ============================================================ */

#kontakt a {
  text-decoration: none;
  color: var(--ww-primary);
}
#kontakt a:hover,
#kontakt a:focus {
  color: var(--ww-primary-hover);
}

.kontakt-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 0.75rem;
}


/* ============================================================
   SKIPPER-BLOCK (Schreibkurse)
   ============================================================ */

.skipper-card {
  background: var(--ww-primary);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.skipper-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.skipper-card p {
  color: rgba(255, 255, 255, 0.9);
}

.skipper-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.4);
  transition: box-shadow 0.3s;
}

.skipper-img:hover,
.skipper-img:focus {
  box-shadow: 0 0 0 4px var(--ww-teal);
}

.skipper-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--ww-teal);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  pointer-events: none;
  animation: finger-bounce 1.5s ease-in-out infinite;
}

@keyframes finger-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ============================================================
   AUTORENCOACHING – Typewriter-Effekt
   ============================================================ */

.ww-typewriter-quote {
  font-family: var(--ww-font-serif);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--ww-teal);
  min-height: 2.5rem;
  margin-bottom: 0.5rem;
}

.ww-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background-color: var(--ww-teal);
  margin-left: 2px;
  vertical-align: middle;
  animation: ww-blink 0.8s step-end infinite;
}

@keyframes ww-blink {
  50% { opacity: 0; }
}

.ww-quote-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.ww-quote-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease;
}

.ww-quote-dot.active {
  background-color: var(--ww-teal);
}

/* ============================================================
   POESIETHERAPIE-Unterseite
   ============================================================ */

.pt-row {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.pt-img {
  flex: 0 0 40%;
}

.pt-img img {
  width: 100%;
  display: block;
  border-radius: 0.25rem;
}

.pt-text {
  flex: 1;
  padding: 0.5rem 0;
}

.pt-section-label {
  font-family: var(--ww-font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.pt-section-label:first-child {
  margin-top: 0;
}

.pt-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.pt-text p:last-child {
  margin-bottom: 0;
}

.zitat-qual-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zitat-qual-list li {
  font-family: var(--ww-font-serif);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.zitat-qual-list li:last-child {
  margin-bottom: 0;
}

.zitat-qual-list i {
  color: var(--ww-teal);
}

.zitat-qual-list a {
  color: var(--ww-teal);
  text-decoration: none;
}

.zitat-qual-list a:hover,
.zitat-qual-list a:focus {
  color: white;
}

.zitat-text-gross {
  font-size: 1.5rem;
  line-height: 1.9;
}

.zitat-text-normal {
  font-style: normal;
}

@media (max-width: 768px) {
  .pt-row {
    flex-direction: column;
  }

  .pt-img {
    width: 100%;
    flex: none;
  }
}

/* ============================================================
   AKTUELLES
   ============================================================ */

#aktuelles {
  padding-top: 4rem;
}

.ww-blog-frame {
  width: 100%;
  height: 80vh;
  border: none;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer a {
  color: var(--ww-primary);
  text-decoration: none;
}
footer a:hover,
footer a:focus {
  color: var(--ww-primary-hover);
}

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */

.scroll-top {
  transition: opacity 0.3s ease;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
}
.scroll-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--ww-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.2s;
}
.scroll-top a:hover,
.scroll-top a:focus {
  background-color: #fff;
  color: var(--ww-primary-hover);
}

@media (max-width: 991.98px) {
  .schreib-cards {
    display: none;
  }

  .schreib-tab-pane {
    display: block;
    padding: 2rem 0;
    border-top: 2px solid var(--ww-primary);
    margin-top: 2rem;
    scroll-margin-top: 5rem;
  }

  #tab-gruppen {
    border-top: none;
    margin-top: 0;
  }

  .schreib-content-header {
    border-bottom: none;
  }
}

@media (max-width: 767.98px) {
  .scroll-top {
    bottom: 3rem;
  }
}

@media (max-width: 767.98px) {
  .btn-xl {
    padding: 0.75rem 1.5rem;
  }
}
