/* =========================================
   Farbvariablen (Theme)
   ========================================= */
:root {
    --color-primary: #1E3A5F;
    --color-secondary: #0b7a7c;
    --color-accent: #F28C28;

    --color-bg-light: #F7F9FC;
    --color-bg-white: #FFFFFF;

    --color-text-dark: #1A1A1A;
    --color-text-light: #FFFFFF;
    --color-text-muted: #6B7280;

    --color-grey-100: #F0F2F5;
    --color-grey-200: #D9DFE7;
    --color-grey-300: #B8C2CE;

    --success: #2E7D32;
    --warning: #F59E0B;
    --danger: #D14343;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    
  --pg-ink:#1d3547;            /* Tinte: Überschriften, Text */
  --pg-ink-soft:#2f4656;       /* Tinte gedämpft: Lead, Bildunterschrift */
  --pg-sage:#e3eae2;           /* Salbei: helle Flächen */
  --pg-paper:#f8f9f6;          /* Papier: Seitenhintergrund */
  --pg-accent:#0b7a7c;         /* Türkis dunkel: Buttons, Icons (textfähig) */
  --pg-accent-bright:#2fb7ad;  /* Türkis hell: nur Dekoration */
  --pg-tint:#d3e9e5;           /* Türkis-Tönung: Foto-Platzhalter */
  --pg-font-display:"Bitter",Georgia,"Times New Roman",serif;
  --pg-font-body:"Source Sans 3",system-ui,-apple-system,"Segoe UI",sans-serif;

  /* Stock-Bootstrap auf die Tokens umlenken */
  --bs-body-font-family:var(--pg-font-body);
  --bs-body-font-size:1.125rem;
  --bs-body-line-height:1.6;
  --bs-body-color:var(--pg-ink);
  --bs-body-bg:var(--pg-paper);
}

html { font-size: 100%; 
    -webkit-text-size-adjust: 100%; 
    -ms-text-size-adjust: 100%;
    scroll-behavior:smooth;
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body {
    font-family: var(--pg-font-body);
    color: var(--pg-ink);
    background: var(--pg-paper);
    line-height: 1.6;
    font-size: 1.125rem;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--pg-ink);
    margin-top: 0;
    margin-bottom: .75rem;
    font-weight: 600;
    line-height: 1.2;  
    font-optical-sizing: auto;
    font-style: normal;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 1rem; }
/* Small/muted text */
small, .muted { color: var(--color-text-muted); font-size: .875rem; }
/* Links */
a {
    color: var(--pg-ink);
    text-decoration: none;
    transition: color .2s ease, opacity .15s ease;
}
a:hover, a:focus {
    color: var(--pg-ink);
    text-decoration: underline;
    outline: none;
}
/* Buttons */
.btn {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}
.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-white);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--color-primary-700);
    border-color: var(--color-primary-700);
    opacity: .95;
}
.btn-accent {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg-white);
}
.btn-accent:hover, .btn-accent:focus {
    opacity: .9;
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }

.w-100 { width: 100%; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

/*FOOTER*/
.footer-social-media{text-align:right;}
.footer-social-media i {font-size:2.5rem;color:var(--pg-ink-soft);}
@media (max-width:767px) {
  #footer .container .moduletable {text-align:center;}
}

/*CCode*/
/*Content*/
.pg-content .container .item-page {padding-block:3rem;}
/* --- Sektionen: gemeinsame Basis --- */
.pg-section{padding-block:clamp(3rem,7vw,6rem);scroll-margin-top:var(--pg-header-h,0px)}
.pg-section h1,.pg-section h2,.pg-section h3{
  font-family:var(--pg-font-display);font-weight:600;line-height:1.2;
  letter-spacing:-.01em;text-wrap:balance}
.pg-section h1{font-size:clamp(1.9rem,1.2rem + 2.6vw,3.1rem);line-height:1.18}
.pg-section h2{font-size:clamp(1.6rem,1.2rem + 1.5vw,2.2rem)}
.pg-section h3{font-size:1.25rem;margin-bottom:.5rem}
.pg-section a:focus-visible{outline:3px solid var(--pg-ink);outline-offset:3px;border-radius:2px}


.pg-section.pg-gallery {padding-top:0!important;}

/* --- Textlink im Fließtext --- */
.pg-link{color:var(--pg-ink);text-decoration:underline;text-decoration-color:var(--pg-accent-bright);
  text-decoration-thickness:2px;text-underline-offset:.2em}
.pg-link:hover{color:var(--pg-ink);text-decoration-color:var(--pg-ink)}

/* --- Buttons --- */
.pg-btn{display:inline-block;padding:.8rem 1.5rem;border:2px solid transparent;border-radius:999px;
  font-weight:600;line-height:1.3;text-decoration:none;transition:background-color .15s,border-color .15s}
.pg-btn--primary{background:var(--pg-accent);color:#fff}
.pg-btn--primary:hover{background:#096568;color:#fff}
.pg-btn--ghost{border-color:rgba(29,53,71,.45);color:var(--pg-ink)}
.pg-btn--ghost:hover{border-color:var(--pg-ink);color:var(--pg-ink)}

/* --- Hero --- */
.pg-hero{background:var(--pg-sage);overflow:hidden}
.pg-hero h1{margin-bottom:1.25rem}
.pg-lead{max-width:34em;margin-bottom:2rem;font-size:1.2rem;line-height:1.55;color:var(--pg-ink-soft)}
.pg-actions{display:flex;flex-wrap:wrap;gap:.75rem}

/* Kreisfoto mit zwei weichen Türkis-Kreisen dahinter */
.pg-photo{width:min(76%,340px);margin:0 auto}
.pg-photo__wrap{position:relative}
.pg-photo__wrap::before,.pg-photo__wrap::after{
  content:"";position:absolute;border-radius:50%;background:var(--pg-accent-bright);pointer-events:none}
.pg-photo__wrap::before{width:88%;aspect-ratio:1;right:-12%;bottom:-8%;opacity:.3}
/*.pg-photo__wrap::after{width:20%;aspect-ratio:1;left:-8%;top:8%}*/
.pg-photo__frame{position:relative;z-index:1;aspect-ratio:1;overflow:hidden;border-radius:50%;
  background:var(--pg-tint);color:var(--pg-ink-soft);display:grid;place-items:center;font-size:.95rem}
.pg-photo__frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pg-photo figcaption{margin-top:2rem;text-align:center;font-size:.95rem;line-height:1.4;color:var(--pg-ink-soft)}
.pg-photo figcaption strong{display:block;margin-bottom:.15rem;font-family:var(--pg-font-display);
  font-size:1.1rem;font-weight:600;color:var(--pg-ink)}

/* --- Über mich --- */
.pg-about p{max-width:62ch}
.pg-about p:last-child{margin-bottom:0}
.pg-strengths{margin-top:clamp(2.5rem,5vw,4rem)}
.pg-strength{height:100%;padding-top:1.25rem;border-top:1px solid rgba(29,53,71,.25)}
.pg-strength p{margin:0}
.pg-icon{display:grid;place-items:center;width:56px;height:56px;margin-bottom:1rem;
  border-radius:50%;background:var(--pg-sage);color:var(--pg-accent)}
.pg-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}

/* Themen*/
.pg-bg-sage{background:var(--pg-sage)}
.pg-theme{display:grid;grid-template-columns:auto 1fr;gap:1rem 1.5rem;align-items:start;
  padding-block:1.5rem;border-top:1px solid rgba(29,53,71,.25)}
.pg-theme:last-child{border-bottom:1px solid rgba(29,53,71,.25)}
.pg-theme h3{margin-bottom:.35rem}
.pg-theme p{max-width:56ch;margin:0 0 .5rem}
.pg-themes .pg-icon{margin:0;background:var(--pg-sage)}

/* --- Formate --- */
.pg-formats .pg-icon{width:48px;height:48px;background:var(--pg-paper)}
.pg-formats .pg-icon svg{width:24px;height:24px}
.pg-format p{margin:0;color:var(--pg-ink-soft)}
.pg-note{max-width:62ch;margin:2rem 0 0;color:var(--pg-ink-soft)}

/* --- Referenzen (Jahr | Eintrag | Ort) --- */
.pg-refs{margin:0;padding:0;list-style:none}
.pg-ref{display:grid;gap:.15rem 1.5rem;padding-block:1rem;border-top:1px solid rgba(29,53,71,.25)}
.pg-ref:last-child{border-bottom:1px solid rgba(29,53,71,.25)}
.pg-ref__year{font-family:var(--pg-font-display);font-weight:600;color:var(--pg-accent);font-variant-numeric:tabular-nums}
.pg-ref__where{color:var(--pg-ink-soft)}
@media (min-width:768px){.pg-ref{grid-template-columns:7rem 1fr 1fr;align-items:baseline}}
.pg-more{margin:1.5rem 0 0;font-weight:600}

/* --- Für Veranstaltungen --- */
.pg-bio{padding-left:1.25rem;border-left:3px solid var(--pg-accent-bright)}
.pg-bio + .pg-bio{margin-top:2rem}
.pg-bio h3{font-size:1.05rem}
.pg-bio p{max-width:62ch;margin:0;user-select:all}

/* --- Kontakt --- */
.pg-contact{position:relative;overflow:hidden;background:var(--pg-ink);color:#fff}
.pg-contact::after{content:"";position:absolute;right:-10%;bottom:-40%;width:min(60vw,480px);aspect-ratio:1;
  border-radius:50%;background:var(--pg-accent-bright);opacity:.18;pointer-events:none}
.pg-contact .container{position:relative;z-index:1}
.pg-contact h2{color:#fff}
.pg-contact p{max-width:44ch;color:rgba(255,255,255,.85)}
.pg-contact a:focus-visible{outline-color:#fff}
.pg-btn--light{background:var(--pg-accent-bright);color:var(--pg-ink)}
.pg-btn--light:hover{background:#4cc6bd;color:var(--pg-ink)}

/* --- Lernen, das wirkt --- */
.pg-learn__list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 2.5rem;margin:0;padding:0;list-style:none;border-bottom:1px solid rgba(29,53,71,.25)}
.pg-learn__item{display:flex;align-items:center;gap:1rem;padding-block:.85rem;
  border-top:1px solid rgba(29,53,71,.25);font-weight:600;line-height:1.3}
.pg-learn .pg-icon{flex:none;width:44px;height:44px;margin:0;font-size:1.05rem;background:var(--pg-paper);}
.pg-learn__item{overflow-wrap:break-word;hyphens:manual}  /* Trennstellen per &shy; */
/* Mobil zweispaltig Icon-Text */
@media (max-width:576px){
  .pg-learn__list{column-gap:1.25rem}
  .pg-learn__item{flex-direction:column;align-items:center;gap:.6rem;font-size:1rem;text-align:center;}
}
