

.tk-wege { display: grid; gap: 56px; }
.tk-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }

.tk-weg { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 8px 8px 8px 0; }
.tk-weg h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; margin: 0; }
.tk-weg p { margin: 0; color: var(--leise); }
.tk-weg .tk-zahl { font: 700 .82rem/1 "Geologica", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--akzent-tief); }

.tk { perspective: 1400px; min-width: 0; }
.tk-innen { display: grid; height: 100%; transition: transform .55s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.tk.gedreht .tk-innen { transform: rotateY(180deg); }
.tk-vorn, .tk-hinten { grid-area: 1 / 1; border-radius: var(--rund); backface-visibility: hidden; -webkit-backface-visibility: hidden; min-width: 0; }

.tk-vorn { all: unset; grid-area: 1 / 1; box-sizing: border-box; border-radius: var(--rund); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 230px; padding: 26px 24px 22px;
  background: var(--karte-verlauf); color: #fff; cursor: pointer; box-shadow: var(--schatten); transition: box-shadow .2s, transform .2s; }
.tk-vorn:hover { box-shadow: var(--schatten-stark); transform: translateY(-2px); }
.tk-vorn:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
.tk-vorn .tk-dach { font: 700 .74rem/1 "Geologica", sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #E7BCC4; }
.tk-vorn .tk-titel { font: 700 1.45rem/1.2 "Geologica", sans-serif; color: #fff; letter-spacing: -0.01em; text-wrap: balance; hyphens: manual; }
.tk-vorn .tk-stich { font-size: .92rem; line-height: 1.45; color: #C9D4E2; }
.tk-vorn .tk-dreh { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: #fff; opacity: .85; }
.tk-vorn .tk-dreh svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

.tk-hinten { transform: rotateY(180deg); background: #fff; box-shadow: inset 0 0 0 1.5px var(--rand), var(--schatten);
  padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 12px; font-size: .97rem; line-height: 1.5; }
.tk-kopf { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.tk-h { font: 700 1.08rem/1.25 "Geologica", sans-serif; color: var(--schrift); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
.tk-zu { all: unset; flex: none; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--leise); }
.tk-zu:hover { background: var(--flaeche); color: var(--schrift); }
.tk-zu:focus-visible { outline: 2px solid var(--akzent-tief); }
.tk-zu svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.tk-hinten p { margin: 0; }

.tk-frage { font: 500 .98rem/1.3 "Geologica", sans-serif; color: var(--schrift); margin-top: 4px !important; }
.tk-daumen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tk-daumen button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 4px 8px;
  border-radius: 12px; background: var(--flaeche); color: var(--schrift); font-size: .8rem; line-height: 1.2; text-align: center; box-shadow: inset 0 0 0 1.5px transparent; transition: background .15s, box-shadow .15s; }
.tk-daumen button:hover { box-shadow: inset 0 0 0 1.5px var(--akzent); }
.tk-daumen button:focus-visible { outline: 2px solid var(--akzent-tief); outline-offset: 2px; }
.tk-daumen button[aria-pressed="true"] { background: var(--schrift); color: #fff; }
.tk-daumen svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.tk-daumen [data-urteil="mitte"] svg { transform: scaleY(-1) rotate(90deg); }
.tk-daumen [data-urteil="runter"] svg { transform: rotate(180deg); }

.tk-danach { display: none; flex-direction: column; gap: 10px; padding-top: 4px; border-top: 1px solid var(--linie); }
.tk.beurteilt .tk-danach { display: flex; }
.tk-danach p { color: var(--text); }
.tk-wege-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .93rem; }
.tk-wege-links a { font-weight: 500; }

.tk-punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tk-punkte li { position: relative; padding-left: 20px; color: var(--schrift); font-weight: 500; line-height: 1.35; }
.tk-punkte li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; border-radius: 2px; background: var(--akzent-tief); }
.tk-hinweis { font-size: .88rem; color: var(--leise); margin: 18px 0 0; }

.bereiche { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bereiche a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--rand);
  color: var(--schrift); text-decoration: none; font-weight: 500; }
.bereiche a:hover { box-shadow: inset 0 0 0 1.5px var(--akzent-tief); }
.bereiche .plakette { font-weight: 700; }

@media (max-width: 1000px) {
  .tk-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tk-weg { grid-column: 1 / -1; padding: 0; }
}
@media (max-width: 640px) {
  .tk-raster { grid-template-columns: minmax(0, 1fr); }

  .tk-innen, .tk.gedreht .tk-innen { display: block; transform: none; transition: none; }
  .tk-vorn { min-height: 0; gap: 14px; padding: 22px 20px 18px; }
  .tk-hinten { display: none; transform: none; }
  .tk.gedreht .tk-vorn { display: none; }
  .tk.gedreht .tk-hinten { display: flex; animation: tk-auf .3s ease-out; }
}
@keyframes tk-auf { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .tk-innen { transition: none; }
}
