/* Villa Wagner theme — Design von Sebastian (2026-07-25), Quelle: webseite/assets/theme.css.
   output/site/ ist generiert; Design-Änderungen HIER machen, nie im Output. */

:root {
  --blau: #3d5878; --blau-dk: #33475f; --brick: #a65e3a; --dach: #8e3b2f;
  --ground: #f6f2e9; --surface: #fffdf8; --line: #e3dcc9;
  --text: #2e2a26; --muted: #6b6156; --faint: #9a8f7d;
  --shadow: 0 1px 3px rgba(61,88,120,.08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; background: var(--ground);
       color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.55; }
a { color: var(--blau-dk); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* header */
header { border-bottom: 1px solid var(--line); background: var(--surface); }
.head-inner { max-width: 760px; margin: 0 auto; padding: 22px 20px; display: flex;
              align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 9px; background: var(--blau);
              display: flex; align-items: center; justify-content: center; color: #fff;
              font-size: 22px; flex-shrink: 0; }
.brand-name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; color: var(--blau-dk); }
.brand-sub { font-size: 12px; color: var(--faint); }
.head-meta { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* hero */
.hero { padding: 26px 0 4px; }
.hero-frame { position: relative; border-radius: 12px; overflow: hidden;
              border: 1px solid var(--line); box-shadow: 0 8px 28px rgba(61,88,120,.16); }
.hero-frame img { display: block; width: 100%; height: 220px; object-fit: cover;
                  object-position: 50% 40%; image-rendering: pixelated; }
.hero-scrim { position: absolute; inset: 0;
              background: linear-gradient(180deg, rgba(46,42,38,0) 45%, rgba(46,42,38,.72)); }
.hero-cap { position: absolute; left: 22px; bottom: 18px; color: #fff; }
.hero-cap h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.hero-cap p { margin: 4px 0 0; font-size: 13.5px; opacity: .92; }

/* sections */
.sec-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
             color: var(--faint); margin: 30px 0 14px; }
.tiles { display: grid; gap: 14px; }

.tile { display: flex; align-items: center; gap: 15px; text-decoration: none; color: inherit;
        background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blau);
        border-radius: 9px; padding: 17px 19px; box-shadow: var(--shadow);
        transition: box-shadow .15s, transform .15s, border-color .15s; }
.tile:hover { box-shadow: 0 6px 20px rgba(61,88,120,.14); transform: translateY(-1px); }
.tile-brick { border-left-color: var(--brick); }
.tile-icon { width: 40px; height: 40px; border-radius: 10px; background: #eef1f5; color: var(--blau);
             display: flex; align-items: center; justify-content: center; font-size: 21px; flex-shrink: 0; }
.tile-brick .tile-icon { background: #f5ece5; color: var(--brick); }
.tile-body { flex: 1; min-width: 0; }
.tile-title { font-size: 15px; font-weight: 600; color: var(--blau-dk); }
.tile-desc { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.tile-arrow { color: var(--faint); font-size: 18px; }
.tile:hover .tile-arrow { color: var(--brick); }

.subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.subtile { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
           background: var(--ground); border: 1px solid var(--line); border-radius: 8px;
           padding: 12px 14px; font-size: 13px; font-weight: 500; transition: background .15s; }
.subtile:hover { background: #efe9db; }
.subtile i { color: var(--brick); font-size: 17px; }

.intern-card { background: var(--surface); border: 1px solid var(--line);
               border-left: 4px solid var(--brick); border-radius: 9px; padding: 17px 19px;
               box-shadow: var(--shadow); }
.intern-head { display: flex; align-items: center; gap: 15px; }

footer { text-align: center; color: var(--faint); font-size: 12px; padding: 40px 0 32px; }
footer .dot { color: var(--line); margin: 0 8px; }
@media (max-width: 480px) { .subgrid { grid-template-columns: 1fr; } .hero-frame img { height: 170px; } }

/* module content pages */
.page-nav { padding: 20px 0 0; font-size: 13px; }
.page-nav a { text-decoration: none; color: var(--muted); display: inline-flex;
              align-items: center; gap: 6px; }
.page-nav a:hover { color: var(--brick); }
.module-content { background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
                  box-shadow: var(--shadow); padding: 22px; margin: 16px 0 8px; overflow-x: auto; }
.module-content table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.module-content th, .module-content td { border-bottom: 1px solid var(--line); padding: 7px 10px; text-align: left; }
.module-content th { color: var(--blau-dk); font-weight: 600; }
.module-content h1, .module-content h2, .module-content h3 { color: var(--blau-dk); letter-spacing: -.01em; }
