:root {
  --paper: #eeecea;
  --paper-alt: #dddad4;
  --ink: #232323;
  --body: #3d3d3d;
  --muted: #747474;
  --blue: #2b3a4a;
  --blue-light: #d8e0e6;
  --copper: #7b5143;
  --white: #fff;
  --max: 1140px;
  --text: 720px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--body); font: 17px/1.8 Lato, Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin-top: 0; color: var(--ink); font-family: "Playfair Display", Georgia, serif; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5vw, 4.9rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.2rem; }
.skip-link { position: fixed; left: 1rem; top: -5rem; background: var(--white); padding: .7rem 1rem; z-index: 999; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(238,236,234,.96); border-bottom: 1px solid rgba(0,0,0,.08); backdrop-filter: blur(10px); }
.nav-wrap { max-width: var(--max); min-height: 72px; margin: auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--ink); text-decoration: none; text-transform: uppercase; letter-spacing: .11em; font-weight: 700; }
.site-nav { display: flex; gap: 2rem; }
.site-nav a { text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font-size: .86rem; font-weight: 700; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: var(--copper); border-color: var(--copper); }
.nav-toggle { display: none; border: 1px solid rgba(0,0,0,.2); background: transparent; padding: .55rem .8rem; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 2rem; }
.container { max-width: var(--max); margin: auto; }
.narrow { max-width: var(--text); }
.eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--copper);
  font-size: .9rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.lead { font-size: clamp(1.08rem, 1.8vw, 1.3rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button { display: inline-block; padding: .9rem 1.4rem; background: var(--copper); color: var(--white); text-decoration: none; font-size: .86rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--copper); }
.button.secondary { background: transparent; color: var(--blue); border-color: rgba(43,58,74,.35); }
.button:hover { transform: translateY(-1px); }
.hero { padding: clamp(3.5rem, 7vw, 7rem) 2rem; }
.hero-grid { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.hero-copy { max-width: 650px; }
.hero-copy h1 span { display: block; }
.hero-copy h1 .accent { color: var(--copper); }
.hero-image {
  width: 100%;
  align-self: start;
  background: var(--paper-alt);
}
.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.paper-alt { background: var(--paper-alt); }
.dark { background: var(--blue); color: var(--blue-light); }
.dark h2, .dark h3 { color: var(--white); }
.dark .eyebrow {
  color: #e3e8ec;
}
.quote-scene { max-width: 820px; margin: auto; font-family: "Playfair Display", Georgia, serif; font-size: clamp(.98rem, 1.25vw, 1.1rem); line-height: 1.78; }
.quote-scene p { margin-bottom: 1.1rem; }
.quote-scene h2 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); margin-bottom: 1.35rem; }
.quote-scene .question { color: var(--white); font-size: 1.15em; }
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(43,58,74,.16); border: 1px solid rgba(43,58,74,.16); margin-top: 3rem; }
.format-card { background: var(--paper); padding: 2rem; }
.format-card .meta {
  color: var(--copper);
  font-size: .86rem;
  line-height: 1.45;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.format-card p { font-size: .95rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.portrait { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-alt); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 3rem; margin-top: 2rem; }
.principles p { padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.12); }
.proof-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 2rem; align-items: start; }
.stage-preview {
  width: min(100%, 420px);
  aspect-ratio: 3 / 2;
  margin-top: 1.5rem;
  overflow: hidden;
  background: var(--paper-alt);
}
.proof-main .stage-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.proof-card { background: var(--paper-alt); padding: 1rem; }
.proof-card img { width: 100%; }
.lightbox-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}
.lightbox-trigger img { transition: opacity .2s ease; }
.lightbox-trigger:hover img,
.lightbox-trigger:focus-visible img { opacity: .84; }
.zoom-hint {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  padding: .35rem .55rem;
  background: rgba(24,24,24,.78);
  color: var(--white);
  font-size: .78rem;
  line-height: 1;
  letter-spacing: .04em;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(15,18,22,.92);
}
.lightbox[hidden] { display: none; }
.lightbox-image {
  max-width: min(94vw, 1500px);
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 1.2rem 4rem rgba(0,0,0,.45);
}
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.25);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
body.lightbox-open { overflow: hidden; }
.caption { margin-top: .7rem; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.cta { text-align: center; }
.cta .narrow { margin: auto; }
.site-footer { background: #181818; color: #888; padding: 4rem 2rem; }
.footer-grid { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1.8fr .8fr 1.35fr .8fr; gap: 2rem; }
.site-footer a, .site-footer span { display: block; color: #aaa; text-decoration: none; margin-bottom: .35rem; }
.footer-brand, .footer-heading { color: var(--white); font-weight: 700; }
.footer-contact-block { display: grid; gap: .8rem; align-content: start; }
.site-footer .footer-contact-block .footer-email { margin: 0; }
.site-footer .footer-location { margin: 0; max-width: 18rem; color: #aaa; line-height: 1.55; text-wrap: balance; }
.page-hero { background: var(--blue); color: var(--blue-light); }
.page-hero h1 { color: var(--white); }
.placeholder { border: 1px dashed rgba(0,0,0,.25); padding: 2rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .split, .proof-grid { grid-template-columns: 1fr; }
  .hero-grid { align-items: stretch; }
  .stage-preview { width: min(100%, 420px); }
  .formats { grid-template-columns: repeat(2, 1fr); }
  .hero-image { height: auto; max-height: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav-wrap { padding: 0 1rem; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); padding: 1.2rem; flex-direction: column; gap: 1rem; border-bottom: 1px solid rgba(0,0,0,.08); }
  .site-nav.open { display: flex; }
  .section, .hero { padding-left: 1.2rem; padding-right: 1.2rem; }
  .formats, .principles, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 2.5rem; }
  .hero-image { height: auto; }
}

/* V7: Bühnenfoto als echte kompakte Vorschau */
.lightbox-trigger.stage-preview {
  width: min(100%, 360px);
  aspect-ratio: 3 / 2;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .lightbox-trigger.stage-preview {
    width: min(100%, 360px);
  }
}

/* Rhythmus-Version: stärkere visuelle Abwechslung der Startseite */
.quote-scene {
  position: relative;
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  border-left: 2px solid rgba(255,255,255,.28);
}
.quote-scene::before {
  content: "“";
  position: absolute;
  left: -.15rem;
  top: -2.7rem;
  color: rgba(255,255,255,.11);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(7rem, 15vw, 13rem);
  line-height: 1;
}
.quote-scene .question {
  margin: 2rem 0;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
}

.formats-section { overflow: hidden; }
.formats { gap: 1rem; background: transparent; border: 0; }
.format-card {
  position: relative;
  min-height: 310px;
  padding: 2.1rem 1.8rem 1.8rem;
  border: 1px solid rgba(43,58,74,.14);
  overflow: hidden;
}
.format-card:nth-child(even) { background: var(--paper-alt); }
.format-number {
  display: block;
  margin-bottom: 1.7rem;
  color: rgba(43,58,74,.16);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.8rem;
  font-weight: 600;
  line-height: .8;
}
.format-card h3 { font-size: 1.55rem; }
.format-card::after {
  content: "";
  position: absolute;
  left: 1.8rem;
  right: 1.8rem;
  bottom: 0;
  height: 3px;
  background: var(--copper);
  transform: scaleX(.28);
  transform-origin: left;
  transition: transform .25s ease;
}
.format-card:hover::after { transform: scaleX(1); }

.biography-section .portrait {
  box-shadow: 1.2rem 1.2rem 0 rgba(123,81,67,.14);
}
.text-link { color: var(--copper); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .25rem; }

.questions-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.questions-intro { position: sticky; top: 120px; }
.question-stack { border-top: 1px solid rgba(43,58,74,.18); }
.question-stack p {
  position: relative;
  margin: 0;
  padding: 1.55rem 2.8rem 1.55rem 0;
  border-bottom: 1px solid rgba(43,58,74,.18);
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.35;
}
.question-stack p::after {
  content: "?";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--copper);
  font-size: 1.4em;
}

.Haltung-section h2 { max-width: 760px; }
.stance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.15);
}
.stance-grid article { padding: 2.1rem; background: var(--blue); }
.stance-grid h3 { margin-bottom: 1rem; font-size: 1.45rem; }
.stance-grid p { margin-bottom: 0; }
.stance-number {
  display: block;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,.32);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.6rem;
  line-height: 1;
}

.proof-aside { display: grid; gap: 1.35rem; }
.proof-card { padding: 0; background: transparent; }

@media (max-width: 1100px) {
  .stance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .questions-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .questions-intro { position: static; }
}

@media (max-width: 640px) {
  .stance-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .format-card { min-height: 0; }
  .quote-scene { padding-left: 1.2rem; }
  .biography-section .portrait { box-shadow: .7rem .7rem 0 rgba(123,81,67,.14); }
}

/* Schlanke Startseite V1 */
.compact-formats .format-card { min-height: 270px; }
.compact-proof { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.proof-thumbnails { display: grid; grid-template-columns: 1.5fr .75fr .75fr; gap: 1rem; align-items: end; }
.proof-thumbnails .stage-preview { width: 100%; margin: 0; }
.mini-proof { aspect-ratio: 4 / 3; overflow: hidden; }
.mini-proof img { width: 100%; height: 100%; object-fit: cover; }
.centered { justify-content: center; }
.format-detail-list { display: grid; gap: 0; }
.format-detail { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; padding: 3.5rem 0; border-bottom: 1px solid rgba(43,58,74,.16); }
.format-detail:first-child { border-top: 1px solid rgba(43,58,74,.16); }
.format-detail .format-number { margin-bottom: 1rem; }
.format-detail h2 { margin-top: 0; }
.about-hero { align-items: center; }
.landscape-photo img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .compact-proof, .format-detail { grid-template-columns: 1fr; }
  .proof-thumbnails { grid-template-columns: 1fr 1fr; }
  .proof-thumbnails .stage-preview { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .proof-thumbnails { grid-template-columns: 1fr; }
  .proof-thumbnails .stage-preview { grid-column: auto; }
  .format-detail { gap: 1rem; padding: 2.5rem 0; }
}

/* Über-mich V3: neue Dramaturgie und entdoppelte Startseite */
.proof-text-only { background: var(--paper); }
.proof-copy-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.proof-copy-grid h2 { max-width: 540px; }

.about-hero-new {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.about-hero-image {
  min-height: 420px;
  overflow: hidden;
  background: rgba(255,255,255,.035);
  box-shadow: 1rem 1rem 0 rgba(123,81,67,.14);
}
.about-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.mountain-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.mountain-copy { max-width: 520px; }
.mountain-collage {
  position: relative;
  min-height: 500px;
}
.collage-card {
  position: absolute;
  overflow: hidden;
  border: 10px solid var(--paper);
  background: var(--paper);
  box-shadow: 0 1.2rem 3rem rgba(35,35,35,.15);
}
.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collage-card-valley {
  width: min(68%, 430px);
  aspect-ratio: 4 / 5;
  left: 2%;
  top: 2rem;
  transform: rotate(-2deg);
  z-index: 2;
}
.collage-card-summit {
  width: min(62%, 390px);
  aspect-ratio: 4 / 3;
  right: 0;
  bottom: 1.2rem;
  transform: rotate(2deg);
  z-index: 3;
}
.image-slot {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border-style: dashed;
  border-color: rgba(43,58,74,.26);
  color: var(--muted);
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.closer-look-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.small-thinker-portrait {
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-alt);
  box-shadow: 1rem 1rem 0 rgba(123,81,67,.13);
}
.small-thinker-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.closer-look-grid h2 { font-size: clamp(1.7rem, 2.6vw, 2.55rem); }
.light-secondary { color: var(--white) !important; border-color: rgba(255,255,255,.5) !important; }

@media (max-width: 900px) {
  .proof-copy-grid,
  .about-hero-new,
  .mountain-layout,
  .closer-look-grid { grid-template-columns: 1fr; }
  .about-hero-image, .about-hero-image img { min-height: 300px; }
  .mountain-collage { min-height: 480px; max-width: 680px; width: 100%; }
  .small-thinker-portrait { width: min(100%, 340px); }
}

@media (max-width: 620px) {
  .mountain-collage { min-height: 410px; }
  .collage-card-valley { width: 72%; }
  .collage-card-summit { width: 66%; }
  .about-hero-image, .about-hero-image img { min-height: 240px; }
}


/* V4: kompakter Erfahrungsstreifen auf der Startseite */
.experience-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 2rem 0 1.25rem;
}
.experience-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper-light);
  font-size: .92rem;
  line-height: 1.35;
}
.experience-summary { max-width: 48rem; }
@media (max-width: 640px) {
  .experience-strip { display: grid; grid-template-columns: 1fr; }
}

/* V6.1: Kranzhorn-Collage – Gipfelfoto groß hinten, Talblick kleiner vorne */
.mountain-collage .collage-card-summit {
  width: min(76%, 470px);
  aspect-ratio: 4 / 3;
  left: 1%;
  right: auto;
  top: 1.25rem;
  bottom: auto;
  transform: rotate(-2deg);
  z-index: 1;
}
.mountain-collage .collage-card-valley {
  width: min(48%, 290px);
  aspect-ratio: 4 / 5;
  left: auto;
  right: 2%;
  top: auto;
  bottom: 1rem;
  transform: rotate(2deg);
  z-index: 3;
}

@media (max-width: 640px) {
  .mountain-collage .collage-card-summit {
    width: 78%;
    left: 0;
  }
  .mountain-collage .collage-card-valley {
    width: 50%;
    right: 0;
  }
}

/* Blog – integriert in Website V6.9 */
.blog-hero .lead { max-width: 680px; }
.blog-list-section { padding-top: clamp(3.5rem, 6vw, 6rem); }
.blog-list { max-width: 900px; }
.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(43,58,74,.18);
  color: inherit;
  text-decoration: none;
}
.blog-card:first-child { padding-top: 0; border-top: 0; }
.blog-card.has-image { grid-template-columns: minmax(0,1fr) 260px; align-items: start; }
.blog-card h2 { margin-bottom: .8rem; font-size: clamp(1.65rem, 3vw, 2.35rem); transition: color .2s ease; }
.blog-card p { color: var(--muted); }
.blog-card:hover h2 { color: var(--copper); }
.blog-card-image { overflow: hidden; background: var(--paper-alt); aspect-ratio: 4 / 3; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.02); }
.blog-date { margin-bottom: .7rem; color: var(--copper); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.blog-read-more { color: var(--copper); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog-empty { padding: 2rem 0; border-top: 1px solid rgba(43,58,74,.18); color: var(--muted); font-style: italic; }

.blog-article-section { padding-top: clamp(3.5rem, 6vw, 6rem); }
.blog-article { max-width: 760px; }
.blog-article h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.blog-back { display: inline-block; margin-bottom: 3rem; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.blog-back:hover { color: var(--copper); }
.blog-article-teaser { margin: 1.5rem 0 2.8rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(43,58,74,.18); color: var(--muted); font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.1rem, 2vw, 1.3rem); font-style: italic; line-height: 1.65; }
.blog-article-image { width: 100%; max-height: 520px; margin-bottom: 3rem; object-fit: cover; }
.blog-article-body p { margin-bottom: 1.55rem; }
.blog-article-body h2, .blog-article-body h3 { margin: 3rem 0 1rem; }
.blog-article-body blockquote { margin: 2.3rem 0; padding: .4rem 0 .4rem 1.5rem; border-left: 3px solid var(--copper); color: var(--ink); font-family: "Playfair Display", Georgia, serif; font-size: 1.22rem; line-height: 1.6; }
.blog-article-body hr { margin: 3rem 0; border: 0; border-top: 1px solid rgba(43,58,74,.18); }
.blog-article-body a { color: var(--copper); text-underline-offset: .2rem; }
.blog-signature { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(43,58,74,.18); font-style: italic; font-weight: 700; }
.blog-preview-notice { margin-bottom: 2rem; padding: .8rem 1rem; border: 1px solid #d6bc72; background: #fff3c9; color: #5d4a18; }
.blog-article-nav { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding: 2.5rem 0; border-top: 1px solid rgba(43,58,74,.18); border-bottom: 1px solid rgba(43,58,74,.18); }
.blog-article-nav a { max-width: 46%; color: var(--body); text-decoration: none; }
.blog-article-nav a:hover { color: var(--copper); }
.blog-article-nav span { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog-article-nav .next { margin-left: auto; text-align: right; }

/* Blog-Admin – gleiche Gestaltungssprache, funktionaler Aufbau */
.blog-admin-section { padding-top: clamp(3.5rem, 6vw, 6rem); }
.blog-admin { max-width: 1180px; }
.blog-admin-login { max-width: 480px; }
.blog-admin-login h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.admin-heading h1 { margin-bottom: .5rem; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.admin-heading-actions, .admin-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.admin-card { margin-bottom: 3.5rem; padding: 2.4rem; border: 1px solid rgba(43,58,74,.18); background: rgba(255,255,255,.35); }
.admin-card h2 { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(43,58,74,.18); }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.admin-group { display: flex; flex-direction: column; gap: .45rem; }
.admin-group.full { grid-column: 1 / -1; }
.admin-group label { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-group input, .admin-group select, .admin-group textarea, .admin-row-actions select { width: 100%; padding: .78rem .9rem; border: 1px solid rgba(43,58,74,.22); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; }
.admin-group input:focus, .admin-group select:focus, .admin-group textarea:focus { outline: 2px solid rgba(123,81,67,.35); border-color: var(--copper); }
.admin-short-text { min-height: 100px; resize: vertical; }
.admin-content { min-height: 420px; resize: vertical; line-height: 1.65; }
.admin-hint, .admin-small { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.admin-check { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.admin-check input { width: auto; }
.admin-preview-image { width: 150px; height: 100px; margin-top: .7rem; object-fit: cover; }
.admin-actions { margin-top: 1.8rem; }
.admin-notice { margin-bottom: 1.5rem; padding: .9rem 1rem; border-left: 3px solid #4d765b; background: #edf5ef; }
.admin-notice.error { border-left-color: #a34848; background: #faeded; color: #7d3030; }
.admin-list-heading { display: flex; justify-content: space-between; margin-bottom: 1.2rem; }
.admin-list-heading h2 { margin-bottom: .3rem; }
.admin-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1rem; }
.admin-filters a { padding: .45rem .75rem; border: 1px solid rgba(43,58,74,.2); color: var(--muted); font-size: .8rem; font-weight: 700; text-decoration: none; }
.admin-filters a.active { border-color: var(--copper); background: var(--copper); color: var(--white); }
.admin-table { border: 1px solid rgba(43,58,74,.18); background: rgba(255,255,255,.3); }
.admin-row { display: grid; grid-template-columns: minmax(220px,1fr) 130px 195px 300px; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-bottom: 1px solid rgba(43,58,74,.14); }
.admin-row:last-child { border-bottom: 0; }
.admin-table-head { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.admin-title { color: var(--ink); font-weight: 700; }
.admin-badge { display: inline-block; padding: .25rem .5rem; border: 1px solid rgba(43,58,74,.22); font-size: .72rem; }
.admin-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.admin-row-actions form { margin: 0; }
.admin-row-actions a, .admin-delete { border: 0; background: none; color: var(--copper); font: inherit; font-size: .78rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.admin-delete { color: #9a3f3f; }
.admin-row-actions select { width: auto; padding: .3rem .45rem; font-size: .78rem; }
.admin-invalid { margin-top: 1rem; color: #9a3f3f; font-size: .85rem; }

@media (max-width: 950px) {
  .blog-card.has-image { grid-template-columns: minmax(0,1fr) 220px; }
  .admin-row { grid-template-columns: 1fr 130px; }
  .admin-table-head { display: none; }
  .admin-row > div:nth-child(3), .admin-row > div:nth-child(4) { grid-column: 1 / -1; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
  .blog-card.has-image { grid-template-columns: 1fr; }
  .blog-card-image { order: -1; }
  .blog-article-nav { flex-direction: column; }
  .blog-article-nav a { max-width: 100%; }
  .blog-article-nav .next { margin-left: 0; text-align: left; }
  .admin-grid { grid-template-columns: 1fr; }
  .admin-group.full { grid-column: auto; }
  .admin-card { padding: 1.3rem; }
  .admin-row { grid-template-columns: 1fr; }
  .admin-row > div { grid-column: auto !important; }
}

/* V6.9 – kompakte Matomo-Auswertung im Blog-Admin */
.admin-stats { margin-bottom: 3.5rem; }
.admin-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.admin-stat-card,
.admin-stat-list {
  border: 1px solid rgba(43,58,74,.18);
  background: rgba(255,255,255,.35);
}
.admin-stat-card { padding: 1.35rem 1.45rem; }
.admin-stat-card span {
  display: block;
  margin-bottom: .5rem;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-stat-card strong {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1;
}
.admin-stat-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-stat-list { padding: 1.35rem 1.45rem; }
.admin-stat-list h3 { margin-bottom: 1rem; font-size: 1.2rem; }
.admin-stat-list ol { margin: 0; padding: 0; list-style: none; }
.admin-stat-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-top: 1px solid rgba(43,58,74,.12);
  font-size: .9rem;
}
.admin-stat-list li span { min-width: 0; overflow-wrap: anywhere; }
.admin-stat-list li strong { color: var(--copper); }
@media (max-width: 700px) {
  .admin-stat-cards,
  .admin-stat-lists { grid-template-columns: 1fr; }
}

/* V6.9 – getrennte Adminbereiche für Blog und Statistik */
.admin-tabs {
  display: flex;
  gap: .55rem;
  margin: 0 0 2.5rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(43,58,74,.18);
}
.admin-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: .65rem 1rem;
  border: 1px solid rgba(43,58,74,.2);
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.admin-tabs a:hover {
  border-color: var(--copper);
  color: var(--copper);
}
.admin-tabs a.active {
  border-color: var(--copper);
  background: var(--copper);
  color: var(--white);
}
.admin-stats { margin-bottom: 0; }
@media (max-width: 560px) {
  .admin-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .admin-tabs a { justify-content: center; }
}
